#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/libaom/source/libaom/aom/aom_codec.h"
#include "third_party/libaom/source/libaom/aom/aom_encoder.h"
#include "third_party/libaom/source/libaom/aom/aom_image.h"
#include "third_party/libaom/source/libaom/aom/aomcx.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) { … }
aom_image_t* CreateGrayImage(aom_bit_depth_t bit_depth,
aom_img_fmt_t fmt,
unsigned int width,
unsigned int height) { … }
void AV1EncodeArbitraryCallSequenceSucceeds(int speed,
aom_bit_depth_t bit_depth,
aom_img_fmt_t fmt,
const CallSequence& call_sequence) { … }
FUZZ_TEST(…);
void AV1EncodeSucceeds(unsigned int threads,
int speed,
aom_rc_mode end_usage,
unsigned int width,
unsigned int height,
int num_frames) { … }
FUZZ_TEST(…);