Go to the documentation of this file.
20 #ifndef AVCODEC_DEFS_H
21 #define AVCODEC_DEFS_H
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_AAC_USAC 41
77 #define AV_PROFILE_MPEG2_AAC_LOW 128
78 #define AV_PROFILE_MPEG2_AAC_HE 131
80 #define AV_PROFILE_DNXHD 0
81 #define AV_PROFILE_DNXHR_LB 1
82 #define AV_PROFILE_DNXHR_SQ 2
83 #define AV_PROFILE_DNXHR_HQ 3
84 #define AV_PROFILE_DNXHR_HQX 4
85 #define AV_PROFILE_DNXHR_444 5
87 #define AV_PROFILE_DTS 20
88 #define AV_PROFILE_DTS_ES 30
89 #define AV_PROFILE_DTS_96_24 40
90 #define AV_PROFILE_DTS_HD_HRA 50
91 #define AV_PROFILE_DTS_HD_MA 60
92 #define AV_PROFILE_DTS_EXPRESS 70
93 #define AV_PROFILE_DTS_HD_MA_X 61
94 #define AV_PROFILE_DTS_HD_MA_X_IMAX 62
96 #define AV_PROFILE_EAC3_DDP_ATMOS 30
98 #define AV_PROFILE_TRUEHD_ATMOS 30
100 #define AV_PROFILE_MPEG2_422 0
101 #define AV_PROFILE_MPEG2_HIGH 1
102 #define AV_PROFILE_MPEG2_SS 2
103 #define AV_PROFILE_MPEG2_SNR_SCALABLE 3
104 #define AV_PROFILE_MPEG2_MAIN 4
105 #define AV_PROFILE_MPEG2_SIMPLE 5
107 #define AV_PROFILE_H264_CONSTRAINED (1<<9) // 8+1; constraint_set1_flag
108 #define AV_PROFILE_H264_INTRA (1<<11) // 8+3; constraint_set3_flag
110 #define AV_PROFILE_H264_BASELINE 66
111 #define AV_PROFILE_H264_CONSTRAINED_BASELINE (66|AV_PROFILE_H264_CONSTRAINED)
112 #define AV_PROFILE_H264_MAIN 77
113 #define AV_PROFILE_H264_EXTENDED 88
114 #define AV_PROFILE_H264_HIGH 100
115 #define AV_PROFILE_H264_HIGH_10 110
116 #define AV_PROFILE_H264_HIGH_10_INTRA (110|AV_PROFILE_H264_INTRA)
117 #define AV_PROFILE_H264_MULTIVIEW_HIGH 118
118 #define AV_PROFILE_H264_HIGH_422 122
119 #define AV_PROFILE_H264_HIGH_422_INTRA (122|AV_PROFILE_H264_INTRA)
120 #define AV_PROFILE_H264_STEREO_HIGH 128
121 #define AV_PROFILE_H264_HIGH_444 144
122 #define AV_PROFILE_H264_HIGH_444_PREDICTIVE 244
123 #define AV_PROFILE_H264_HIGH_444_INTRA (244|AV_PROFILE_H264_INTRA)
124 #define AV_PROFILE_H264_CAVLC_444 44
126 #define AV_PROFILE_VC1_SIMPLE 0
127 #define AV_PROFILE_VC1_MAIN 1
128 #define AV_PROFILE_VC1_COMPLEX 2
129 #define AV_PROFILE_VC1_ADVANCED 3
131 #define AV_PROFILE_MPEG4_SIMPLE 0
132 #define AV_PROFILE_MPEG4_SIMPLE_SCALABLE 1
133 #define AV_PROFILE_MPEG4_CORE 2
134 #define AV_PROFILE_MPEG4_MAIN 3
135 #define AV_PROFILE_MPEG4_N_BIT 4
136 #define AV_PROFILE_MPEG4_SCALABLE_TEXTURE 5
137 #define AV_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION 6
138 #define AV_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE 7
139 #define AV_PROFILE_MPEG4_HYBRID 8
140 #define AV_PROFILE_MPEG4_ADVANCED_REAL_TIME 9
141 #define AV_PROFILE_MPEG4_CORE_SCALABLE 10
142 #define AV_PROFILE_MPEG4_ADVANCED_CODING 11
143 #define AV_PROFILE_MPEG4_ADVANCED_CORE 12
144 #define AV_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE 13
145 #define AV_PROFILE_MPEG4_SIMPLE_STUDIO 14
146 #define AV_PROFILE_MPEG4_ADVANCED_SIMPLE 15
148 #define AV_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0 1
149 #define AV_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1 2
150 #define AV_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION 32768
151 #define AV_PROFILE_JPEG2000_DCINEMA_2K 3
152 #define AV_PROFILE_JPEG2000_DCINEMA_4K 4
154 #define AV_PROFILE_VP9_0 0
155 #define AV_PROFILE_VP9_1 1
156 #define AV_PROFILE_VP9_2 2
157 #define AV_PROFILE_VP9_3 3
159 #define AV_PROFILE_HEVC_MAIN 1
160 #define AV_PROFILE_HEVC_MAIN_10 2
161 #define AV_PROFILE_HEVC_MAIN_STILL_PICTURE 3
162 #define AV_PROFILE_HEVC_REXT 4
163 #define AV_PROFILE_HEVC_MULTIVIEW_MAIN 6
164 #define AV_PROFILE_HEVC_SCC 9
166 #define AV_PROFILE_VVC_MAIN_10 1
167 #define AV_PROFILE_VVC_MAIN_10_444 33
169 #define AV_PROFILE_AV1_MAIN 0
170 #define AV_PROFILE_AV1_HIGH 1
171 #define AV_PROFILE_AV1_PROFESSIONAL 2
173 #define AV_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT 0xc0
174 #define AV_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT 0xc1
175 #define AV_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT 0xc2
176 #define AV_PROFILE_MJPEG_HUFFMAN_LOSSLESS 0xc3
177 #define AV_PROFILE_MJPEG_JPEG_LS 0xf7
179 #define AV_PROFILE_SBC_MSBC 1
181 #define AV_PROFILE_PRORES_PROXY 0
182 #define AV_PROFILE_PRORES_LT 1
183 #define AV_PROFILE_PRORES_STANDARD 2
184 #define AV_PROFILE_PRORES_HQ 3
185 #define AV_PROFILE_PRORES_4444 4
186 #define AV_PROFILE_PRORES_XQ 5
188 #define AV_PROFILE_ARIB_PROFILE_A 0
189 #define AV_PROFILE_ARIB_PROFILE_C 1
191 #define AV_PROFILE_KLVA_SYNC 0
192 #define AV_PROFILE_KLVA_ASYNC 1
194 #define AV_PROFILE_EVC_BASELINE 0
195 #define AV_PROFILE_EVC_MAIN 1
198 #define AV_LEVEL_UNKNOWN -99
337 #endif // AVCODEC_DEFS_H
int16_t position[3][2]
position of the top left corner in 1/16 pel for up to 3 fields/frames
@ AV_AUDIO_SERVICE_TYPE_NB
Not part of ABI.
int64_t wallclock
A UTC timestamp, in microseconds, since Unix epoch (e.g, av_gettime()).
@ AV_AUDIO_SERVICE_TYPE_VOICE_OVER
@ AV_FIELD_BT
Bottom coded first, top displayed first.
@ AV_FIELD_TT
Top coded_first, top displayed first.
int width
width and height in 1/16 pel
@ AVDISCARD_NONE
discard nothing
@ AV_FIELD_TB
Top coded first, bottom displayed first.
@ AV_AUDIO_SERVICE_TYPE_HEARING_IMPAIRED
This structure describes the bitrate properties of an encoded bitstream.
@ AVDISCARD_BIDIR
discard all bidirectional frames
@ AVDISCARD_ALL
discard all
@ AV_AUDIO_SERVICE_TYPE_EMERGENCY
This structure supplies correlation between a packet timestamp and a wall clock production time.
@ AVDISCARD_NONKEY
discard all frames except keyframes
@ AVDISCARD_DEFAULT
discard useless packets like 0 size packets in avi
unsigned int av_xiphlacing(unsigned char *s, unsigned int v)
Encode extradata length to a buffer.
int64_t min_bitrate
Minimum bitrate of the stream, in bits per second.
int64_t avg_bitrate
Average bitrate of the stream, in bits per second.
uint64_t vbv_delay
The delay between the time the packet this structure is associated with is received and the time when...
@ AVDISCARD_NONINTRA
discard all non intra frames
@ AV_FIELD_BB
Bottom coded first, bottom displayed first.
int64_t max_bitrate
Maximum bitrate of the stream, in bits per second.
@ AV_AUDIO_SERVICE_TYPE_VISUALLY_IMPAIRED
int64_t buffer_size
The size of the buffer to which the ratecontrol is applied, in bits.
@ AV_AUDIO_SERVICE_TYPE_KARAOKE
@ AV_AUDIO_SERVICE_TYPE_COMMENTARY
@ AV_AUDIO_SERVICE_TYPE_EFFECTS
@ AV_AUDIO_SERVICE_TYPE_DIALOGUE
@ AVDISCARD_NONREF
discard all non reference
@ AV_AUDIO_SERVICE_TYPE_MAIN
AVCPBProperties * av_cpb_properties_alloc(size_t *size)
Allocate a CPB properties structure and initialize its fields to default values.