1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
#ifndef AOM_COMMON_VIDEO_WRITER_H_
#define AOM_COMMON_VIDEO_WRITER_H_
#include "common/video_common.h"
enum { kContainerIVF } UENUM1BYTE(AvxContainer);
struct AvxVideoWriterStruct;
typedef struct AvxVideoWriterStruct AvxVideoWriter;
#ifdef __cplusplus
extern "C" {
#endif
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);
#ifdef __cplusplus
}
#endif
#endif
|