16#define AVCODEC_AVCODEC_H
18#define AVUTIL_SAMPLEFMT_H
20#define AVUTIL_AVUTIL_H
40#define FF_LAMBDA_SHIFT 7
41#define FF_LAMBDA_SCALE (1<<FF_LAMBDA_SHIFT)
42#define FF_QP2LAMBDA 118
43#define FF_LAMBDA_MAX (256*128-1)
45#define FF_QUALITY_SCALE FF_LAMBDA_SCALE
47#define AV_NOPTS_VALUE ((int64_t)UINT64_C(0x8000000000000000))
49#define AV_TIME_BASE 1000000
51#define AV_TIME_BASE_Q (AVRational){1, AV_TIME_BASE}
66#define AVUTIL_COMMON_H
68#define AVUTIL_ATTRIBUTES_H
70# define AV_GCC_VERSION_AT_LEAST(x,y) 0
72# define av_always_inline inline
74# define av_extern_inline inline
86# define attribute_deprecated
88# define AV_NOWARN_DEPRECATED(code) code
96# define av_uninit(x) x
98# define av_builtin_constant_p(x) 0
99# define av_printf_format(fmtpos, attrpos)
103#define AVUTIL_VERSION_H
105#define AVUTIL_MACROS_H
107#define AV_STRINGIFY(s) AV_TOSTRING(s)
108#define AV_TOSTRING(s) #s
110#define AV_GLUE(a, b) a ## b
111#define AV_JOIN(a, b) AV_GLUE(a, b)
113#define AV_PRAGMA(s) _Pragma(#s)
115#define AV_VERSION_INT(a, b, c) (a<<16 | b<<8 | c)
116#define AV_VERSION_DOT(a, b, c) a ##.## b ##.## c
117#define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c)
119#define LIBAVUTIL_VERSION_MAJOR 52
120#define LIBAVUTIL_VERSION_MINOR 92
121#define LIBAVUTIL_VERSION_MICRO 100
123#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
124 LIBAVUTIL_VERSION_MINOR, \
125 LIBAVUTIL_VERSION_MICRO)
126#define LIBAVUTIL_VERSION AV_VERSION(LIBAVUTIL_VERSION_MAJOR, \
127 LIBAVUTIL_VERSION_MINOR, \
128 LIBAVUTIL_VERSION_MICRO)
129#define LIBAVUTIL_BUILD LIBAVUTIL_VERSION_INT
131#define LIBAVUTIL_IDENT "Lavu" AV_STRINGIFY(LIBAVUTIL_VERSION)
133#define FF_API_GET_BITS_PER_SAMPLE_FMT (LIBAVUTIL_VERSION_MAJOR < 54)
134#define FF_API_FIND_OPT (LIBAVUTIL_VERSION_MAJOR < 54)
135#define FF_API_OLD_AVOPTIONS (LIBAVUTIL_VERSION_MAJOR < 54)
136#define FF_API_PIX_FMT (LIBAVUTIL_VERSION_MAJOR < 54)
137#define FF_API_CONTEXT_SIZE (LIBAVUTIL_VERSION_MAJOR < 54)
138#define FF_API_PIX_FMT_DESC (LIBAVUTIL_VERSION_MAJOR < 54)
139#define FF_API_AV_REVERSE (LIBAVUTIL_VERSION_MAJOR < 54)
140#define FF_API_AUDIOCONVERT (LIBAVUTIL_VERSION_MAJOR < 54)
141#define FF_API_CPU_FLAG_MMX2 (LIBAVUTIL_VERSION_MAJOR < 54)
142#define FF_API_SAMPLES_UTILS_RETURN_ZERO (LIBAVUTIL_VERSION_MAJOR < 54)
143#define FF_API_LLS_PRIVATE (LIBAVUTIL_VERSION_MAJOR < 54)
144#define FF_API_LLS1 (LIBAVUTIL_VERSION_MAJOR < 54)
145#define FF_API_AVFRAME_LAVC (LIBAVUTIL_VERSION_MAJOR < 54)
146#define FF_API_VDPAU (LIBAVUTIL_VERSION_MAJOR < 54)
147#define FF_API_GET_CHANNEL_LAYOUT_COMPAT (LIBAVUTIL_VERSION_MAJOR < 54)
148#define FF_API_OLD_OPENCL (LIBAVUTIL_VERSION_MAJOR < 54)
149#define FF_API_XVMC (LIBAVUTIL_VERSION_MAJOR < 54)
150#define FF_API_INTFLOAT (LIBAVUTIL_VERSION_MAJOR < 54)
151#define FF_API_OPT_TYPE_METADATA (LIBAVUTIL_VERSION_MAJOR < 54)
152#define FF_API_AVFRAME_COLORSPACE (LIBAVUTIL_VERSION_MAJOR >= 52)
154#define FF_CONST_AVUTIL53
156# define AV_NE(be, le) (le)
158#define RSHIFT(a,b) ((a) > 0 ? ((a) + ((1<<(b))>>1))>>(b) : ((a) + ((1<<(b))>>1)-1)>>(b))
160#define ROUNDED_DIV(a,b) (((a)>0 ? (a) + ((b)>>1) : (a) - ((b)>>1))/(b))
162#define FF_CEIL_RSHIFT(a,b) (!av_builtin_constant_p(b) ? -((-(a)) >> (b)) \
163 : ((a) + (1<<(b)) - 1) >> (b))
164#define FFUDIV(a,b) (((a)>0 ?(a):(a)-(b)+1) / (b))
165#define FFUMOD(a,b) ((a)-(b)*FFUDIV(a,b))
166#define FFABS(a) ((a) >= 0 ? (a) : (-(a)))
167#define FFSIGN(a) ((a) > 0 ? 1 : -1)
169#define FFMAX(a,b) ((a) > (b) ? (a) : (b))
170#define FFMAX3(a,b,c) FFMAX(FFMAX(a,b),c)
171#define FFMIN(a,b) ((a) > (b) ? (b) : (a))
172#define FFMIN3(a,b,c) FFMIN(FFMIN(a,b),c)
174#define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0)
175#define FF_ARRAY_ELEMS(a) (sizeof(a) / sizeof((a)[0]))
176#define FFALIGN(x, a) (((x)+(a)-1)&~((a)-1))
180# define av_ceil_log2 av_ceil_log2_c
181# define av_clip av_clip_c
182# define av_clip64 av_clip64_c
183# define av_clip_uint8 av_clip_uint8_c
184# define av_clip_int8 av_clip_int8_c
185# define av_clip_uint16 av_clip_uint16_c
186# define av_clip_int16 av_clip_int16_c
187# define av_clipl_int32 av_clipl_int32_c
188# define av_clip_uintp2 av_clip_uintp2_c
189# define av_sat_add32 av_sat_add32_c
190# define av_sat_dadd32 av_sat_dadd32_c
191# define av_clipf av_clipf_c
192# define av_clipd av_clipd_c
193# define av_popcount av_popcount_c
194# define av_popcount64 av_popcount64_c
202 if (a < amin)
return amin;
203 else if (a > amax)
return amax;
209 if (a < amin)
return amin;
210 else if (a > amax)
return amax;
216 if (a&(~0xFF))
return (-a)>>31;
222 if ((a+0x80) & ~0xFF)
return (a>>31) ^ 0x7F;
228 if (a&(~0xFFFF))
return (-a)>>31;
234 if ((a+0x8000) & ~0xFFFF)
return (a>>31) ^ 0x7FFF;
240 if ((a+0x80000000u) & ~UINT64_C(0xFFFFFFFF))
return (int32_t)((a>>63) ^ 0x7FFFFFFF);
241 else return (int32_t)a;
246 if (a & ~((1<<p) - 1))
return -a >> 31 & ((1<<p) - 1);
262 if (a < amin)
return amin;
263 else if (a > amax)
return amax;
269 if (a < amin)
return amin;
270 else if (a > amax)
return amax;
281 x -= (x >> 1) & 0x55555555;
282 x = (x & 0x33333333) + ((x >> 2) & 0x33333333);
283 x = (x + (x >> 4)) & 0x0F0F0F0F;
285 return (x + (x >> 16)) & 0x3F;
293#define MKTAG(a,b,c,d) ((a) | ((b) << 8) | ((c) << 16) | ((unsigned)(d) << 24))
294#define MKBETAG(a,b,c,d) ((d) | ((c) << 8) | ((b) << 16) | ((unsigned)(a) << 24))
296#define GET_UTF8(val, GET_BYTE, ERROR)\
299 uint32_t top = (val & 128) >> 1;\
300 if ((val & 0xc0) == 0x80 || val >= 0xFE)\
303 int tmp= GET_BYTE - 128;\
306 val= (val<<6) + tmp;\
309 val &= (top << 1) - 1;\
312#define GET_UTF16(val, GET_16BIT, ERROR)\
315 unsigned int hi = val - 0xD800;\
317 val = GET_16BIT - 0xDC00;\
318 if (val > 0x3FFU || hi > 0x3FFU)\
320 val += (hi<<10) + 0x10000;\
324#define PUT_UTF8(val, tmp, PUT_BYTE)\
332 bytes = (av_log2(in) + 4) / 5;\
333 shift = (bytes - 1) * 6;\
334 tmp = (256 - (256 >> bytes)) | (in >> shift);\
336 while (shift >= 6) {\
338 tmp = 0x80 | ((in >> shift) & 0x3f);\
344#define PUT_UTF16(val, tmp, PUT_16BIT)\
351 tmp = 0xD800 | ((in - 0x10000) >> 10);\
353 tmp = 0xDC00 | ((in - 0x10000) & 0x3FF);\
360#define AVUTIL_ERROR_H
362#define AVERROR(e) (e)
363#define AVUNERROR(e) (e)
365#define FFERRTAG(a, b, c, d) (-(int)MKTAG(a, b, c, d))
367#define AVERROR_BSF_NOT_FOUND FFERRTAG(0xF8,'B','S','F')
368#define AVERROR_BUG FFERRTAG( 'B','U','G','!')
369#define AVERROR_BUFFER_TOO_SMALL FFERRTAG( 'B','U','F','S')
370#define AVERROR_DECODER_NOT_FOUND FFERRTAG(0xF8,'D','E','C')
371#define AVERROR_DEMUXER_NOT_FOUND FFERRTAG(0xF8,'D','E','M')
372#define AVERROR_ENCODER_NOT_FOUND FFERRTAG(0xF8,'E','N','C')
373#define AVERROR_EOF FFERRTAG( 'E','O','F',' ')
374#define AVERROR_EXIT FFERRTAG( 'E','X','I','T')
375#define AVERROR_EXTERNAL FFERRTAG( 'E','X','T',' ')
376#define AVERROR_FILTER_NOT_FOUND FFERRTAG(0xF8,'F','I','L')
377#define AVERROR_INVALIDDATA FFERRTAG( 'I','N','D','A')
378#define AVERROR_MUXER_NOT_FOUND FFERRTAG(0xF8,'M','U','X')
379#define AVERROR_OPTION_NOT_FOUND FFERRTAG(0xF8,'O','P','T')
380#define AVERROR_PATCHWELCOME FFERRTAG( 'P','A','W','E')
381#define AVERROR_PROTOCOL_NOT_FOUND FFERRTAG(0xF8,'P','R','O')
383#define AVERROR_STREAM_NOT_FOUND FFERRTAG(0xF8,'S','T','R')
385#define AVERROR_BUG2 FFERRTAG( 'B','U','G',' ')
386#define AVERROR_UNKNOWN FFERRTAG( 'U','N','K','N')
387#define AVERROR_EXPERIMENTAL (-0x2bb2afa8)
389#define AV_ERROR_MAX_STRING_SIZE 64
399#define av_err2str(errnum) \
400 av_make_error_string((char[AV_ERROR_MAX_STRING_SIZE]){0}, AV_ERROR_MAX_STRING_SIZE, errnum)
402 #define DECLARE_ALIGNED(n,t,v) t v
403 #define DECLARE_ASM_CONST(n,t,v) static const t v
405 #define av_malloc_attrib
407 #define av_alloc_size(...)
452 const uint8_t *elem_data);
458 if ((a | b) >= ((
size_t)1 << (
sizeof(
size_t) * 4)) && a && t / a != b)
472#define AVUTIL_RATIONAL_H
486 const int64_t tmp= a.
num * (int64_t)b.
den - b.
num * (int64_t)a.
den;
488 if(tmp)
return (
int)((tmp ^ a.
den ^ b.
den)>>63)|1;
489 else if(b.
den && a.
den)
return 0;
490 else if(a.
num && b.
num)
return (a.
num>>31) - (b.
num>>31);
495 return a.
num / (double) a.
den;
498int av_reduce(
int *dst_num,
int *dst_den, int64_t num, int64_t den, int64_t max);
520#define AVUTIL_MATHEMATICS_H
522#define AVUTIL_INTFLOAT_H
562#define M_E 2.7182818284590452354
563#define M_LN2 0.69314718055994530942
564#define M_LN10 2.30258509299404568402
565#define M_LOG2_10 3.32192809488736234787
566#define M_PHI 1.61803398874989484820
567#define M_PI 3.14159265358979323846
568#define M_PI_2 1.57079632679489661923
569#define M_SQRT1_2 0.70710678118654752440
570#define M_SQRT2 1.41421356237309504880
571#define NAN av_int2float(0x7fc00000)
572#define INFINITY av_int2float(0x7f800000)
625struct AVOptionRanges;
631 const char* (*item_name)(
void* ctx);
641 void* (*child_next)(
void *obj,
void *prev);
643 const struct AVClass* (*child_class_next)(
const struct AVClass *prev);
652#define AV_LOG_QUIET -8
654#define AV_LOG_PANIC 0
656#define AV_LOG_FATAL 8
658#define AV_LOG_ERROR 16
660#define AV_LOG_WARNING 24
662#define AV_LOG_INFO 32
664#define AV_LOG_VERBOSE 40
666#define AV_LOG_DEBUG 48
668#define AV_LOG_MAX_OFFSET (AV_LOG_DEBUG - AV_LOG_QUIET)
670#define AV_LOG_C(x) (x << 8)
674void av_vlog(
void *avcl,
int level, const
char *fmt, va_list vl);
689 char *line,
int line_size,
int *print_prefix);
691# define av_dlog(pctx, ...) do { if (0) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__); } while (0)
693#define AV_LOG_SKIP_REPEATED 1
695#define AV_LOG_PRINT_LEVEL 2
700#define AVUTIL_PIXFMT_H
702#define AVPALETTE_SIZE 1024
703#define AVPALETTE_COUNT 256
724#define AV_PIX_FMT_XVMC AV_PIX_FMT_XVMC_MPEG2_IDCT
893#define AVUTIL_OLD_PIX_FMTS_H
1026#define AV_PIX_FMT_Y400A AV_PIX_FMT_GRAY8A
1027#define AV_PIX_FMT_GBR24P AV_PIX_FMT_GBRP
1029# define AV_PIX_FMT_NE(be, le) AV_PIX_FMT_##le
1031#define AV_PIX_FMT_RGB32 AV_PIX_FMT_NE(ARGB, BGRA)
1032#define AV_PIX_FMT_RGB32_1 AV_PIX_FMT_NE(RGBA, ABGR)
1033#define AV_PIX_FMT_BGR32 AV_PIX_FMT_NE(ABGR, RGBA)
1034#define AV_PIX_FMT_BGR32_1 AV_PIX_FMT_NE(BGRA, ARGB)
1035#define AV_PIX_FMT_0RGB32 AV_PIX_FMT_NE(0RGB, BGR0)
1036#define AV_PIX_FMT_0BGR32 AV_PIX_FMT_NE(0BGR, RGB0)
1038#define AV_PIX_FMT_GRAY16 AV_PIX_FMT_NE(GRAY16BE, GRAY16LE)
1039#define AV_PIX_FMT_RGB48 AV_PIX_FMT_NE(RGB48BE, RGB48LE)
1040#define AV_PIX_FMT_RGB565 AV_PIX_FMT_NE(RGB565BE, RGB565LE)
1041#define AV_PIX_FMT_RGB555 AV_PIX_FMT_NE(RGB555BE, RGB555LE)
1042#define AV_PIX_FMT_RGB444 AV_PIX_FMT_NE(RGB444BE, RGB444LE)
1043#define AV_PIX_FMT_RGBA64 AV_PIX_FMT_NE(RGBA64BE, RGBA64LE)
1044#define AV_PIX_FMT_BGR48 AV_PIX_FMT_NE(BGR48BE, BGR48LE)
1045#define AV_PIX_FMT_BGR565 AV_PIX_FMT_NE(BGR565BE, BGR565LE)
1046#define AV_PIX_FMT_BGR555 AV_PIX_FMT_NE(BGR555BE, BGR555LE)
1047#define AV_PIX_FMT_BGR444 AV_PIX_FMT_NE(BGR444BE, BGR444LE)
1048#define AV_PIX_FMT_BGRA64 AV_PIX_FMT_NE(BGRA64BE, BGRA64LE)
1050#define AV_PIX_FMT_YUV420P9 AV_PIX_FMT_NE(YUV420P9BE , YUV420P9LE)
1051#define AV_PIX_FMT_YUV422P9 AV_PIX_FMT_NE(YUV422P9BE , YUV422P9LE)
1052#define AV_PIX_FMT_YUV444P9 AV_PIX_FMT_NE(YUV444P9BE , YUV444P9LE)
1053#define AV_PIX_FMT_YUV420P10 AV_PIX_FMT_NE(YUV420P10BE, YUV420P10LE)
1054#define AV_PIX_FMT_YUV422P10 AV_PIX_FMT_NE(YUV422P10BE, YUV422P10LE)
1055#define AV_PIX_FMT_YUV444P10 AV_PIX_FMT_NE(YUV444P10BE, YUV444P10LE)
1056#define AV_PIX_FMT_YUV420P12 AV_PIX_FMT_NE(YUV420P12BE, YUV420P12LE)
1057#define AV_PIX_FMT_YUV422P12 AV_PIX_FMT_NE(YUV422P12BE, YUV422P12LE)
1058#define AV_PIX_FMT_YUV444P12 AV_PIX_FMT_NE(YUV444P12BE, YUV444P12LE)
1059#define AV_PIX_FMT_YUV420P14 AV_PIX_FMT_NE(YUV420P14BE, YUV420P14LE)
1060#define AV_PIX_FMT_YUV422P14 AV_PIX_FMT_NE(YUV422P14BE, YUV422P14LE)
1061#define AV_PIX_FMT_YUV444P14 AV_PIX_FMT_NE(YUV444P14BE, YUV444P14LE)
1062#define AV_PIX_FMT_YUV420P16 AV_PIX_FMT_NE(YUV420P16BE, YUV420P16LE)
1063#define AV_PIX_FMT_YUV422P16 AV_PIX_FMT_NE(YUV422P16BE, YUV422P16LE)
1064#define AV_PIX_FMT_YUV444P16 AV_PIX_FMT_NE(YUV444P16BE, YUV444P16LE)
1066#define AV_PIX_FMT_GBRP9 AV_PIX_FMT_NE(GBRP9BE , GBRP9LE)
1067#define AV_PIX_FMT_GBRP10 AV_PIX_FMT_NE(GBRP10BE, GBRP10LE)
1068#define AV_PIX_FMT_GBRP12 AV_PIX_FMT_NE(GBRP12BE, GBRP12LE)
1069#define AV_PIX_FMT_GBRP14 AV_PIX_FMT_NE(GBRP14BE, GBRP14LE)
1070#define AV_PIX_FMT_GBRP16 AV_PIX_FMT_NE(GBRP16BE, GBRP16LE)
1071#define AV_PIX_FMT_GBRAP16 AV_PIX_FMT_NE(GBRAP16BE, GBRAP16LE)
1073#define AV_PIX_FMT_BAYER_BGGR16 AV_PIX_FMT_NE(BAYER_BGGR16BE, BAYER_BGGR16LE)
1074#define AV_PIX_FMT_BAYER_RGGB16 AV_PIX_FMT_NE(BAYER_RGGB16BE, BAYER_RGGB16LE)
1075#define AV_PIX_FMT_BAYER_GBRG16 AV_PIX_FMT_NE(BAYER_GBRG16BE, BAYER_GBRG16LE)
1076#define AV_PIX_FMT_BAYER_GRBG16 AV_PIX_FMT_NE(BAYER_GRBG16BE, BAYER_GRBG16LE)
1078#define AV_PIX_FMT_YUVA420P9 AV_PIX_FMT_NE(YUVA420P9BE , YUVA420P9LE)
1079#define AV_PIX_FMT_YUVA422P9 AV_PIX_FMT_NE(YUVA422P9BE , YUVA422P9LE)
1080#define AV_PIX_FMT_YUVA444P9 AV_PIX_FMT_NE(YUVA444P9BE , YUVA444P9LE)
1081#define AV_PIX_FMT_YUVA420P10 AV_PIX_FMT_NE(YUVA420P10BE, YUVA420P10LE)
1082#define AV_PIX_FMT_YUVA422P10 AV_PIX_FMT_NE(YUVA422P10BE, YUVA422P10LE)
1083#define AV_PIX_FMT_YUVA444P10 AV_PIX_FMT_NE(YUVA444P10BE, YUVA444P10LE)
1084#define AV_PIX_FMT_YUVA420P16 AV_PIX_FMT_NE(YUVA420P16BE, YUVA420P16LE)
1085#define AV_PIX_FMT_YUVA422P16 AV_PIX_FMT_NE(YUVA422P16BE, YUVA422P16LE)
1086#define AV_PIX_FMT_YUVA444P16 AV_PIX_FMT_NE(YUVA444P16BE, YUVA444P16LE)
1088#define AV_PIX_FMT_XYZ12 AV_PIX_FMT_NE(XYZ12BE, XYZ12LE)
1089#define AV_PIX_FMT_NV20 AV_PIX_FMT_NE(NV20BE, NV20LE)
1091#define PixelFormat AVPixelFormat
1093#define PIX_FMT_Y400A AV_PIX_FMT_Y400A
1094#define PIX_FMT_GBR24P AV_PIX_FMT_GBR24P
1096#define PIX_FMT_NE(be, le) AV_PIX_FMT_NE(be, le)
1098#define PIX_FMT_RGB32 AV_PIX_FMT_RGB32
1099#define PIX_FMT_RGB32_1 AV_PIX_FMT_RGB32_1
1100#define PIX_FMT_BGR32 AV_PIX_FMT_BGR32
1101#define PIX_FMT_BGR32_1 AV_PIX_FMT_BGR32_1
1102#define PIX_FMT_0RGB32 AV_PIX_FMT_0RGB32
1103#define PIX_FMT_0BGR32 AV_PIX_FMT_0BGR32
1105#define PIX_FMT_GRAY16 AV_PIX_FMT_GRAY16
1106#define PIX_FMT_RGB48 AV_PIX_FMT_RGB48
1107#define PIX_FMT_RGB565 AV_PIX_FMT_RGB565
1108#define PIX_FMT_RGB555 AV_PIX_FMT_RGB555
1109#define PIX_FMT_RGB444 AV_PIX_FMT_RGB444
1110#define PIX_FMT_BGR48 AV_PIX_FMT_BGR48
1111#define PIX_FMT_BGR565 AV_PIX_FMT_BGR565
1112#define PIX_FMT_BGR555 AV_PIX_FMT_BGR555
1113#define PIX_FMT_BGR444 AV_PIX_FMT_BGR444
1115#define PIX_FMT_YUV420P9 AV_PIX_FMT_YUV420P9
1116#define PIX_FMT_YUV422P9 AV_PIX_FMT_YUV422P9
1117#define PIX_FMT_YUV444P9 AV_PIX_FMT_YUV444P9
1118#define PIX_FMT_YUV420P10 AV_PIX_FMT_YUV420P10
1119#define PIX_FMT_YUV422P10 AV_PIX_FMT_YUV422P10
1120#define PIX_FMT_YUV444P10 AV_PIX_FMT_YUV444P10
1121#define PIX_FMT_YUV420P12 AV_PIX_FMT_YUV420P12
1122#define PIX_FMT_YUV422P12 AV_PIX_FMT_YUV422P12
1123#define PIX_FMT_YUV444P12 AV_PIX_FMT_YUV444P12
1124#define PIX_FMT_YUV420P14 AV_PIX_FMT_YUV420P14
1125#define PIX_FMT_YUV422P14 AV_PIX_FMT_YUV422P14
1126#define PIX_FMT_YUV444P14 AV_PIX_FMT_YUV444P14
1127#define PIX_FMT_YUV420P16 AV_PIX_FMT_YUV420P16
1128#define PIX_FMT_YUV422P16 AV_PIX_FMT_YUV422P16
1129#define PIX_FMT_YUV444P16 AV_PIX_FMT_YUV444P16
1131#define PIX_FMT_RGBA64 AV_PIX_FMT_RGBA64
1132#define PIX_FMT_BGRA64 AV_PIX_FMT_BGRA64
1133#define PIX_FMT_GBRP9 AV_PIX_FMT_GBRP9
1134#define PIX_FMT_GBRP10 AV_PIX_FMT_GBRP10
1135#define PIX_FMT_GBRP12 AV_PIX_FMT_GBRP12
1136#define PIX_FMT_GBRP14 AV_PIX_FMT_GBRP14
1137#define PIX_FMT_GBRP16 AV_PIX_FMT_GBRP16
1185#define AVCOL_SPC_YCGCO AVCOL_SPC_YCOCG
1207 return (
void *)(intptr_t)(p ? p : x);
1211 const void *list, uint64_t term)
av_pure;
1213#define av_int_list_length(list, term) \
1214 av_int_list_length_for_size(sizeof(*(list)), list, term)
1261 int nb_channels,
int nb_samples,
1271 int src_offset,
int nb_samples,
int nb_channels,
1277#define AVUTIL_BUFFER_H
1293#define AV_BUFFER_FLAG_READONLY (1 << 0)
1296 void (*
free)(
void *opaque, uint8_t *data),
1297 void *opaque,
int flags);
1325#define AV_CPU_FLAG_FORCE 0x80000000
1327#define AV_CPU_FLAG_MMX 0x0001
1328#define AV_CPU_FLAG_MMXEXT 0x0002
1329#define AV_CPU_FLAG_MMX2 0x0002
1330#define AV_CPU_FLAG_3DNOW 0x0004
1331#define AV_CPU_FLAG_SSE 0x0008
1332#define AV_CPU_FLAG_SSE2 0x0010
1333#define AV_CPU_FLAG_SSE2SLOW 0x40000000
1335#define AV_CPU_FLAG_3DNOWEXT 0x0020
1336#define AV_CPU_FLAG_SSE3 0x0040
1337#define AV_CPU_FLAG_SSE3SLOW 0x20000000
1339#define AV_CPU_FLAG_SSSE3 0x0080
1340#define AV_CPU_FLAG_ATOM 0x10000000
1341#define AV_CPU_FLAG_SSE4 0x0100
1342#define AV_CPU_FLAG_SSE42 0x0200
1343#define AV_CPU_FLAG_AVX 0x4000
1344#define AV_CPU_FLAG_XOP 0x0400
1345#define AV_CPU_FLAG_FMA4 0x0800
1347#define AV_CPU_FLAG_CMOV 0x1001000
1349#define AV_CPU_FLAG_AVX2 0x8000
1350#define AV_CPU_FLAG_FMA3 0x10000
1351#define AV_CPU_FLAG_BMI1 0x20000
1352#define AV_CPU_FLAG_BMI2 0x40000
1354#define AV_CPU_FLAG_ALTIVEC 0x0001
1356#define AV_CPU_FLAG_ARMV5TE (1 << 0)
1357#define AV_CPU_FLAG_ARMV6 (1 << 1)
1358#define AV_CPU_FLAG_ARMV6T2 (1 << 2)
1359#define AV_CPU_FLAG_VFP (1 << 3)
1360#define AV_CPU_FLAG_VFPV3 (1 << 4)
1361#define AV_CPU_FLAG_NEON (1 << 5)
1362#define AV_CPU_FLAG_ARMV8 (1 << 6)
1377#define AVUTIL_CHANNEL_LAYOUT_H
1379#define AV_CH_FRONT_LEFT 0x00000001
1380#define AV_CH_FRONT_RIGHT 0x00000002
1381#define AV_CH_FRONT_CENTER 0x00000004
1382#define AV_CH_LOW_FREQUENCY 0x00000008
1383#define AV_CH_BACK_LEFT 0x00000010
1384#define AV_CH_BACK_RIGHT 0x00000020
1385#define AV_CH_FRONT_LEFT_OF_CENTER 0x00000040
1386#define AV_CH_FRONT_RIGHT_OF_CENTER 0x00000080
1387#define AV_CH_BACK_CENTER 0x00000100
1388#define AV_CH_SIDE_LEFT 0x00000200
1389#define AV_CH_SIDE_RIGHT 0x00000400
1390#define AV_CH_TOP_CENTER 0x00000800
1391#define AV_CH_TOP_FRONT_LEFT 0x00001000
1392#define AV_CH_TOP_FRONT_CENTER 0x00002000
1393#define AV_CH_TOP_FRONT_RIGHT 0x00004000
1394#define AV_CH_TOP_BACK_LEFT 0x00008000
1395#define AV_CH_TOP_BACK_CENTER 0x00010000
1396#define AV_CH_TOP_BACK_RIGHT 0x00020000
1397#define AV_CH_STEREO_LEFT 0x20000000
1398#define AV_CH_STEREO_RIGHT 0x40000000
1399#define AV_CH_WIDE_LEFT 0x0000000080000000ULL
1400#define AV_CH_WIDE_RIGHT 0x0000000100000000ULL
1401#define AV_CH_SURROUND_DIRECT_LEFT 0x0000000200000000ULL
1402#define AV_CH_SURROUND_DIRECT_RIGHT 0x0000000400000000ULL
1403#define AV_CH_LOW_FREQUENCY_2 0x0000000800000000ULL
1405#define AV_CH_LAYOUT_NATIVE 0x8000000000000000ULL
1407#define AV_CH_LAYOUT_MONO (AV_CH_FRONT_CENTER)
1408#define AV_CH_LAYOUT_STEREO (AV_CH_FRONT_LEFT|AV_CH_FRONT_RIGHT)
1409#define AV_CH_LAYOUT_2POINT1 (AV_CH_LAYOUT_STEREO|AV_CH_LOW_FREQUENCY)
1410#define AV_CH_LAYOUT_2_1 (AV_CH_LAYOUT_STEREO|AV_CH_BACK_CENTER)
1411#define AV_CH_LAYOUT_SURROUND (AV_CH_LAYOUT_STEREO|AV_CH_FRONT_CENTER)
1412#define AV_CH_LAYOUT_3POINT1 (AV_CH_LAYOUT_SURROUND|AV_CH_LOW_FREQUENCY)
1413#define AV_CH_LAYOUT_4POINT0 (AV_CH_LAYOUT_SURROUND|AV_CH_BACK_CENTER)
1414#define AV_CH_LAYOUT_4POINT1 (AV_CH_LAYOUT_4POINT0|AV_CH_LOW_FREQUENCY)
1415#define AV_CH_LAYOUT_2_2 (AV_CH_LAYOUT_STEREO|AV_CH_SIDE_LEFT|AV_CH_SIDE_RIGHT)
1416#define AV_CH_LAYOUT_QUAD (AV_CH_LAYOUT_STEREO|AV_CH_BACK_LEFT|AV_CH_BACK_RIGHT)
1417#define AV_CH_LAYOUT_5POINT0 (AV_CH_LAYOUT_SURROUND|AV_CH_SIDE_LEFT|AV_CH_SIDE_RIGHT)
1418#define AV_CH_LAYOUT_5POINT1 (AV_CH_LAYOUT_5POINT0|AV_CH_LOW_FREQUENCY)
1419#define AV_CH_LAYOUT_5POINT0_BACK (AV_CH_LAYOUT_SURROUND|AV_CH_BACK_LEFT|AV_CH_BACK_RIGHT)
1420#define AV_CH_LAYOUT_5POINT1_BACK (AV_CH_LAYOUT_5POINT0_BACK|AV_CH_LOW_FREQUENCY)
1421#define AV_CH_LAYOUT_6POINT0 (AV_CH_LAYOUT_5POINT0|AV_CH_BACK_CENTER)
1422#define AV_CH_LAYOUT_6POINT0_FRONT (AV_CH_LAYOUT_2_2|AV_CH_FRONT_LEFT_OF_CENTER|AV_CH_FRONT_RIGHT_OF_CENTER)
1423#define AV_CH_LAYOUT_HEXAGONAL (AV_CH_LAYOUT_5POINT0_BACK|AV_CH_BACK_CENTER)
1424#define AV_CH_LAYOUT_6POINT1 (AV_CH_LAYOUT_5POINT1|AV_CH_BACK_CENTER)
1425#define AV_CH_LAYOUT_6POINT1_BACK (AV_CH_LAYOUT_5POINT1_BACK|AV_CH_BACK_CENTER)
1426#define AV_CH_LAYOUT_6POINT1_FRONT (AV_CH_LAYOUT_6POINT0_FRONT|AV_CH_LOW_FREQUENCY)
1427#define AV_CH_LAYOUT_7POINT0 (AV_CH_LAYOUT_5POINT0|AV_CH_BACK_LEFT|AV_CH_BACK_RIGHT)
1428#define AV_CH_LAYOUT_7POINT0_FRONT (AV_CH_LAYOUT_5POINT0|AV_CH_FRONT_LEFT_OF_CENTER|AV_CH_FRONT_RIGHT_OF_CENTER)
1429#define AV_CH_LAYOUT_7POINT1 (AV_CH_LAYOUT_5POINT1|AV_CH_BACK_LEFT|AV_CH_BACK_RIGHT)
1430#define AV_CH_LAYOUT_7POINT1_WIDE (AV_CH_LAYOUT_5POINT1|AV_CH_FRONT_LEFT_OF_CENTER|AV_CH_FRONT_RIGHT_OF_CENTER)
1431#define AV_CH_LAYOUT_7POINT1_WIDE_BACK (AV_CH_LAYOUT_5POINT1_BACK|AV_CH_FRONT_LEFT_OF_CENTER|AV_CH_FRONT_RIGHT_OF_CENTER)
1432#define AV_CH_LAYOUT_OCTAGONAL (AV_CH_LAYOUT_5POINT0|AV_CH_BACK_LEFT|AV_CH_BACK_CENTER|AV_CH_BACK_RIGHT)
1433#define AV_CH_LAYOUT_STEREO_DOWNMIX (AV_CH_STEREO_LEFT|AV_CH_STEREO_RIGHT)
1470#define AVUTIL_DICT_H
1472#define AV_DICT_MATCH_CASE 1
1473#define AV_DICT_IGNORE_SUFFIX 2
1475#define AV_DICT_DONT_STRDUP_KEY 4
1477#define AV_DICT_DONT_STRDUP_VAL 8
1479#define AV_DICT_DONT_OVERWRITE 16
1480#define AV_DICT_APPEND 32
1497 const char *key_val_sep,
const char *pairs_sep,
1504#define AVUTIL_FRAME_H
1531#define AV_NUM_DATA_POINTERS 8
1637#define AV_FRAME_FLAG_CORRUPT (1 << 0)
1660#define FF_DECODE_ERROR_INVALID_BITSTREAM 1
1661#define FF_DECODE_ERROR_MISSING_REFERENCE 2
1731#define AVCODEC_VERSION_H
1733#define LIBAVCODEC_VERSION_MAJOR 55
1734#define LIBAVCODEC_VERSION_MINOR 69
1735#define LIBAVCODEC_VERSION_MICRO 100
1737#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
1738 LIBAVCODEC_VERSION_MINOR, \
1739 LIBAVCODEC_VERSION_MICRO)
1740#define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \
1741 LIBAVCODEC_VERSION_MINOR, \
1742 LIBAVCODEC_VERSION_MICRO)
1743#define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT
1745#define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION)
1747#define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 56)
1748#define FF_API_OLD_DECODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 56)
1749#define FF_API_OLD_ENCODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 56)
1750#define FF_API_OLD_ENCODE_VIDEO (LIBAVCODEC_VERSION_MAJOR < 56)
1751#define FF_API_CODEC_ID (LIBAVCODEC_VERSION_MAJOR < 56)
1752#define FF_API_AUDIO_CONVERT (LIBAVCODEC_VERSION_MAJOR < 56)
1753#define FF_API_AVCODEC_RESAMPLE FF_API_AUDIO_CONVERT
1754#define FF_API_DEINTERLACE (LIBAVCODEC_VERSION_MAJOR < 56)
1755#define FF_API_DESTRUCT_PACKET (LIBAVCODEC_VERSION_MAJOR < 56)
1756#define FF_API_GET_BUFFER (LIBAVCODEC_VERSION_MAJOR < 56)
1757#define FF_API_MISSING_SAMPLE (LIBAVCODEC_VERSION_MAJOR < 56)
1758#define FF_API_LOWRES (LIBAVCODEC_VERSION_MAJOR < 56)
1759#define FF_API_CAP_VDPAU (LIBAVCODEC_VERSION_MAJOR < 56)
1760#define FF_API_BUFS_VDPAU (LIBAVCODEC_VERSION_MAJOR < 56)
1761#define FF_API_VOXWARE (LIBAVCODEC_VERSION_MAJOR < 56)
1762#define FF_API_SET_DIMENSIONS (LIBAVCODEC_VERSION_MAJOR < 56)
1763#define FF_API_DEBUG_MV (LIBAVCODEC_VERSION_MAJOR < 56)
1764#define FF_API_AC_VLC (LIBAVCODEC_VERSION_MAJOR < 56)
1765#define FF_API_OLD_MSMPEG4 (LIBAVCODEC_VERSION_MAJOR < 56)
1766#define FF_API_ASPECT_EXTENDED (LIBAVCODEC_VERSION_MAJOR < 56)
1767#define FF_API_THREAD_OPAQUE (LIBAVCODEC_VERSION_MAJOR < 56)
1768#define FF_API_CODEC_PKT (LIBAVCODEC_VERSION_MAJOR < 56)
1769#define FF_API_ARCH_ALPHA (LIBAVCODEC_VERSION_MAJOR < 56)
1770#define FF_API_ERROR_RATE (LIBAVCODEC_VERSION_MAJOR < 56)
1771#define FF_API_QSCALE_TYPE (LIBAVCODEC_VERSION_MAJOR < 56)
1772#define FF_API_MB_TYPE (LIBAVCODEC_VERSION_MAJOR < 56)
1773#define FF_API_MAX_BFRAMES (LIBAVCODEC_VERSION_MAJOR < 56)
1774#define FF_API_FAST_MALLOC (LIBAVCODEC_VERSION_MAJOR < 56)
1775#define FF_API_NEG_LINESIZES (LIBAVCODEC_VERSION_MAJOR < 56)
1776#define FF_API_EMU_EDGE (LIBAVCODEC_VERSION_MAJOR < 56)
1777#define FF_API_ARCH_SH4 (LIBAVCODEC_VERSION_MAJOR < 56)
1778#define FF_API_ARCH_SPARC (LIBAVCODEC_VERSION_MAJOR < 56)
1779#define FF_API_INPUT_PRESERVED (LIBAVCODEC_VERSION_MAJOR < 57)
1780#define FF_API_NORMALIZE_AQP (LIBAVCODEC_VERSION_MAJOR < 57)
1781#define FF_API_GMC (LIBAVCODEC_VERSION_MAJOR < 57)
1782#define FF_API_MV0 (LIBAVCODEC_VERSION_MAJOR < 57)
1783#define FF_API_CODEC_NAME (LIBAVCODEC_VERSION_MAJOR < 57)
2000#define AV_CODEC_ID_H265 AV_CODEC_ID_HEVC
2211#define AVCODEC_OLD_CODEC_IDS_H
2584#define AV_CODEC_PROP_INTRA_ONLY (1 << 0)
2586#define AV_CODEC_PROP_LOSSY (1 << 1)
2588#define AV_CODEC_PROP_LOSSLESS (1 << 2)
2590#define AV_CODEC_PROP_BITMAP_SUB (1 << 16)
2592#define AV_CODEC_PROP_TEXT_SUB (1 << 17)
2594#define FF_INPUT_BUFFER_PADDING_SIZE 32
2596#define FF_MIN_BUFFER_SIZE 16384
2642#define FF_MAX_B_FRAMES 16
2644#define CODEC_FLAG_UNALIGNED 0x0001
2645#define CODEC_FLAG_QSCALE 0x0002
2646#define CODEC_FLAG_4MV 0x0004
2647#define CODEC_FLAG_OUTPUT_CORRUPT 0x0008
2648#define CODEC_FLAG_QPEL 0x0010
2650#define CODEC_FLAG_GMC 0x0020
2652#define CODEC_FLAG_MV0 0x0040
2654#define CODEC_FLAG_INPUT_PRESERVED 0x0100
2655#define CODEC_FLAG_PASS1 0x0200
2656#define CODEC_FLAG_PASS2 0x0400
2657#define CODEC_FLAG_GRAY 0x2000
2659#define CODEC_FLAG_EMU_EDGE 0x4000
2660#define CODEC_FLAG_PSNR 0x8000
2661#define CODEC_FLAG_TRUNCATED 0x00010000
2663#define CODEC_FLAG_NORMALIZE_AQP 0x00020000
2664#define CODEC_FLAG_INTERLACED_DCT 0x00040000
2665#define CODEC_FLAG_LOW_DELAY 0x00080000
2666#define CODEC_FLAG_GLOBAL_HEADER 0x00400000
2667#define CODEC_FLAG_BITEXACT 0x00800000
2669#define CODEC_FLAG_AC_PRED 0x01000000
2670#define CODEC_FLAG_LOOP_FILTER 0x00000800
2671#define CODEC_FLAG_INTERLACED_ME 0x20000000
2672#define CODEC_FLAG_CLOSED_GOP 0x80000000
2673#define CODEC_FLAG2_FAST 0x00000001
2674#define CODEC_FLAG2_NO_OUTPUT 0x00000004
2675#define CODEC_FLAG2_LOCAL_HEADER 0x00000008
2676#define CODEC_FLAG2_DROP_FRAME_TIMECODE 0x00002000
2677#define CODEC_FLAG2_IGNORE_CROP 0x00010000
2679#define CODEC_FLAG2_CHUNKS 0x00008000
2680#define CODEC_FLAG2_SHOW_ALL 0x00400000
2682#define CODEC_CAP_DRAW_HORIZ_BAND 0x0001
2684#define CODEC_CAP_DR1 0x0002
2685#define CODEC_CAP_TRUNCATED 0x0008
2687#define CODEC_CAP_HWACCEL 0x0010
2689#define CODEC_CAP_DELAY 0x0020
2691#define CODEC_CAP_SMALL_LAST_FRAME 0x0040
2693#define CODEC_CAP_HWACCEL_VDPAU 0x0080
2695#define CODEC_CAP_SUBFRAMES 0x0100
2697#define CODEC_CAP_EXPERIMENTAL 0x0200
2699#define CODEC_CAP_CHANNEL_CONF 0x0400
2701#define CODEC_CAP_NEG_LINESIZES 0x0800
2703#define CODEC_CAP_FRAME_THREADS 0x1000
2705#define CODEC_CAP_SLICE_THREADS 0x2000
2707#define CODEC_CAP_PARAM_CHANGE 0x4000
2709#define CODEC_CAP_AUTO_THREADS 0x8000
2711#define CODEC_CAP_VARIABLE_FRAME_SIZE 0x10000
2713#define CODEC_CAP_INTRA_ONLY 0x40000000
2715#define CODEC_CAP_LOSSLESS 0x80000000
2717#define MB_TYPE_INTRA4x4 0x0001
2718#define MB_TYPE_INTRA16x16 0x0002
2719#define MB_TYPE_INTRA_PCM 0x0004
2720#define MB_TYPE_16x16 0x0008
2721#define MB_TYPE_16x8 0x0010
2722#define MB_TYPE_8x16 0x0020
2723#define MB_TYPE_8x8 0x0040
2724#define MB_TYPE_INTERLACED 0x0080
2725#define MB_TYPE_DIRECT2 0x0100
2726#define MB_TYPE_ACPRED 0x0200
2727#define MB_TYPE_GMC 0x0400
2728#define MB_TYPE_SKIP 0x0800
2729#define MB_TYPE_P0L0 0x1000
2730#define MB_TYPE_P1L0 0x2000
2731#define MB_TYPE_P0L1 0x4000
2732#define MB_TYPE_P1L1 0x8000
2733#define MB_TYPE_L0 (MB_TYPE_P0L0 | MB_TYPE_P1L0)
2734#define MB_TYPE_L1 (MB_TYPE_P0L1 | MB_TYPE_P1L1)
2735#define MB_TYPE_L0L1 (MB_TYPE_L0 | MB_TYPE_L1)
2736#define MB_TYPE_QUANT 0x00010000
2737#define MB_TYPE_CBP 0x00020000
2749#define FF_QSCALE_TYPE_MPEG1 0
2750#define FF_QSCALE_TYPE_MPEG2 1
2751#define FF_QSCALE_TYPE_H264 2
2752#define FF_QSCALE_TYPE_VP56 3
2754#define FF_BUFFER_TYPE_INTERNAL 1
2755#define FF_BUFFER_TYPE_USER 2
2756#define FF_BUFFER_TYPE_SHARED 4
2757#define FF_BUFFER_TYPE_COPY 8
2759#define FF_BUFFER_HINTS_VALID 0x01
2760#define FF_BUFFER_HINTS_READABLE 0x02
2761#define FF_BUFFER_HINTS_PRESERVE 0x04
2762#define FF_BUFFER_HINTS_REUSABLE 0x08
2764#define AV_GET_BUFFER_FLAG_REF (1 << 0)
2826#define AV_PKT_FLAG_KEY 0x0001
2827#define AV_PKT_FLAG_CORRUPT 0x0002
2836struct AVCodecInternal;
2876#define FF_COMPRESSION_DEFAULT -1
2895#define FF_ASPECT_EXTENDED 15
2905 int y,
int type,
int height);
2914#define FF_RC_STRATEGY_XVID 1
2941#define FF_PRED_LEFT 0
2942#define FF_PRED_PLANE 1
2943#define FF_PRED_MEDIAN 2
2958#define FF_CMP_SATD 2
2960#define FF_CMP_PSNR 4
2963#define FF_CMP_ZERO 7
2964#define FF_CMP_VSAD 8
2965#define FF_CMP_VSSE 9
2966#define FF_CMP_NSSE 10
2967#define FF_CMP_W53 11
2968#define FF_CMP_W97 12
2969#define FF_CMP_DCTMAX 13
2970#define FF_CMP_DCT264 14
2971#define FF_CMP_CHROMA 256
2986#define FF_DTG_AFD_SAME 8
2987#define FF_DTG_AFD_4_3 9
2988#define FF_DTG_AFD_16_9 10
2989#define FF_DTG_AFD_14_9 11
2990#define FF_DTG_AFD_4_3_SP_14_9 13
2991#define FF_DTG_AFD_16_9_SP_14_9 14
2992#define FF_DTG_AFD_SP_4_3 15
2997#define FF_DEFAULT_QUANT_BIAS 999999
3002#define SLICE_FLAG_CODED_ORDER 0x0001
3003#define SLICE_FLAG_ALLOW_FIELD 0x0002
3004#define SLICE_FLAG_ALLOW_PLANE 0x0004
3009#define FF_MB_DECISION_SIMPLE 0
3010#define FF_MB_DECISION_BITS 1
3011#define FF_MB_DECISION_RD 2
3140#define FF_CODER_TYPE_VLC 0
3141#define FF_CODER_TYPE_AC 1
3142#define FF_CODER_TYPE_RAW 2
3143#define FF_CODER_TYPE_RLE 3
3144#define FF_CODER_TYPE_DEFLATE 4
3190#define FF_BUG_AUTODETECT 1
3191#define FF_BUG_OLD_MSMPEG4 2
3192#define FF_BUG_XVID_ILACE 4
3193#define FF_BUG_UMP4 8
3194#define FF_BUG_NO_PADDING 16
3195#define FF_BUG_AMV 32
3196#define FF_BUG_AC_VLC 0
3197#define FF_BUG_QPEL_CHROMA 64
3198#define FF_BUG_STD_QPEL 128
3199#define FF_BUG_QPEL_CHROMA2 256
3200#define FF_BUG_DIRECT_BLOCKSIZE 512
3201#define FF_BUG_EDGE 1024
3202#define FF_BUG_HPEL_CHROMA 2048
3203#define FF_BUG_DC_CLIP 4096
3204#define FF_BUG_MS 8192
3205#define FF_BUG_TRUNCATED 16384
3208#define FF_COMPLIANCE_VERY_STRICT 2
3209#define FF_COMPLIANCE_STRICT 1
3210#define FF_COMPLIANCE_NORMAL 0
3211#define FF_COMPLIANCE_UNOFFICIAL -1
3212#define FF_COMPLIANCE_EXPERIMENTAL -2
3215#define FF_EC_GUESS_MVS 1
3216#define FF_EC_DEBLOCK 2
3217#define FF_EC_FAVOR_INTER 256
3220#define FF_DEBUG_PICT_INFO 1
3221#define FF_DEBUG_RC 2
3222#define FF_DEBUG_BITSTREAM 4
3223#define FF_DEBUG_MB_TYPE 8
3224#define FF_DEBUG_QP 16
3226#define FF_DEBUG_MV 32
3227#define FF_DEBUG_DCT_COEFF 0x00000040
3228#define FF_DEBUG_SKIP 0x00000080
3229#define FF_DEBUG_STARTCODE 0x00000100
3230#define FF_DEBUG_PTS 0x00000200
3231#define FF_DEBUG_ER 0x00000400
3232#define FF_DEBUG_MMCO 0x00000800
3233#define FF_DEBUG_BUGS 0x00001000
3234#define FF_DEBUG_VIS_QP 0x00002000
3235#define FF_DEBUG_VIS_MB_TYPE 0x00004000
3236#define FF_DEBUG_BUFFERS 0x00008000
3237#define FF_DEBUG_THREADS 0x00010000
3238#define FF_DEBUG_NOMC 0x01000000
3241#define FF_DEBUG_VIS_MV_P_FOR 0x00000001
3242#define FF_DEBUG_VIS_MV_B_FOR 0x00000002
3243#define FF_DEBUG_VIS_MV_B_BACK 0x00000004
3247#define AV_EF_CRCCHECK (1<<0)
3248#define AV_EF_BITSTREAM (1<<1)
3249#define AV_EF_BUFFER (1<<2)
3250#define AV_EF_EXPLODE (1<<3)
3252#define AV_EF_IGNORE_ERR (1<<15)
3253#define AV_EF_CAREFUL (1<<16)
3254#define AV_EF_COMPLIANT (1<<17)
3255#define AV_EF_AGGRESSIVE (1<<18)
3266#define FF_DCT_AUTO 0
3267#define FF_DCT_FASTINT 1
3270#define FF_DCT_ALTIVEC 5
3271#define FF_DCT_FAAN 6
3274#define FF_IDCT_AUTO 0
3275#define FF_IDCT_INT 1
3276#define FF_IDCT_SIMPLE 2
3277#define FF_IDCT_SIMPLEMMX 3
3278#define FF_IDCT_ARM 7
3279#define FF_IDCT_ALTIVEC 8
3280#define FF_IDCT_SH4 9
3281#define FF_IDCT_SIMPLEARM 10
3282#define FF_IDCT_IPP 13
3283#define FF_IDCT_XVIDMMX 14
3284#define FF_IDCT_SIMPLEARMV5TE 16
3285#define FF_IDCT_SIMPLEARMV6 17
3286#define FF_IDCT_SIMPLEVIS 18
3287#define FF_IDCT_FAAN 20
3288#define FF_IDCT_SIMPLENEON 22
3289#define FF_IDCT_SIMPLEALPHA 23
3290#define FF_IDCT_SIMPLEAUTO 128
3303#define FF_THREAD_FRAME 1
3304#define FF_THREAD_SLICE 2
3320#define FF_PROFILE_UNKNOWN -99
3321#define FF_PROFILE_RESERVED -100
3323#define FF_PROFILE_AAC_MAIN 0
3324#define FF_PROFILE_AAC_LOW 1
3325#define FF_PROFILE_AAC_SSR 2
3326#define FF_PROFILE_AAC_LTP 3
3327#define FF_PROFILE_AAC_HE 4
3328#define FF_PROFILE_AAC_HE_V2 28
3329#define FF_PROFILE_AAC_LD 22
3330#define FF_PROFILE_AAC_ELD 38
3331#define FF_PROFILE_MPEG2_AAC_LOW 128
3332#define FF_PROFILE_MPEG2_AAC_HE 131
3334#define FF_PROFILE_DTS 20
3335#define FF_PROFILE_DTS_ES 30
3336#define FF_PROFILE_DTS_96_24 40
3337#define FF_PROFILE_DTS_HD_HRA 50
3338#define FF_PROFILE_DTS_HD_MA 60
3340#define FF_PROFILE_MPEG2_422 0
3341#define FF_PROFILE_MPEG2_HIGH 1
3342#define FF_PROFILE_MPEG2_SS 2
3343#define FF_PROFILE_MPEG2_SNR_SCALABLE 3
3344#define FF_PROFILE_MPEG2_MAIN 4
3345#define FF_PROFILE_MPEG2_SIMPLE 5
3347#define FF_PROFILE_H264_CONSTRAINED (1<<9)
3348#define FF_PROFILE_H264_INTRA (1<<11)
3350#define FF_PROFILE_H264_BASELINE 66
3351#define FF_PROFILE_H264_CONSTRAINED_BASELINE (66|FF_PROFILE_H264_CONSTRAINED)
3352#define FF_PROFILE_H264_MAIN 77
3353#define FF_PROFILE_H264_EXTENDED 88
3354#define FF_PROFILE_H264_HIGH 100
3355#define FF_PROFILE_H264_HIGH_10 110
3356#define FF_PROFILE_H264_HIGH_10_INTRA (110|FF_PROFILE_H264_INTRA)
3357#define FF_PROFILE_H264_HIGH_422 122
3358#define FF_PROFILE_H264_HIGH_422_INTRA (122|FF_PROFILE_H264_INTRA)
3359#define FF_PROFILE_H264_HIGH_444 144
3360#define FF_PROFILE_H264_HIGH_444_PREDICTIVE 244
3361#define FF_PROFILE_H264_HIGH_444_INTRA (244|FF_PROFILE_H264_INTRA)
3362#define FF_PROFILE_H264_CAVLC_444 44
3364#define FF_PROFILE_VC1_SIMPLE 0
3365#define FF_PROFILE_VC1_MAIN 1
3366#define FF_PROFILE_VC1_COMPLEX 2
3367#define FF_PROFILE_VC1_ADVANCED 3
3369#define FF_PROFILE_MPEG4_SIMPLE 0
3370#define FF_PROFILE_MPEG4_SIMPLE_SCALABLE 1
3371#define FF_PROFILE_MPEG4_CORE 2
3372#define FF_PROFILE_MPEG4_MAIN 3
3373#define FF_PROFILE_MPEG4_N_BIT 4
3374#define FF_PROFILE_MPEG4_SCALABLE_TEXTURE 5
3375#define FF_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION 6
3376#define FF_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE 7
3377#define FF_PROFILE_MPEG4_HYBRID 8
3378#define FF_PROFILE_MPEG4_ADVANCED_REAL_TIME 9
3379#define FF_PROFILE_MPEG4_CORE_SCALABLE 10
3380#define FF_PROFILE_MPEG4_ADVANCED_CODING 11
3381#define FF_PROFILE_MPEG4_ADVANCED_CORE 12
3382#define FF_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE 13
3383#define FF_PROFILE_MPEG4_SIMPLE_STUDIO 14
3384#define FF_PROFILE_MPEG4_ADVANCED_SIMPLE 15
3386#define FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0 0
3387#define FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1 1
3388#define FF_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION 2
3389#define FF_PROFILE_JPEG2000_DCINEMA_2K 3
3390#define FF_PROFILE_JPEG2000_DCINEMA_4K 4
3392#define FF_PROFILE_HEVC_MAIN 1
3393#define FF_PROFILE_HEVC_MAIN_10 2
3394#define FF_PROFILE_HEVC_MAIN_STILL_PICTURE 3
3395#define FF_PROFILE_HEVC_REXT 4
3398#define FF_LEVEL_UNKNOWN -99
3431#define FF_SUB_CHARENC_MODE_DO_NOTHING -1
3432#define FF_SUB_CHARENC_MODE_AUTOMATIC 0
3433#define FF_SUB_CHARENC_MODE_PRE_DECODER 1
3500 int *got_packet_ptr);
3509struct MpegEncContext;
3559#define AV_SUBTITLE_FLAG_FORCED 0x00000001
3701 int *frame_size_ptr,
3705 int *got_frame_ptr,
const AVPacket *avpkt);
3708 int *got_picture_ptr,
3740#define AV_PARSER_PTS_NB 4
3747#define PARSER_FLAG_COMPLETE_FRAMES 0x0001
3748#define PARSER_FLAG_ONCE 0x0002
3750#define PARSER_FLAG_FETCHED_OFFSET 0x0004
3751#define PARSER_FLAG_USE_CODEC_TS 0x1000
3787 const uint8_t **poutbuf,
int *poutbuf_size,
3788 const uint8_t *buf,
int buf_size);
3801 uint8_t **poutbuf,
int *poutbuf_size,
3802 const uint8_t *buf,
int buf_size,
3803 int64_t pts, int64_t dts,
3808 uint8_t **poutbuf,
int *poutbuf_size,
3809 const uint8_t *buf,
int buf_size,
int keyframe);
3817 uint8_t *buf,
int buf_size,
3818 const short *samples);
3821 const AVFrame *frame,
int *got_packet_ptr);
3828 const AVFrame *frame,
int *got_packet_ptr);
3834struct AVResampleContext;
3840 int output_rate,
int input_rate,
3843 int filter_length,
int log2_phase_count,
3844 int linear,
double cutoff);
3853struct AVResampleContext *
av_resample_init(
int out_rate,
int in_rate,
int filter_length,
int log2_phase_count,
int linear,
double cutoff);
3856int av_resample(
struct AVResampleContext *c,
short *dst,
short *src,
int *consumed,
int src_size,
int dst_size,
int update_ctx);
3871 int width,
int height,
3872 unsigned char *dest,
int dest_size);
3887 int padtop,
int padbottom,
int padleft,
int padright,
int *color);
3898 int has_alpha,
int *loss_ptr);
3901 enum AVPixelFormat src_pix_fmt,
int has_alpha,
int *loss_ptr);
3905 enum AVPixelFormat src_pix_fmt,
int has_alpha,
int *loss_ptr);
3923 int buf_size,
int align);
3947 uint8_t **poutbuf,
int *poutbuf_size,
3948 const uint8_t *buf,
int buf_size,
int keyframe);
3959 uint8_t **poutbuf,
int *poutbuf_size,
3960 const uint8_t *buf,
int buf_size,
int keyframe);
4007#define AVFORMAT_AVFORMAT_H
4009#define AVFORMAT_AVIO_H
4011#define AVFORMAT_VERSION_H
4013#define LIBAVFORMAT_VERSION_MAJOR 55
4014#define LIBAVFORMAT_VERSION_MINOR 48
4015#define LIBAVFORMAT_VERSION_MICRO 100
4017#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
4018 LIBAVFORMAT_VERSION_MINOR, \
4019 LIBAVFORMAT_VERSION_MICRO)
4020#define LIBAVFORMAT_VERSION AV_VERSION(LIBAVFORMAT_VERSION_MAJOR, \
4021 LIBAVFORMAT_VERSION_MINOR, \
4022 LIBAVFORMAT_VERSION_MICRO)
4023#define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT
4025#define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION)
4027#define FF_API_REFERENCE_DTS (LIBAVFORMAT_VERSION_MAJOR < 56)
4028#define FF_API_LAVF_BITEXACT (LIBAVFORMAT_VERSION_MAJOR < 56)
4029#define FF_API_LAVF_FRAC (LIBAVFORMAT_VERSION_MAJOR < 57)
4030#define FF_API_LAVF_CODEC_TB (LIBAVFORMAT_VERSION_MAJOR < 57)
4032#define FF_API_ALLOC_OUTPUT_CONTEXT (LIBAVFORMAT_VERSION_MAJOR < 56)
4033#define FF_API_FORMAT_PARAMETERS (LIBAVFORMAT_VERSION_MAJOR < 56)
4034#define FF_API_NEW_STREAM (LIBAVFORMAT_VERSION_MAJOR < 56)
4035#define FF_API_SET_PTS_INFO (LIBAVFORMAT_VERSION_MAJOR < 56)
4036#define FF_API_CLOSE_INPUT_FILE (LIBAVFORMAT_VERSION_MAJOR < 56)
4037#define FF_API_READ_PACKET (LIBAVFORMAT_VERSION_MAJOR < 56)
4038#define FF_API_ASS_SSA (LIBAVFORMAT_VERSION_MAJOR < 56)
4039#define FF_API_R_FRAME_RATE 1
4041#define AVIO_SEEKABLE_NORMAL 0x0001
4074 int64_t timestamp,
int flags);
4096 unsigned char *buffer,
4100 int (*read_packet)(
void *opaque, uint8_t *buf,
int buf_size),
4101 int (*write_packet)(
void *opaque, uint8_t *buf,
int buf_size),
4102 int64_t (*seek)(
void *opaque, int64_t offset,
int whence));
4119#define AVSEEK_SIZE 0x10000
4121#define AVSEEK_FORCE 0x20000
4157#define AVIO_FLAG_READ 1
4158#define AVIO_FLAG_WRITE 2
4159#define AVIO_FLAG_READ_WRITE (AVIO_FLAG_READ|AVIO_FLAG_WRITE)
4161#define AVIO_FLAG_NONBLOCK 8
4163#define AVIO_FLAG_DIRECT 0x8000
4183 int64_t timestamp,
int flags);
4187struct AVDeviceInfoList;
4188struct AVDeviceCapabilitiesQuery;
4206#define AVPROBE_SCORE_RETRY (AVPROBE_SCORE_MAX/4)
4207#define AVPROBE_SCORE_STREAM_RETRY (AVPROBE_SCORE_MAX/4-1)
4209#define AVPROBE_SCORE_EXTENSION 50
4210#define AVPROBE_SCORE_MAX 100
4212#define AVPROBE_PADDING_SIZE 32
4214#define AVFMT_NOFILE 0x0001
4215#define AVFMT_NEEDNUMBER 0x0002
4216#define AVFMT_SHOW_IDS 0x0008
4217#define AVFMT_RAWPICTURE 0x0020
4219#define AVFMT_GLOBALHEADER 0x0040
4220#define AVFMT_NOTIMESTAMPS 0x0080
4221#define AVFMT_GENERIC_INDEX 0x0100
4222#define AVFMT_TS_DISCONT 0x0200
4223#define AVFMT_VARIABLE_FPS 0x0400
4224#define AVFMT_NODIMENSIONS 0x0800
4225#define AVFMT_NOSTREAMS 0x1000
4226#define AVFMT_NOBINSEARCH 0x2000
4227#define AVFMT_NOGENSEARCH 0x4000
4228#define AVFMT_NO_BYTE_SEEK 0x8000
4229#define AVFMT_ALLOW_FLUSH 0x10000
4230#define AVFMT_TS_NONSTRICT 0x20000
4232#define AVFMT_TS_NEGATIVE 0x40000
4234#define AVFMT_SEEK_TO_PTS 0x4000000
4268 int64_t *dts, int64_t *wall);
4271 void *data,
size_t data_size);
4312 int stream_index, int64_t timestamp,
int flags);
4315 int64_t *pos, int64_t pos_limit);
4344#define AVINDEX_KEYFRAME 0x0001
4350#define AV_DISPOSITION_DEFAULT 0x0001
4351#define AV_DISPOSITION_DUB 0x0002
4352#define AV_DISPOSITION_ORIGINAL 0x0004
4353#define AV_DISPOSITION_COMMENT 0x0008
4354#define AV_DISPOSITION_LYRICS 0x0010
4355#define AV_DISPOSITION_KARAOKE 0x0020
4357#define AV_DISPOSITION_FORCED 0x0040
4358#define AV_DISPOSITION_HEARING_IMPAIRED 0x0080
4359#define AV_DISPOSITION_VISUAL_IMPAIRED 0x0100
4360#define AV_DISPOSITION_CLEAN_EFFECTS 0x0200
4362#define AV_DISPOSITION_ATTACHED_PIC 0x0400
4364#define AV_DISPOSITION_CAPTIONS 0x10000
4365#define AV_DISPOSITION_DESCRIPTIONS 0x20000
4366#define AV_DISPOSITION_METADATA 0x40000
4368#define AV_PTS_WRAP_IGNORE 0
4369#define AV_PTS_WRAP_ADD_OFFSET 1
4370#define AV_PTS_WRAP_SUB_OFFSET -1
4407#define MAX_STD_TIMEBASES (60*12+6)
4437#define MAX_PROBE_PACKETS 2500
4447#define MAX_REORDER_DELAY 16
4495#define AV_PROGRAM_RUNNING 1
4516#define AVFMTCTX_NOHEADER 0x0001
4526 void *data,
size_t data_size);
4566#define AVFMT_FLAG_GENPTS 0x0001
4567#define AVFMT_FLAG_IGNIDX 0x0002
4568#define AVFMT_FLAG_NONBLOCK 0x0004
4569#define AVFMT_FLAG_IGNDTS 0x0008
4570#define AVFMT_FLAG_NOFILLIN 0x0010
4571#define AVFMT_FLAG_NOPARSE 0x0020
4572#define AVFMT_FLAG_NOBUFFER 0x0040
4573#define AVFMT_FLAG_CUSTOM_IO 0x0080
4574#define AVFMT_FLAG_DISCARD_CORRUPT 0x0100
4575#define AVFMT_FLAG_FLUSH_PACKETS 0x0200
4577#define AVFMT_FLAG_BITEXACT 0x0400
4578#define AVFMT_FLAG_MP4A_LATM 0x8000
4579#define AVFMT_FLAG_SORT_DTS 0x10000
4580#define AVFMT_FLAG_PRIV_OPT 0x20000
4581#define AVFMT_FLAG_KEEP_SIDE_DATA 0x40000
4618#define FF_FDEBUG_TS 0x0001
4663#define RAW_PACKET_BUFFER_SIZE 2500000
4749 const char *filename);
4752 const char *format_name,
const char *filename);
4763 const char *filename,
void *logctx,
4764 unsigned int offset,
unsigned int max_probe_size);
4767 const char *filename,
void *logctx,
4768 unsigned int offset,
unsigned int max_probe_size);
4784 int wanted_stream_nb,
4813 unsigned int pts_num,
unsigned int pts_den);
4815#define AVSEEK_FLAG_BACKWARD 1
4816#define AVSEEK_FLAG_BYTE 2
4817#define AVSEEK_FLAG_ANY 4
4818#define AVSEEK_FLAG_FRAME 8
4837 const char *filename,
4838 const char *mime_type);
4841 const char *filename,
const char *mime_type,
4845 int64_t *dts, int64_t *wall);
4868 int size,
int distance,
int flags);
4871 char *authorization,
int authorization_size,
4872 char *hostname,
int hostname_size,
4874 char *path,
int path_size,
4883 const char *path,
int number);
4910#define AVUTIL_FIFO_H
4944 uint8_t *ptr = f->
rptr + offs;
4947 else if (ptr < f->buffer)
struct AVDictionary AVDictionary
const TranslatableString desc
AVCodecParserContext * parser
struct AVBitStreamFilterContext * next
struct AVBitStreamFilter * filter
struct AVBitStreamFilter * next
void(* close)(AVBitStreamFilterContext *bsfc)
int(* filter)(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe)
const struct AVOption * option
int(* query_ranges)(struct AVOptionRanges **, void *obj, const char *key, int flags)
AVClassCategory(* get_category)(void *ctx)
int parent_log_context_offset
int log_level_offset_offset
float rc_max_available_vbv_use
struct AVCodecInternal * internal
enum AVPixelFormat pix_fmt
int64_t pts_correction_last_dts
int(* execute)(struct AVCodecContext *c, int(*func)(struct AVCodecContext *c2, void *arg), void *arg2, int *ret, int count, int size)
int64_t pts_correction_num_faulty_dts
uint64_t error[AV_NUM_DATA_POINTERS]
int64_t pts_correction_last_pts
enum AVSampleFormat sample_fmt
const AVCodecDescriptor * codec_descriptor
int scenechange_threshold
enum AVColorRange color_range
int strict_std_compliance
attribute_deprecated int xvmc_acceleration
enum AVAudioServiceType audio_service_type
enum AVColorPrimaries color_primaries
enum AVMediaType codec_type
AVRational sample_aspect_ratio
int bits_per_coded_sample
uint16_t * chroma_intra_matrix
attribute_deprecated int request_channels
int thread_safe_callbacks
enum AVFieldOrder field_order
float rc_buffer_aggressivity
attribute_deprecated AVPacket * pkt
enum AVDiscard skip_loop_filter
int64_t pts_correction_num_faulty_pts
int rc_initial_buffer_occupancy
int(* get_buffer2)(struct AVCodecContext *s, AVFrame *frame, int flags)
uint8_t * subtitle_header
enum AVColorSpace colorspace
struct AVHWAccel * hwaccel
const struct AVCodec * codec
enum AVSampleFormat request_sample_fmt
float temporal_cplx_masking
int64_t timecode_frame_start
uint64_t request_channel_layout
int me_penalty_compensation
void(* draw_horiz_band)(struct AVCodecContext *s, const AVFrame *src, int offset[AV_NUM_DATA_POINTERS], int y, int type, int height)
void(* rtp_callback)(struct AVCodecContext *avctx, void *data, int size, int mb_nb)
enum AVColorTransferCharacteristic color_trc
float rc_min_vbv_overflow_use
attribute_deprecated int(* get_buffer)(struct AVCodecContext *c, AVFrame *pic)
attribute_deprecated int(* reget_buffer)(struct AVCodecContext *c, AVFrame *pic)
enum AVChromaLocation chroma_sample_location
attribute_deprecated void(* release_buffer)(struct AVCodecContext *c, AVFrame *pic)
int side_data_only_packets
attribute_deprecated char codec_name[32]
int(* execute2)(struct AVCodecContext *c, int(*func)(struct AVCodecContext *c2, void *arg, int jobnr, int threadnr), void *arg2, int *ret, int count)
unsigned int stream_codec_tag
attribute_deprecated int error_rate
enum AVPixelFormat(* get_format)(struct AVCodecContext *s, const enum AVPixelFormat *fmt)
attribute_deprecated void * thread_opaque
float spatial_cplx_masking
enum AVDiscard skip_frame
const char *const * mime_types
int(* init)(AVCodecContext *)
const uint64_t * channel_layouts
const int * supported_samplerates
int(* encode2)(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
const AVRational * supported_framerates
void(* init_static_data)(struct AVCodec *codec)
int(* update_thread_context)(AVCodecContext *dst, const AVCodecContext *src)
int(* close)(AVCodecContext *)
int(* init_thread_copy)(AVCodecContext *)
const AVClass * priv_class
int(* encode_sub)(AVCodecContext *, uint8_t *buf, int buf_size, const struct AVSubtitle *sub)
const AVProfile * profiles
int(* decode)(AVCodecContext *, void *outdata, int *outdata_size, AVPacket *avpkt)
enum AVPixelFormat * pix_fmts
enum AVSampleFormat * sample_fmts
void(* flush)(AVCodecContext *)
const AVCodecDefault * defaults
int64_t cur_frame_end[AV_PARSER_PTS_NB]
int64_t cur_frame_offset[AV_PARSER_PTS_NB]
int64_t cur_frame_dts[AV_PARSER_PTS_NB]
enum AVFieldOrder field_order
int64_t cur_frame_pos[AV_PARSER_PTS_NB]
enum AVPictureStructure picture_structure
int64_t convergence_duration
int output_picture_number
int64_t cur_frame_pts[AV_PARSER_PTS_NB]
int64_t next_frame_offset
struct AVCodecParser * parser
int cur_frame_start_index
int(* parser_init)(AVCodecParserContext *s)
int(* parser_parse)(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
void(* parser_close)(AVCodecParserContext *s)
struct AVCodecParser * next
int(* split)(AVCodecContext *avctx, const uint8_t *buf, int buf_size)
int64_t max_interleave_delta
AVFormatInternal * internal
enum AVCodecID audio_codec_id
int raw_packet_buffer_remaining_size
attribute_deprecated int max_analyze_duration
int strict_std_compliance
struct AVOutputFormat * oformat
AVIOInterruptCB interrupt_callback
struct AVInputFormat * iformat
int metadata_header_padding
struct AVPacketList * parse_queue_end
struct AVPacketList * packet_buffer_end
struct AVPacketList * raw_packet_buffer_end
struct AVPacketList * raw_packet_buffer
int use_wallclock_as_timestamps
enum AVDurationEstimationMethod duration_estimation_method
int64_t start_time_realtime
unsigned int max_index_size
enum AVCodecID video_codec_id
av_format_control_message control_message_cb
enum AVCodecID subtitle_codec_id
struct AVPacketList * parse_queue
AVRational offset_timebase
int64_t skip_initial_bytes
struct AVPacketList * packet_buffer
unsigned int max_picture_buffer
int64_t max_analyze_duration2
unsigned int correct_ts_overflow
int64_t best_effort_timestamp
attribute_deprecated int8_t * qscale_table
int display_picture_number
enum AVChromaLocation chroma_location
attribute_deprecated int buffer_hints
attribute_deprecated uint32_t * mb_type
attribute_deprecated int reference
AVBufferRef ** extended_buf
attribute_deprecated struct AVCodecContext * owner
attribute_deprecated uint8_t * base[AV_NUM_DATA_POINTERS]
attribute_deprecated struct AVPanScan * pan_scan
enum AVColorPrimaries color_primaries
uint64_t error[AV_NUM_DATA_POINTERS]
AVRational sample_aspect_ratio
attribute_deprecated void * hwaccel_picture_private
attribute_deprecated uint8_t * mbskip_table
uint8_t motion_subsample_log2
AVBufferRef * buf[AV_NUM_DATA_POINTERS]
enum AVColorRange color_range
int16_t(*[2] motion_val)[2]
AVFrameSideData ** side_data
attribute_deprecated short * dct_coeff
enum AVColorSpace colorspace
enum AVColorTransferCharacteristic color_trc
int linesize[AV_NUM_DATA_POINTERS]
attribute_deprecated int qstride
attribute_deprecated int8_t * ref_index[2]
AVBufferRef * qp_table_buf
attribute_deprecated void * thread_opaque
uint8_t * data[AV_NUM_DATA_POINTERS]
attribute_deprecated int type
enum AVPictureType pict_type
attribute_deprecated int qscale_type
enum AVFrameSideDataType type
int(* uninit)(AVCodecContext *avctx)
int(* decode_slice)(AVCodecContext *avctx, const uint8_t *buf, uint32_t buf_size)
int(* alloc_frame)(AVCodecContext *avctx, AVFrame *frame)
enum AVPixelFormat pix_fmt
int(* start_frame)(AVCodecContext *avctx, const uint8_t *buf, uint32_t buf_size)
void(* decode_mb)(struct MpegEncContext *s)
int(* init)(AVCodecContext *avctx)
int(* end_frame)(AVCodecContext *avctx)
int64_t(* seek)(void *opaque, int64_t offset, int whence)
unsigned long(* update_checksum)(unsigned long checksum, const uint8_t *buf, unsigned int size)
int(* write_packet)(void *opaque, uint8_t *buf, int buf_size)
unsigned char * checksum_ptr
int(* read_packet)(void *opaque, uint8_t *buf, int buf_size)
int64_t(* read_seek)(void *opaque, int stream_index, int64_t timestamp, int flags)
int(* read_pause)(void *opaque, int pause)
int64_t convergence_duration
attribute_deprecated void(* destruct)(struct AVPacket *)
AVPacketSideData * side_data
attribute_deprecated void * priv
struct AVPacketList * next
enum AVPacketSideDataType type
int linesize[AV_NUM_DATA_POINTERS]
uint8_t * data[AV_NUM_DATA_POINTERS]
unsigned int nb_stream_indexes
int64_t pts_wrap_reference
unsigned int * stream_index
attribute_deprecated struct AVFrac pts
unsigned int index_entries_allocated_size
AVRational sample_aspect_ratio
double(* duration_error)[2][MAX_STD_TIMEBASES]
int64_t pts_wrap_reference
int64_t codec_info_duration
int64_t interleaver_chunk_duration
AVIndexEntry * index_entries
int64_t codec_info_duration_fields
int64_t pts_buffer[MAX_REORDER_DELAY+1]
AVPacketSideData * side_data
int update_initial_durations_done
struct AVCodecParserContext * parser
AVRational avg_frame_rate
int64_t pts_reorder_error[MAX_REORDER_DELAY+1]
int inject_global_side_data
uint8_t pts_reorder_error_count[MAX_REORDER_DELAY+1]
struct AVPacketList * last_in_packet_buffer
enum AVStreamParseType need_parsing
int64_t last_dts_for_order_check
int64_t interleaver_chunk_size
struct AVStream::@149 * info
int64_t rfps_duration_sum
uint32_t start_display_time
uint32_t end_display_time