40#define AV_INPUT_BUFFER_PADDING_SIZE 64
48#define AV_EF_CRCCHECK (1<<0)
49#define AV_EF_BITSTREAM (1<<1)
50#define AV_EF_BUFFER (1<<2)
51#define AV_EF_EXPLODE (1<<3)
53#define AV_EF_IGNORE_ERR (1<<15)
54#define AV_EF_CAREFUL (1<<16)
55#define AV_EF_COMPLIANT (1<<17)
56#define AV_EF_AGGRESSIVE (1<<18)
58#define FF_COMPLIANCE_VERY_STRICT 2
59#define FF_COMPLIANCE_STRICT 1
60#define FF_COMPLIANCE_NORMAL 0
61#define FF_COMPLIANCE_UNOFFICIAL -1
62#define FF_COMPLIANCE_EXPERIMENTAL -2
65#define AV_PROFILE_UNKNOWN -99
66#define AV_PROFILE_RESERVED -100
68#define AV_PROFILE_AAC_MAIN 0
69#define AV_PROFILE_AAC_LOW 1
70#define AV_PROFILE_AAC_SSR 2
71#define AV_PROFILE_AAC_LTP 3
72#define AV_PROFILE_AAC_HE 4
73#define AV_PROFILE_AAC_HE_V2 28
74#define AV_PROFILE_AAC_LD 22
75#define AV_PROFILE_AAC_ELD 38
76#define AV_PROFILE_MPEG2_AAC_LOW 128
77#define AV_PROFILE_MPEG2_AAC_HE 131
79#define AV_PROFILE_DNXHD 0
80#define AV_PROFILE_DNXHR_LB 1
81#define AV_PROFILE_DNXHR_SQ 2
82#define AV_PROFILE_DNXHR_HQ 3
83#define AV_PROFILE_DNXHR_HQX 4
84#define AV_PROFILE_DNXHR_444 5
86#define AV_PROFILE_DTS 20
87#define AV_PROFILE_DTS_ES 30
88#define AV_PROFILE_DTS_96_24 40
89#define AV_PROFILE_DTS_HD_HRA 50
90#define AV_PROFILE_DTS_HD_MA 60
91#define AV_PROFILE_DTS_EXPRESS 70
92#define AV_PROFILE_DTS_HD_MA_X 61
93#define AV_PROFILE_DTS_HD_MA_X_IMAX 62
95#define AV_PROFILE_EAC3_DDP_ATMOS 30
97#define AV_PROFILE_TRUEHD_ATMOS 30
99#define AV_PROFILE_MPEG2_422 0
100#define AV_PROFILE_MPEG2_HIGH 1
101#define AV_PROFILE_MPEG2_SS 2
102#define AV_PROFILE_MPEG2_SNR_SCALABLE 3
103#define AV_PROFILE_MPEG2_MAIN 4
104#define AV_PROFILE_MPEG2_SIMPLE 5
106#define AV_PROFILE_H264_CONSTRAINED (1<<9)
107#define AV_PROFILE_H264_INTRA (1<<11)
109#define AV_PROFILE_H264_BASELINE 66
110#define AV_PROFILE_H264_CONSTRAINED_BASELINE (66|AV_PROFILE_H264_CONSTRAINED)
111#define AV_PROFILE_H264_MAIN 77
112#define AV_PROFILE_H264_EXTENDED 88
113#define AV_PROFILE_H264_HIGH 100
114#define AV_PROFILE_H264_HIGH_10 110
115#define AV_PROFILE_H264_HIGH_10_INTRA (110|AV_PROFILE_H264_INTRA)
116#define AV_PROFILE_H264_MULTIVIEW_HIGH 118
117#define AV_PROFILE_H264_HIGH_422 122
118#define AV_PROFILE_H264_HIGH_422_INTRA (122|AV_PROFILE_H264_INTRA)
119#define AV_PROFILE_H264_STEREO_HIGH 128
120#define AV_PROFILE_H264_HIGH_444 144
121#define AV_PROFILE_H264_HIGH_444_PREDICTIVE 244
122#define AV_PROFILE_H264_HIGH_444_INTRA (244|AV_PROFILE_H264_INTRA)
123#define AV_PROFILE_H264_CAVLC_444 44
125#define AV_PROFILE_VC1_SIMPLE 0
126#define AV_PROFILE_VC1_MAIN 1
127#define AV_PROFILE_VC1_COMPLEX 2
128#define AV_PROFILE_VC1_ADVANCED 3
130#define AV_PROFILE_MPEG4_SIMPLE 0
131#define AV_PROFILE_MPEG4_SIMPLE_SCALABLE 1
132#define AV_PROFILE_MPEG4_CORE 2
133#define AV_PROFILE_MPEG4_MAIN 3
134#define AV_PROFILE_MPEG4_N_BIT 4
135#define AV_PROFILE_MPEG4_SCALABLE_TEXTURE 5
136#define AV_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION 6
137#define AV_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE 7
138#define AV_PROFILE_MPEG4_HYBRID 8
139#define AV_PROFILE_MPEG4_ADVANCED_REAL_TIME 9
140#define AV_PROFILE_MPEG4_CORE_SCALABLE 10
141#define AV_PROFILE_MPEG4_ADVANCED_CODING 11
142#define AV_PROFILE_MPEG4_ADVANCED_CORE 12
143#define AV_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE 13
144#define AV_PROFILE_MPEG4_SIMPLE_STUDIO 14
145#define AV_PROFILE_MPEG4_ADVANCED_SIMPLE 15
147#define AV_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0 1
148#define AV_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1 2
149#define AV_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION 32768
150#define AV_PROFILE_JPEG2000_DCINEMA_2K 3
151#define AV_PROFILE_JPEG2000_DCINEMA_4K 4
153#define AV_PROFILE_VP9_0 0
154#define AV_PROFILE_VP9_1 1
155#define AV_PROFILE_VP9_2 2
156#define AV_PROFILE_VP9_3 3
158#define AV_PROFILE_HEVC_MAIN 1
159#define AV_PROFILE_HEVC_MAIN_10 2
160#define AV_PROFILE_HEVC_MAIN_STILL_PICTURE 3
161#define AV_PROFILE_HEVC_REXT 4
162#define AV_PROFILE_HEVC_SCC 9
164#define AV_PROFILE_VVC_MAIN_10 1
165#define AV_PROFILE_VVC_MAIN_10_444 33
167#define AV_PROFILE_AV1_MAIN 0
168#define AV_PROFILE_AV1_HIGH 1
169#define AV_PROFILE_AV1_PROFESSIONAL 2
171#define AV_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT 0xc0
172#define AV_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT 0xc1
173#define AV_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT 0xc2
174#define AV_PROFILE_MJPEG_HUFFMAN_LOSSLESS 0xc3
175#define AV_PROFILE_MJPEG_JPEG_LS 0xf7
177#define AV_PROFILE_SBC_MSBC 1
179#define AV_PROFILE_PRORES_PROXY 0
180#define AV_PROFILE_PRORES_LT 1
181#define AV_PROFILE_PRORES_STANDARD 2
182#define AV_PROFILE_PRORES_HQ 3
183#define AV_PROFILE_PRORES_4444 4
184#define AV_PROFILE_PRORES_XQ 5
186#define AV_PROFILE_ARIB_PROFILE_A 0
187#define AV_PROFILE_ARIB_PROFILE_C 1
189#define AV_PROFILE_KLVA_SYNC 0
190#define AV_PROFILE_KLVA_ASYNC 1
192#define AV_PROFILE_EVC_BASELINE 0
193#define AV_PROFILE_EVC_MAIN 1
196#define AV_LEVEL_UNKNOWN -99
unsigned int av_xiphlacing(unsigned char *s, unsigned int v)
Encode extradata length to a buffer.
@ AV_FIELD_TT
Top coded_first, top displayed first.
@ AV_FIELD_BB
Bottom coded first, bottom displayed first.
@ AV_FIELD_BT
Bottom coded first, top displayed first.
@ AV_FIELD_TB
Top coded first, bottom displayed first.
AVCPBProperties * av_cpb_properties_alloc(size_t *size)
Allocate a CPB properties structure and initialize its fields to default values.
@ AV_AUDIO_SERVICE_TYPE_VOICE_OVER
@ AV_AUDIO_SERVICE_TYPE_EMERGENCY
@ AV_AUDIO_SERVICE_TYPE_EFFECTS
@ AV_AUDIO_SERVICE_TYPE_MAIN
@ AV_AUDIO_SERVICE_TYPE_DIALOGUE
@ AV_AUDIO_SERVICE_TYPE_KARAOKE
@ AV_AUDIO_SERVICE_TYPE_HEARING_IMPAIRED
@ AV_AUDIO_SERVICE_TYPE_COMMENTARY
@ AV_AUDIO_SERVICE_TYPE_NB
Not part of ABI.
@ AV_AUDIO_SERVICE_TYPE_VISUALLY_IMPAIRED
@ AVDISCARD_ALL
discard all
@ AVDISCARD_NONKEY
discard all frames except keyframes
@ AVDISCARD_BIDIR
discard all bidirectional frames
@ AVDISCARD_DEFAULT
discard useless packets like 0 size packets in avi
@ AVDISCARD_NONE
discard nothing
@ AVDISCARD_NONINTRA
discard all non intra frames
@ AVDISCARD_NONREF
discard all non reference
This structure describes the bitrate properties of an encoded bitstream.
int64_t avg_bitrate
Average bitrate of the stream, in bits per second.
int64_t max_bitrate
Maximum bitrate of the stream, in bits per second.
int64_t buffer_size
The size of the buffer to which the ratecontrol is applied, in bits.
uint64_t vbv_delay
The delay between the time the packet this structure is associated with is received and the time when...
int64_t min_bitrate
Minimum bitrate of the stream, in bits per second.
int width
width and height in 1/16 pel
int16_t position[3][2]
position of the top left corner in 1/16 pel for up to 3 fields/frames
This structure supplies correlation between a packet timestamp and a wall clock production time.
int64_t wallclock
A UTC timestamp, in microseconds, since Unix epoch (e.g, av_gettime()).