#include <cstdint>
#include <cstring>
#include <variant>
#include <vector>
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/fuzztest/src/fuzztest/fuzztest.h"
#include "third_party/libvpx/source/libvpx/vpx/vp8cx.h"
#include "third_party/libvpx/source/libvpx/vpx/vpx_codec.h"
#include "third_party/libvpx/source/libvpx/vpx/vpx_encoder.h"
#include "third_party/libvpx/source/libvpx/vpx/vpx_image.h"
Arbitrary;
ElementOf;
FlatMap;
InRange;
Just;
StructOf;
VariantOf;
VectorOf;
auto AnyBitDepth() { … }
struct Configure { … };
auto AnyConfigureWithSize(unsigned int width, unsigned int height) { … }
auto AnyConfigureWithMaxSize(unsigned int max_width, unsigned int max_height) { … }
struct Encode { … };
auto AnyEncode() { … }
MethodCall;
auto AnyMethodCallWithMaxSize(unsigned int max_width, unsigned int max_height) { … }
struct CallSequence { … };
auto AnyCallSequenceWithMaxSize(unsigned int max_width,
unsigned int max_height) { … }
auto AnyCallSequence() { … }
void* Memset16(void* dest, int val, size_t length) { … }
vpx_image_t* CreateGrayImage(vpx_bit_depth_t bit_depth,
vpx_img_fmt_t fmt,
unsigned int width,
unsigned int height) { … }
void VP9EncodeArbitraryCallSequenceSucceeds(int speed,
unsigned int row_mt,
vpx_bit_depth_t bit_depth,
vpx_img_fmt_t fmt,
const CallSequence& call_sequence) { … }
FUZZ_TEST(…);
void VP9EncodeSucceeds(unsigned int threads,
int speed,
vpx_rc_mode end_usage,
unsigned int width,
unsigned int height,
int num_frames) { … }
FUZZ_TEST(…);