#include "common/video_writer.h"
#include <stdlib.h>
#include "aom/aom_encoder.h"
#include "common/ivfenc.h"
struct AvxVideoWriterStruct { … };
static void write_header(FILE *file, const AvxVideoInfo *info,
int frame_count) { … }
AvxVideoWriter *aom_video_writer_open(const char *filename,
AvxContainer container,
const AvxVideoInfo *info) { … }
void aom_video_writer_close(AvxVideoWriter *writer) { … }
int aom_video_writer_write_frame(AvxVideoWriter *writer, const uint8_t *buffer,
size_t size, int64_t pts) { … }
void aom_video_writer_set_fourcc(AvxVideoWriter *writer, uint32_t fourcc) { … }