• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* automatically generated by tools/bindgen-all-the-things */
2 
3 #![allow(clippy::missing_safety_doc)]
4 #![allow(clippy::upper_case_acronyms)]
5 #![allow(non_upper_case_globals)]
6 #![allow(non_camel_case_types)]
7 #![allow(non_snake_case)]
8 #![allow(dead_code)]
9 
10 pub const AV_TIME_BASE: u32 = 1000000;
11 pub const AV_HAVE_BIGENDIAN: u32 = 0;
12 pub const AV_HAVE_FAST_UNALIGNED: u32 = 1;
13 pub const AVERROR_EXPERIMENTAL: i32 = -733130664;
14 pub const AVERROR_INPUT_CHANGED: i32 = -1668179713;
15 pub const AVERROR_OUTPUT_CHANGED: i32 = -1668179714;
16 pub const AV_ERROR_MAX_STRING_SIZE: u32 = 64;
17 pub const AV_LOG_QUIET: i32 = -8;
18 pub const AV_LOG_PANIC: u32 = 0;
19 pub const AV_LOG_FATAL: u32 = 8;
20 pub const AV_LOG_ERROR: u32 = 16;
21 pub const AV_LOG_WARNING: u32 = 24;
22 pub const AV_LOG_INFO: u32 = 32;
23 pub const AV_LOG_VERBOSE: u32 = 40;
24 pub const AV_LOG_DEBUG: u32 = 48;
25 pub const AV_LOG_TRACE: u32 = 56;
26 pub const AV_LOG_MAX_OFFSET: u32 = 64;
27 pub const AV_LOG_SKIP_REPEATED: u32 = 1;
28 pub const AV_LOG_PRINT_LEVEL: u32 = 2;
29 pub const AV_FOURCC_MAX_STRING_SIZE: u32 = 32;
30 pub const AV_BUFFER_FLAG_READONLY: u32 = 1;
31 pub const AV_DICT_MATCH_CASE: u32 = 1;
32 pub const AV_DICT_IGNORE_SUFFIX: u32 = 2;
33 pub const AV_DICT_DONT_STRDUP_KEY: u32 = 4;
34 pub const AV_DICT_DONT_STRDUP_VAL: u32 = 8;
35 pub const AV_DICT_DONT_OVERWRITE: u32 = 16;
36 pub const AV_DICT_APPEND: u32 = 32;
37 pub const AV_DICT_MULTIKEY: u32 = 64;
38 pub const AV_NUM_DATA_POINTERS: u32 = 8;
39 pub const AV_FRAME_FLAG_CORRUPT: u32 = 1;
40 pub const AV_FRAME_FLAG_DISCARD: u32 = 4;
41 pub const AV_CODEC_CAP_DRAW_HORIZ_BAND: u32 = 1;
42 pub const AV_CODEC_CAP_DR1: u32 = 2;
43 pub const AV_CODEC_CAP_TRUNCATED: u32 = 8;
44 pub const AV_CODEC_CAP_DELAY: u32 = 32;
45 pub const AV_CODEC_CAP_SMALL_LAST_FRAME: u32 = 64;
46 pub const AV_CODEC_CAP_SUBFRAMES: u32 = 256;
47 pub const AV_CODEC_CAP_EXPERIMENTAL: u32 = 512;
48 pub const AV_CODEC_CAP_CHANNEL_CONF: u32 = 1024;
49 pub const AV_CODEC_CAP_FRAME_THREADS: u32 = 4096;
50 pub const AV_CODEC_CAP_SLICE_THREADS: u32 = 8192;
51 pub const AV_CODEC_CAP_PARAM_CHANGE: u32 = 16384;
52 pub const AV_CODEC_CAP_OTHER_THREADS: u32 = 32768;
53 pub const AV_CODEC_CAP_AUTO_THREADS: u32 = 32768;
54 pub const AV_CODEC_CAP_VARIABLE_FRAME_SIZE: u32 = 65536;
55 pub const AV_CODEC_CAP_AVOID_PROBING: u32 = 131072;
56 pub const AV_CODEC_CAP_INTRA_ONLY: u32 = 1073741824;
57 pub const AV_CODEC_CAP_LOSSLESS: u32 = 2147483648;
58 pub const AV_CODEC_CAP_HARDWARE: u32 = 262144;
59 pub const AV_CODEC_CAP_HYBRID: u32 = 524288;
60 pub const AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE: u32 = 1048576;
61 pub const AV_CODEC_CAP_ENCODER_FLUSH: u32 = 2097152;
62 pub const AV_CODEC_PROP_INTRA_ONLY: u32 = 1;
63 pub const AV_CODEC_PROP_LOSSY: u32 = 2;
64 pub const AV_CODEC_PROP_LOSSLESS: u32 = 4;
65 pub const AV_CODEC_PROP_REORDER: u32 = 8;
66 pub const AV_CODEC_PROP_BITMAP_SUB: u32 = 65536;
67 pub const AV_CODEC_PROP_TEXT_SUB: u32 = 131072;
68 pub const AV_INPUT_BUFFER_PADDING_SIZE: u32 = 64;
69 pub const AV_PKT_FLAG_KEY: u32 = 1;
70 pub const AV_PKT_FLAG_CORRUPT: u32 = 2;
71 pub const AV_PKT_FLAG_DISCARD: u32 = 4;
72 pub const AV_PKT_FLAG_TRUSTED: u32 = 8;
73 pub const AV_PKT_FLAG_DISPOSABLE: u32 = 16;
74 pub const AV_INPUT_BUFFER_MIN_SIZE: u32 = 16384;
75 pub const AV_CODEC_FLAG_UNALIGNED: u32 = 1;
76 pub const AV_CODEC_FLAG_QSCALE: u32 = 2;
77 pub const AV_CODEC_FLAG_4MV: u32 = 4;
78 pub const AV_CODEC_FLAG_OUTPUT_CORRUPT: u32 = 8;
79 pub const AV_CODEC_FLAG_QPEL: u32 = 16;
80 pub const AV_CODEC_FLAG_DROPCHANGED: u32 = 32;
81 pub const AV_CODEC_FLAG_PASS1: u32 = 512;
82 pub const AV_CODEC_FLAG_PASS2: u32 = 1024;
83 pub const AV_CODEC_FLAG_LOOP_FILTER: u32 = 2048;
84 pub const AV_CODEC_FLAG_GRAY: u32 = 8192;
85 pub const AV_CODEC_FLAG_PSNR: u32 = 32768;
86 pub const AV_CODEC_FLAG_TRUNCATED: u32 = 65536;
87 pub const AV_CODEC_FLAG_INTERLACED_DCT: u32 = 262144;
88 pub const AV_CODEC_FLAG_LOW_DELAY: u32 = 524288;
89 pub const AV_CODEC_FLAG_GLOBAL_HEADER: u32 = 4194304;
90 pub const AV_CODEC_FLAG_BITEXACT: u32 = 8388608;
91 pub const AV_CODEC_FLAG_AC_PRED: u32 = 16777216;
92 pub const AV_CODEC_FLAG_INTERLACED_ME: u32 = 536870912;
93 pub const AV_CODEC_FLAG_CLOSED_GOP: u32 = 2147483648;
94 pub const AV_CODEC_FLAG2_FAST: u32 = 1;
95 pub const AV_CODEC_FLAG2_NO_OUTPUT: u32 = 4;
96 pub const AV_CODEC_FLAG2_LOCAL_HEADER: u32 = 8;
97 pub const AV_CODEC_FLAG2_DROP_FRAME_TIMECODE: u32 = 8192;
98 pub const AV_CODEC_FLAG2_CHUNKS: u32 = 32768;
99 pub const AV_CODEC_FLAG2_IGNORE_CROP: u32 = 65536;
100 pub const AV_CODEC_FLAG2_SHOW_ALL: u32 = 4194304;
101 pub const AV_CODEC_FLAG2_EXPORT_MVS: u32 = 268435456;
102 pub const AV_CODEC_FLAG2_SKIP_MANUAL: u32 = 536870912;
103 pub const AV_CODEC_FLAG2_RO_FLUSH_NOOP: u32 = 1073741824;
104 pub const AV_CODEC_EXPORT_DATA_MVS: u32 = 1;
105 pub const AV_CODEC_EXPORT_DATA_PRFT: u32 = 2;
106 pub const AV_CODEC_EXPORT_DATA_VIDEO_ENC_PARAMS: u32 = 4;
107 pub const AV_CODEC_EXPORT_DATA_FILM_GRAIN: u32 = 8;
108 pub const AV_GET_BUFFER_FLAG_REF: u32 = 1;
109 pub const AV_GET_ENCODE_BUFFER_FLAG_REF: u32 = 1;
110 pub const AV_EF_CRCCHECK: u32 = 1;
111 pub const AV_EF_BITSTREAM: u32 = 2;
112 pub const AV_EF_BUFFER: u32 = 4;
113 pub const AV_EF_EXPLODE: u32 = 8;
114 pub const AV_EF_IGNORE_ERR: u32 = 32768;
115 pub const AV_EF_CAREFUL: u32 = 65536;
116 pub const AV_EF_COMPLIANT: u32 = 131072;
117 pub const AV_EF_AGGRESSIVE: u32 = 262144;
118 pub const FF_PROFILE_UNKNOWN: i32 = -99;
119 pub const FF_PROFILE_RESERVED: i32 = -100;
120 pub const FF_PROFILE_AAC_MAIN: u32 = 0;
121 pub const FF_PROFILE_AAC_LOW: u32 = 1;
122 pub const FF_PROFILE_AAC_SSR: u32 = 2;
123 pub const FF_PROFILE_AAC_LTP: u32 = 3;
124 pub const FF_PROFILE_AAC_HE: u32 = 4;
125 pub const FF_PROFILE_AAC_HE_V2: u32 = 28;
126 pub const FF_PROFILE_AAC_LD: u32 = 22;
127 pub const FF_PROFILE_AAC_ELD: u32 = 38;
128 pub const FF_PROFILE_MPEG2_AAC_LOW: u32 = 128;
129 pub const FF_PROFILE_MPEG2_AAC_HE: u32 = 131;
130 pub const FF_PROFILE_DNXHD: u32 = 0;
131 pub const FF_PROFILE_DNXHR_LB: u32 = 1;
132 pub const FF_PROFILE_DNXHR_SQ: u32 = 2;
133 pub const FF_PROFILE_DNXHR_HQ: u32 = 3;
134 pub const FF_PROFILE_DNXHR_HQX: u32 = 4;
135 pub const FF_PROFILE_DNXHR_444: u32 = 5;
136 pub const FF_PROFILE_DTS: u32 = 20;
137 pub const FF_PROFILE_DTS_ES: u32 = 30;
138 pub const FF_PROFILE_DTS_96_24: u32 = 40;
139 pub const FF_PROFILE_DTS_HD_HRA: u32 = 50;
140 pub const FF_PROFILE_DTS_HD_MA: u32 = 60;
141 pub const FF_PROFILE_DTS_EXPRESS: u32 = 70;
142 pub const FF_PROFILE_MPEG2_422: u32 = 0;
143 pub const FF_PROFILE_MPEG2_HIGH: u32 = 1;
144 pub const FF_PROFILE_MPEG2_SS: u32 = 2;
145 pub const FF_PROFILE_MPEG2_SNR_SCALABLE: u32 = 3;
146 pub const FF_PROFILE_MPEG2_MAIN: u32 = 4;
147 pub const FF_PROFILE_MPEG2_SIMPLE: u32 = 5;
148 pub const FF_PROFILE_H264_CONSTRAINED: u32 = 512;
149 pub const FF_PROFILE_H264_INTRA: u32 = 2048;
150 pub const FF_PROFILE_H264_BASELINE: u32 = 66;
151 pub const FF_PROFILE_H264_CONSTRAINED_BASELINE: u32 = 578;
152 pub const FF_PROFILE_H264_MAIN: u32 = 77;
153 pub const FF_PROFILE_H264_EXTENDED: u32 = 88;
154 pub const FF_PROFILE_H264_HIGH: u32 = 100;
155 pub const FF_PROFILE_H264_HIGH_10: u32 = 110;
156 pub const FF_PROFILE_H264_HIGH_10_INTRA: u32 = 2158;
157 pub const FF_PROFILE_H264_MULTIVIEW_HIGH: u32 = 118;
158 pub const FF_PROFILE_H264_HIGH_422: u32 = 122;
159 pub const FF_PROFILE_H264_HIGH_422_INTRA: u32 = 2170;
160 pub const FF_PROFILE_H264_STEREO_HIGH: u32 = 128;
161 pub const FF_PROFILE_H264_HIGH_444: u32 = 144;
162 pub const FF_PROFILE_H264_HIGH_444_PREDICTIVE: u32 = 244;
163 pub const FF_PROFILE_H264_HIGH_444_INTRA: u32 = 2292;
164 pub const FF_PROFILE_H264_CAVLC_444: u32 = 44;
165 pub const FF_PROFILE_VC1_SIMPLE: u32 = 0;
166 pub const FF_PROFILE_VC1_MAIN: u32 = 1;
167 pub const FF_PROFILE_VC1_COMPLEX: u32 = 2;
168 pub const FF_PROFILE_VC1_ADVANCED: u32 = 3;
169 pub const FF_PROFILE_MPEG4_SIMPLE: u32 = 0;
170 pub const FF_PROFILE_MPEG4_SIMPLE_SCALABLE: u32 = 1;
171 pub const FF_PROFILE_MPEG4_CORE: u32 = 2;
172 pub const FF_PROFILE_MPEG4_MAIN: u32 = 3;
173 pub const FF_PROFILE_MPEG4_N_BIT: u32 = 4;
174 pub const FF_PROFILE_MPEG4_SCALABLE_TEXTURE: u32 = 5;
175 pub const FF_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION: u32 = 6;
176 pub const FF_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE: u32 = 7;
177 pub const FF_PROFILE_MPEG4_HYBRID: u32 = 8;
178 pub const FF_PROFILE_MPEG4_ADVANCED_REAL_TIME: u32 = 9;
179 pub const FF_PROFILE_MPEG4_CORE_SCALABLE: u32 = 10;
180 pub const FF_PROFILE_MPEG4_ADVANCED_CODING: u32 = 11;
181 pub const FF_PROFILE_MPEG4_ADVANCED_CORE: u32 = 12;
182 pub const FF_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE: u32 = 13;
183 pub const FF_PROFILE_MPEG4_SIMPLE_STUDIO: u32 = 14;
184 pub const FF_PROFILE_MPEG4_ADVANCED_SIMPLE: u32 = 15;
185 pub const FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0: u32 = 1;
186 pub const FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1: u32 = 2;
187 pub const FF_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION: u32 = 32768;
188 pub const FF_PROFILE_JPEG2000_DCINEMA_2K: u32 = 3;
189 pub const FF_PROFILE_JPEG2000_DCINEMA_4K: u32 = 4;
190 pub const FF_PROFILE_VP9_0: u32 = 0;
191 pub const FF_PROFILE_VP9_1: u32 = 1;
192 pub const FF_PROFILE_VP9_2: u32 = 2;
193 pub const FF_PROFILE_VP9_3: u32 = 3;
194 pub const FF_PROFILE_HEVC_MAIN: u32 = 1;
195 pub const FF_PROFILE_HEVC_MAIN_10: u32 = 2;
196 pub const FF_PROFILE_HEVC_MAIN_STILL_PICTURE: u32 = 3;
197 pub const FF_PROFILE_HEVC_REXT: u32 = 4;
198 pub const FF_PROFILE_VVC_MAIN_10: u32 = 1;
199 pub const FF_PROFILE_VVC_MAIN_10_444: u32 = 33;
200 pub const FF_PROFILE_AV1_MAIN: u32 = 0;
201 pub const FF_PROFILE_AV1_HIGH: u32 = 1;
202 pub const FF_PROFILE_AV1_PROFESSIONAL: u32 = 2;
203 pub const FF_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT: u32 = 192;
204 pub const FF_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT: u32 = 193;
205 pub const FF_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT: u32 = 194;
206 pub const FF_PROFILE_MJPEG_HUFFMAN_LOSSLESS: u32 = 195;
207 pub const FF_PROFILE_MJPEG_JPEG_LS: u32 = 247;
208 pub const FF_PROFILE_SBC_MSBC: u32 = 1;
209 pub const FF_PROFILE_PRORES_PROXY: u32 = 0;
210 pub const FF_PROFILE_PRORES_LT: u32 = 1;
211 pub const FF_PROFILE_PRORES_STANDARD: u32 = 2;
212 pub const FF_PROFILE_PRORES_HQ: u32 = 3;
213 pub const FF_PROFILE_PRORES_4444: u32 = 4;
214 pub const FF_PROFILE_PRORES_XQ: u32 = 5;
215 pub const FF_PROFILE_ARIB_PROFILE_A: u32 = 0;
216 pub const FF_PROFILE_ARIB_PROFILE_C: u32 = 1;
217 pub const FF_PROFILE_KLVA_SYNC: u32 = 0;
218 pub const FF_PROFILE_KLVA_ASYNC: u32 = 1;
219 pub const AV_HWACCEL_CODEC_CAP_EXPERIMENTAL: u32 = 512;
220 pub const AV_HWACCEL_FLAG_IGNORE_LEVEL: u32 = 1;
221 pub const AV_HWACCEL_FLAG_ALLOW_HIGH_DEPTH: u32 = 2;
222 pub const AV_HWACCEL_FLAG_ALLOW_PROFILE_MISMATCH: u32 = 4;
223 pub const AV_SUBTITLE_FLAG_FORCED: u32 = 1;
224 pub const AV_PARSER_PTS_NB: u32 = 4;
225 pub const AV_CPU_FLAG_FORCE: u32 = 2147483648;
226 pub const AV_CPU_FLAG_MMX: u32 = 1;
227 pub const AV_CPU_FLAG_MMXEXT: u32 = 2;
228 pub const AV_CPU_FLAG_MMX2: u32 = 2;
229 pub const AV_CPU_FLAG_3DNOW: u32 = 4;
230 pub const AV_CPU_FLAG_SSE: u32 = 8;
231 pub const AV_CPU_FLAG_SSE2: u32 = 16;
232 pub const AV_CPU_FLAG_SSE2SLOW: u32 = 1073741824;
233 pub const AV_CPU_FLAG_3DNOWEXT: u32 = 32;
234 pub const AV_CPU_FLAG_SSE3: u32 = 64;
235 pub const AV_CPU_FLAG_SSE3SLOW: u32 = 536870912;
236 pub const AV_CPU_FLAG_SSSE3: u32 = 128;
237 pub const AV_CPU_FLAG_SSSE3SLOW: u32 = 67108864;
238 pub const AV_CPU_FLAG_ATOM: u32 = 268435456;
239 pub const AV_CPU_FLAG_SSE4: u32 = 256;
240 pub const AV_CPU_FLAG_SSE42: u32 = 512;
241 pub const AV_CPU_FLAG_AESNI: u32 = 524288;
242 pub const AV_CPU_FLAG_AVX: u32 = 16384;
243 pub const AV_CPU_FLAG_AVXSLOW: u32 = 134217728;
244 pub const AV_CPU_FLAG_XOP: u32 = 1024;
245 pub const AV_CPU_FLAG_FMA4: u32 = 2048;
246 pub const AV_CPU_FLAG_CMOV: u32 = 4096;
247 pub const AV_CPU_FLAG_AVX2: u32 = 32768;
248 pub const AV_CPU_FLAG_FMA3: u32 = 65536;
249 pub const AV_CPU_FLAG_BMI1: u32 = 131072;
250 pub const AV_CPU_FLAG_BMI2: u32 = 262144;
251 pub const AV_CPU_FLAG_AVX512: u32 = 1048576;
252 pub const AV_CPU_FLAG_SLOW_GATHER: u32 = 33554432;
253 pub const AV_CPU_FLAG_ALTIVEC: u32 = 1;
254 pub const AV_CPU_FLAG_VSX: u32 = 2;
255 pub const AV_CPU_FLAG_POWER8: u32 = 4;
256 pub const AV_CPU_FLAG_ARMV5TE: u32 = 1;
257 pub const AV_CPU_FLAG_ARMV6: u32 = 2;
258 pub const AV_CPU_FLAG_ARMV6T2: u32 = 4;
259 pub const AV_CPU_FLAG_VFP: u32 = 8;
260 pub const AV_CPU_FLAG_VFPV3: u32 = 16;
261 pub const AV_CPU_FLAG_NEON: u32 = 32;
262 pub const AV_CPU_FLAG_ARMV8: u32 = 64;
263 pub const AV_CPU_FLAG_VFP_VM: u32 = 128;
264 pub const AV_CPU_FLAG_SETEND: u32 = 65536;
265 pub const AV_CPU_FLAG_MMI: u32 = 1;
266 pub const AV_CPU_FLAG_MSA: u32 = 2;
267 pub const AV_CPU_FLAG_LSX: u32 = 1;
268 pub const AV_CPU_FLAG_LASX: u32 = 2;
269 pub const AV_PIX_FMT_FLAG_BE: u32 = 1;
270 pub const AV_PIX_FMT_FLAG_PAL: u32 = 2;
271 pub const AV_PIX_FMT_FLAG_BITSTREAM: u32 = 4;
272 pub const AV_PIX_FMT_FLAG_HWACCEL: u32 = 8;
273 pub const AV_PIX_FMT_FLAG_PLANAR: u32 = 16;
274 pub const AV_PIX_FMT_FLAG_RGB: u32 = 32;
275 pub const AV_PIX_FMT_FLAG_ALPHA: u32 = 128;
276 pub const AV_PIX_FMT_FLAG_BAYER: u32 = 256;
277 pub const AV_PIX_FMT_FLAG_FLOAT: u32 = 512;
278 pub type __uint8_t = ::std::os::raw::c_uchar;
279 pub type __uint16_t = ::std::os::raw::c_ushort;
280 pub type __uint32_t = ::std::os::raw::c_uint;
281 pub type __int64_t = ::std::os::raw::c_long;
282 pub type __uint64_t = ::std::os::raw::c_ulong;
283 pub type __off_t = ::std::os::raw::c_long;
284 pub type __off64_t = ::std::os::raw::c_long;
285 extern "C" {
av_version_info() -> *const ::std::os::raw::c_char286     pub fn av_version_info() -> *const ::std::os::raw::c_char;
287 }
288 pub const AVMediaType_AVMEDIA_TYPE_UNKNOWN: AVMediaType = -1;
289 pub const AVMediaType_AVMEDIA_TYPE_VIDEO: AVMediaType = 0;
290 pub const AVMediaType_AVMEDIA_TYPE_AUDIO: AVMediaType = 1;
291 pub const AVMediaType_AVMEDIA_TYPE_DATA: AVMediaType = 2;
292 pub const AVMediaType_AVMEDIA_TYPE_SUBTITLE: AVMediaType = 3;
293 pub const AVMediaType_AVMEDIA_TYPE_ATTACHMENT: AVMediaType = 4;
294 pub const AVMediaType_AVMEDIA_TYPE_NB: AVMediaType = 5;
295 pub type AVMediaType = ::std::os::raw::c_int;
296 extern "C" {
av_get_media_type_string(media_type: AVMediaType) -> *const ::std::os::raw::c_char297     pub fn av_get_media_type_string(media_type: AVMediaType) -> *const ::std::os::raw::c_char;
298 }
299 pub const AVPictureType_AV_PICTURE_TYPE_NONE: AVPictureType = 0;
300 pub const AVPictureType_AV_PICTURE_TYPE_I: AVPictureType = 1;
301 pub const AVPictureType_AV_PICTURE_TYPE_P: AVPictureType = 2;
302 pub const AVPictureType_AV_PICTURE_TYPE_B: AVPictureType = 3;
303 pub const AVPictureType_AV_PICTURE_TYPE_S: AVPictureType = 4;
304 pub const AVPictureType_AV_PICTURE_TYPE_SI: AVPictureType = 5;
305 pub const AVPictureType_AV_PICTURE_TYPE_SP: AVPictureType = 6;
306 pub const AVPictureType_AV_PICTURE_TYPE_BI: AVPictureType = 7;
307 pub type AVPictureType = ::std::os::raw::c_uint;
308 extern "C" {
av_get_picture_type_char(pict_type: AVPictureType) -> ::std::os::raw::c_char309     pub fn av_get_picture_type_char(pict_type: AVPictureType) -> ::std::os::raw::c_char;
310 }
311 pub type va_list = __builtin_va_list;
312 pub type FILE = _IO_FILE;
313 #[repr(C)]
314 #[derive(Debug, Copy, Clone)]
315 pub struct _IO_marker {
316     _unused: [u8; 0],
317 }
318 #[repr(C)]
319 #[derive(Debug, Copy, Clone)]
320 pub struct _IO_codecvt {
321     _unused: [u8; 0],
322 }
323 #[repr(C)]
324 #[derive(Debug, Copy, Clone)]
325 pub struct _IO_wide_data {
326     _unused: [u8; 0],
327 }
328 pub type _IO_lock_t = ::std::os::raw::c_void;
329 #[repr(C)]
330 #[derive(Debug, Copy, Clone)]
331 pub struct _IO_FILE {
332     pub _flags: ::std::os::raw::c_int,
333     pub _IO_read_ptr: *mut ::std::os::raw::c_char,
334     pub _IO_read_end: *mut ::std::os::raw::c_char,
335     pub _IO_read_base: *mut ::std::os::raw::c_char,
336     pub _IO_write_base: *mut ::std::os::raw::c_char,
337     pub _IO_write_ptr: *mut ::std::os::raw::c_char,
338     pub _IO_write_end: *mut ::std::os::raw::c_char,
339     pub _IO_buf_base: *mut ::std::os::raw::c_char,
340     pub _IO_buf_end: *mut ::std::os::raw::c_char,
341     pub _IO_save_base: *mut ::std::os::raw::c_char,
342     pub _IO_backup_base: *mut ::std::os::raw::c_char,
343     pub _IO_save_end: *mut ::std::os::raw::c_char,
344     pub _markers: *mut _IO_marker,
345     pub _chain: *mut _IO_FILE,
346     pub _fileno: ::std::os::raw::c_int,
347     pub _flags2: ::std::os::raw::c_int,
348     pub _old_offset: __off_t,
349     pub _cur_column: ::std::os::raw::c_ushort,
350     pub _vtable_offset: ::std::os::raw::c_schar,
351     pub _shortbuf: [::std::os::raw::c_char; 1usize],
352     pub _lock: *mut _IO_lock_t,
353     pub _offset: __off64_t,
354     pub _codecvt: *mut _IO_codecvt,
355     pub _wide_data: *mut _IO_wide_data,
356     pub _freeres_list: *mut _IO_FILE,
357     pub _freeres_buf: *mut ::std::os::raw::c_void,
358     pub __pad5: usize,
359     pub _mode: ::std::os::raw::c_int,
360     pub _unused2: [::std::os::raw::c_char; 20usize],
361 }
362 impl Default for _IO_FILE {
default() -> Self363     fn default() -> Self {
364         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
365         unsafe {
366             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
367             s.assume_init()
368         }
369     }
370 }
371 extern "C" {
av_log2(v: ::std::os::raw::c_uint) -> ::std::os::raw::c_int372     pub fn av_log2(v: ::std::os::raw::c_uint) -> ::std::os::raw::c_int;
373 }
374 extern "C" {
av_log2_16bit(v: ::std::os::raw::c_uint) -> ::std::os::raw::c_int375     pub fn av_log2_16bit(v: ::std::os::raw::c_uint) -> ::std::os::raw::c_int;
376 }
377 extern "C" {
av_malloc(size: usize) -> *mut ::std::os::raw::c_void378     pub fn av_malloc(size: usize) -> *mut ::std::os::raw::c_void;
379 }
380 extern "C" {
av_mallocz(size: usize) -> *mut ::std::os::raw::c_void381     pub fn av_mallocz(size: usize) -> *mut ::std::os::raw::c_void;
382 }
383 extern "C" {
av_malloc_array(nmemb: usize, size: usize) -> *mut ::std::os::raw::c_void384     pub fn av_malloc_array(nmemb: usize, size: usize) -> *mut ::std::os::raw::c_void;
385 }
386 extern "C" {
av_calloc(nmemb: usize, size: usize) -> *mut ::std::os::raw::c_void387     pub fn av_calloc(nmemb: usize, size: usize) -> *mut ::std::os::raw::c_void;
388 }
389 extern "C" {
av_mallocz_array(nmemb: usize, size: usize) -> *mut ::std::os::raw::c_void390     pub fn av_mallocz_array(nmemb: usize, size: usize) -> *mut ::std::os::raw::c_void;
391 }
392 extern "C" {
av_realloc(ptr: *mut ::std::os::raw::c_void, size: usize) -> *mut ::std::os::raw::c_void393     pub fn av_realloc(ptr: *mut ::std::os::raw::c_void, size: usize)
394         -> *mut ::std::os::raw::c_void;
395 }
396 extern "C" {
av_reallocp(ptr: *mut ::std::os::raw::c_void, size: usize) -> ::std::os::raw::c_int397     pub fn av_reallocp(ptr: *mut ::std::os::raw::c_void, size: usize) -> ::std::os::raw::c_int;
398 }
399 extern "C" {
av_realloc_f( ptr: *mut ::std::os::raw::c_void, nelem: usize, elsize: usize, ) -> *mut ::std::os::raw::c_void400     pub fn av_realloc_f(
401         ptr: *mut ::std::os::raw::c_void,
402         nelem: usize,
403         elsize: usize,
404     ) -> *mut ::std::os::raw::c_void;
405 }
406 extern "C" {
av_realloc_array( ptr: *mut ::std::os::raw::c_void, nmemb: usize, size: usize, ) -> *mut ::std::os::raw::c_void407     pub fn av_realloc_array(
408         ptr: *mut ::std::os::raw::c_void,
409         nmemb: usize,
410         size: usize,
411     ) -> *mut ::std::os::raw::c_void;
412 }
413 extern "C" {
av_reallocp_array( ptr: *mut ::std::os::raw::c_void, nmemb: usize, size: usize, ) -> ::std::os::raw::c_int414     pub fn av_reallocp_array(
415         ptr: *mut ::std::os::raw::c_void,
416         nmemb: usize,
417         size: usize,
418     ) -> ::std::os::raw::c_int;
419 }
420 extern "C" {
av_fast_realloc( ptr: *mut ::std::os::raw::c_void, size: *mut ::std::os::raw::c_uint, min_size: usize, ) -> *mut ::std::os::raw::c_void421     pub fn av_fast_realloc(
422         ptr: *mut ::std::os::raw::c_void,
423         size: *mut ::std::os::raw::c_uint,
424         min_size: usize,
425     ) -> *mut ::std::os::raw::c_void;
426 }
427 extern "C" {
av_fast_malloc( ptr: *mut ::std::os::raw::c_void, size: *mut ::std::os::raw::c_uint, min_size: usize, )428     pub fn av_fast_malloc(
429         ptr: *mut ::std::os::raw::c_void,
430         size: *mut ::std::os::raw::c_uint,
431         min_size: usize,
432     );
433 }
434 extern "C" {
av_fast_mallocz( ptr: *mut ::std::os::raw::c_void, size: *mut ::std::os::raw::c_uint, min_size: usize, )435     pub fn av_fast_mallocz(
436         ptr: *mut ::std::os::raw::c_void,
437         size: *mut ::std::os::raw::c_uint,
438         min_size: usize,
439     );
440 }
441 extern "C" {
av_free(ptr: *mut ::std::os::raw::c_void)442     pub fn av_free(ptr: *mut ::std::os::raw::c_void);
443 }
444 extern "C" {
av_freep(ptr: *mut ::std::os::raw::c_void)445     pub fn av_freep(ptr: *mut ::std::os::raw::c_void);
446 }
447 extern "C" {
av_strdup(s: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char448     pub fn av_strdup(s: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
449 }
450 extern "C" {
av_strndup(s: *const ::std::os::raw::c_char, len: usize) -> *mut ::std::os::raw::c_char451     pub fn av_strndup(s: *const ::std::os::raw::c_char, len: usize) -> *mut ::std::os::raw::c_char;
452 }
453 extern "C" {
av_memdup(p: *const ::std::os::raw::c_void, size: usize) -> *mut ::std::os::raw::c_void454     pub fn av_memdup(p: *const ::std::os::raw::c_void, size: usize) -> *mut ::std::os::raw::c_void;
455 }
456 extern "C" {
av_memcpy_backptr(dst: *mut u8, back: ::std::os::raw::c_int, cnt: ::std::os::raw::c_int)457     pub fn av_memcpy_backptr(dst: *mut u8, back: ::std::os::raw::c_int, cnt: ::std::os::raw::c_int);
458 }
459 extern "C" {
av_dynarray_add( tab_ptr: *mut ::std::os::raw::c_void, nb_ptr: *mut ::std::os::raw::c_int, elem: *mut ::std::os::raw::c_void, )460     pub fn av_dynarray_add(
461         tab_ptr: *mut ::std::os::raw::c_void,
462         nb_ptr: *mut ::std::os::raw::c_int,
463         elem: *mut ::std::os::raw::c_void,
464     );
465 }
466 extern "C" {
av_dynarray_add_nofree( tab_ptr: *mut ::std::os::raw::c_void, nb_ptr: *mut ::std::os::raw::c_int, elem: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int467     pub fn av_dynarray_add_nofree(
468         tab_ptr: *mut ::std::os::raw::c_void,
469         nb_ptr: *mut ::std::os::raw::c_int,
470         elem: *mut ::std::os::raw::c_void,
471     ) -> ::std::os::raw::c_int;
472 }
473 extern "C" {
av_dynarray2_add( tab_ptr: *mut *mut ::std::os::raw::c_void, nb_ptr: *mut ::std::os::raw::c_int, elem_size: usize, elem_data: *const u8, ) -> *mut ::std::os::raw::c_void474     pub fn av_dynarray2_add(
475         tab_ptr: *mut *mut ::std::os::raw::c_void,
476         nb_ptr: *mut ::std::os::raw::c_int,
477         elem_size: usize,
478         elem_data: *const u8,
479     ) -> *mut ::std::os::raw::c_void;
480 }
481 extern "C" {
av_size_mult(a: usize, b: usize, r: *mut usize) -> ::std::os::raw::c_int482     pub fn av_size_mult(a: usize, b: usize, r: *mut usize) -> ::std::os::raw::c_int;
483 }
484 extern "C" {
av_max_alloc(max: usize)485     pub fn av_max_alloc(max: usize);
486 }
487 extern "C" {
av_strerror( errnum: ::std::os::raw::c_int, errbuf: *mut ::std::os::raw::c_char, errbuf_size: usize, ) -> ::std::os::raw::c_int488     pub fn av_strerror(
489         errnum: ::std::os::raw::c_int,
490         errbuf: *mut ::std::os::raw::c_char,
491         errbuf_size: usize,
492     ) -> ::std::os::raw::c_int;
493 }
494 #[repr(C)]
495 #[derive(Debug, Default, Copy, Clone)]
496 pub struct AVRational {
497     pub num: ::std::os::raw::c_int,
498     pub den: ::std::os::raw::c_int,
499 }
500 extern "C" {
av_reduce( dst_num: *mut ::std::os::raw::c_int, dst_den: *mut ::std::os::raw::c_int, num: i64, den: i64, max: i64, ) -> ::std::os::raw::c_int501     pub fn av_reduce(
502         dst_num: *mut ::std::os::raw::c_int,
503         dst_den: *mut ::std::os::raw::c_int,
504         num: i64,
505         den: i64,
506         max: i64,
507     ) -> ::std::os::raw::c_int;
508 }
509 extern "C" {
av_mul_q(b: AVRational, c: AVRational) -> AVRational510     pub fn av_mul_q(b: AVRational, c: AVRational) -> AVRational;
511 }
512 extern "C" {
av_div_q(b: AVRational, c: AVRational) -> AVRational513     pub fn av_div_q(b: AVRational, c: AVRational) -> AVRational;
514 }
515 extern "C" {
av_add_q(b: AVRational, c: AVRational) -> AVRational516     pub fn av_add_q(b: AVRational, c: AVRational) -> AVRational;
517 }
518 extern "C" {
av_sub_q(b: AVRational, c: AVRational) -> AVRational519     pub fn av_sub_q(b: AVRational, c: AVRational) -> AVRational;
520 }
521 extern "C" {
av_d2q(d: f64, max: ::std::os::raw::c_int) -> AVRational522     pub fn av_d2q(d: f64, max: ::std::os::raw::c_int) -> AVRational;
523 }
524 extern "C" {
av_nearer_q(q: AVRational, q1: AVRational, q2: AVRational) -> ::std::os::raw::c_int525     pub fn av_nearer_q(q: AVRational, q1: AVRational, q2: AVRational) -> ::std::os::raw::c_int;
526 }
527 extern "C" {
av_find_nearest_q_idx(q: AVRational, q_list: *const AVRational) -> ::std::os::raw::c_int528     pub fn av_find_nearest_q_idx(q: AVRational, q_list: *const AVRational)
529         -> ::std::os::raw::c_int;
530 }
531 extern "C" {
av_q2intfloat(q: AVRational) -> u32532     pub fn av_q2intfloat(q: AVRational) -> u32;
533 }
534 extern "C" {
av_gcd_q( a: AVRational, b: AVRational, max_den: ::std::os::raw::c_int, def: AVRational, ) -> AVRational535     pub fn av_gcd_q(
536         a: AVRational,
537         b: AVRational,
538         max_den: ::std::os::raw::c_int,
539         def: AVRational,
540     ) -> AVRational;
541 }
542 pub const AVRounding_AV_ROUND_ZERO: AVRounding = 0;
543 pub const AVRounding_AV_ROUND_INF: AVRounding = 1;
544 pub const AVRounding_AV_ROUND_DOWN: AVRounding = 2;
545 pub const AVRounding_AV_ROUND_UP: AVRounding = 3;
546 pub const AVRounding_AV_ROUND_NEAR_INF: AVRounding = 5;
547 pub const AVRounding_AV_ROUND_PASS_MINMAX: AVRounding = 8192;
548 pub type AVRounding = ::std::os::raw::c_uint;
549 extern "C" {
av_gcd(a: i64, b: i64) -> i64550     pub fn av_gcd(a: i64, b: i64) -> i64;
551 }
552 extern "C" {
av_rescale(a: i64, b: i64, c: i64) -> i64553     pub fn av_rescale(a: i64, b: i64, c: i64) -> i64;
554 }
555 extern "C" {
av_rescale_rnd(a: i64, b: i64, c: i64, rnd: AVRounding) -> i64556     pub fn av_rescale_rnd(a: i64, b: i64, c: i64, rnd: AVRounding) -> i64;
557 }
558 extern "C" {
av_rescale_q(a: i64, bq: AVRational, cq: AVRational) -> i64559     pub fn av_rescale_q(a: i64, bq: AVRational, cq: AVRational) -> i64;
560 }
561 extern "C" {
av_rescale_q_rnd(a: i64, bq: AVRational, cq: AVRational, rnd: AVRounding) -> i64562     pub fn av_rescale_q_rnd(a: i64, bq: AVRational, cq: AVRational, rnd: AVRounding) -> i64;
563 }
564 extern "C" {
av_compare_ts( ts_a: i64, tb_a: AVRational, ts_b: i64, tb_b: AVRational, ) -> ::std::os::raw::c_int565     pub fn av_compare_ts(
566         ts_a: i64,
567         tb_a: AVRational,
568         ts_b: i64,
569         tb_b: AVRational,
570     ) -> ::std::os::raw::c_int;
571 }
572 extern "C" {
av_compare_mod(a: u64, b: u64, mod_: u64) -> i64573     pub fn av_compare_mod(a: u64, b: u64, mod_: u64) -> i64;
574 }
575 extern "C" {
av_rescale_delta( in_tb: AVRational, in_ts: i64, fs_tb: AVRational, duration: ::std::os::raw::c_int, last: *mut i64, out_tb: AVRational, ) -> i64576     pub fn av_rescale_delta(
577         in_tb: AVRational,
578         in_ts: i64,
579         fs_tb: AVRational,
580         duration: ::std::os::raw::c_int,
581         last: *mut i64,
582         out_tb: AVRational,
583     ) -> i64;
584 }
585 extern "C" {
av_add_stable(ts_tb: AVRational, ts: i64, inc_tb: AVRational, inc: i64) -> i64586     pub fn av_add_stable(ts_tb: AVRational, ts: i64, inc_tb: AVRational, inc: i64) -> i64;
587 }
588 pub const AVClassCategory_AV_CLASS_CATEGORY_NA: AVClassCategory = 0;
589 pub const AVClassCategory_AV_CLASS_CATEGORY_INPUT: AVClassCategory = 1;
590 pub const AVClassCategory_AV_CLASS_CATEGORY_OUTPUT: AVClassCategory = 2;
591 pub const AVClassCategory_AV_CLASS_CATEGORY_MUXER: AVClassCategory = 3;
592 pub const AVClassCategory_AV_CLASS_CATEGORY_DEMUXER: AVClassCategory = 4;
593 pub const AVClassCategory_AV_CLASS_CATEGORY_ENCODER: AVClassCategory = 5;
594 pub const AVClassCategory_AV_CLASS_CATEGORY_DECODER: AVClassCategory = 6;
595 pub const AVClassCategory_AV_CLASS_CATEGORY_FILTER: AVClassCategory = 7;
596 pub const AVClassCategory_AV_CLASS_CATEGORY_BITSTREAM_FILTER: AVClassCategory = 8;
597 pub const AVClassCategory_AV_CLASS_CATEGORY_SWSCALER: AVClassCategory = 9;
598 pub const AVClassCategory_AV_CLASS_CATEGORY_SWRESAMPLER: AVClassCategory = 10;
599 pub const AVClassCategory_AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT: AVClassCategory = 40;
600 pub const AVClassCategory_AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT: AVClassCategory = 41;
601 pub const AVClassCategory_AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT: AVClassCategory = 42;
602 pub const AVClassCategory_AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT: AVClassCategory = 43;
603 pub const AVClassCategory_AV_CLASS_CATEGORY_DEVICE_OUTPUT: AVClassCategory = 44;
604 pub const AVClassCategory_AV_CLASS_CATEGORY_DEVICE_INPUT: AVClassCategory = 45;
605 pub const AVClassCategory_AV_CLASS_CATEGORY_NB: AVClassCategory = 46;
606 pub type AVClassCategory = ::std::os::raw::c_uint;
607 #[repr(C)]
608 #[derive(Debug, Copy, Clone)]
609 pub struct AVOptionRanges {
610     _unused: [u8; 0],
611 }
612 #[repr(C)]
613 #[derive(Debug, Copy, Clone)]
614 pub struct AVClass {
615     pub class_name: *const ::std::os::raw::c_char,
616     pub item_name: ::std::option::Option<
617         unsafe extern "C" fn(ctx: *mut ::std::os::raw::c_void) -> *const ::std::os::raw::c_char,
618     >,
619     pub option: *mut AVOption,
620     pub version: ::std::os::raw::c_int,
621     pub log_level_offset_offset: ::std::os::raw::c_int,
622     pub parent_log_context_offset: ::std::os::raw::c_int,
623     pub category: AVClassCategory,
624     pub get_category: ::std::option::Option<
625         unsafe extern "C" fn(ctx: *mut ::std::os::raw::c_void) -> AVClassCategory,
626     >,
627     pub query_ranges: ::std::option::Option<
628         unsafe extern "C" fn(
629             arg1: *mut *mut AVOptionRanges,
630             obj: *mut ::std::os::raw::c_void,
631             key: *const ::std::os::raw::c_char,
632             flags: ::std::os::raw::c_int,
633         ) -> ::std::os::raw::c_int,
634     >,
635     pub child_next: ::std::option::Option<
636         unsafe extern "C" fn(
637             obj: *mut ::std::os::raw::c_void,
638             prev: *mut ::std::os::raw::c_void,
639         ) -> *mut ::std::os::raw::c_void,
640     >,
641     pub child_class_iterate: ::std::option::Option<
642         unsafe extern "C" fn(iter: *mut *mut ::std::os::raw::c_void) -> *const AVClass,
643     >,
644 }
645 impl Default for AVClass {
default() -> Self646     fn default() -> Self {
647         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
648         unsafe {
649             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
650             s.assume_init()
651         }
652     }
653 }
654 extern "C" {
av_log( avcl: *mut ::std::os::raw::c_void, level: ::std::os::raw::c_int, fmt: *const ::std::os::raw::c_char, ... )655     pub fn av_log(
656         avcl: *mut ::std::os::raw::c_void,
657         level: ::std::os::raw::c_int,
658         fmt: *const ::std::os::raw::c_char,
659         ...
660     );
661 }
662 extern "C" {
av_log_once( avcl: *mut ::std::os::raw::c_void, initial_level: ::std::os::raw::c_int, subsequent_level: ::std::os::raw::c_int, state: *mut ::std::os::raw::c_int, fmt: *const ::std::os::raw::c_char, ... )663     pub fn av_log_once(
664         avcl: *mut ::std::os::raw::c_void,
665         initial_level: ::std::os::raw::c_int,
666         subsequent_level: ::std::os::raw::c_int,
667         state: *mut ::std::os::raw::c_int,
668         fmt: *const ::std::os::raw::c_char,
669         ...
670     );
671 }
672 extern "C" {
av_vlog( avcl: *mut ::std::os::raw::c_void, level: ::std::os::raw::c_int, fmt: *const ::std::os::raw::c_char, vl: *mut __va_list_tag, )673     pub fn av_vlog(
674         avcl: *mut ::std::os::raw::c_void,
675         level: ::std::os::raw::c_int,
676         fmt: *const ::std::os::raw::c_char,
677         vl: *mut __va_list_tag,
678     );
679 }
680 extern "C" {
av_log_get_level() -> ::std::os::raw::c_int681     pub fn av_log_get_level() -> ::std::os::raw::c_int;
682 }
683 extern "C" {
av_log_set_level(level: ::std::os::raw::c_int)684     pub fn av_log_set_level(level: ::std::os::raw::c_int);
685 }
686 extern "C" {
av_log_set_callback( callback: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: ::std::os::raw::c_int, arg3: *const ::std::os::raw::c_char, arg4: *mut __va_list_tag, ), >, )687     pub fn av_log_set_callback(
688         callback: ::std::option::Option<
689             unsafe extern "C" fn(
690                 arg1: *mut ::std::os::raw::c_void,
691                 arg2: ::std::os::raw::c_int,
692                 arg3: *const ::std::os::raw::c_char,
693                 arg4: *mut __va_list_tag,
694             ),
695         >,
696     );
697 }
698 extern "C" {
av_log_default_callback( avcl: *mut ::std::os::raw::c_void, level: ::std::os::raw::c_int, fmt: *const ::std::os::raw::c_char, vl: *mut __va_list_tag, )699     pub fn av_log_default_callback(
700         avcl: *mut ::std::os::raw::c_void,
701         level: ::std::os::raw::c_int,
702         fmt: *const ::std::os::raw::c_char,
703         vl: *mut __va_list_tag,
704     );
705 }
706 extern "C" {
av_default_item_name(ctx: *mut ::std::os::raw::c_void) -> *const ::std::os::raw::c_char707     pub fn av_default_item_name(ctx: *mut ::std::os::raw::c_void) -> *const ::std::os::raw::c_char;
708 }
709 extern "C" {
av_default_get_category(ptr: *mut ::std::os::raw::c_void) -> AVClassCategory710     pub fn av_default_get_category(ptr: *mut ::std::os::raw::c_void) -> AVClassCategory;
711 }
712 extern "C" {
av_log_format_line( ptr: *mut ::std::os::raw::c_void, level: ::std::os::raw::c_int, fmt: *const ::std::os::raw::c_char, vl: *mut __va_list_tag, line: *mut ::std::os::raw::c_char, line_size: ::std::os::raw::c_int, print_prefix: *mut ::std::os::raw::c_int, )713     pub fn av_log_format_line(
714         ptr: *mut ::std::os::raw::c_void,
715         level: ::std::os::raw::c_int,
716         fmt: *const ::std::os::raw::c_char,
717         vl: *mut __va_list_tag,
718         line: *mut ::std::os::raw::c_char,
719         line_size: ::std::os::raw::c_int,
720         print_prefix: *mut ::std::os::raw::c_int,
721     );
722 }
723 extern "C" {
av_log_format_line2( ptr: *mut ::std::os::raw::c_void, level: ::std::os::raw::c_int, fmt: *const ::std::os::raw::c_char, vl: *mut __va_list_tag, line: *mut ::std::os::raw::c_char, line_size: ::std::os::raw::c_int, print_prefix: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int724     pub fn av_log_format_line2(
725         ptr: *mut ::std::os::raw::c_void,
726         level: ::std::os::raw::c_int,
727         fmt: *const ::std::os::raw::c_char,
728         vl: *mut __va_list_tag,
729         line: *mut ::std::os::raw::c_char,
730         line_size: ::std::os::raw::c_int,
731         print_prefix: *mut ::std::os::raw::c_int,
732     ) -> ::std::os::raw::c_int;
733 }
734 extern "C" {
av_log_set_flags(arg: ::std::os::raw::c_int)735     pub fn av_log_set_flags(arg: ::std::os::raw::c_int);
736 }
737 extern "C" {
av_log_get_flags() -> ::std::os::raw::c_int738     pub fn av_log_get_flags() -> ::std::os::raw::c_int;
739 }
740 pub const AVPixelFormat_AV_PIX_FMT_NONE: AVPixelFormat = -1;
741 pub const AVPixelFormat_AV_PIX_FMT_YUV420P: AVPixelFormat = 0;
742 pub const AVPixelFormat_AV_PIX_FMT_YUYV422: AVPixelFormat = 1;
743 pub const AVPixelFormat_AV_PIX_FMT_RGB24: AVPixelFormat = 2;
744 pub const AVPixelFormat_AV_PIX_FMT_BGR24: AVPixelFormat = 3;
745 pub const AVPixelFormat_AV_PIX_FMT_YUV422P: AVPixelFormat = 4;
746 pub const AVPixelFormat_AV_PIX_FMT_YUV444P: AVPixelFormat = 5;
747 pub const AVPixelFormat_AV_PIX_FMT_YUV410P: AVPixelFormat = 6;
748 pub const AVPixelFormat_AV_PIX_FMT_YUV411P: AVPixelFormat = 7;
749 pub const AVPixelFormat_AV_PIX_FMT_GRAY8: AVPixelFormat = 8;
750 pub const AVPixelFormat_AV_PIX_FMT_MONOWHITE: AVPixelFormat = 9;
751 pub const AVPixelFormat_AV_PIX_FMT_MONOBLACK: AVPixelFormat = 10;
752 pub const AVPixelFormat_AV_PIX_FMT_PAL8: AVPixelFormat = 11;
753 pub const AVPixelFormat_AV_PIX_FMT_YUVJ420P: AVPixelFormat = 12;
754 pub const AVPixelFormat_AV_PIX_FMT_YUVJ422P: AVPixelFormat = 13;
755 pub const AVPixelFormat_AV_PIX_FMT_YUVJ444P: AVPixelFormat = 14;
756 pub const AVPixelFormat_AV_PIX_FMT_UYVY422: AVPixelFormat = 15;
757 pub const AVPixelFormat_AV_PIX_FMT_UYYVYY411: AVPixelFormat = 16;
758 pub const AVPixelFormat_AV_PIX_FMT_BGR8: AVPixelFormat = 17;
759 pub const AVPixelFormat_AV_PIX_FMT_BGR4: AVPixelFormat = 18;
760 pub const AVPixelFormat_AV_PIX_FMT_BGR4_BYTE: AVPixelFormat = 19;
761 pub const AVPixelFormat_AV_PIX_FMT_RGB8: AVPixelFormat = 20;
762 pub const AVPixelFormat_AV_PIX_FMT_RGB4: AVPixelFormat = 21;
763 pub const AVPixelFormat_AV_PIX_FMT_RGB4_BYTE: AVPixelFormat = 22;
764 pub const AVPixelFormat_AV_PIX_FMT_NV12: AVPixelFormat = 23;
765 pub const AVPixelFormat_AV_PIX_FMT_NV21: AVPixelFormat = 24;
766 pub const AVPixelFormat_AV_PIX_FMT_ARGB: AVPixelFormat = 25;
767 pub const AVPixelFormat_AV_PIX_FMT_RGBA: AVPixelFormat = 26;
768 pub const AVPixelFormat_AV_PIX_FMT_ABGR: AVPixelFormat = 27;
769 pub const AVPixelFormat_AV_PIX_FMT_BGRA: AVPixelFormat = 28;
770 pub const AVPixelFormat_AV_PIX_FMT_GRAY16BE: AVPixelFormat = 29;
771 pub const AVPixelFormat_AV_PIX_FMT_GRAY16LE: AVPixelFormat = 30;
772 pub const AVPixelFormat_AV_PIX_FMT_YUV440P: AVPixelFormat = 31;
773 pub const AVPixelFormat_AV_PIX_FMT_YUVJ440P: AVPixelFormat = 32;
774 pub const AVPixelFormat_AV_PIX_FMT_YUVA420P: AVPixelFormat = 33;
775 pub const AVPixelFormat_AV_PIX_FMT_RGB48BE: AVPixelFormat = 34;
776 pub const AVPixelFormat_AV_PIX_FMT_RGB48LE: AVPixelFormat = 35;
777 pub const AVPixelFormat_AV_PIX_FMT_RGB565BE: AVPixelFormat = 36;
778 pub const AVPixelFormat_AV_PIX_FMT_RGB565LE: AVPixelFormat = 37;
779 pub const AVPixelFormat_AV_PIX_FMT_RGB555BE: AVPixelFormat = 38;
780 pub const AVPixelFormat_AV_PIX_FMT_RGB555LE: AVPixelFormat = 39;
781 pub const AVPixelFormat_AV_PIX_FMT_BGR565BE: AVPixelFormat = 40;
782 pub const AVPixelFormat_AV_PIX_FMT_BGR565LE: AVPixelFormat = 41;
783 pub const AVPixelFormat_AV_PIX_FMT_BGR555BE: AVPixelFormat = 42;
784 pub const AVPixelFormat_AV_PIX_FMT_BGR555LE: AVPixelFormat = 43;
785 pub const AVPixelFormat_AV_PIX_FMT_VAAPI: AVPixelFormat = 44;
786 pub const AVPixelFormat_AV_PIX_FMT_YUV420P16LE: AVPixelFormat = 45;
787 pub const AVPixelFormat_AV_PIX_FMT_YUV420P16BE: AVPixelFormat = 46;
788 pub const AVPixelFormat_AV_PIX_FMT_YUV422P16LE: AVPixelFormat = 47;
789 pub const AVPixelFormat_AV_PIX_FMT_YUV422P16BE: AVPixelFormat = 48;
790 pub const AVPixelFormat_AV_PIX_FMT_YUV444P16LE: AVPixelFormat = 49;
791 pub const AVPixelFormat_AV_PIX_FMT_YUV444P16BE: AVPixelFormat = 50;
792 pub const AVPixelFormat_AV_PIX_FMT_DXVA2_VLD: AVPixelFormat = 51;
793 pub const AVPixelFormat_AV_PIX_FMT_RGB444LE: AVPixelFormat = 52;
794 pub const AVPixelFormat_AV_PIX_FMT_RGB444BE: AVPixelFormat = 53;
795 pub const AVPixelFormat_AV_PIX_FMT_BGR444LE: AVPixelFormat = 54;
796 pub const AVPixelFormat_AV_PIX_FMT_BGR444BE: AVPixelFormat = 55;
797 pub const AVPixelFormat_AV_PIX_FMT_YA8: AVPixelFormat = 56;
798 pub const AVPixelFormat_AV_PIX_FMT_Y400A: AVPixelFormat = 56;
799 pub const AVPixelFormat_AV_PIX_FMT_GRAY8A: AVPixelFormat = 56;
800 pub const AVPixelFormat_AV_PIX_FMT_BGR48BE: AVPixelFormat = 57;
801 pub const AVPixelFormat_AV_PIX_FMT_BGR48LE: AVPixelFormat = 58;
802 pub const AVPixelFormat_AV_PIX_FMT_YUV420P9BE: AVPixelFormat = 59;
803 pub const AVPixelFormat_AV_PIX_FMT_YUV420P9LE: AVPixelFormat = 60;
804 pub const AVPixelFormat_AV_PIX_FMT_YUV420P10BE: AVPixelFormat = 61;
805 pub const AVPixelFormat_AV_PIX_FMT_YUV420P10LE: AVPixelFormat = 62;
806 pub const AVPixelFormat_AV_PIX_FMT_YUV422P10BE: AVPixelFormat = 63;
807 pub const AVPixelFormat_AV_PIX_FMT_YUV422P10LE: AVPixelFormat = 64;
808 pub const AVPixelFormat_AV_PIX_FMT_YUV444P9BE: AVPixelFormat = 65;
809 pub const AVPixelFormat_AV_PIX_FMT_YUV444P9LE: AVPixelFormat = 66;
810 pub const AVPixelFormat_AV_PIX_FMT_YUV444P10BE: AVPixelFormat = 67;
811 pub const AVPixelFormat_AV_PIX_FMT_YUV444P10LE: AVPixelFormat = 68;
812 pub const AVPixelFormat_AV_PIX_FMT_YUV422P9BE: AVPixelFormat = 69;
813 pub const AVPixelFormat_AV_PIX_FMT_YUV422P9LE: AVPixelFormat = 70;
814 pub const AVPixelFormat_AV_PIX_FMT_GBRP: AVPixelFormat = 71;
815 pub const AVPixelFormat_AV_PIX_FMT_GBR24P: AVPixelFormat = 71;
816 pub const AVPixelFormat_AV_PIX_FMT_GBRP9BE: AVPixelFormat = 72;
817 pub const AVPixelFormat_AV_PIX_FMT_GBRP9LE: AVPixelFormat = 73;
818 pub const AVPixelFormat_AV_PIX_FMT_GBRP10BE: AVPixelFormat = 74;
819 pub const AVPixelFormat_AV_PIX_FMT_GBRP10LE: AVPixelFormat = 75;
820 pub const AVPixelFormat_AV_PIX_FMT_GBRP16BE: AVPixelFormat = 76;
821 pub const AVPixelFormat_AV_PIX_FMT_GBRP16LE: AVPixelFormat = 77;
822 pub const AVPixelFormat_AV_PIX_FMT_YUVA422P: AVPixelFormat = 78;
823 pub const AVPixelFormat_AV_PIX_FMT_YUVA444P: AVPixelFormat = 79;
824 pub const AVPixelFormat_AV_PIX_FMT_YUVA420P9BE: AVPixelFormat = 80;
825 pub const AVPixelFormat_AV_PIX_FMT_YUVA420P9LE: AVPixelFormat = 81;
826 pub const AVPixelFormat_AV_PIX_FMT_YUVA422P9BE: AVPixelFormat = 82;
827 pub const AVPixelFormat_AV_PIX_FMT_YUVA422P9LE: AVPixelFormat = 83;
828 pub const AVPixelFormat_AV_PIX_FMT_YUVA444P9BE: AVPixelFormat = 84;
829 pub const AVPixelFormat_AV_PIX_FMT_YUVA444P9LE: AVPixelFormat = 85;
830 pub const AVPixelFormat_AV_PIX_FMT_YUVA420P10BE: AVPixelFormat = 86;
831 pub const AVPixelFormat_AV_PIX_FMT_YUVA420P10LE: AVPixelFormat = 87;
832 pub const AVPixelFormat_AV_PIX_FMT_YUVA422P10BE: AVPixelFormat = 88;
833 pub const AVPixelFormat_AV_PIX_FMT_YUVA422P10LE: AVPixelFormat = 89;
834 pub const AVPixelFormat_AV_PIX_FMT_YUVA444P10BE: AVPixelFormat = 90;
835 pub const AVPixelFormat_AV_PIX_FMT_YUVA444P10LE: AVPixelFormat = 91;
836 pub const AVPixelFormat_AV_PIX_FMT_YUVA420P16BE: AVPixelFormat = 92;
837 pub const AVPixelFormat_AV_PIX_FMT_YUVA420P16LE: AVPixelFormat = 93;
838 pub const AVPixelFormat_AV_PIX_FMT_YUVA422P16BE: AVPixelFormat = 94;
839 pub const AVPixelFormat_AV_PIX_FMT_YUVA422P16LE: AVPixelFormat = 95;
840 pub const AVPixelFormat_AV_PIX_FMT_YUVA444P16BE: AVPixelFormat = 96;
841 pub const AVPixelFormat_AV_PIX_FMT_YUVA444P16LE: AVPixelFormat = 97;
842 pub const AVPixelFormat_AV_PIX_FMT_VDPAU: AVPixelFormat = 98;
843 pub const AVPixelFormat_AV_PIX_FMT_XYZ12LE: AVPixelFormat = 99;
844 pub const AVPixelFormat_AV_PIX_FMT_XYZ12BE: AVPixelFormat = 100;
845 pub const AVPixelFormat_AV_PIX_FMT_NV16: AVPixelFormat = 101;
846 pub const AVPixelFormat_AV_PIX_FMT_NV20LE: AVPixelFormat = 102;
847 pub const AVPixelFormat_AV_PIX_FMT_NV20BE: AVPixelFormat = 103;
848 pub const AVPixelFormat_AV_PIX_FMT_RGBA64BE: AVPixelFormat = 104;
849 pub const AVPixelFormat_AV_PIX_FMT_RGBA64LE: AVPixelFormat = 105;
850 pub const AVPixelFormat_AV_PIX_FMT_BGRA64BE: AVPixelFormat = 106;
851 pub const AVPixelFormat_AV_PIX_FMT_BGRA64LE: AVPixelFormat = 107;
852 pub const AVPixelFormat_AV_PIX_FMT_YVYU422: AVPixelFormat = 108;
853 pub const AVPixelFormat_AV_PIX_FMT_YA16BE: AVPixelFormat = 109;
854 pub const AVPixelFormat_AV_PIX_FMT_YA16LE: AVPixelFormat = 110;
855 pub const AVPixelFormat_AV_PIX_FMT_GBRAP: AVPixelFormat = 111;
856 pub const AVPixelFormat_AV_PIX_FMT_GBRAP16BE: AVPixelFormat = 112;
857 pub const AVPixelFormat_AV_PIX_FMT_GBRAP16LE: AVPixelFormat = 113;
858 pub const AVPixelFormat_AV_PIX_FMT_QSV: AVPixelFormat = 114;
859 pub const AVPixelFormat_AV_PIX_FMT_MMAL: AVPixelFormat = 115;
860 pub const AVPixelFormat_AV_PIX_FMT_D3D11VA_VLD: AVPixelFormat = 116;
861 pub const AVPixelFormat_AV_PIX_FMT_CUDA: AVPixelFormat = 117;
862 pub const AVPixelFormat_AV_PIX_FMT_0RGB: AVPixelFormat = 118;
863 pub const AVPixelFormat_AV_PIX_FMT_RGB0: AVPixelFormat = 119;
864 pub const AVPixelFormat_AV_PIX_FMT_0BGR: AVPixelFormat = 120;
865 pub const AVPixelFormat_AV_PIX_FMT_BGR0: AVPixelFormat = 121;
866 pub const AVPixelFormat_AV_PIX_FMT_YUV420P12BE: AVPixelFormat = 122;
867 pub const AVPixelFormat_AV_PIX_FMT_YUV420P12LE: AVPixelFormat = 123;
868 pub const AVPixelFormat_AV_PIX_FMT_YUV420P14BE: AVPixelFormat = 124;
869 pub const AVPixelFormat_AV_PIX_FMT_YUV420P14LE: AVPixelFormat = 125;
870 pub const AVPixelFormat_AV_PIX_FMT_YUV422P12BE: AVPixelFormat = 126;
871 pub const AVPixelFormat_AV_PIX_FMT_YUV422P12LE: AVPixelFormat = 127;
872 pub const AVPixelFormat_AV_PIX_FMT_YUV422P14BE: AVPixelFormat = 128;
873 pub const AVPixelFormat_AV_PIX_FMT_YUV422P14LE: AVPixelFormat = 129;
874 pub const AVPixelFormat_AV_PIX_FMT_YUV444P12BE: AVPixelFormat = 130;
875 pub const AVPixelFormat_AV_PIX_FMT_YUV444P12LE: AVPixelFormat = 131;
876 pub const AVPixelFormat_AV_PIX_FMT_YUV444P14BE: AVPixelFormat = 132;
877 pub const AVPixelFormat_AV_PIX_FMT_YUV444P14LE: AVPixelFormat = 133;
878 pub const AVPixelFormat_AV_PIX_FMT_GBRP12BE: AVPixelFormat = 134;
879 pub const AVPixelFormat_AV_PIX_FMT_GBRP12LE: AVPixelFormat = 135;
880 pub const AVPixelFormat_AV_PIX_FMT_GBRP14BE: AVPixelFormat = 136;
881 pub const AVPixelFormat_AV_PIX_FMT_GBRP14LE: AVPixelFormat = 137;
882 pub const AVPixelFormat_AV_PIX_FMT_YUVJ411P: AVPixelFormat = 138;
883 pub const AVPixelFormat_AV_PIX_FMT_BAYER_BGGR8: AVPixelFormat = 139;
884 pub const AVPixelFormat_AV_PIX_FMT_BAYER_RGGB8: AVPixelFormat = 140;
885 pub const AVPixelFormat_AV_PIX_FMT_BAYER_GBRG8: AVPixelFormat = 141;
886 pub const AVPixelFormat_AV_PIX_FMT_BAYER_GRBG8: AVPixelFormat = 142;
887 pub const AVPixelFormat_AV_PIX_FMT_BAYER_BGGR16LE: AVPixelFormat = 143;
888 pub const AVPixelFormat_AV_PIX_FMT_BAYER_BGGR16BE: AVPixelFormat = 144;
889 pub const AVPixelFormat_AV_PIX_FMT_BAYER_RGGB16LE: AVPixelFormat = 145;
890 pub const AVPixelFormat_AV_PIX_FMT_BAYER_RGGB16BE: AVPixelFormat = 146;
891 pub const AVPixelFormat_AV_PIX_FMT_BAYER_GBRG16LE: AVPixelFormat = 147;
892 pub const AVPixelFormat_AV_PIX_FMT_BAYER_GBRG16BE: AVPixelFormat = 148;
893 pub const AVPixelFormat_AV_PIX_FMT_BAYER_GRBG16LE: AVPixelFormat = 149;
894 pub const AVPixelFormat_AV_PIX_FMT_BAYER_GRBG16BE: AVPixelFormat = 150;
895 pub const AVPixelFormat_AV_PIX_FMT_XVMC: AVPixelFormat = 151;
896 pub const AVPixelFormat_AV_PIX_FMT_YUV440P10LE: AVPixelFormat = 152;
897 pub const AVPixelFormat_AV_PIX_FMT_YUV440P10BE: AVPixelFormat = 153;
898 pub const AVPixelFormat_AV_PIX_FMT_YUV440P12LE: AVPixelFormat = 154;
899 pub const AVPixelFormat_AV_PIX_FMT_YUV440P12BE: AVPixelFormat = 155;
900 pub const AVPixelFormat_AV_PIX_FMT_AYUV64LE: AVPixelFormat = 156;
901 pub const AVPixelFormat_AV_PIX_FMT_AYUV64BE: AVPixelFormat = 157;
902 pub const AVPixelFormat_AV_PIX_FMT_VIDEOTOOLBOX: AVPixelFormat = 158;
903 pub const AVPixelFormat_AV_PIX_FMT_P010LE: AVPixelFormat = 159;
904 pub const AVPixelFormat_AV_PIX_FMT_P010BE: AVPixelFormat = 160;
905 pub const AVPixelFormat_AV_PIX_FMT_GBRAP12BE: AVPixelFormat = 161;
906 pub const AVPixelFormat_AV_PIX_FMT_GBRAP12LE: AVPixelFormat = 162;
907 pub const AVPixelFormat_AV_PIX_FMT_GBRAP10BE: AVPixelFormat = 163;
908 pub const AVPixelFormat_AV_PIX_FMT_GBRAP10LE: AVPixelFormat = 164;
909 pub const AVPixelFormat_AV_PIX_FMT_MEDIACODEC: AVPixelFormat = 165;
910 pub const AVPixelFormat_AV_PIX_FMT_GRAY12BE: AVPixelFormat = 166;
911 pub const AVPixelFormat_AV_PIX_FMT_GRAY12LE: AVPixelFormat = 167;
912 pub const AVPixelFormat_AV_PIX_FMT_GRAY10BE: AVPixelFormat = 168;
913 pub const AVPixelFormat_AV_PIX_FMT_GRAY10LE: AVPixelFormat = 169;
914 pub const AVPixelFormat_AV_PIX_FMT_P016LE: AVPixelFormat = 170;
915 pub const AVPixelFormat_AV_PIX_FMT_P016BE: AVPixelFormat = 171;
916 pub const AVPixelFormat_AV_PIX_FMT_D3D11: AVPixelFormat = 172;
917 pub const AVPixelFormat_AV_PIX_FMT_GRAY9BE: AVPixelFormat = 173;
918 pub const AVPixelFormat_AV_PIX_FMT_GRAY9LE: AVPixelFormat = 174;
919 pub const AVPixelFormat_AV_PIX_FMT_GBRPF32BE: AVPixelFormat = 175;
920 pub const AVPixelFormat_AV_PIX_FMT_GBRPF32LE: AVPixelFormat = 176;
921 pub const AVPixelFormat_AV_PIX_FMT_GBRAPF32BE: AVPixelFormat = 177;
922 pub const AVPixelFormat_AV_PIX_FMT_GBRAPF32LE: AVPixelFormat = 178;
923 pub const AVPixelFormat_AV_PIX_FMT_DRM_PRIME: AVPixelFormat = 179;
924 pub const AVPixelFormat_AV_PIX_FMT_OPENCL: AVPixelFormat = 180;
925 pub const AVPixelFormat_AV_PIX_FMT_GRAY14BE: AVPixelFormat = 181;
926 pub const AVPixelFormat_AV_PIX_FMT_GRAY14LE: AVPixelFormat = 182;
927 pub const AVPixelFormat_AV_PIX_FMT_GRAYF32BE: AVPixelFormat = 183;
928 pub const AVPixelFormat_AV_PIX_FMT_GRAYF32LE: AVPixelFormat = 184;
929 pub const AVPixelFormat_AV_PIX_FMT_YUVA422P12BE: AVPixelFormat = 185;
930 pub const AVPixelFormat_AV_PIX_FMT_YUVA422P12LE: AVPixelFormat = 186;
931 pub const AVPixelFormat_AV_PIX_FMT_YUVA444P12BE: AVPixelFormat = 187;
932 pub const AVPixelFormat_AV_PIX_FMT_YUVA444P12LE: AVPixelFormat = 188;
933 pub const AVPixelFormat_AV_PIX_FMT_NV24: AVPixelFormat = 189;
934 pub const AVPixelFormat_AV_PIX_FMT_NV42: AVPixelFormat = 190;
935 pub const AVPixelFormat_AV_PIX_FMT_VULKAN: AVPixelFormat = 191;
936 pub const AVPixelFormat_AV_PIX_FMT_Y210BE: AVPixelFormat = 192;
937 pub const AVPixelFormat_AV_PIX_FMT_Y210LE: AVPixelFormat = 193;
938 pub const AVPixelFormat_AV_PIX_FMT_X2RGB10LE: AVPixelFormat = 194;
939 pub const AVPixelFormat_AV_PIX_FMT_X2RGB10BE: AVPixelFormat = 195;
940 pub const AVPixelFormat_AV_PIX_FMT_X2BGR10LE: AVPixelFormat = 196;
941 pub const AVPixelFormat_AV_PIX_FMT_X2BGR10BE: AVPixelFormat = 197;
942 pub const AVPixelFormat_AV_PIX_FMT_P210BE: AVPixelFormat = 198;
943 pub const AVPixelFormat_AV_PIX_FMT_P210LE: AVPixelFormat = 199;
944 pub const AVPixelFormat_AV_PIX_FMT_P410BE: AVPixelFormat = 200;
945 pub const AVPixelFormat_AV_PIX_FMT_P410LE: AVPixelFormat = 201;
946 pub const AVPixelFormat_AV_PIX_FMT_P216BE: AVPixelFormat = 202;
947 pub const AVPixelFormat_AV_PIX_FMT_P216LE: AVPixelFormat = 203;
948 pub const AVPixelFormat_AV_PIX_FMT_P416BE: AVPixelFormat = 204;
949 pub const AVPixelFormat_AV_PIX_FMT_P416LE: AVPixelFormat = 205;
950 pub const AVPixelFormat_AV_PIX_FMT_NB: AVPixelFormat = 206;
951 pub type AVPixelFormat = ::std::os::raw::c_int;
952 pub const AVColorPrimaries_AVCOL_PRI_RESERVED0: AVColorPrimaries = 0;
953 pub const AVColorPrimaries_AVCOL_PRI_BT709: AVColorPrimaries = 1;
954 pub const AVColorPrimaries_AVCOL_PRI_UNSPECIFIED: AVColorPrimaries = 2;
955 pub const AVColorPrimaries_AVCOL_PRI_RESERVED: AVColorPrimaries = 3;
956 pub const AVColorPrimaries_AVCOL_PRI_BT470M: AVColorPrimaries = 4;
957 pub const AVColorPrimaries_AVCOL_PRI_BT470BG: AVColorPrimaries = 5;
958 pub const AVColorPrimaries_AVCOL_PRI_SMPTE170M: AVColorPrimaries = 6;
959 pub const AVColorPrimaries_AVCOL_PRI_SMPTE240M: AVColorPrimaries = 7;
960 pub const AVColorPrimaries_AVCOL_PRI_FILM: AVColorPrimaries = 8;
961 pub const AVColorPrimaries_AVCOL_PRI_BT2020: AVColorPrimaries = 9;
962 pub const AVColorPrimaries_AVCOL_PRI_SMPTE428: AVColorPrimaries = 10;
963 pub const AVColorPrimaries_AVCOL_PRI_SMPTEST428_1: AVColorPrimaries = 10;
964 pub const AVColorPrimaries_AVCOL_PRI_SMPTE431: AVColorPrimaries = 11;
965 pub const AVColorPrimaries_AVCOL_PRI_SMPTE432: AVColorPrimaries = 12;
966 pub const AVColorPrimaries_AVCOL_PRI_EBU3213: AVColorPrimaries = 22;
967 pub const AVColorPrimaries_AVCOL_PRI_JEDEC_P22: AVColorPrimaries = 22;
968 pub const AVColorPrimaries_AVCOL_PRI_NB: AVColorPrimaries = 23;
969 pub type AVColorPrimaries = ::std::os::raw::c_uint;
970 pub const AVColorTransferCharacteristic_AVCOL_TRC_RESERVED0: AVColorTransferCharacteristic = 0;
971 pub const AVColorTransferCharacteristic_AVCOL_TRC_BT709: AVColorTransferCharacteristic = 1;
972 pub const AVColorTransferCharacteristic_AVCOL_TRC_UNSPECIFIED: AVColorTransferCharacteristic = 2;
973 pub const AVColorTransferCharacteristic_AVCOL_TRC_RESERVED: AVColorTransferCharacteristic = 3;
974 pub const AVColorTransferCharacteristic_AVCOL_TRC_GAMMA22: AVColorTransferCharacteristic = 4;
975 pub const AVColorTransferCharacteristic_AVCOL_TRC_GAMMA28: AVColorTransferCharacteristic = 5;
976 pub const AVColorTransferCharacteristic_AVCOL_TRC_SMPTE170M: AVColorTransferCharacteristic = 6;
977 pub const AVColorTransferCharacteristic_AVCOL_TRC_SMPTE240M: AVColorTransferCharacteristic = 7;
978 pub const AVColorTransferCharacteristic_AVCOL_TRC_LINEAR: AVColorTransferCharacteristic = 8;
979 pub const AVColorTransferCharacteristic_AVCOL_TRC_LOG: AVColorTransferCharacteristic = 9;
980 pub const AVColorTransferCharacteristic_AVCOL_TRC_LOG_SQRT: AVColorTransferCharacteristic = 10;
981 pub const AVColorTransferCharacteristic_AVCOL_TRC_IEC61966_2_4: AVColorTransferCharacteristic = 11;
982 pub const AVColorTransferCharacteristic_AVCOL_TRC_BT1361_ECG: AVColorTransferCharacteristic = 12;
983 pub const AVColorTransferCharacteristic_AVCOL_TRC_IEC61966_2_1: AVColorTransferCharacteristic = 13;
984 pub const AVColorTransferCharacteristic_AVCOL_TRC_BT2020_10: AVColorTransferCharacteristic = 14;
985 pub const AVColorTransferCharacteristic_AVCOL_TRC_BT2020_12: AVColorTransferCharacteristic = 15;
986 pub const AVColorTransferCharacteristic_AVCOL_TRC_SMPTE2084: AVColorTransferCharacteristic = 16;
987 pub const AVColorTransferCharacteristic_AVCOL_TRC_SMPTEST2084: AVColorTransferCharacteristic = 16;
988 pub const AVColorTransferCharacteristic_AVCOL_TRC_SMPTE428: AVColorTransferCharacteristic = 17;
989 pub const AVColorTransferCharacteristic_AVCOL_TRC_SMPTEST428_1: AVColorTransferCharacteristic = 17;
990 pub const AVColorTransferCharacteristic_AVCOL_TRC_ARIB_STD_B67: AVColorTransferCharacteristic = 18;
991 pub const AVColorTransferCharacteristic_AVCOL_TRC_NB: AVColorTransferCharacteristic = 19;
992 pub type AVColorTransferCharacteristic = ::std::os::raw::c_uint;
993 pub const AVColorSpace_AVCOL_SPC_RGB: AVColorSpace = 0;
994 pub const AVColorSpace_AVCOL_SPC_BT709: AVColorSpace = 1;
995 pub const AVColorSpace_AVCOL_SPC_UNSPECIFIED: AVColorSpace = 2;
996 pub const AVColorSpace_AVCOL_SPC_RESERVED: AVColorSpace = 3;
997 pub const AVColorSpace_AVCOL_SPC_FCC: AVColorSpace = 4;
998 pub const AVColorSpace_AVCOL_SPC_BT470BG: AVColorSpace = 5;
999 pub const AVColorSpace_AVCOL_SPC_SMPTE170M: AVColorSpace = 6;
1000 pub const AVColorSpace_AVCOL_SPC_SMPTE240M: AVColorSpace = 7;
1001 pub const AVColorSpace_AVCOL_SPC_YCGCO: AVColorSpace = 8;
1002 pub const AVColorSpace_AVCOL_SPC_YCOCG: AVColorSpace = 8;
1003 pub const AVColorSpace_AVCOL_SPC_BT2020_NCL: AVColorSpace = 9;
1004 pub const AVColorSpace_AVCOL_SPC_BT2020_CL: AVColorSpace = 10;
1005 pub const AVColorSpace_AVCOL_SPC_SMPTE2085: AVColorSpace = 11;
1006 pub const AVColorSpace_AVCOL_SPC_CHROMA_DERIVED_NCL: AVColorSpace = 12;
1007 pub const AVColorSpace_AVCOL_SPC_CHROMA_DERIVED_CL: AVColorSpace = 13;
1008 pub const AVColorSpace_AVCOL_SPC_ICTCP: AVColorSpace = 14;
1009 pub const AVColorSpace_AVCOL_SPC_NB: AVColorSpace = 15;
1010 pub type AVColorSpace = ::std::os::raw::c_uint;
1011 pub const AVColorRange_AVCOL_RANGE_UNSPECIFIED: AVColorRange = 0;
1012 pub const AVColorRange_AVCOL_RANGE_MPEG: AVColorRange = 1;
1013 pub const AVColorRange_AVCOL_RANGE_JPEG: AVColorRange = 2;
1014 pub const AVColorRange_AVCOL_RANGE_NB: AVColorRange = 3;
1015 pub type AVColorRange = ::std::os::raw::c_uint;
1016 pub const AVChromaLocation_AVCHROMA_LOC_UNSPECIFIED: AVChromaLocation = 0;
1017 pub const AVChromaLocation_AVCHROMA_LOC_LEFT: AVChromaLocation = 1;
1018 pub const AVChromaLocation_AVCHROMA_LOC_CENTER: AVChromaLocation = 2;
1019 pub const AVChromaLocation_AVCHROMA_LOC_TOPLEFT: AVChromaLocation = 3;
1020 pub const AVChromaLocation_AVCHROMA_LOC_TOP: AVChromaLocation = 4;
1021 pub const AVChromaLocation_AVCHROMA_LOC_BOTTOMLEFT: AVChromaLocation = 5;
1022 pub const AVChromaLocation_AVCHROMA_LOC_BOTTOM: AVChromaLocation = 6;
1023 pub const AVChromaLocation_AVCHROMA_LOC_NB: AVChromaLocation = 7;
1024 pub type AVChromaLocation = ::std::os::raw::c_uint;
1025 extern "C" {
av_int_list_length_for_size( elsize: ::std::os::raw::c_uint, list: *const ::std::os::raw::c_void, term: u64, ) -> ::std::os::raw::c_uint1026     pub fn av_int_list_length_for_size(
1027         elsize: ::std::os::raw::c_uint,
1028         list: *const ::std::os::raw::c_void,
1029         term: u64,
1030     ) -> ::std::os::raw::c_uint;
1031 }
1032 extern "C" {
av_fopen_utf8( path: *const ::std::os::raw::c_char, mode: *const ::std::os::raw::c_char, ) -> *mut FILE1033     pub fn av_fopen_utf8(
1034         path: *const ::std::os::raw::c_char,
1035         mode: *const ::std::os::raw::c_char,
1036     ) -> *mut FILE;
1037 }
1038 extern "C" {
av_get_time_base_q() -> AVRational1039     pub fn av_get_time_base_q() -> AVRational;
1040 }
1041 extern "C" {
av_fourcc_make_string( buf: *mut ::std::os::raw::c_char, fourcc: u32, ) -> *mut ::std::os::raw::c_char1042     pub fn av_fourcc_make_string(
1043         buf: *mut ::std::os::raw::c_char,
1044         fourcc: u32,
1045     ) -> *mut ::std::os::raw::c_char;
1046 }
1047 pub const AVSampleFormat_AV_SAMPLE_FMT_NONE: AVSampleFormat = -1;
1048 pub const AVSampleFormat_AV_SAMPLE_FMT_U8: AVSampleFormat = 0;
1049 pub const AVSampleFormat_AV_SAMPLE_FMT_S16: AVSampleFormat = 1;
1050 pub const AVSampleFormat_AV_SAMPLE_FMT_S32: AVSampleFormat = 2;
1051 pub const AVSampleFormat_AV_SAMPLE_FMT_FLT: AVSampleFormat = 3;
1052 pub const AVSampleFormat_AV_SAMPLE_FMT_DBL: AVSampleFormat = 4;
1053 pub const AVSampleFormat_AV_SAMPLE_FMT_U8P: AVSampleFormat = 5;
1054 pub const AVSampleFormat_AV_SAMPLE_FMT_S16P: AVSampleFormat = 6;
1055 pub const AVSampleFormat_AV_SAMPLE_FMT_S32P: AVSampleFormat = 7;
1056 pub const AVSampleFormat_AV_SAMPLE_FMT_FLTP: AVSampleFormat = 8;
1057 pub const AVSampleFormat_AV_SAMPLE_FMT_DBLP: AVSampleFormat = 9;
1058 pub const AVSampleFormat_AV_SAMPLE_FMT_S64: AVSampleFormat = 10;
1059 pub const AVSampleFormat_AV_SAMPLE_FMT_S64P: AVSampleFormat = 11;
1060 pub const AVSampleFormat_AV_SAMPLE_FMT_NB: AVSampleFormat = 12;
1061 pub type AVSampleFormat = ::std::os::raw::c_int;
1062 extern "C" {
av_get_sample_fmt_name(sample_fmt: AVSampleFormat) -> *const ::std::os::raw::c_char1063     pub fn av_get_sample_fmt_name(sample_fmt: AVSampleFormat) -> *const ::std::os::raw::c_char;
1064 }
1065 extern "C" {
av_get_sample_fmt(name: *const ::std::os::raw::c_char) -> AVSampleFormat1066     pub fn av_get_sample_fmt(name: *const ::std::os::raw::c_char) -> AVSampleFormat;
1067 }
1068 extern "C" {
av_get_alt_sample_fmt( sample_fmt: AVSampleFormat, planar: ::std::os::raw::c_int, ) -> AVSampleFormat1069     pub fn av_get_alt_sample_fmt(
1070         sample_fmt: AVSampleFormat,
1071         planar: ::std::os::raw::c_int,
1072     ) -> AVSampleFormat;
1073 }
1074 extern "C" {
av_get_packed_sample_fmt(sample_fmt: AVSampleFormat) -> AVSampleFormat1075     pub fn av_get_packed_sample_fmt(sample_fmt: AVSampleFormat) -> AVSampleFormat;
1076 }
1077 extern "C" {
av_get_planar_sample_fmt(sample_fmt: AVSampleFormat) -> AVSampleFormat1078     pub fn av_get_planar_sample_fmt(sample_fmt: AVSampleFormat) -> AVSampleFormat;
1079 }
1080 extern "C" {
av_get_sample_fmt_string( buf: *mut ::std::os::raw::c_char, buf_size: ::std::os::raw::c_int, sample_fmt: AVSampleFormat, ) -> *mut ::std::os::raw::c_char1081     pub fn av_get_sample_fmt_string(
1082         buf: *mut ::std::os::raw::c_char,
1083         buf_size: ::std::os::raw::c_int,
1084         sample_fmt: AVSampleFormat,
1085     ) -> *mut ::std::os::raw::c_char;
1086 }
1087 extern "C" {
av_get_bytes_per_sample(sample_fmt: AVSampleFormat) -> ::std::os::raw::c_int1088     pub fn av_get_bytes_per_sample(sample_fmt: AVSampleFormat) -> ::std::os::raw::c_int;
1089 }
1090 extern "C" {
av_sample_fmt_is_planar(sample_fmt: AVSampleFormat) -> ::std::os::raw::c_int1091     pub fn av_sample_fmt_is_planar(sample_fmt: AVSampleFormat) -> ::std::os::raw::c_int;
1092 }
1093 extern "C" {
av_samples_get_buffer_size( linesize: *mut ::std::os::raw::c_int, nb_channels: ::std::os::raw::c_int, nb_samples: ::std::os::raw::c_int, sample_fmt: AVSampleFormat, align: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1094     pub fn av_samples_get_buffer_size(
1095         linesize: *mut ::std::os::raw::c_int,
1096         nb_channels: ::std::os::raw::c_int,
1097         nb_samples: ::std::os::raw::c_int,
1098         sample_fmt: AVSampleFormat,
1099         align: ::std::os::raw::c_int,
1100     ) -> ::std::os::raw::c_int;
1101 }
1102 extern "C" {
av_samples_fill_arrays( audio_data: *mut *mut u8, linesize: *mut ::std::os::raw::c_int, buf: *const u8, nb_channels: ::std::os::raw::c_int, nb_samples: ::std::os::raw::c_int, sample_fmt: AVSampleFormat, align: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1103     pub fn av_samples_fill_arrays(
1104         audio_data: *mut *mut u8,
1105         linesize: *mut ::std::os::raw::c_int,
1106         buf: *const u8,
1107         nb_channels: ::std::os::raw::c_int,
1108         nb_samples: ::std::os::raw::c_int,
1109         sample_fmt: AVSampleFormat,
1110         align: ::std::os::raw::c_int,
1111     ) -> ::std::os::raw::c_int;
1112 }
1113 extern "C" {
av_samples_alloc( audio_data: *mut *mut u8, linesize: *mut ::std::os::raw::c_int, nb_channels: ::std::os::raw::c_int, nb_samples: ::std::os::raw::c_int, sample_fmt: AVSampleFormat, align: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1114     pub fn av_samples_alloc(
1115         audio_data: *mut *mut u8,
1116         linesize: *mut ::std::os::raw::c_int,
1117         nb_channels: ::std::os::raw::c_int,
1118         nb_samples: ::std::os::raw::c_int,
1119         sample_fmt: AVSampleFormat,
1120         align: ::std::os::raw::c_int,
1121     ) -> ::std::os::raw::c_int;
1122 }
1123 extern "C" {
av_samples_alloc_array_and_samples( audio_data: *mut *mut *mut u8, linesize: *mut ::std::os::raw::c_int, nb_channels: ::std::os::raw::c_int, nb_samples: ::std::os::raw::c_int, sample_fmt: AVSampleFormat, align: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1124     pub fn av_samples_alloc_array_and_samples(
1125         audio_data: *mut *mut *mut u8,
1126         linesize: *mut ::std::os::raw::c_int,
1127         nb_channels: ::std::os::raw::c_int,
1128         nb_samples: ::std::os::raw::c_int,
1129         sample_fmt: AVSampleFormat,
1130         align: ::std::os::raw::c_int,
1131     ) -> ::std::os::raw::c_int;
1132 }
1133 extern "C" {
av_samples_copy( dst: *mut *mut u8, src: *const *mut u8, dst_offset: ::std::os::raw::c_int, src_offset: ::std::os::raw::c_int, nb_samples: ::std::os::raw::c_int, nb_channels: ::std::os::raw::c_int, sample_fmt: AVSampleFormat, ) -> ::std::os::raw::c_int1134     pub fn av_samples_copy(
1135         dst: *mut *mut u8,
1136         src: *const *mut u8,
1137         dst_offset: ::std::os::raw::c_int,
1138         src_offset: ::std::os::raw::c_int,
1139         nb_samples: ::std::os::raw::c_int,
1140         nb_channels: ::std::os::raw::c_int,
1141         sample_fmt: AVSampleFormat,
1142     ) -> ::std::os::raw::c_int;
1143 }
1144 extern "C" {
av_samples_set_silence( audio_data: *mut *mut u8, offset: ::std::os::raw::c_int, nb_samples: ::std::os::raw::c_int, nb_channels: ::std::os::raw::c_int, sample_fmt: AVSampleFormat, ) -> ::std::os::raw::c_int1145     pub fn av_samples_set_silence(
1146         audio_data: *mut *mut u8,
1147         offset: ::std::os::raw::c_int,
1148         nb_samples: ::std::os::raw::c_int,
1149         nb_channels: ::std::os::raw::c_int,
1150         sample_fmt: AVSampleFormat,
1151     ) -> ::std::os::raw::c_int;
1152 }
1153 #[repr(C)]
1154 #[derive(Debug, Copy, Clone)]
1155 pub struct AVBuffer {
1156     _unused: [u8; 0],
1157 }
1158 #[repr(C)]
1159 #[derive(Debug, Copy, Clone)]
1160 pub struct AVBufferRef {
1161     pub buffer: *mut AVBuffer,
1162     pub data: *mut u8,
1163     pub size: usize,
1164 }
1165 impl Default for AVBufferRef {
default() -> Self1166     fn default() -> Self {
1167         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
1168         unsafe {
1169             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
1170             s.assume_init()
1171         }
1172     }
1173 }
1174 extern "C" {
av_buffer_alloc(size: usize) -> *mut AVBufferRef1175     pub fn av_buffer_alloc(size: usize) -> *mut AVBufferRef;
1176 }
1177 extern "C" {
av_buffer_allocz(size: usize) -> *mut AVBufferRef1178     pub fn av_buffer_allocz(size: usize) -> *mut AVBufferRef;
1179 }
1180 extern "C" {
av_buffer_create( data: *mut u8, size: usize, free: ::std::option::Option< unsafe extern "C" fn(opaque: *mut ::std::os::raw::c_void, data: *mut u8), >, opaque: *mut ::std::os::raw::c_void, flags: ::std::os::raw::c_int, ) -> *mut AVBufferRef1181     pub fn av_buffer_create(
1182         data: *mut u8,
1183         size: usize,
1184         free: ::std::option::Option<
1185             unsafe extern "C" fn(opaque: *mut ::std::os::raw::c_void, data: *mut u8),
1186         >,
1187         opaque: *mut ::std::os::raw::c_void,
1188         flags: ::std::os::raw::c_int,
1189     ) -> *mut AVBufferRef;
1190 }
1191 extern "C" {
av_buffer_default_free(opaque: *mut ::std::os::raw::c_void, data: *mut u8)1192     pub fn av_buffer_default_free(opaque: *mut ::std::os::raw::c_void, data: *mut u8);
1193 }
1194 extern "C" {
av_buffer_ref(buf: *const AVBufferRef) -> *mut AVBufferRef1195     pub fn av_buffer_ref(buf: *const AVBufferRef) -> *mut AVBufferRef;
1196 }
1197 extern "C" {
av_buffer_unref(buf: *mut *mut AVBufferRef)1198     pub fn av_buffer_unref(buf: *mut *mut AVBufferRef);
1199 }
1200 extern "C" {
av_buffer_is_writable(buf: *const AVBufferRef) -> ::std::os::raw::c_int1201     pub fn av_buffer_is_writable(buf: *const AVBufferRef) -> ::std::os::raw::c_int;
1202 }
1203 extern "C" {
av_buffer_get_opaque(buf: *const AVBufferRef) -> *mut ::std::os::raw::c_void1204     pub fn av_buffer_get_opaque(buf: *const AVBufferRef) -> *mut ::std::os::raw::c_void;
1205 }
1206 extern "C" {
av_buffer_get_ref_count(buf: *const AVBufferRef) -> ::std::os::raw::c_int1207     pub fn av_buffer_get_ref_count(buf: *const AVBufferRef) -> ::std::os::raw::c_int;
1208 }
1209 extern "C" {
av_buffer_make_writable(buf: *mut *mut AVBufferRef) -> ::std::os::raw::c_int1210     pub fn av_buffer_make_writable(buf: *mut *mut AVBufferRef) -> ::std::os::raw::c_int;
1211 }
1212 extern "C" {
av_buffer_realloc(buf: *mut *mut AVBufferRef, size: usize) -> ::std::os::raw::c_int1213     pub fn av_buffer_realloc(buf: *mut *mut AVBufferRef, size: usize) -> ::std::os::raw::c_int;
1214 }
1215 extern "C" {
av_buffer_replace( dst: *mut *mut AVBufferRef, src: *const AVBufferRef, ) -> ::std::os::raw::c_int1216     pub fn av_buffer_replace(
1217         dst: *mut *mut AVBufferRef,
1218         src: *const AVBufferRef,
1219     ) -> ::std::os::raw::c_int;
1220 }
1221 #[repr(C)]
1222 #[derive(Debug, Copy, Clone)]
1223 pub struct AVBufferPool {
1224     _unused: [u8; 0],
1225 }
1226 extern "C" {
av_buffer_pool_init( size: usize, alloc: ::std::option::Option<unsafe extern "C" fn(size: usize) -> *mut AVBufferRef>, ) -> *mut AVBufferPool1227     pub fn av_buffer_pool_init(
1228         size: usize,
1229         alloc: ::std::option::Option<unsafe extern "C" fn(size: usize) -> *mut AVBufferRef>,
1230     ) -> *mut AVBufferPool;
1231 }
1232 extern "C" {
av_buffer_pool_init2( size: usize, opaque: *mut ::std::os::raw::c_void, alloc: ::std::option::Option< unsafe extern "C" fn( opaque: *mut ::std::os::raw::c_void, size: usize, ) -> *mut AVBufferRef, >, pool_free: ::std::option::Option<unsafe extern "C" fn(opaque: *mut ::std::os::raw::c_void)>, ) -> *mut AVBufferPool1233     pub fn av_buffer_pool_init2(
1234         size: usize,
1235         opaque: *mut ::std::os::raw::c_void,
1236         alloc: ::std::option::Option<
1237             unsafe extern "C" fn(
1238                 opaque: *mut ::std::os::raw::c_void,
1239                 size: usize,
1240             ) -> *mut AVBufferRef,
1241         >,
1242         pool_free: ::std::option::Option<unsafe extern "C" fn(opaque: *mut ::std::os::raw::c_void)>,
1243     ) -> *mut AVBufferPool;
1244 }
1245 extern "C" {
av_buffer_pool_uninit(pool: *mut *mut AVBufferPool)1246     pub fn av_buffer_pool_uninit(pool: *mut *mut AVBufferPool);
1247 }
1248 extern "C" {
av_buffer_pool_get(pool: *mut AVBufferPool) -> *mut AVBufferRef1249     pub fn av_buffer_pool_get(pool: *mut AVBufferPool) -> *mut AVBufferRef;
1250 }
1251 extern "C" {
av_buffer_pool_buffer_get_opaque( ref_: *const AVBufferRef, ) -> *mut ::std::os::raw::c_void1252     pub fn av_buffer_pool_buffer_get_opaque(
1253         ref_: *const AVBufferRef,
1254     ) -> *mut ::std::os::raw::c_void;
1255 }
1256 #[repr(C)]
1257 #[derive(Debug, Copy, Clone)]
1258 pub struct AVDictionaryEntry {
1259     pub key: *mut ::std::os::raw::c_char,
1260     pub value: *mut ::std::os::raw::c_char,
1261 }
1262 impl Default for AVDictionaryEntry {
default() -> Self1263     fn default() -> Self {
1264         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
1265         unsafe {
1266             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
1267             s.assume_init()
1268         }
1269     }
1270 }
1271 #[repr(C)]
1272 #[derive(Debug, Copy, Clone)]
1273 pub struct AVDictionary {
1274     _unused: [u8; 0],
1275 }
1276 extern "C" {
av_dict_get( m: *const AVDictionary, key: *const ::std::os::raw::c_char, prev: *const AVDictionaryEntry, flags: ::std::os::raw::c_int, ) -> *mut AVDictionaryEntry1277     pub fn av_dict_get(
1278         m: *const AVDictionary,
1279         key: *const ::std::os::raw::c_char,
1280         prev: *const AVDictionaryEntry,
1281         flags: ::std::os::raw::c_int,
1282     ) -> *mut AVDictionaryEntry;
1283 }
1284 extern "C" {
av_dict_count(m: *const AVDictionary) -> ::std::os::raw::c_int1285     pub fn av_dict_count(m: *const AVDictionary) -> ::std::os::raw::c_int;
1286 }
1287 extern "C" {
av_dict_set( pm: *mut *mut AVDictionary, key: *const ::std::os::raw::c_char, value: *const ::std::os::raw::c_char, flags: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1288     pub fn av_dict_set(
1289         pm: *mut *mut AVDictionary,
1290         key: *const ::std::os::raw::c_char,
1291         value: *const ::std::os::raw::c_char,
1292         flags: ::std::os::raw::c_int,
1293     ) -> ::std::os::raw::c_int;
1294 }
1295 extern "C" {
av_dict_set_int( pm: *mut *mut AVDictionary, key: *const ::std::os::raw::c_char, value: i64, flags: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1296     pub fn av_dict_set_int(
1297         pm: *mut *mut AVDictionary,
1298         key: *const ::std::os::raw::c_char,
1299         value: i64,
1300         flags: ::std::os::raw::c_int,
1301     ) -> ::std::os::raw::c_int;
1302 }
1303 extern "C" {
av_dict_parse_string( pm: *mut *mut AVDictionary, str_: *const ::std::os::raw::c_char, key_val_sep: *const ::std::os::raw::c_char, pairs_sep: *const ::std::os::raw::c_char, flags: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1304     pub fn av_dict_parse_string(
1305         pm: *mut *mut AVDictionary,
1306         str_: *const ::std::os::raw::c_char,
1307         key_val_sep: *const ::std::os::raw::c_char,
1308         pairs_sep: *const ::std::os::raw::c_char,
1309         flags: ::std::os::raw::c_int,
1310     ) -> ::std::os::raw::c_int;
1311 }
1312 extern "C" {
av_dict_copy( dst: *mut *mut AVDictionary, src: *const AVDictionary, flags: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1313     pub fn av_dict_copy(
1314         dst: *mut *mut AVDictionary,
1315         src: *const AVDictionary,
1316         flags: ::std::os::raw::c_int,
1317     ) -> ::std::os::raw::c_int;
1318 }
1319 extern "C" {
av_dict_free(m: *mut *mut AVDictionary)1320     pub fn av_dict_free(m: *mut *mut AVDictionary);
1321 }
1322 extern "C" {
av_dict_get_string( m: *const AVDictionary, buffer: *mut *mut ::std::os::raw::c_char, key_val_sep: ::std::os::raw::c_char, pairs_sep: ::std::os::raw::c_char, ) -> ::std::os::raw::c_int1323     pub fn av_dict_get_string(
1324         m: *const AVDictionary,
1325         buffer: *mut *mut ::std::os::raw::c_char,
1326         key_val_sep: ::std::os::raw::c_char,
1327         pairs_sep: ::std::os::raw::c_char,
1328     ) -> ::std::os::raw::c_int;
1329 }
1330 pub const AVFrameSideDataType_AV_FRAME_DATA_PANSCAN: AVFrameSideDataType = 0;
1331 pub const AVFrameSideDataType_AV_FRAME_DATA_A53_CC: AVFrameSideDataType = 1;
1332 pub const AVFrameSideDataType_AV_FRAME_DATA_STEREO3D: AVFrameSideDataType = 2;
1333 pub const AVFrameSideDataType_AV_FRAME_DATA_MATRIXENCODING: AVFrameSideDataType = 3;
1334 pub const AVFrameSideDataType_AV_FRAME_DATA_DOWNMIX_INFO: AVFrameSideDataType = 4;
1335 pub const AVFrameSideDataType_AV_FRAME_DATA_REPLAYGAIN: AVFrameSideDataType = 5;
1336 pub const AVFrameSideDataType_AV_FRAME_DATA_DISPLAYMATRIX: AVFrameSideDataType = 6;
1337 pub const AVFrameSideDataType_AV_FRAME_DATA_AFD: AVFrameSideDataType = 7;
1338 pub const AVFrameSideDataType_AV_FRAME_DATA_MOTION_VECTORS: AVFrameSideDataType = 8;
1339 pub const AVFrameSideDataType_AV_FRAME_DATA_SKIP_SAMPLES: AVFrameSideDataType = 9;
1340 pub const AVFrameSideDataType_AV_FRAME_DATA_AUDIO_SERVICE_TYPE: AVFrameSideDataType = 10;
1341 pub const AVFrameSideDataType_AV_FRAME_DATA_MASTERING_DISPLAY_METADATA: AVFrameSideDataType = 11;
1342 pub const AVFrameSideDataType_AV_FRAME_DATA_GOP_TIMECODE: AVFrameSideDataType = 12;
1343 pub const AVFrameSideDataType_AV_FRAME_DATA_SPHERICAL: AVFrameSideDataType = 13;
1344 pub const AVFrameSideDataType_AV_FRAME_DATA_CONTENT_LIGHT_LEVEL: AVFrameSideDataType = 14;
1345 pub const AVFrameSideDataType_AV_FRAME_DATA_ICC_PROFILE: AVFrameSideDataType = 15;
1346 pub const AVFrameSideDataType_AV_FRAME_DATA_S12M_TIMECODE: AVFrameSideDataType = 16;
1347 pub const AVFrameSideDataType_AV_FRAME_DATA_DYNAMIC_HDR_PLUS: AVFrameSideDataType = 17;
1348 pub const AVFrameSideDataType_AV_FRAME_DATA_REGIONS_OF_INTEREST: AVFrameSideDataType = 18;
1349 pub const AVFrameSideDataType_AV_FRAME_DATA_VIDEO_ENC_PARAMS: AVFrameSideDataType = 19;
1350 pub const AVFrameSideDataType_AV_FRAME_DATA_SEI_UNREGISTERED: AVFrameSideDataType = 20;
1351 pub const AVFrameSideDataType_AV_FRAME_DATA_FILM_GRAIN_PARAMS: AVFrameSideDataType = 21;
1352 pub const AVFrameSideDataType_AV_FRAME_DATA_DETECTION_BBOXES: AVFrameSideDataType = 22;
1353 pub const AVFrameSideDataType_AV_FRAME_DATA_DOVI_RPU_BUFFER: AVFrameSideDataType = 23;
1354 pub const AVFrameSideDataType_AV_FRAME_DATA_DOVI_METADATA: AVFrameSideDataType = 24;
1355 pub type AVFrameSideDataType = ::std::os::raw::c_uint;
1356 #[repr(C)]
1357 #[derive(Debug, Copy, Clone)]
1358 pub struct AVFrameSideData {
1359     pub type_: AVFrameSideDataType,
1360     pub data: *mut u8,
1361     pub size: usize,
1362     pub metadata: *mut AVDictionary,
1363     pub buf: *mut AVBufferRef,
1364 }
1365 impl Default for AVFrameSideData {
default() -> Self1366     fn default() -> Self {
1367         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
1368         unsafe {
1369             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
1370             s.assume_init()
1371         }
1372     }
1373 }
1374 #[repr(C)]
1375 #[derive(Debug, Copy, Clone)]
1376 pub struct AVFrame {
1377     pub data: [*mut u8; 8usize],
1378     pub linesize: [::std::os::raw::c_int; 8usize],
1379     pub extended_data: *mut *mut u8,
1380     pub width: ::std::os::raw::c_int,
1381     pub height: ::std::os::raw::c_int,
1382     pub nb_samples: ::std::os::raw::c_int,
1383     pub format: ::std::os::raw::c_int,
1384     pub key_frame: ::std::os::raw::c_int,
1385     pub pict_type: AVPictureType,
1386     pub sample_aspect_ratio: AVRational,
1387     pub pts: i64,
1388     pub pkt_dts: i64,
1389     pub time_base: AVRational,
1390     pub coded_picture_number: ::std::os::raw::c_int,
1391     pub display_picture_number: ::std::os::raw::c_int,
1392     pub quality: ::std::os::raw::c_int,
1393     pub opaque: *mut ::std::os::raw::c_void,
1394     pub repeat_pict: ::std::os::raw::c_int,
1395     pub interlaced_frame: ::std::os::raw::c_int,
1396     pub top_field_first: ::std::os::raw::c_int,
1397     pub palette_has_changed: ::std::os::raw::c_int,
1398     pub reordered_opaque: i64,
1399     pub sample_rate: ::std::os::raw::c_int,
1400     pub channel_layout: u64,
1401     pub buf: [*mut AVBufferRef; 8usize],
1402     pub extended_buf: *mut *mut AVBufferRef,
1403     pub nb_extended_buf: ::std::os::raw::c_int,
1404     pub side_data: *mut *mut AVFrameSideData,
1405     pub nb_side_data: ::std::os::raw::c_int,
1406     pub flags: ::std::os::raw::c_int,
1407     pub color_range: AVColorRange,
1408     pub color_primaries: AVColorPrimaries,
1409     pub color_trc: AVColorTransferCharacteristic,
1410     pub colorspace: AVColorSpace,
1411     pub chroma_location: AVChromaLocation,
1412     pub best_effort_timestamp: i64,
1413     pub pkt_pos: i64,
1414     pub pkt_duration: i64,
1415     pub metadata: *mut AVDictionary,
1416     pub decode_error_flags: ::std::os::raw::c_int,
1417     pub channels: ::std::os::raw::c_int,
1418     pub pkt_size: ::std::os::raw::c_int,
1419     pub hw_frames_ctx: *mut AVBufferRef,
1420     pub opaque_ref: *mut AVBufferRef,
1421     pub crop_top: usize,
1422     pub crop_bottom: usize,
1423     pub crop_left: usize,
1424     pub crop_right: usize,
1425     pub private_ref: *mut AVBufferRef,
1426 }
1427 impl Default for AVFrame {
default() -> Self1428     fn default() -> Self {
1429         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
1430         unsafe {
1431             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
1432             s.assume_init()
1433         }
1434     }
1435 }
1436 extern "C" {
av_get_colorspace_name(val: AVColorSpace) -> *const ::std::os::raw::c_char1437     pub fn av_get_colorspace_name(val: AVColorSpace) -> *const ::std::os::raw::c_char;
1438 }
1439 extern "C" {
av_frame_alloc() -> *mut AVFrame1440     pub fn av_frame_alloc() -> *mut AVFrame;
1441 }
1442 extern "C" {
av_frame_free(frame: *mut *mut AVFrame)1443     pub fn av_frame_free(frame: *mut *mut AVFrame);
1444 }
1445 extern "C" {
av_frame_ref(dst: *mut AVFrame, src: *const AVFrame) -> ::std::os::raw::c_int1446     pub fn av_frame_ref(dst: *mut AVFrame, src: *const AVFrame) -> ::std::os::raw::c_int;
1447 }
1448 extern "C" {
av_frame_clone(src: *const AVFrame) -> *mut AVFrame1449     pub fn av_frame_clone(src: *const AVFrame) -> *mut AVFrame;
1450 }
1451 extern "C" {
av_frame_unref(frame: *mut AVFrame)1452     pub fn av_frame_unref(frame: *mut AVFrame);
1453 }
1454 extern "C" {
av_frame_move_ref(dst: *mut AVFrame, src: *mut AVFrame)1455     pub fn av_frame_move_ref(dst: *mut AVFrame, src: *mut AVFrame);
1456 }
1457 extern "C" {
av_frame_get_buffer( frame: *mut AVFrame, align: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1458     pub fn av_frame_get_buffer(
1459         frame: *mut AVFrame,
1460         align: ::std::os::raw::c_int,
1461     ) -> ::std::os::raw::c_int;
1462 }
1463 extern "C" {
av_frame_is_writable(frame: *mut AVFrame) -> ::std::os::raw::c_int1464     pub fn av_frame_is_writable(frame: *mut AVFrame) -> ::std::os::raw::c_int;
1465 }
1466 extern "C" {
av_frame_make_writable(frame: *mut AVFrame) -> ::std::os::raw::c_int1467     pub fn av_frame_make_writable(frame: *mut AVFrame) -> ::std::os::raw::c_int;
1468 }
1469 extern "C" {
av_frame_copy(dst: *mut AVFrame, src: *const AVFrame) -> ::std::os::raw::c_int1470     pub fn av_frame_copy(dst: *mut AVFrame, src: *const AVFrame) -> ::std::os::raw::c_int;
1471 }
1472 extern "C" {
av_frame_copy_props(dst: *mut AVFrame, src: *const AVFrame) -> ::std::os::raw::c_int1473     pub fn av_frame_copy_props(dst: *mut AVFrame, src: *const AVFrame) -> ::std::os::raw::c_int;
1474 }
1475 extern "C" {
av_frame_get_plane_buffer( frame: *mut AVFrame, plane: ::std::os::raw::c_int, ) -> *mut AVBufferRef1476     pub fn av_frame_get_plane_buffer(
1477         frame: *mut AVFrame,
1478         plane: ::std::os::raw::c_int,
1479     ) -> *mut AVBufferRef;
1480 }
1481 extern "C" {
av_frame_new_side_data( frame: *mut AVFrame, type_: AVFrameSideDataType, size: usize, ) -> *mut AVFrameSideData1482     pub fn av_frame_new_side_data(
1483         frame: *mut AVFrame,
1484         type_: AVFrameSideDataType,
1485         size: usize,
1486     ) -> *mut AVFrameSideData;
1487 }
1488 extern "C" {
av_frame_new_side_data_from_buf( frame: *mut AVFrame, type_: AVFrameSideDataType, buf: *mut AVBufferRef, ) -> *mut AVFrameSideData1489     pub fn av_frame_new_side_data_from_buf(
1490         frame: *mut AVFrame,
1491         type_: AVFrameSideDataType,
1492         buf: *mut AVBufferRef,
1493     ) -> *mut AVFrameSideData;
1494 }
1495 extern "C" {
av_frame_get_side_data( frame: *const AVFrame, type_: AVFrameSideDataType, ) -> *mut AVFrameSideData1496     pub fn av_frame_get_side_data(
1497         frame: *const AVFrame,
1498         type_: AVFrameSideDataType,
1499     ) -> *mut AVFrameSideData;
1500 }
1501 extern "C" {
av_frame_remove_side_data(frame: *mut AVFrame, type_: AVFrameSideDataType)1502     pub fn av_frame_remove_side_data(frame: *mut AVFrame, type_: AVFrameSideDataType);
1503 }
1504 pub const AV_FRAME_CROP_UNALIGNED: ::std::os::raw::c_uint = 1;
1505 pub type _bindgen_ty_2 = ::std::os::raw::c_uint;
1506 extern "C" {
av_frame_apply_cropping( frame: *mut AVFrame, flags: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1507     pub fn av_frame_apply_cropping(
1508         frame: *mut AVFrame,
1509         flags: ::std::os::raw::c_int,
1510     ) -> ::std::os::raw::c_int;
1511 }
1512 extern "C" {
av_frame_side_data_name(type_: AVFrameSideDataType) -> *const ::std::os::raw::c_char1513     pub fn av_frame_side_data_name(type_: AVFrameSideDataType) -> *const ::std::os::raw::c_char;
1514 }
1515 pub const AVHWDeviceType_AV_HWDEVICE_TYPE_NONE: AVHWDeviceType = 0;
1516 pub const AVHWDeviceType_AV_HWDEVICE_TYPE_VDPAU: AVHWDeviceType = 1;
1517 pub const AVHWDeviceType_AV_HWDEVICE_TYPE_CUDA: AVHWDeviceType = 2;
1518 pub const AVHWDeviceType_AV_HWDEVICE_TYPE_VAAPI: AVHWDeviceType = 3;
1519 pub const AVHWDeviceType_AV_HWDEVICE_TYPE_DXVA2: AVHWDeviceType = 4;
1520 pub const AVHWDeviceType_AV_HWDEVICE_TYPE_QSV: AVHWDeviceType = 5;
1521 pub const AVHWDeviceType_AV_HWDEVICE_TYPE_VIDEOTOOLBOX: AVHWDeviceType = 6;
1522 pub const AVHWDeviceType_AV_HWDEVICE_TYPE_D3D11VA: AVHWDeviceType = 7;
1523 pub const AVHWDeviceType_AV_HWDEVICE_TYPE_DRM: AVHWDeviceType = 8;
1524 pub const AVHWDeviceType_AV_HWDEVICE_TYPE_OPENCL: AVHWDeviceType = 9;
1525 pub const AVHWDeviceType_AV_HWDEVICE_TYPE_MEDIACODEC: AVHWDeviceType = 10;
1526 pub const AVHWDeviceType_AV_HWDEVICE_TYPE_VULKAN: AVHWDeviceType = 11;
1527 pub type AVHWDeviceType = ::std::os::raw::c_uint;
1528 extern "C" {
av_hwdevice_find_type_by_name(name: *const ::std::os::raw::c_char) -> AVHWDeviceType1529     pub fn av_hwdevice_find_type_by_name(name: *const ::std::os::raw::c_char) -> AVHWDeviceType;
1530 }
1531 extern "C" {
av_hwdevice_get_type_name(type_: AVHWDeviceType) -> *const ::std::os::raw::c_char1532     pub fn av_hwdevice_get_type_name(type_: AVHWDeviceType) -> *const ::std::os::raw::c_char;
1533 }
1534 extern "C" {
av_hwdevice_iterate_types(prev: AVHWDeviceType) -> AVHWDeviceType1535     pub fn av_hwdevice_iterate_types(prev: AVHWDeviceType) -> AVHWDeviceType;
1536 }
1537 extern "C" {
av_hwdevice_ctx_alloc(type_: AVHWDeviceType) -> *mut AVBufferRef1538     pub fn av_hwdevice_ctx_alloc(type_: AVHWDeviceType) -> *mut AVBufferRef;
1539 }
1540 extern "C" {
av_hwdevice_ctx_init(ref_: *mut AVBufferRef) -> ::std::os::raw::c_int1541     pub fn av_hwdevice_ctx_init(ref_: *mut AVBufferRef) -> ::std::os::raw::c_int;
1542 }
1543 extern "C" {
av_hwdevice_ctx_create( device_ctx: *mut *mut AVBufferRef, type_: AVHWDeviceType, device: *const ::std::os::raw::c_char, opts: *mut AVDictionary, flags: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1544     pub fn av_hwdevice_ctx_create(
1545         device_ctx: *mut *mut AVBufferRef,
1546         type_: AVHWDeviceType,
1547         device: *const ::std::os::raw::c_char,
1548         opts: *mut AVDictionary,
1549         flags: ::std::os::raw::c_int,
1550     ) -> ::std::os::raw::c_int;
1551 }
1552 extern "C" {
av_hwdevice_ctx_create_derived( dst_ctx: *mut *mut AVBufferRef, type_: AVHWDeviceType, src_ctx: *mut AVBufferRef, flags: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1553     pub fn av_hwdevice_ctx_create_derived(
1554         dst_ctx: *mut *mut AVBufferRef,
1555         type_: AVHWDeviceType,
1556         src_ctx: *mut AVBufferRef,
1557         flags: ::std::os::raw::c_int,
1558     ) -> ::std::os::raw::c_int;
1559 }
1560 extern "C" {
av_hwdevice_ctx_create_derived_opts( dst_ctx: *mut *mut AVBufferRef, type_: AVHWDeviceType, src_ctx: *mut AVBufferRef, options: *mut AVDictionary, flags: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1561     pub fn av_hwdevice_ctx_create_derived_opts(
1562         dst_ctx: *mut *mut AVBufferRef,
1563         type_: AVHWDeviceType,
1564         src_ctx: *mut AVBufferRef,
1565         options: *mut AVDictionary,
1566         flags: ::std::os::raw::c_int,
1567     ) -> ::std::os::raw::c_int;
1568 }
1569 extern "C" {
av_hwframe_ctx_alloc(device_ctx: *mut AVBufferRef) -> *mut AVBufferRef1570     pub fn av_hwframe_ctx_alloc(device_ctx: *mut AVBufferRef) -> *mut AVBufferRef;
1571 }
1572 extern "C" {
av_hwframe_ctx_init(ref_: *mut AVBufferRef) -> ::std::os::raw::c_int1573     pub fn av_hwframe_ctx_init(ref_: *mut AVBufferRef) -> ::std::os::raw::c_int;
1574 }
1575 extern "C" {
av_hwframe_get_buffer( hwframe_ctx: *mut AVBufferRef, frame: *mut AVFrame, flags: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1576     pub fn av_hwframe_get_buffer(
1577         hwframe_ctx: *mut AVBufferRef,
1578         frame: *mut AVFrame,
1579         flags: ::std::os::raw::c_int,
1580     ) -> ::std::os::raw::c_int;
1581 }
1582 extern "C" {
av_hwframe_transfer_data( dst: *mut AVFrame, src: *const AVFrame, flags: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1583     pub fn av_hwframe_transfer_data(
1584         dst: *mut AVFrame,
1585         src: *const AVFrame,
1586         flags: ::std::os::raw::c_int,
1587     ) -> ::std::os::raw::c_int;
1588 }
1589 pub const AVHWFrameTransferDirection_AV_HWFRAME_TRANSFER_DIRECTION_FROM:
1590     AVHWFrameTransferDirection = 0;
1591 pub const AVHWFrameTransferDirection_AV_HWFRAME_TRANSFER_DIRECTION_TO: AVHWFrameTransferDirection =
1592     1;
1593 pub type AVHWFrameTransferDirection = ::std::os::raw::c_uint;
1594 extern "C" {
av_hwframe_transfer_get_formats( hwframe_ctx: *mut AVBufferRef, dir: AVHWFrameTransferDirection, formats: *mut *mut AVPixelFormat, flags: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1595     pub fn av_hwframe_transfer_get_formats(
1596         hwframe_ctx: *mut AVBufferRef,
1597         dir: AVHWFrameTransferDirection,
1598         formats: *mut *mut AVPixelFormat,
1599         flags: ::std::os::raw::c_int,
1600     ) -> ::std::os::raw::c_int;
1601 }
1602 #[repr(C)]
1603 #[derive(Debug, Copy, Clone)]
1604 pub struct AVHWFramesConstraints {
1605     pub valid_hw_formats: *mut AVPixelFormat,
1606     pub valid_sw_formats: *mut AVPixelFormat,
1607     pub min_width: ::std::os::raw::c_int,
1608     pub min_height: ::std::os::raw::c_int,
1609     pub max_width: ::std::os::raw::c_int,
1610     pub max_height: ::std::os::raw::c_int,
1611 }
1612 impl Default for AVHWFramesConstraints {
default() -> Self1613     fn default() -> Self {
1614         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
1615         unsafe {
1616             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
1617             s.assume_init()
1618         }
1619     }
1620 }
1621 extern "C" {
av_hwdevice_hwconfig_alloc(device_ctx: *mut AVBufferRef) -> *mut ::std::os::raw::c_void1622     pub fn av_hwdevice_hwconfig_alloc(device_ctx: *mut AVBufferRef) -> *mut ::std::os::raw::c_void;
1623 }
1624 extern "C" {
av_hwdevice_get_hwframe_constraints( ref_: *mut AVBufferRef, hwconfig: *const ::std::os::raw::c_void, ) -> *mut AVHWFramesConstraints1625     pub fn av_hwdevice_get_hwframe_constraints(
1626         ref_: *mut AVBufferRef,
1627         hwconfig: *const ::std::os::raw::c_void,
1628     ) -> *mut AVHWFramesConstraints;
1629 }
1630 extern "C" {
av_hwframe_constraints_free(constraints: *mut *mut AVHWFramesConstraints)1631     pub fn av_hwframe_constraints_free(constraints: *mut *mut AVHWFramesConstraints);
1632 }
1633 pub const AV_HWFRAME_MAP_READ: ::std::os::raw::c_uint = 1;
1634 pub const AV_HWFRAME_MAP_WRITE: ::std::os::raw::c_uint = 2;
1635 pub const AV_HWFRAME_MAP_OVERWRITE: ::std::os::raw::c_uint = 4;
1636 pub const AV_HWFRAME_MAP_DIRECT: ::std::os::raw::c_uint = 8;
1637 pub type _bindgen_ty_3 = ::std::os::raw::c_uint;
1638 extern "C" {
av_hwframe_map( dst: *mut AVFrame, src: *const AVFrame, flags: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1639     pub fn av_hwframe_map(
1640         dst: *mut AVFrame,
1641         src: *const AVFrame,
1642         flags: ::std::os::raw::c_int,
1643     ) -> ::std::os::raw::c_int;
1644 }
1645 extern "C" {
av_hwframe_ctx_create_derived( derived_frame_ctx: *mut *mut AVBufferRef, format: AVPixelFormat, derived_device_ctx: *mut AVBufferRef, source_frame_ctx: *mut AVBufferRef, flags: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1646     pub fn av_hwframe_ctx_create_derived(
1647         derived_frame_ctx: *mut *mut AVBufferRef,
1648         format: AVPixelFormat,
1649         derived_device_ctx: *mut AVBufferRef,
1650         source_frame_ctx: *mut AVBufferRef,
1651         flags: ::std::os::raw::c_int,
1652     ) -> ::std::os::raw::c_int;
1653 }
1654 pub const AVCodecID_AV_CODEC_ID_NONE: AVCodecID = 0;
1655 pub const AVCodecID_AV_CODEC_ID_MPEG1VIDEO: AVCodecID = 1;
1656 pub const AVCodecID_AV_CODEC_ID_MPEG2VIDEO: AVCodecID = 2;
1657 pub const AVCodecID_AV_CODEC_ID_H261: AVCodecID = 3;
1658 pub const AVCodecID_AV_CODEC_ID_H263: AVCodecID = 4;
1659 pub const AVCodecID_AV_CODEC_ID_RV10: AVCodecID = 5;
1660 pub const AVCodecID_AV_CODEC_ID_RV20: AVCodecID = 6;
1661 pub const AVCodecID_AV_CODEC_ID_MJPEG: AVCodecID = 7;
1662 pub const AVCodecID_AV_CODEC_ID_MJPEGB: AVCodecID = 8;
1663 pub const AVCodecID_AV_CODEC_ID_LJPEG: AVCodecID = 9;
1664 pub const AVCodecID_AV_CODEC_ID_SP5X: AVCodecID = 10;
1665 pub const AVCodecID_AV_CODEC_ID_JPEGLS: AVCodecID = 11;
1666 pub const AVCodecID_AV_CODEC_ID_MPEG4: AVCodecID = 12;
1667 pub const AVCodecID_AV_CODEC_ID_RAWVIDEO: AVCodecID = 13;
1668 pub const AVCodecID_AV_CODEC_ID_MSMPEG4V1: AVCodecID = 14;
1669 pub const AVCodecID_AV_CODEC_ID_MSMPEG4V2: AVCodecID = 15;
1670 pub const AVCodecID_AV_CODEC_ID_MSMPEG4V3: AVCodecID = 16;
1671 pub const AVCodecID_AV_CODEC_ID_WMV1: AVCodecID = 17;
1672 pub const AVCodecID_AV_CODEC_ID_WMV2: AVCodecID = 18;
1673 pub const AVCodecID_AV_CODEC_ID_H263P: AVCodecID = 19;
1674 pub const AVCodecID_AV_CODEC_ID_H263I: AVCodecID = 20;
1675 pub const AVCodecID_AV_CODEC_ID_FLV1: AVCodecID = 21;
1676 pub const AVCodecID_AV_CODEC_ID_SVQ1: AVCodecID = 22;
1677 pub const AVCodecID_AV_CODEC_ID_SVQ3: AVCodecID = 23;
1678 pub const AVCodecID_AV_CODEC_ID_DVVIDEO: AVCodecID = 24;
1679 pub const AVCodecID_AV_CODEC_ID_HUFFYUV: AVCodecID = 25;
1680 pub const AVCodecID_AV_CODEC_ID_CYUV: AVCodecID = 26;
1681 pub const AVCodecID_AV_CODEC_ID_H264: AVCodecID = 27;
1682 pub const AVCodecID_AV_CODEC_ID_INDEO3: AVCodecID = 28;
1683 pub const AVCodecID_AV_CODEC_ID_VP3: AVCodecID = 29;
1684 pub const AVCodecID_AV_CODEC_ID_THEORA: AVCodecID = 30;
1685 pub const AVCodecID_AV_CODEC_ID_ASV1: AVCodecID = 31;
1686 pub const AVCodecID_AV_CODEC_ID_ASV2: AVCodecID = 32;
1687 pub const AVCodecID_AV_CODEC_ID_FFV1: AVCodecID = 33;
1688 pub const AVCodecID_AV_CODEC_ID_4XM: AVCodecID = 34;
1689 pub const AVCodecID_AV_CODEC_ID_VCR1: AVCodecID = 35;
1690 pub const AVCodecID_AV_CODEC_ID_CLJR: AVCodecID = 36;
1691 pub const AVCodecID_AV_CODEC_ID_MDEC: AVCodecID = 37;
1692 pub const AVCodecID_AV_CODEC_ID_ROQ: AVCodecID = 38;
1693 pub const AVCodecID_AV_CODEC_ID_INTERPLAY_VIDEO: AVCodecID = 39;
1694 pub const AVCodecID_AV_CODEC_ID_XAN_WC3: AVCodecID = 40;
1695 pub const AVCodecID_AV_CODEC_ID_XAN_WC4: AVCodecID = 41;
1696 pub const AVCodecID_AV_CODEC_ID_RPZA: AVCodecID = 42;
1697 pub const AVCodecID_AV_CODEC_ID_CINEPAK: AVCodecID = 43;
1698 pub const AVCodecID_AV_CODEC_ID_WS_VQA: AVCodecID = 44;
1699 pub const AVCodecID_AV_CODEC_ID_MSRLE: AVCodecID = 45;
1700 pub const AVCodecID_AV_CODEC_ID_MSVIDEO1: AVCodecID = 46;
1701 pub const AVCodecID_AV_CODEC_ID_IDCIN: AVCodecID = 47;
1702 pub const AVCodecID_AV_CODEC_ID_8BPS: AVCodecID = 48;
1703 pub const AVCodecID_AV_CODEC_ID_SMC: AVCodecID = 49;
1704 pub const AVCodecID_AV_CODEC_ID_FLIC: AVCodecID = 50;
1705 pub const AVCodecID_AV_CODEC_ID_TRUEMOTION1: AVCodecID = 51;
1706 pub const AVCodecID_AV_CODEC_ID_VMDVIDEO: AVCodecID = 52;
1707 pub const AVCodecID_AV_CODEC_ID_MSZH: AVCodecID = 53;
1708 pub const AVCodecID_AV_CODEC_ID_ZLIB: AVCodecID = 54;
1709 pub const AVCodecID_AV_CODEC_ID_QTRLE: AVCodecID = 55;
1710 pub const AVCodecID_AV_CODEC_ID_TSCC: AVCodecID = 56;
1711 pub const AVCodecID_AV_CODEC_ID_ULTI: AVCodecID = 57;
1712 pub const AVCodecID_AV_CODEC_ID_QDRAW: AVCodecID = 58;
1713 pub const AVCodecID_AV_CODEC_ID_VIXL: AVCodecID = 59;
1714 pub const AVCodecID_AV_CODEC_ID_QPEG: AVCodecID = 60;
1715 pub const AVCodecID_AV_CODEC_ID_PNG: AVCodecID = 61;
1716 pub const AVCodecID_AV_CODEC_ID_PPM: AVCodecID = 62;
1717 pub const AVCodecID_AV_CODEC_ID_PBM: AVCodecID = 63;
1718 pub const AVCodecID_AV_CODEC_ID_PGM: AVCodecID = 64;
1719 pub const AVCodecID_AV_CODEC_ID_PGMYUV: AVCodecID = 65;
1720 pub const AVCodecID_AV_CODEC_ID_PAM: AVCodecID = 66;
1721 pub const AVCodecID_AV_CODEC_ID_FFVHUFF: AVCodecID = 67;
1722 pub const AVCodecID_AV_CODEC_ID_RV30: AVCodecID = 68;
1723 pub const AVCodecID_AV_CODEC_ID_RV40: AVCodecID = 69;
1724 pub const AVCodecID_AV_CODEC_ID_VC1: AVCodecID = 70;
1725 pub const AVCodecID_AV_CODEC_ID_WMV3: AVCodecID = 71;
1726 pub const AVCodecID_AV_CODEC_ID_LOCO: AVCodecID = 72;
1727 pub const AVCodecID_AV_CODEC_ID_WNV1: AVCodecID = 73;
1728 pub const AVCodecID_AV_CODEC_ID_AASC: AVCodecID = 74;
1729 pub const AVCodecID_AV_CODEC_ID_INDEO2: AVCodecID = 75;
1730 pub const AVCodecID_AV_CODEC_ID_FRAPS: AVCodecID = 76;
1731 pub const AVCodecID_AV_CODEC_ID_TRUEMOTION2: AVCodecID = 77;
1732 pub const AVCodecID_AV_CODEC_ID_BMP: AVCodecID = 78;
1733 pub const AVCodecID_AV_CODEC_ID_CSCD: AVCodecID = 79;
1734 pub const AVCodecID_AV_CODEC_ID_MMVIDEO: AVCodecID = 80;
1735 pub const AVCodecID_AV_CODEC_ID_ZMBV: AVCodecID = 81;
1736 pub const AVCodecID_AV_CODEC_ID_AVS: AVCodecID = 82;
1737 pub const AVCodecID_AV_CODEC_ID_SMACKVIDEO: AVCodecID = 83;
1738 pub const AVCodecID_AV_CODEC_ID_NUV: AVCodecID = 84;
1739 pub const AVCodecID_AV_CODEC_ID_KMVC: AVCodecID = 85;
1740 pub const AVCodecID_AV_CODEC_ID_FLASHSV: AVCodecID = 86;
1741 pub const AVCodecID_AV_CODEC_ID_CAVS: AVCodecID = 87;
1742 pub const AVCodecID_AV_CODEC_ID_JPEG2000: AVCodecID = 88;
1743 pub const AVCodecID_AV_CODEC_ID_VMNC: AVCodecID = 89;
1744 pub const AVCodecID_AV_CODEC_ID_VP5: AVCodecID = 90;
1745 pub const AVCodecID_AV_CODEC_ID_VP6: AVCodecID = 91;
1746 pub const AVCodecID_AV_CODEC_ID_VP6F: AVCodecID = 92;
1747 pub const AVCodecID_AV_CODEC_ID_TARGA: AVCodecID = 93;
1748 pub const AVCodecID_AV_CODEC_ID_DSICINVIDEO: AVCodecID = 94;
1749 pub const AVCodecID_AV_CODEC_ID_TIERTEXSEQVIDEO: AVCodecID = 95;
1750 pub const AVCodecID_AV_CODEC_ID_TIFF: AVCodecID = 96;
1751 pub const AVCodecID_AV_CODEC_ID_GIF: AVCodecID = 97;
1752 pub const AVCodecID_AV_CODEC_ID_DXA: AVCodecID = 98;
1753 pub const AVCodecID_AV_CODEC_ID_DNXHD: AVCodecID = 99;
1754 pub const AVCodecID_AV_CODEC_ID_THP: AVCodecID = 100;
1755 pub const AVCodecID_AV_CODEC_ID_SGI: AVCodecID = 101;
1756 pub const AVCodecID_AV_CODEC_ID_C93: AVCodecID = 102;
1757 pub const AVCodecID_AV_CODEC_ID_BETHSOFTVID: AVCodecID = 103;
1758 pub const AVCodecID_AV_CODEC_ID_PTX: AVCodecID = 104;
1759 pub const AVCodecID_AV_CODEC_ID_TXD: AVCodecID = 105;
1760 pub const AVCodecID_AV_CODEC_ID_VP6A: AVCodecID = 106;
1761 pub const AVCodecID_AV_CODEC_ID_AMV: AVCodecID = 107;
1762 pub const AVCodecID_AV_CODEC_ID_VB: AVCodecID = 108;
1763 pub const AVCodecID_AV_CODEC_ID_PCX: AVCodecID = 109;
1764 pub const AVCodecID_AV_CODEC_ID_SUNRAST: AVCodecID = 110;
1765 pub const AVCodecID_AV_CODEC_ID_INDEO4: AVCodecID = 111;
1766 pub const AVCodecID_AV_CODEC_ID_INDEO5: AVCodecID = 112;
1767 pub const AVCodecID_AV_CODEC_ID_MIMIC: AVCodecID = 113;
1768 pub const AVCodecID_AV_CODEC_ID_RL2: AVCodecID = 114;
1769 pub const AVCodecID_AV_CODEC_ID_ESCAPE124: AVCodecID = 115;
1770 pub const AVCodecID_AV_CODEC_ID_DIRAC: AVCodecID = 116;
1771 pub const AVCodecID_AV_CODEC_ID_BFI: AVCodecID = 117;
1772 pub const AVCodecID_AV_CODEC_ID_CMV: AVCodecID = 118;
1773 pub const AVCodecID_AV_CODEC_ID_MOTIONPIXELS: AVCodecID = 119;
1774 pub const AVCodecID_AV_CODEC_ID_TGV: AVCodecID = 120;
1775 pub const AVCodecID_AV_CODEC_ID_TGQ: AVCodecID = 121;
1776 pub const AVCodecID_AV_CODEC_ID_TQI: AVCodecID = 122;
1777 pub const AVCodecID_AV_CODEC_ID_AURA: AVCodecID = 123;
1778 pub const AVCodecID_AV_CODEC_ID_AURA2: AVCodecID = 124;
1779 pub const AVCodecID_AV_CODEC_ID_V210X: AVCodecID = 125;
1780 pub const AVCodecID_AV_CODEC_ID_TMV: AVCodecID = 126;
1781 pub const AVCodecID_AV_CODEC_ID_V210: AVCodecID = 127;
1782 pub const AVCodecID_AV_CODEC_ID_DPX: AVCodecID = 128;
1783 pub const AVCodecID_AV_CODEC_ID_MAD: AVCodecID = 129;
1784 pub const AVCodecID_AV_CODEC_ID_FRWU: AVCodecID = 130;
1785 pub const AVCodecID_AV_CODEC_ID_FLASHSV2: AVCodecID = 131;
1786 pub const AVCodecID_AV_CODEC_ID_CDGRAPHICS: AVCodecID = 132;
1787 pub const AVCodecID_AV_CODEC_ID_R210: AVCodecID = 133;
1788 pub const AVCodecID_AV_CODEC_ID_ANM: AVCodecID = 134;
1789 pub const AVCodecID_AV_CODEC_ID_BINKVIDEO: AVCodecID = 135;
1790 pub const AVCodecID_AV_CODEC_ID_IFF_ILBM: AVCodecID = 136;
1791 pub const AVCodecID_AV_CODEC_ID_KGV1: AVCodecID = 137;
1792 pub const AVCodecID_AV_CODEC_ID_YOP: AVCodecID = 138;
1793 pub const AVCodecID_AV_CODEC_ID_VP8: AVCodecID = 139;
1794 pub const AVCodecID_AV_CODEC_ID_PICTOR: AVCodecID = 140;
1795 pub const AVCodecID_AV_CODEC_ID_ANSI: AVCodecID = 141;
1796 pub const AVCodecID_AV_CODEC_ID_A64_MULTI: AVCodecID = 142;
1797 pub const AVCodecID_AV_CODEC_ID_A64_MULTI5: AVCodecID = 143;
1798 pub const AVCodecID_AV_CODEC_ID_R10K: AVCodecID = 144;
1799 pub const AVCodecID_AV_CODEC_ID_MXPEG: AVCodecID = 145;
1800 pub const AVCodecID_AV_CODEC_ID_LAGARITH: AVCodecID = 146;
1801 pub const AVCodecID_AV_CODEC_ID_PRORES: AVCodecID = 147;
1802 pub const AVCodecID_AV_CODEC_ID_JV: AVCodecID = 148;
1803 pub const AVCodecID_AV_CODEC_ID_DFA: AVCodecID = 149;
1804 pub const AVCodecID_AV_CODEC_ID_WMV3IMAGE: AVCodecID = 150;
1805 pub const AVCodecID_AV_CODEC_ID_VC1IMAGE: AVCodecID = 151;
1806 pub const AVCodecID_AV_CODEC_ID_UTVIDEO: AVCodecID = 152;
1807 pub const AVCodecID_AV_CODEC_ID_BMV_VIDEO: AVCodecID = 153;
1808 pub const AVCodecID_AV_CODEC_ID_VBLE: AVCodecID = 154;
1809 pub const AVCodecID_AV_CODEC_ID_DXTORY: AVCodecID = 155;
1810 pub const AVCodecID_AV_CODEC_ID_V410: AVCodecID = 156;
1811 pub const AVCodecID_AV_CODEC_ID_XWD: AVCodecID = 157;
1812 pub const AVCodecID_AV_CODEC_ID_CDXL: AVCodecID = 158;
1813 pub const AVCodecID_AV_CODEC_ID_XBM: AVCodecID = 159;
1814 pub const AVCodecID_AV_CODEC_ID_ZEROCODEC: AVCodecID = 160;
1815 pub const AVCodecID_AV_CODEC_ID_MSS1: AVCodecID = 161;
1816 pub const AVCodecID_AV_CODEC_ID_MSA1: AVCodecID = 162;
1817 pub const AVCodecID_AV_CODEC_ID_TSCC2: AVCodecID = 163;
1818 pub const AVCodecID_AV_CODEC_ID_MTS2: AVCodecID = 164;
1819 pub const AVCodecID_AV_CODEC_ID_CLLC: AVCodecID = 165;
1820 pub const AVCodecID_AV_CODEC_ID_MSS2: AVCodecID = 166;
1821 pub const AVCodecID_AV_CODEC_ID_VP9: AVCodecID = 167;
1822 pub const AVCodecID_AV_CODEC_ID_AIC: AVCodecID = 168;
1823 pub const AVCodecID_AV_CODEC_ID_ESCAPE130: AVCodecID = 169;
1824 pub const AVCodecID_AV_CODEC_ID_G2M: AVCodecID = 170;
1825 pub const AVCodecID_AV_CODEC_ID_WEBP: AVCodecID = 171;
1826 pub const AVCodecID_AV_CODEC_ID_HNM4_VIDEO: AVCodecID = 172;
1827 pub const AVCodecID_AV_CODEC_ID_HEVC: AVCodecID = 173;
1828 pub const AVCodecID_AV_CODEC_ID_FIC: AVCodecID = 174;
1829 pub const AVCodecID_AV_CODEC_ID_ALIAS_PIX: AVCodecID = 175;
1830 pub const AVCodecID_AV_CODEC_ID_BRENDER_PIX: AVCodecID = 176;
1831 pub const AVCodecID_AV_CODEC_ID_PAF_VIDEO: AVCodecID = 177;
1832 pub const AVCodecID_AV_CODEC_ID_EXR: AVCodecID = 178;
1833 pub const AVCodecID_AV_CODEC_ID_VP7: AVCodecID = 179;
1834 pub const AVCodecID_AV_CODEC_ID_SANM: AVCodecID = 180;
1835 pub const AVCodecID_AV_CODEC_ID_SGIRLE: AVCodecID = 181;
1836 pub const AVCodecID_AV_CODEC_ID_MVC1: AVCodecID = 182;
1837 pub const AVCodecID_AV_CODEC_ID_MVC2: AVCodecID = 183;
1838 pub const AVCodecID_AV_CODEC_ID_HQX: AVCodecID = 184;
1839 pub const AVCodecID_AV_CODEC_ID_TDSC: AVCodecID = 185;
1840 pub const AVCodecID_AV_CODEC_ID_HQ_HQA: AVCodecID = 186;
1841 pub const AVCodecID_AV_CODEC_ID_HAP: AVCodecID = 187;
1842 pub const AVCodecID_AV_CODEC_ID_DDS: AVCodecID = 188;
1843 pub const AVCodecID_AV_CODEC_ID_DXV: AVCodecID = 189;
1844 pub const AVCodecID_AV_CODEC_ID_SCREENPRESSO: AVCodecID = 190;
1845 pub const AVCodecID_AV_CODEC_ID_RSCC: AVCodecID = 191;
1846 pub const AVCodecID_AV_CODEC_ID_AVS2: AVCodecID = 192;
1847 pub const AVCodecID_AV_CODEC_ID_PGX: AVCodecID = 193;
1848 pub const AVCodecID_AV_CODEC_ID_AVS3: AVCodecID = 194;
1849 pub const AVCodecID_AV_CODEC_ID_MSP2: AVCodecID = 195;
1850 pub const AVCodecID_AV_CODEC_ID_VVC: AVCodecID = 196;
1851 pub const AVCodecID_AV_CODEC_ID_Y41P: AVCodecID = 197;
1852 pub const AVCodecID_AV_CODEC_ID_AVRP: AVCodecID = 198;
1853 pub const AVCodecID_AV_CODEC_ID_012V: AVCodecID = 199;
1854 pub const AVCodecID_AV_CODEC_ID_AVUI: AVCodecID = 200;
1855 pub const AVCodecID_AV_CODEC_ID_AYUV: AVCodecID = 201;
1856 pub const AVCodecID_AV_CODEC_ID_TARGA_Y216: AVCodecID = 202;
1857 pub const AVCodecID_AV_CODEC_ID_V308: AVCodecID = 203;
1858 pub const AVCodecID_AV_CODEC_ID_V408: AVCodecID = 204;
1859 pub const AVCodecID_AV_CODEC_ID_YUV4: AVCodecID = 205;
1860 pub const AVCodecID_AV_CODEC_ID_AVRN: AVCodecID = 206;
1861 pub const AVCodecID_AV_CODEC_ID_CPIA: AVCodecID = 207;
1862 pub const AVCodecID_AV_CODEC_ID_XFACE: AVCodecID = 208;
1863 pub const AVCodecID_AV_CODEC_ID_SNOW: AVCodecID = 209;
1864 pub const AVCodecID_AV_CODEC_ID_SMVJPEG: AVCodecID = 210;
1865 pub const AVCodecID_AV_CODEC_ID_APNG: AVCodecID = 211;
1866 pub const AVCodecID_AV_CODEC_ID_DAALA: AVCodecID = 212;
1867 pub const AVCodecID_AV_CODEC_ID_CFHD: AVCodecID = 213;
1868 pub const AVCodecID_AV_CODEC_ID_TRUEMOTION2RT: AVCodecID = 214;
1869 pub const AVCodecID_AV_CODEC_ID_M101: AVCodecID = 215;
1870 pub const AVCodecID_AV_CODEC_ID_MAGICYUV: AVCodecID = 216;
1871 pub const AVCodecID_AV_CODEC_ID_SHEERVIDEO: AVCodecID = 217;
1872 pub const AVCodecID_AV_CODEC_ID_YLC: AVCodecID = 218;
1873 pub const AVCodecID_AV_CODEC_ID_PSD: AVCodecID = 219;
1874 pub const AVCodecID_AV_CODEC_ID_PIXLET: AVCodecID = 220;
1875 pub const AVCodecID_AV_CODEC_ID_SPEEDHQ: AVCodecID = 221;
1876 pub const AVCodecID_AV_CODEC_ID_FMVC: AVCodecID = 222;
1877 pub const AVCodecID_AV_CODEC_ID_SCPR: AVCodecID = 223;
1878 pub const AVCodecID_AV_CODEC_ID_CLEARVIDEO: AVCodecID = 224;
1879 pub const AVCodecID_AV_CODEC_ID_XPM: AVCodecID = 225;
1880 pub const AVCodecID_AV_CODEC_ID_AV1: AVCodecID = 226;
1881 pub const AVCodecID_AV_CODEC_ID_BITPACKED: AVCodecID = 227;
1882 pub const AVCodecID_AV_CODEC_ID_MSCC: AVCodecID = 228;
1883 pub const AVCodecID_AV_CODEC_ID_SRGC: AVCodecID = 229;
1884 pub const AVCodecID_AV_CODEC_ID_SVG: AVCodecID = 230;
1885 pub const AVCodecID_AV_CODEC_ID_GDV: AVCodecID = 231;
1886 pub const AVCodecID_AV_CODEC_ID_FITS: AVCodecID = 232;
1887 pub const AVCodecID_AV_CODEC_ID_IMM4: AVCodecID = 233;
1888 pub const AVCodecID_AV_CODEC_ID_PROSUMER: AVCodecID = 234;
1889 pub const AVCodecID_AV_CODEC_ID_MWSC: AVCodecID = 235;
1890 pub const AVCodecID_AV_CODEC_ID_WCMV: AVCodecID = 236;
1891 pub const AVCodecID_AV_CODEC_ID_RASC: AVCodecID = 237;
1892 pub const AVCodecID_AV_CODEC_ID_HYMT: AVCodecID = 238;
1893 pub const AVCodecID_AV_CODEC_ID_ARBC: AVCodecID = 239;
1894 pub const AVCodecID_AV_CODEC_ID_AGM: AVCodecID = 240;
1895 pub const AVCodecID_AV_CODEC_ID_LSCR: AVCodecID = 241;
1896 pub const AVCodecID_AV_CODEC_ID_VP4: AVCodecID = 242;
1897 pub const AVCodecID_AV_CODEC_ID_IMM5: AVCodecID = 243;
1898 pub const AVCodecID_AV_CODEC_ID_MVDV: AVCodecID = 244;
1899 pub const AVCodecID_AV_CODEC_ID_MVHA: AVCodecID = 245;
1900 pub const AVCodecID_AV_CODEC_ID_CDTOONS: AVCodecID = 246;
1901 pub const AVCodecID_AV_CODEC_ID_MV30: AVCodecID = 247;
1902 pub const AVCodecID_AV_CODEC_ID_NOTCHLC: AVCodecID = 248;
1903 pub const AVCodecID_AV_CODEC_ID_PFM: AVCodecID = 249;
1904 pub const AVCodecID_AV_CODEC_ID_MOBICLIP: AVCodecID = 250;
1905 pub const AVCodecID_AV_CODEC_ID_PHOTOCD: AVCodecID = 251;
1906 pub const AVCodecID_AV_CODEC_ID_IPU: AVCodecID = 252;
1907 pub const AVCodecID_AV_CODEC_ID_ARGO: AVCodecID = 253;
1908 pub const AVCodecID_AV_CODEC_ID_CRI: AVCodecID = 254;
1909 pub const AVCodecID_AV_CODEC_ID_SIMBIOSIS_IMX: AVCodecID = 255;
1910 pub const AVCodecID_AV_CODEC_ID_SGA_VIDEO: AVCodecID = 256;
1911 pub const AVCodecID_AV_CODEC_ID_GEM: AVCodecID = 257;
1912 pub const AVCodecID_AV_CODEC_ID_FIRST_AUDIO: AVCodecID = 65536;
1913 pub const AVCodecID_AV_CODEC_ID_PCM_S16LE: AVCodecID = 65536;
1914 pub const AVCodecID_AV_CODEC_ID_PCM_S16BE: AVCodecID = 65537;
1915 pub const AVCodecID_AV_CODEC_ID_PCM_U16LE: AVCodecID = 65538;
1916 pub const AVCodecID_AV_CODEC_ID_PCM_U16BE: AVCodecID = 65539;
1917 pub const AVCodecID_AV_CODEC_ID_PCM_S8: AVCodecID = 65540;
1918 pub const AVCodecID_AV_CODEC_ID_PCM_U8: AVCodecID = 65541;
1919 pub const AVCodecID_AV_CODEC_ID_PCM_MULAW: AVCodecID = 65542;
1920 pub const AVCodecID_AV_CODEC_ID_PCM_ALAW: AVCodecID = 65543;
1921 pub const AVCodecID_AV_CODEC_ID_PCM_S32LE: AVCodecID = 65544;
1922 pub const AVCodecID_AV_CODEC_ID_PCM_S32BE: AVCodecID = 65545;
1923 pub const AVCodecID_AV_CODEC_ID_PCM_U32LE: AVCodecID = 65546;
1924 pub const AVCodecID_AV_CODEC_ID_PCM_U32BE: AVCodecID = 65547;
1925 pub const AVCodecID_AV_CODEC_ID_PCM_S24LE: AVCodecID = 65548;
1926 pub const AVCodecID_AV_CODEC_ID_PCM_S24BE: AVCodecID = 65549;
1927 pub const AVCodecID_AV_CODEC_ID_PCM_U24LE: AVCodecID = 65550;
1928 pub const AVCodecID_AV_CODEC_ID_PCM_U24BE: AVCodecID = 65551;
1929 pub const AVCodecID_AV_CODEC_ID_PCM_S24DAUD: AVCodecID = 65552;
1930 pub const AVCodecID_AV_CODEC_ID_PCM_ZORK: AVCodecID = 65553;
1931 pub const AVCodecID_AV_CODEC_ID_PCM_S16LE_PLANAR: AVCodecID = 65554;
1932 pub const AVCodecID_AV_CODEC_ID_PCM_DVD: AVCodecID = 65555;
1933 pub const AVCodecID_AV_CODEC_ID_PCM_F32BE: AVCodecID = 65556;
1934 pub const AVCodecID_AV_CODEC_ID_PCM_F32LE: AVCodecID = 65557;
1935 pub const AVCodecID_AV_CODEC_ID_PCM_F64BE: AVCodecID = 65558;
1936 pub const AVCodecID_AV_CODEC_ID_PCM_F64LE: AVCodecID = 65559;
1937 pub const AVCodecID_AV_CODEC_ID_PCM_BLURAY: AVCodecID = 65560;
1938 pub const AVCodecID_AV_CODEC_ID_PCM_LXF: AVCodecID = 65561;
1939 pub const AVCodecID_AV_CODEC_ID_S302M: AVCodecID = 65562;
1940 pub const AVCodecID_AV_CODEC_ID_PCM_S8_PLANAR: AVCodecID = 65563;
1941 pub const AVCodecID_AV_CODEC_ID_PCM_S24LE_PLANAR: AVCodecID = 65564;
1942 pub const AVCodecID_AV_CODEC_ID_PCM_S32LE_PLANAR: AVCodecID = 65565;
1943 pub const AVCodecID_AV_CODEC_ID_PCM_S16BE_PLANAR: AVCodecID = 65566;
1944 pub const AVCodecID_AV_CODEC_ID_PCM_S64LE: AVCodecID = 65567;
1945 pub const AVCodecID_AV_CODEC_ID_PCM_S64BE: AVCodecID = 65568;
1946 pub const AVCodecID_AV_CODEC_ID_PCM_F16LE: AVCodecID = 65569;
1947 pub const AVCodecID_AV_CODEC_ID_PCM_F24LE: AVCodecID = 65570;
1948 pub const AVCodecID_AV_CODEC_ID_PCM_VIDC: AVCodecID = 65571;
1949 pub const AVCodecID_AV_CODEC_ID_PCM_SGA: AVCodecID = 65572;
1950 pub const AVCodecID_AV_CODEC_ID_ADPCM_IMA_QT: AVCodecID = 69632;
1951 pub const AVCodecID_AV_CODEC_ID_ADPCM_IMA_WAV: AVCodecID = 69633;
1952 pub const AVCodecID_AV_CODEC_ID_ADPCM_IMA_DK3: AVCodecID = 69634;
1953 pub const AVCodecID_AV_CODEC_ID_ADPCM_IMA_DK4: AVCodecID = 69635;
1954 pub const AVCodecID_AV_CODEC_ID_ADPCM_IMA_WS: AVCodecID = 69636;
1955 pub const AVCodecID_AV_CODEC_ID_ADPCM_IMA_SMJPEG: AVCodecID = 69637;
1956 pub const AVCodecID_AV_CODEC_ID_ADPCM_MS: AVCodecID = 69638;
1957 pub const AVCodecID_AV_CODEC_ID_ADPCM_4XM: AVCodecID = 69639;
1958 pub const AVCodecID_AV_CODEC_ID_ADPCM_XA: AVCodecID = 69640;
1959 pub const AVCodecID_AV_CODEC_ID_ADPCM_ADX: AVCodecID = 69641;
1960 pub const AVCodecID_AV_CODEC_ID_ADPCM_EA: AVCodecID = 69642;
1961 pub const AVCodecID_AV_CODEC_ID_ADPCM_G726: AVCodecID = 69643;
1962 pub const AVCodecID_AV_CODEC_ID_ADPCM_CT: AVCodecID = 69644;
1963 pub const AVCodecID_AV_CODEC_ID_ADPCM_SWF: AVCodecID = 69645;
1964 pub const AVCodecID_AV_CODEC_ID_ADPCM_YAMAHA: AVCodecID = 69646;
1965 pub const AVCodecID_AV_CODEC_ID_ADPCM_SBPRO_4: AVCodecID = 69647;
1966 pub const AVCodecID_AV_CODEC_ID_ADPCM_SBPRO_3: AVCodecID = 69648;
1967 pub const AVCodecID_AV_CODEC_ID_ADPCM_SBPRO_2: AVCodecID = 69649;
1968 pub const AVCodecID_AV_CODEC_ID_ADPCM_THP: AVCodecID = 69650;
1969 pub const AVCodecID_AV_CODEC_ID_ADPCM_IMA_AMV: AVCodecID = 69651;
1970 pub const AVCodecID_AV_CODEC_ID_ADPCM_EA_R1: AVCodecID = 69652;
1971 pub const AVCodecID_AV_CODEC_ID_ADPCM_EA_R3: AVCodecID = 69653;
1972 pub const AVCodecID_AV_CODEC_ID_ADPCM_EA_R2: AVCodecID = 69654;
1973 pub const AVCodecID_AV_CODEC_ID_ADPCM_IMA_EA_SEAD: AVCodecID = 69655;
1974 pub const AVCodecID_AV_CODEC_ID_ADPCM_IMA_EA_EACS: AVCodecID = 69656;
1975 pub const AVCodecID_AV_CODEC_ID_ADPCM_EA_XAS: AVCodecID = 69657;
1976 pub const AVCodecID_AV_CODEC_ID_ADPCM_EA_MAXIS_XA: AVCodecID = 69658;
1977 pub const AVCodecID_AV_CODEC_ID_ADPCM_IMA_ISS: AVCodecID = 69659;
1978 pub const AVCodecID_AV_CODEC_ID_ADPCM_G722: AVCodecID = 69660;
1979 pub const AVCodecID_AV_CODEC_ID_ADPCM_IMA_APC: AVCodecID = 69661;
1980 pub const AVCodecID_AV_CODEC_ID_ADPCM_VIMA: AVCodecID = 69662;
1981 pub const AVCodecID_AV_CODEC_ID_ADPCM_AFC: AVCodecID = 69663;
1982 pub const AVCodecID_AV_CODEC_ID_ADPCM_IMA_OKI: AVCodecID = 69664;
1983 pub const AVCodecID_AV_CODEC_ID_ADPCM_DTK: AVCodecID = 69665;
1984 pub const AVCodecID_AV_CODEC_ID_ADPCM_IMA_RAD: AVCodecID = 69666;
1985 pub const AVCodecID_AV_CODEC_ID_ADPCM_G726LE: AVCodecID = 69667;
1986 pub const AVCodecID_AV_CODEC_ID_ADPCM_THP_LE: AVCodecID = 69668;
1987 pub const AVCodecID_AV_CODEC_ID_ADPCM_PSX: AVCodecID = 69669;
1988 pub const AVCodecID_AV_CODEC_ID_ADPCM_AICA: AVCodecID = 69670;
1989 pub const AVCodecID_AV_CODEC_ID_ADPCM_IMA_DAT4: AVCodecID = 69671;
1990 pub const AVCodecID_AV_CODEC_ID_ADPCM_MTAF: AVCodecID = 69672;
1991 pub const AVCodecID_AV_CODEC_ID_ADPCM_AGM: AVCodecID = 69673;
1992 pub const AVCodecID_AV_CODEC_ID_ADPCM_ARGO: AVCodecID = 69674;
1993 pub const AVCodecID_AV_CODEC_ID_ADPCM_IMA_SSI: AVCodecID = 69675;
1994 pub const AVCodecID_AV_CODEC_ID_ADPCM_ZORK: AVCodecID = 69676;
1995 pub const AVCodecID_AV_CODEC_ID_ADPCM_IMA_APM: AVCodecID = 69677;
1996 pub const AVCodecID_AV_CODEC_ID_ADPCM_IMA_ALP: AVCodecID = 69678;
1997 pub const AVCodecID_AV_CODEC_ID_ADPCM_IMA_MTF: AVCodecID = 69679;
1998 pub const AVCodecID_AV_CODEC_ID_ADPCM_IMA_CUNNING: AVCodecID = 69680;
1999 pub const AVCodecID_AV_CODEC_ID_ADPCM_IMA_MOFLEX: AVCodecID = 69681;
2000 pub const AVCodecID_AV_CODEC_ID_ADPCM_IMA_ACORN: AVCodecID = 69682;
2001 pub const AVCodecID_AV_CODEC_ID_AMR_NB: AVCodecID = 73728;
2002 pub const AVCodecID_AV_CODEC_ID_AMR_WB: AVCodecID = 73729;
2003 pub const AVCodecID_AV_CODEC_ID_RA_144: AVCodecID = 77824;
2004 pub const AVCodecID_AV_CODEC_ID_RA_288: AVCodecID = 77825;
2005 pub const AVCodecID_AV_CODEC_ID_ROQ_DPCM: AVCodecID = 81920;
2006 pub const AVCodecID_AV_CODEC_ID_INTERPLAY_DPCM: AVCodecID = 81921;
2007 pub const AVCodecID_AV_CODEC_ID_XAN_DPCM: AVCodecID = 81922;
2008 pub const AVCodecID_AV_CODEC_ID_SOL_DPCM: AVCodecID = 81923;
2009 pub const AVCodecID_AV_CODEC_ID_SDX2_DPCM: AVCodecID = 81924;
2010 pub const AVCodecID_AV_CODEC_ID_GREMLIN_DPCM: AVCodecID = 81925;
2011 pub const AVCodecID_AV_CODEC_ID_DERF_DPCM: AVCodecID = 81926;
2012 pub const AVCodecID_AV_CODEC_ID_MP2: AVCodecID = 86016;
2013 pub const AVCodecID_AV_CODEC_ID_MP3: AVCodecID = 86017;
2014 pub const AVCodecID_AV_CODEC_ID_AAC: AVCodecID = 86018;
2015 pub const AVCodecID_AV_CODEC_ID_AC3: AVCodecID = 86019;
2016 pub const AVCodecID_AV_CODEC_ID_DTS: AVCodecID = 86020;
2017 pub const AVCodecID_AV_CODEC_ID_VORBIS: AVCodecID = 86021;
2018 pub const AVCodecID_AV_CODEC_ID_DVAUDIO: AVCodecID = 86022;
2019 pub const AVCodecID_AV_CODEC_ID_WMAV1: AVCodecID = 86023;
2020 pub const AVCodecID_AV_CODEC_ID_WMAV2: AVCodecID = 86024;
2021 pub const AVCodecID_AV_CODEC_ID_MACE3: AVCodecID = 86025;
2022 pub const AVCodecID_AV_CODEC_ID_MACE6: AVCodecID = 86026;
2023 pub const AVCodecID_AV_CODEC_ID_VMDAUDIO: AVCodecID = 86027;
2024 pub const AVCodecID_AV_CODEC_ID_FLAC: AVCodecID = 86028;
2025 pub const AVCodecID_AV_CODEC_ID_MP3ADU: AVCodecID = 86029;
2026 pub const AVCodecID_AV_CODEC_ID_MP3ON4: AVCodecID = 86030;
2027 pub const AVCodecID_AV_CODEC_ID_SHORTEN: AVCodecID = 86031;
2028 pub const AVCodecID_AV_CODEC_ID_ALAC: AVCodecID = 86032;
2029 pub const AVCodecID_AV_CODEC_ID_WESTWOOD_SND1: AVCodecID = 86033;
2030 pub const AVCodecID_AV_CODEC_ID_GSM: AVCodecID = 86034;
2031 pub const AVCodecID_AV_CODEC_ID_QDM2: AVCodecID = 86035;
2032 pub const AVCodecID_AV_CODEC_ID_COOK: AVCodecID = 86036;
2033 pub const AVCodecID_AV_CODEC_ID_TRUESPEECH: AVCodecID = 86037;
2034 pub const AVCodecID_AV_CODEC_ID_TTA: AVCodecID = 86038;
2035 pub const AVCodecID_AV_CODEC_ID_SMACKAUDIO: AVCodecID = 86039;
2036 pub const AVCodecID_AV_CODEC_ID_QCELP: AVCodecID = 86040;
2037 pub const AVCodecID_AV_CODEC_ID_WAVPACK: AVCodecID = 86041;
2038 pub const AVCodecID_AV_CODEC_ID_DSICINAUDIO: AVCodecID = 86042;
2039 pub const AVCodecID_AV_CODEC_ID_IMC: AVCodecID = 86043;
2040 pub const AVCodecID_AV_CODEC_ID_MUSEPACK7: AVCodecID = 86044;
2041 pub const AVCodecID_AV_CODEC_ID_MLP: AVCodecID = 86045;
2042 pub const AVCodecID_AV_CODEC_ID_GSM_MS: AVCodecID = 86046;
2043 pub const AVCodecID_AV_CODEC_ID_ATRAC3: AVCodecID = 86047;
2044 pub const AVCodecID_AV_CODEC_ID_APE: AVCodecID = 86048;
2045 pub const AVCodecID_AV_CODEC_ID_NELLYMOSER: AVCodecID = 86049;
2046 pub const AVCodecID_AV_CODEC_ID_MUSEPACK8: AVCodecID = 86050;
2047 pub const AVCodecID_AV_CODEC_ID_SPEEX: AVCodecID = 86051;
2048 pub const AVCodecID_AV_CODEC_ID_WMAVOICE: AVCodecID = 86052;
2049 pub const AVCodecID_AV_CODEC_ID_WMAPRO: AVCodecID = 86053;
2050 pub const AVCodecID_AV_CODEC_ID_WMALOSSLESS: AVCodecID = 86054;
2051 pub const AVCodecID_AV_CODEC_ID_ATRAC3P: AVCodecID = 86055;
2052 pub const AVCodecID_AV_CODEC_ID_EAC3: AVCodecID = 86056;
2053 pub const AVCodecID_AV_CODEC_ID_SIPR: AVCodecID = 86057;
2054 pub const AVCodecID_AV_CODEC_ID_MP1: AVCodecID = 86058;
2055 pub const AVCodecID_AV_CODEC_ID_TWINVQ: AVCodecID = 86059;
2056 pub const AVCodecID_AV_CODEC_ID_TRUEHD: AVCodecID = 86060;
2057 pub const AVCodecID_AV_CODEC_ID_MP4ALS: AVCodecID = 86061;
2058 pub const AVCodecID_AV_CODEC_ID_ATRAC1: AVCodecID = 86062;
2059 pub const AVCodecID_AV_CODEC_ID_BINKAUDIO_RDFT: AVCodecID = 86063;
2060 pub const AVCodecID_AV_CODEC_ID_BINKAUDIO_DCT: AVCodecID = 86064;
2061 pub const AVCodecID_AV_CODEC_ID_AAC_LATM: AVCodecID = 86065;
2062 pub const AVCodecID_AV_CODEC_ID_QDMC: AVCodecID = 86066;
2063 pub const AVCodecID_AV_CODEC_ID_CELT: AVCodecID = 86067;
2064 pub const AVCodecID_AV_CODEC_ID_G723_1: AVCodecID = 86068;
2065 pub const AVCodecID_AV_CODEC_ID_G729: AVCodecID = 86069;
2066 pub const AVCodecID_AV_CODEC_ID_8SVX_EXP: AVCodecID = 86070;
2067 pub const AVCodecID_AV_CODEC_ID_8SVX_FIB: AVCodecID = 86071;
2068 pub const AVCodecID_AV_CODEC_ID_BMV_AUDIO: AVCodecID = 86072;
2069 pub const AVCodecID_AV_CODEC_ID_RALF: AVCodecID = 86073;
2070 pub const AVCodecID_AV_CODEC_ID_IAC: AVCodecID = 86074;
2071 pub const AVCodecID_AV_CODEC_ID_ILBC: AVCodecID = 86075;
2072 pub const AVCodecID_AV_CODEC_ID_OPUS: AVCodecID = 86076;
2073 pub const AVCodecID_AV_CODEC_ID_COMFORT_NOISE: AVCodecID = 86077;
2074 pub const AVCodecID_AV_CODEC_ID_TAK: AVCodecID = 86078;
2075 pub const AVCodecID_AV_CODEC_ID_METASOUND: AVCodecID = 86079;
2076 pub const AVCodecID_AV_CODEC_ID_PAF_AUDIO: AVCodecID = 86080;
2077 pub const AVCodecID_AV_CODEC_ID_ON2AVC: AVCodecID = 86081;
2078 pub const AVCodecID_AV_CODEC_ID_DSS_SP: AVCodecID = 86082;
2079 pub const AVCodecID_AV_CODEC_ID_CODEC2: AVCodecID = 86083;
2080 pub const AVCodecID_AV_CODEC_ID_FFWAVESYNTH: AVCodecID = 86084;
2081 pub const AVCodecID_AV_CODEC_ID_SONIC: AVCodecID = 86085;
2082 pub const AVCodecID_AV_CODEC_ID_SONIC_LS: AVCodecID = 86086;
2083 pub const AVCodecID_AV_CODEC_ID_EVRC: AVCodecID = 86087;
2084 pub const AVCodecID_AV_CODEC_ID_SMV: AVCodecID = 86088;
2085 pub const AVCodecID_AV_CODEC_ID_DSD_LSBF: AVCodecID = 86089;
2086 pub const AVCodecID_AV_CODEC_ID_DSD_MSBF: AVCodecID = 86090;
2087 pub const AVCodecID_AV_CODEC_ID_DSD_LSBF_PLANAR: AVCodecID = 86091;
2088 pub const AVCodecID_AV_CODEC_ID_DSD_MSBF_PLANAR: AVCodecID = 86092;
2089 pub const AVCodecID_AV_CODEC_ID_4GV: AVCodecID = 86093;
2090 pub const AVCodecID_AV_CODEC_ID_INTERPLAY_ACM: AVCodecID = 86094;
2091 pub const AVCodecID_AV_CODEC_ID_XMA1: AVCodecID = 86095;
2092 pub const AVCodecID_AV_CODEC_ID_XMA2: AVCodecID = 86096;
2093 pub const AVCodecID_AV_CODEC_ID_DST: AVCodecID = 86097;
2094 pub const AVCodecID_AV_CODEC_ID_ATRAC3AL: AVCodecID = 86098;
2095 pub const AVCodecID_AV_CODEC_ID_ATRAC3PAL: AVCodecID = 86099;
2096 pub const AVCodecID_AV_CODEC_ID_DOLBY_E: AVCodecID = 86100;
2097 pub const AVCodecID_AV_CODEC_ID_APTX: AVCodecID = 86101;
2098 pub const AVCodecID_AV_CODEC_ID_APTX_HD: AVCodecID = 86102;
2099 pub const AVCodecID_AV_CODEC_ID_SBC: AVCodecID = 86103;
2100 pub const AVCodecID_AV_CODEC_ID_ATRAC9: AVCodecID = 86104;
2101 pub const AVCodecID_AV_CODEC_ID_HCOM: AVCodecID = 86105;
2102 pub const AVCodecID_AV_CODEC_ID_ACELP_KELVIN: AVCodecID = 86106;
2103 pub const AVCodecID_AV_CODEC_ID_MPEGH_3D_AUDIO: AVCodecID = 86107;
2104 pub const AVCodecID_AV_CODEC_ID_SIREN: AVCodecID = 86108;
2105 pub const AVCodecID_AV_CODEC_ID_HCA: AVCodecID = 86109;
2106 pub const AVCodecID_AV_CODEC_ID_FASTAUDIO: AVCodecID = 86110;
2107 pub const AVCodecID_AV_CODEC_ID_MSNSIREN: AVCodecID = 86111;
2108 pub const AVCodecID_AV_CODEC_ID_FIRST_SUBTITLE: AVCodecID = 94208;
2109 pub const AVCodecID_AV_CODEC_ID_DVD_SUBTITLE: AVCodecID = 94208;
2110 pub const AVCodecID_AV_CODEC_ID_DVB_SUBTITLE: AVCodecID = 94209;
2111 pub const AVCodecID_AV_CODEC_ID_TEXT: AVCodecID = 94210;
2112 pub const AVCodecID_AV_CODEC_ID_XSUB: AVCodecID = 94211;
2113 pub const AVCodecID_AV_CODEC_ID_SSA: AVCodecID = 94212;
2114 pub const AVCodecID_AV_CODEC_ID_MOV_TEXT: AVCodecID = 94213;
2115 pub const AVCodecID_AV_CODEC_ID_HDMV_PGS_SUBTITLE: AVCodecID = 94214;
2116 pub const AVCodecID_AV_CODEC_ID_DVB_TELETEXT: AVCodecID = 94215;
2117 pub const AVCodecID_AV_CODEC_ID_SRT: AVCodecID = 94216;
2118 pub const AVCodecID_AV_CODEC_ID_MICRODVD: AVCodecID = 94217;
2119 pub const AVCodecID_AV_CODEC_ID_EIA_608: AVCodecID = 94218;
2120 pub const AVCodecID_AV_CODEC_ID_JACOSUB: AVCodecID = 94219;
2121 pub const AVCodecID_AV_CODEC_ID_SAMI: AVCodecID = 94220;
2122 pub const AVCodecID_AV_CODEC_ID_REALTEXT: AVCodecID = 94221;
2123 pub const AVCodecID_AV_CODEC_ID_STL: AVCodecID = 94222;
2124 pub const AVCodecID_AV_CODEC_ID_SUBVIEWER1: AVCodecID = 94223;
2125 pub const AVCodecID_AV_CODEC_ID_SUBVIEWER: AVCodecID = 94224;
2126 pub const AVCodecID_AV_CODEC_ID_SUBRIP: AVCodecID = 94225;
2127 pub const AVCodecID_AV_CODEC_ID_WEBVTT: AVCodecID = 94226;
2128 pub const AVCodecID_AV_CODEC_ID_MPL2: AVCodecID = 94227;
2129 pub const AVCodecID_AV_CODEC_ID_VPLAYER: AVCodecID = 94228;
2130 pub const AVCodecID_AV_CODEC_ID_PJS: AVCodecID = 94229;
2131 pub const AVCodecID_AV_CODEC_ID_ASS: AVCodecID = 94230;
2132 pub const AVCodecID_AV_CODEC_ID_HDMV_TEXT_SUBTITLE: AVCodecID = 94231;
2133 pub const AVCodecID_AV_CODEC_ID_TTML: AVCodecID = 94232;
2134 pub const AVCodecID_AV_CODEC_ID_ARIB_CAPTION: AVCodecID = 94233;
2135 pub const AVCodecID_AV_CODEC_ID_FIRST_UNKNOWN: AVCodecID = 98304;
2136 pub const AVCodecID_AV_CODEC_ID_TTF: AVCodecID = 98304;
2137 pub const AVCodecID_AV_CODEC_ID_SCTE_35: AVCodecID = 98305;
2138 pub const AVCodecID_AV_CODEC_ID_EPG: AVCodecID = 98306;
2139 pub const AVCodecID_AV_CODEC_ID_BINTEXT: AVCodecID = 98307;
2140 pub const AVCodecID_AV_CODEC_ID_XBIN: AVCodecID = 98308;
2141 pub const AVCodecID_AV_CODEC_ID_IDF: AVCodecID = 98309;
2142 pub const AVCodecID_AV_CODEC_ID_OTF: AVCodecID = 98310;
2143 pub const AVCodecID_AV_CODEC_ID_SMPTE_KLV: AVCodecID = 98311;
2144 pub const AVCodecID_AV_CODEC_ID_DVD_NAV: AVCodecID = 98312;
2145 pub const AVCodecID_AV_CODEC_ID_TIMED_ID3: AVCodecID = 98313;
2146 pub const AVCodecID_AV_CODEC_ID_BIN_DATA: AVCodecID = 98314;
2147 pub const AVCodecID_AV_CODEC_ID_PROBE: AVCodecID = 102400;
2148 pub const AVCodecID_AV_CODEC_ID_MPEG2TS: AVCodecID = 131072;
2149 pub const AVCodecID_AV_CODEC_ID_MPEG4SYSTEMS: AVCodecID = 131073;
2150 pub const AVCodecID_AV_CODEC_ID_FFMETADATA: AVCodecID = 135168;
2151 pub const AVCodecID_AV_CODEC_ID_WRAPPED_AVFRAME: AVCodecID = 135169;
2152 pub type AVCodecID = ::std::os::raw::c_uint;
2153 extern "C" {
avcodec_get_type(codec_id: AVCodecID) -> AVMediaType2154     pub fn avcodec_get_type(codec_id: AVCodecID) -> AVMediaType;
2155 }
2156 extern "C" {
avcodec_get_name(id: AVCodecID) -> *const ::std::os::raw::c_char2157     pub fn avcodec_get_name(id: AVCodecID) -> *const ::std::os::raw::c_char;
2158 }
2159 extern "C" {
av_get_bits_per_sample(codec_id: AVCodecID) -> ::std::os::raw::c_int2160     pub fn av_get_bits_per_sample(codec_id: AVCodecID) -> ::std::os::raw::c_int;
2161 }
2162 extern "C" {
av_get_exact_bits_per_sample(codec_id: AVCodecID) -> ::std::os::raw::c_int2163     pub fn av_get_exact_bits_per_sample(codec_id: AVCodecID) -> ::std::os::raw::c_int;
2164 }
2165 extern "C" {
avcodec_profile_name( codec_id: AVCodecID, profile: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_char2166     pub fn avcodec_profile_name(
2167         codec_id: AVCodecID,
2168         profile: ::std::os::raw::c_int,
2169     ) -> *const ::std::os::raw::c_char;
2170 }
2171 extern "C" {
av_get_pcm_codec(fmt: AVSampleFormat, be: ::std::os::raw::c_int) -> AVCodecID2172     pub fn av_get_pcm_codec(fmt: AVSampleFormat, be: ::std::os::raw::c_int) -> AVCodecID;
2173 }
2174 #[repr(C)]
2175 #[derive(Debug, Copy, Clone)]
2176 pub struct AVProfile {
2177     pub profile: ::std::os::raw::c_int,
2178     pub name: *const ::std::os::raw::c_char,
2179 }
2180 impl Default for AVProfile {
default() -> Self2181     fn default() -> Self {
2182         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
2183         unsafe {
2184             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
2185             s.assume_init()
2186         }
2187     }
2188 }
2189 #[repr(C)]
2190 #[derive(Debug, Copy, Clone)]
2191 pub struct AVCodecDefault {
2192     _unused: [u8; 0],
2193 }
2194 #[repr(C)]
2195 #[derive(Debug, Copy, Clone)]
2196 pub struct AVCodec {
2197     pub name: *const ::std::os::raw::c_char,
2198     pub long_name: *const ::std::os::raw::c_char,
2199     pub type_: AVMediaType,
2200     pub id: AVCodecID,
2201     pub capabilities: ::std::os::raw::c_int,
2202     pub max_lowres: u8,
2203     pub supported_framerates: *const AVRational,
2204     pub pix_fmts: *const AVPixelFormat,
2205     pub supported_samplerates: *const ::std::os::raw::c_int,
2206     pub sample_fmts: *const AVSampleFormat,
2207     pub channel_layouts: *const u64,
2208     pub priv_class: *const AVClass,
2209     pub profiles: *const AVProfile,
2210     pub wrapper_name: *const ::std::os::raw::c_char,
2211     pub caps_internal: ::std::os::raw::c_int,
2212     pub priv_data_size: ::std::os::raw::c_int,
2213     pub update_thread_context: ::std::option::Option<
2214         unsafe extern "C" fn(
2215             dst: *mut AVCodecContext,
2216             src: *const AVCodecContext,
2217         ) -> ::std::os::raw::c_int,
2218     >,
2219     pub update_thread_context_for_user: ::std::option::Option<
2220         unsafe extern "C" fn(
2221             dst: *mut AVCodecContext,
2222             src: *const AVCodecContext,
2223         ) -> ::std::os::raw::c_int,
2224     >,
2225     pub defaults: *const AVCodecDefault,
2226     pub init_static_data: ::std::option::Option<unsafe extern "C" fn(codec: *mut AVCodec)>,
2227     pub init: ::std::option::Option<
2228         unsafe extern "C" fn(arg1: *mut AVCodecContext) -> ::std::os::raw::c_int,
2229     >,
2230     pub encode_sub: ::std::option::Option<
2231         unsafe extern "C" fn(
2232             arg1: *mut AVCodecContext,
2233             buf: *mut u8,
2234             buf_size: ::std::os::raw::c_int,
2235             sub: *const AVSubtitle,
2236         ) -> ::std::os::raw::c_int,
2237     >,
2238     pub encode2: ::std::option::Option<
2239         unsafe extern "C" fn(
2240             avctx: *mut AVCodecContext,
2241             avpkt: *mut AVPacket,
2242             frame: *const AVFrame,
2243             got_packet_ptr: *mut ::std::os::raw::c_int,
2244         ) -> ::std::os::raw::c_int,
2245     >,
2246     pub decode: ::std::option::Option<
2247         unsafe extern "C" fn(
2248             avctx: *mut AVCodecContext,
2249             outdata: *mut ::std::os::raw::c_void,
2250             got_frame_ptr: *mut ::std::os::raw::c_int,
2251             avpkt: *mut AVPacket,
2252         ) -> ::std::os::raw::c_int,
2253     >,
2254     pub close: ::std::option::Option<
2255         unsafe extern "C" fn(arg1: *mut AVCodecContext) -> ::std::os::raw::c_int,
2256     >,
2257     pub receive_packet: ::std::option::Option<
2258         unsafe extern "C" fn(
2259             avctx: *mut AVCodecContext,
2260             avpkt: *mut AVPacket,
2261         ) -> ::std::os::raw::c_int,
2262     >,
2263     pub receive_frame: ::std::option::Option<
2264         unsafe extern "C" fn(
2265             avctx: *mut AVCodecContext,
2266             frame: *mut AVFrame,
2267         ) -> ::std::os::raw::c_int,
2268     >,
2269     pub flush: ::std::option::Option<unsafe extern "C" fn(arg1: *mut AVCodecContext)>,
2270     pub bsfs: *const ::std::os::raw::c_char,
2271     pub hw_configs: *const *mut AVCodecHWConfigInternal,
2272     pub codec_tags: *const u32,
2273 }
2274 impl Default for AVCodec {
default() -> Self2275     fn default() -> Self {
2276         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
2277         unsafe {
2278             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
2279             s.assume_init()
2280         }
2281     }
2282 }
2283 extern "C" {
av_codec_iterate(opaque: *mut *mut ::std::os::raw::c_void) -> *const AVCodec2284     pub fn av_codec_iterate(opaque: *mut *mut ::std::os::raw::c_void) -> *const AVCodec;
2285 }
2286 extern "C" {
avcodec_find_decoder(id: AVCodecID) -> *const AVCodec2287     pub fn avcodec_find_decoder(id: AVCodecID) -> *const AVCodec;
2288 }
2289 extern "C" {
avcodec_find_decoder_by_name(name: *const ::std::os::raw::c_char) -> *const AVCodec2290     pub fn avcodec_find_decoder_by_name(name: *const ::std::os::raw::c_char) -> *const AVCodec;
2291 }
2292 extern "C" {
avcodec_find_encoder(id: AVCodecID) -> *const AVCodec2293     pub fn avcodec_find_encoder(id: AVCodecID) -> *const AVCodec;
2294 }
2295 extern "C" {
avcodec_find_encoder_by_name(name: *const ::std::os::raw::c_char) -> *const AVCodec2296     pub fn avcodec_find_encoder_by_name(name: *const ::std::os::raw::c_char) -> *const AVCodec;
2297 }
2298 extern "C" {
av_codec_is_encoder(codec: *const AVCodec) -> ::std::os::raw::c_int2299     pub fn av_codec_is_encoder(codec: *const AVCodec) -> ::std::os::raw::c_int;
2300 }
2301 extern "C" {
av_codec_is_decoder(codec: *const AVCodec) -> ::std::os::raw::c_int2302     pub fn av_codec_is_decoder(codec: *const AVCodec) -> ::std::os::raw::c_int;
2303 }
2304 extern "C" {
av_get_profile_name( codec: *const AVCodec, profile: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_char2305     pub fn av_get_profile_name(
2306         codec: *const AVCodec,
2307         profile: ::std::os::raw::c_int,
2308     ) -> *const ::std::os::raw::c_char;
2309 }
2310 pub const AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX: ::std::os::raw::c_uint = 1;
2311 pub const AV_CODEC_HW_CONFIG_METHOD_HW_FRAMES_CTX: ::std::os::raw::c_uint = 2;
2312 pub const AV_CODEC_HW_CONFIG_METHOD_INTERNAL: ::std::os::raw::c_uint = 4;
2313 pub const AV_CODEC_HW_CONFIG_METHOD_AD_HOC: ::std::os::raw::c_uint = 8;
2314 pub type _bindgen_ty_4 = ::std::os::raw::c_uint;
2315 #[repr(C)]
2316 #[derive(Debug, Copy, Clone)]
2317 pub struct AVCodecHWConfig {
2318     pub pix_fmt: AVPixelFormat,
2319     pub methods: ::std::os::raw::c_int,
2320     pub device_type: AVHWDeviceType,
2321 }
2322 impl Default for AVCodecHWConfig {
default() -> Self2323     fn default() -> Self {
2324         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
2325         unsafe {
2326             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
2327             s.assume_init()
2328         }
2329     }
2330 }
2331 extern "C" {
avcodec_get_hw_config( codec: *const AVCodec, index: ::std::os::raw::c_int, ) -> *const AVCodecHWConfig2332     pub fn avcodec_get_hw_config(
2333         codec: *const AVCodec,
2334         index: ::std::os::raw::c_int,
2335     ) -> *const AVCodecHWConfig;
2336 }
2337 #[repr(C)]
2338 #[derive(Debug, Copy, Clone)]
2339 pub struct AVCodecDescriptor {
2340     pub id: AVCodecID,
2341     pub type_: AVMediaType,
2342     pub name: *const ::std::os::raw::c_char,
2343     pub long_name: *const ::std::os::raw::c_char,
2344     pub props: ::std::os::raw::c_int,
2345     pub mime_types: *const *const ::std::os::raw::c_char,
2346     pub profiles: *const AVProfile,
2347 }
2348 impl Default for AVCodecDescriptor {
default() -> Self2349     fn default() -> Self {
2350         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
2351         unsafe {
2352             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
2353             s.assume_init()
2354         }
2355     }
2356 }
2357 extern "C" {
avcodec_descriptor_get(id: AVCodecID) -> *const AVCodecDescriptor2358     pub fn avcodec_descriptor_get(id: AVCodecID) -> *const AVCodecDescriptor;
2359 }
2360 extern "C" {
avcodec_descriptor_next(prev: *const AVCodecDescriptor) -> *const AVCodecDescriptor2361     pub fn avcodec_descriptor_next(prev: *const AVCodecDescriptor) -> *const AVCodecDescriptor;
2362 }
2363 extern "C" {
avcodec_descriptor_get_by_name( name: *const ::std::os::raw::c_char, ) -> *const AVCodecDescriptor2364     pub fn avcodec_descriptor_get_by_name(
2365         name: *const ::std::os::raw::c_char,
2366     ) -> *const AVCodecDescriptor;
2367 }
2368 pub const AVFieldOrder_AV_FIELD_UNKNOWN: AVFieldOrder = 0;
2369 pub const AVFieldOrder_AV_FIELD_PROGRESSIVE: AVFieldOrder = 1;
2370 pub const AVFieldOrder_AV_FIELD_TT: AVFieldOrder = 2;
2371 pub const AVFieldOrder_AV_FIELD_BB: AVFieldOrder = 3;
2372 pub const AVFieldOrder_AV_FIELD_TB: AVFieldOrder = 4;
2373 pub const AVFieldOrder_AV_FIELD_BT: AVFieldOrder = 5;
2374 pub type AVFieldOrder = ::std::os::raw::c_uint;
2375 #[repr(C)]
2376 #[derive(Debug, Copy, Clone)]
2377 pub struct AVCodecParameters {
2378     pub codec_type: AVMediaType,
2379     pub codec_id: AVCodecID,
2380     pub codec_tag: u32,
2381     pub extradata: *mut u8,
2382     pub extradata_size: ::std::os::raw::c_int,
2383     pub format: ::std::os::raw::c_int,
2384     pub bit_rate: i64,
2385     pub bits_per_coded_sample: ::std::os::raw::c_int,
2386     pub bits_per_raw_sample: ::std::os::raw::c_int,
2387     pub profile: ::std::os::raw::c_int,
2388     pub level: ::std::os::raw::c_int,
2389     pub width: ::std::os::raw::c_int,
2390     pub height: ::std::os::raw::c_int,
2391     pub sample_aspect_ratio: AVRational,
2392     pub field_order: AVFieldOrder,
2393     pub color_range: AVColorRange,
2394     pub color_primaries: AVColorPrimaries,
2395     pub color_trc: AVColorTransferCharacteristic,
2396     pub color_space: AVColorSpace,
2397     pub chroma_location: AVChromaLocation,
2398     pub video_delay: ::std::os::raw::c_int,
2399     pub channel_layout: u64,
2400     pub channels: ::std::os::raw::c_int,
2401     pub sample_rate: ::std::os::raw::c_int,
2402     pub block_align: ::std::os::raw::c_int,
2403     pub frame_size: ::std::os::raw::c_int,
2404     pub initial_padding: ::std::os::raw::c_int,
2405     pub trailing_padding: ::std::os::raw::c_int,
2406     pub seek_preroll: ::std::os::raw::c_int,
2407 }
2408 impl Default for AVCodecParameters {
default() -> Self2409     fn default() -> Self {
2410         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
2411         unsafe {
2412             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
2413             s.assume_init()
2414         }
2415     }
2416 }
2417 extern "C" {
avcodec_parameters_alloc() -> *mut AVCodecParameters2418     pub fn avcodec_parameters_alloc() -> *mut AVCodecParameters;
2419 }
2420 extern "C" {
avcodec_parameters_free(par: *mut *mut AVCodecParameters)2421     pub fn avcodec_parameters_free(par: *mut *mut AVCodecParameters);
2422 }
2423 extern "C" {
avcodec_parameters_copy( dst: *mut AVCodecParameters, src: *const AVCodecParameters, ) -> ::std::os::raw::c_int2424     pub fn avcodec_parameters_copy(
2425         dst: *mut AVCodecParameters,
2426         src: *const AVCodecParameters,
2427     ) -> ::std::os::raw::c_int;
2428 }
2429 extern "C" {
av_get_audio_frame_duration2( par: *mut AVCodecParameters, frame_bytes: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int2430     pub fn av_get_audio_frame_duration2(
2431         par: *mut AVCodecParameters,
2432         frame_bytes: ::std::os::raw::c_int,
2433     ) -> ::std::os::raw::c_int;
2434 }
2435 pub const AVDiscard_AVDISCARD_NONE: AVDiscard = -16;
2436 pub const AVDiscard_AVDISCARD_DEFAULT: AVDiscard = 0;
2437 pub const AVDiscard_AVDISCARD_NONREF: AVDiscard = 8;
2438 pub const AVDiscard_AVDISCARD_BIDIR: AVDiscard = 16;
2439 pub const AVDiscard_AVDISCARD_NONINTRA: AVDiscard = 24;
2440 pub const AVDiscard_AVDISCARD_NONKEY: AVDiscard = 32;
2441 pub const AVDiscard_AVDISCARD_ALL: AVDiscard = 48;
2442 pub type AVDiscard = ::std::os::raw::c_int;
2443 pub const AVAudioServiceType_AV_AUDIO_SERVICE_TYPE_MAIN: AVAudioServiceType = 0;
2444 pub const AVAudioServiceType_AV_AUDIO_SERVICE_TYPE_EFFECTS: AVAudioServiceType = 1;
2445 pub const AVAudioServiceType_AV_AUDIO_SERVICE_TYPE_VISUALLY_IMPAIRED: AVAudioServiceType = 2;
2446 pub const AVAudioServiceType_AV_AUDIO_SERVICE_TYPE_HEARING_IMPAIRED: AVAudioServiceType = 3;
2447 pub const AVAudioServiceType_AV_AUDIO_SERVICE_TYPE_DIALOGUE: AVAudioServiceType = 4;
2448 pub const AVAudioServiceType_AV_AUDIO_SERVICE_TYPE_COMMENTARY: AVAudioServiceType = 5;
2449 pub const AVAudioServiceType_AV_AUDIO_SERVICE_TYPE_EMERGENCY: AVAudioServiceType = 6;
2450 pub const AVAudioServiceType_AV_AUDIO_SERVICE_TYPE_VOICE_OVER: AVAudioServiceType = 7;
2451 pub const AVAudioServiceType_AV_AUDIO_SERVICE_TYPE_KARAOKE: AVAudioServiceType = 8;
2452 pub const AVAudioServiceType_AV_AUDIO_SERVICE_TYPE_NB: AVAudioServiceType = 9;
2453 pub type AVAudioServiceType = ::std::os::raw::c_uint;
2454 #[repr(C)]
2455 #[derive(Debug, Default, Copy, Clone)]
2456 pub struct AVCPBProperties {
2457     pub max_bitrate: i64,
2458     pub min_bitrate: i64,
2459     pub avg_bitrate: i64,
2460     pub buffer_size: i64,
2461     pub vbv_delay: u64,
2462 }
2463 extern "C" {
av_cpb_properties_alloc(size: *mut usize) -> *mut AVCPBProperties2464     pub fn av_cpb_properties_alloc(size: *mut usize) -> *mut AVCPBProperties;
2465 }
2466 extern "C" {
av_xiphlacing( s: *mut ::std::os::raw::c_uchar, v: ::std::os::raw::c_uint, ) -> ::std::os::raw::c_uint2467     pub fn av_xiphlacing(
2468         s: *mut ::std::os::raw::c_uchar,
2469         v: ::std::os::raw::c_uint,
2470     ) -> ::std::os::raw::c_uint;
2471 }
2472 pub const AVPacketSideDataType_AV_PKT_DATA_PALETTE: AVPacketSideDataType = 0;
2473 pub const AVPacketSideDataType_AV_PKT_DATA_NEW_EXTRADATA: AVPacketSideDataType = 1;
2474 pub const AVPacketSideDataType_AV_PKT_DATA_PARAM_CHANGE: AVPacketSideDataType = 2;
2475 pub const AVPacketSideDataType_AV_PKT_DATA_H263_MB_INFO: AVPacketSideDataType = 3;
2476 pub const AVPacketSideDataType_AV_PKT_DATA_REPLAYGAIN: AVPacketSideDataType = 4;
2477 pub const AVPacketSideDataType_AV_PKT_DATA_DISPLAYMATRIX: AVPacketSideDataType = 5;
2478 pub const AVPacketSideDataType_AV_PKT_DATA_STEREO3D: AVPacketSideDataType = 6;
2479 pub const AVPacketSideDataType_AV_PKT_DATA_AUDIO_SERVICE_TYPE: AVPacketSideDataType = 7;
2480 pub const AVPacketSideDataType_AV_PKT_DATA_QUALITY_STATS: AVPacketSideDataType = 8;
2481 pub const AVPacketSideDataType_AV_PKT_DATA_FALLBACK_TRACK: AVPacketSideDataType = 9;
2482 pub const AVPacketSideDataType_AV_PKT_DATA_CPB_PROPERTIES: AVPacketSideDataType = 10;
2483 pub const AVPacketSideDataType_AV_PKT_DATA_SKIP_SAMPLES: AVPacketSideDataType = 11;
2484 pub const AVPacketSideDataType_AV_PKT_DATA_JP_DUALMONO: AVPacketSideDataType = 12;
2485 pub const AVPacketSideDataType_AV_PKT_DATA_STRINGS_METADATA: AVPacketSideDataType = 13;
2486 pub const AVPacketSideDataType_AV_PKT_DATA_SUBTITLE_POSITION: AVPacketSideDataType = 14;
2487 pub const AVPacketSideDataType_AV_PKT_DATA_MATROSKA_BLOCKADDITIONAL: AVPacketSideDataType = 15;
2488 pub const AVPacketSideDataType_AV_PKT_DATA_WEBVTT_IDENTIFIER: AVPacketSideDataType = 16;
2489 pub const AVPacketSideDataType_AV_PKT_DATA_WEBVTT_SETTINGS: AVPacketSideDataType = 17;
2490 pub const AVPacketSideDataType_AV_PKT_DATA_METADATA_UPDATE: AVPacketSideDataType = 18;
2491 pub const AVPacketSideDataType_AV_PKT_DATA_MPEGTS_STREAM_ID: AVPacketSideDataType = 19;
2492 pub const AVPacketSideDataType_AV_PKT_DATA_MASTERING_DISPLAY_METADATA: AVPacketSideDataType = 20;
2493 pub const AVPacketSideDataType_AV_PKT_DATA_SPHERICAL: AVPacketSideDataType = 21;
2494 pub const AVPacketSideDataType_AV_PKT_DATA_CONTENT_LIGHT_LEVEL: AVPacketSideDataType = 22;
2495 pub const AVPacketSideDataType_AV_PKT_DATA_A53_CC: AVPacketSideDataType = 23;
2496 pub const AVPacketSideDataType_AV_PKT_DATA_ENCRYPTION_INIT_INFO: AVPacketSideDataType = 24;
2497 pub const AVPacketSideDataType_AV_PKT_DATA_ENCRYPTION_INFO: AVPacketSideDataType = 25;
2498 pub const AVPacketSideDataType_AV_PKT_DATA_AFD: AVPacketSideDataType = 26;
2499 pub const AVPacketSideDataType_AV_PKT_DATA_PRFT: AVPacketSideDataType = 27;
2500 pub const AVPacketSideDataType_AV_PKT_DATA_ICC_PROFILE: AVPacketSideDataType = 28;
2501 pub const AVPacketSideDataType_AV_PKT_DATA_DOVI_CONF: AVPacketSideDataType = 29;
2502 pub const AVPacketSideDataType_AV_PKT_DATA_S12M_TIMECODE: AVPacketSideDataType = 30;
2503 pub const AVPacketSideDataType_AV_PKT_DATA_DYNAMIC_HDR10_PLUS: AVPacketSideDataType = 31;
2504 pub const AVPacketSideDataType_AV_PKT_DATA_NB: AVPacketSideDataType = 32;
2505 pub type AVPacketSideDataType = ::std::os::raw::c_uint;
2506 #[repr(C)]
2507 #[derive(Debug, Copy, Clone)]
2508 pub struct AVPacketSideData {
2509     pub data: *mut u8,
2510     pub size: usize,
2511     pub type_: AVPacketSideDataType,
2512 }
2513 impl Default for AVPacketSideData {
default() -> Self2514     fn default() -> Self {
2515         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
2516         unsafe {
2517             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
2518             s.assume_init()
2519         }
2520     }
2521 }
2522 #[repr(C)]
2523 #[derive(Debug, Copy, Clone)]
2524 pub struct AVPacket {
2525     pub buf: *mut AVBufferRef,
2526     pub pts: i64,
2527     pub dts: i64,
2528     pub data: *mut u8,
2529     pub size: ::std::os::raw::c_int,
2530     pub stream_index: ::std::os::raw::c_int,
2531     pub flags: ::std::os::raw::c_int,
2532     pub side_data: *mut AVPacketSideData,
2533     pub side_data_elems: ::std::os::raw::c_int,
2534     pub duration: i64,
2535     pub pos: i64,
2536     pub opaque: *mut ::std::os::raw::c_void,
2537     pub opaque_ref: *mut AVBufferRef,
2538     pub time_base: AVRational,
2539 }
2540 impl Default for AVPacket {
default() -> Self2541     fn default() -> Self {
2542         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
2543         unsafe {
2544             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
2545             s.assume_init()
2546         }
2547     }
2548 }
2549 extern "C" {
av_packet_alloc() -> *mut AVPacket2550     pub fn av_packet_alloc() -> *mut AVPacket;
2551 }
2552 extern "C" {
av_packet_clone(src: *const AVPacket) -> *mut AVPacket2553     pub fn av_packet_clone(src: *const AVPacket) -> *mut AVPacket;
2554 }
2555 extern "C" {
av_packet_free(pkt: *mut *mut AVPacket)2556     pub fn av_packet_free(pkt: *mut *mut AVPacket);
2557 }
2558 extern "C" {
av_init_packet(pkt: *mut AVPacket)2559     pub fn av_init_packet(pkt: *mut AVPacket);
2560 }
2561 extern "C" {
av_new_packet(pkt: *mut AVPacket, size: ::std::os::raw::c_int) -> ::std::os::raw::c_int2562     pub fn av_new_packet(pkt: *mut AVPacket, size: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
2563 }
2564 extern "C" {
av_shrink_packet(pkt: *mut AVPacket, size: ::std::os::raw::c_int)2565     pub fn av_shrink_packet(pkt: *mut AVPacket, size: ::std::os::raw::c_int);
2566 }
2567 extern "C" {
av_grow_packet( pkt: *mut AVPacket, grow_by: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int2568     pub fn av_grow_packet(
2569         pkt: *mut AVPacket,
2570         grow_by: ::std::os::raw::c_int,
2571     ) -> ::std::os::raw::c_int;
2572 }
2573 extern "C" {
av_packet_from_data( pkt: *mut AVPacket, data: *mut u8, size: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int2574     pub fn av_packet_from_data(
2575         pkt: *mut AVPacket,
2576         data: *mut u8,
2577         size: ::std::os::raw::c_int,
2578     ) -> ::std::os::raw::c_int;
2579 }
2580 extern "C" {
av_packet_new_side_data( pkt: *mut AVPacket, type_: AVPacketSideDataType, size: usize, ) -> *mut u82581     pub fn av_packet_new_side_data(
2582         pkt: *mut AVPacket,
2583         type_: AVPacketSideDataType,
2584         size: usize,
2585     ) -> *mut u8;
2586 }
2587 extern "C" {
av_packet_add_side_data( pkt: *mut AVPacket, type_: AVPacketSideDataType, data: *mut u8, size: usize, ) -> ::std::os::raw::c_int2588     pub fn av_packet_add_side_data(
2589         pkt: *mut AVPacket,
2590         type_: AVPacketSideDataType,
2591         data: *mut u8,
2592         size: usize,
2593     ) -> ::std::os::raw::c_int;
2594 }
2595 extern "C" {
av_packet_shrink_side_data( pkt: *mut AVPacket, type_: AVPacketSideDataType, size: usize, ) -> ::std::os::raw::c_int2596     pub fn av_packet_shrink_side_data(
2597         pkt: *mut AVPacket,
2598         type_: AVPacketSideDataType,
2599         size: usize,
2600     ) -> ::std::os::raw::c_int;
2601 }
2602 extern "C" {
av_packet_get_side_data( pkt: *const AVPacket, type_: AVPacketSideDataType, size: *mut usize, ) -> *mut u82603     pub fn av_packet_get_side_data(
2604         pkt: *const AVPacket,
2605         type_: AVPacketSideDataType,
2606         size: *mut usize,
2607     ) -> *mut u8;
2608 }
2609 extern "C" {
av_packet_side_data_name(type_: AVPacketSideDataType) -> *const ::std::os::raw::c_char2610     pub fn av_packet_side_data_name(type_: AVPacketSideDataType) -> *const ::std::os::raw::c_char;
2611 }
2612 extern "C" {
av_packet_pack_dictionary(dict: *mut AVDictionary, size: *mut usize) -> *mut u82613     pub fn av_packet_pack_dictionary(dict: *mut AVDictionary, size: *mut usize) -> *mut u8;
2614 }
2615 extern "C" {
av_packet_unpack_dictionary( data: *const u8, size: usize, dict: *mut *mut AVDictionary, ) -> ::std::os::raw::c_int2616     pub fn av_packet_unpack_dictionary(
2617         data: *const u8,
2618         size: usize,
2619         dict: *mut *mut AVDictionary,
2620     ) -> ::std::os::raw::c_int;
2621 }
2622 extern "C" {
av_packet_free_side_data(pkt: *mut AVPacket)2623     pub fn av_packet_free_side_data(pkt: *mut AVPacket);
2624 }
2625 extern "C" {
av_packet_ref(dst: *mut AVPacket, src: *const AVPacket) -> ::std::os::raw::c_int2626     pub fn av_packet_ref(dst: *mut AVPacket, src: *const AVPacket) -> ::std::os::raw::c_int;
2627 }
2628 extern "C" {
av_packet_unref(pkt: *mut AVPacket)2629     pub fn av_packet_unref(pkt: *mut AVPacket);
2630 }
2631 extern "C" {
av_packet_move_ref(dst: *mut AVPacket, src: *mut AVPacket)2632     pub fn av_packet_move_ref(dst: *mut AVPacket, src: *mut AVPacket);
2633 }
2634 extern "C" {
av_packet_copy_props(dst: *mut AVPacket, src: *const AVPacket) -> ::std::os::raw::c_int2635     pub fn av_packet_copy_props(dst: *mut AVPacket, src: *const AVPacket) -> ::std::os::raw::c_int;
2636 }
2637 extern "C" {
av_packet_make_refcounted(pkt: *mut AVPacket) -> ::std::os::raw::c_int2638     pub fn av_packet_make_refcounted(pkt: *mut AVPacket) -> ::std::os::raw::c_int;
2639 }
2640 extern "C" {
av_packet_make_writable(pkt: *mut AVPacket) -> ::std::os::raw::c_int2641     pub fn av_packet_make_writable(pkt: *mut AVPacket) -> ::std::os::raw::c_int;
2642 }
2643 extern "C" {
av_packet_rescale_ts(pkt: *mut AVPacket, tb_src: AVRational, tb_dst: AVRational)2644     pub fn av_packet_rescale_ts(pkt: *mut AVPacket, tb_src: AVRational, tb_dst: AVRational);
2645 }
2646 #[repr(C)]
2647 #[derive(Debug, Default, Copy, Clone)]
2648 pub struct RcOverride {
2649     pub start_frame: ::std::os::raw::c_int,
2650     pub end_frame: ::std::os::raw::c_int,
2651     pub qscale: ::std::os::raw::c_int,
2652     pub quality_factor: f32,
2653 }
2654 #[repr(C)]
2655 #[derive(Debug, Copy, Clone)]
2656 pub struct AVCodecInternal {
2657     _unused: [u8; 0],
2658 }
2659 #[repr(C)]
2660 #[derive(Debug, Copy, Clone)]
2661 pub struct AVCodecContext {
2662     pub av_class: *const AVClass,
2663     pub log_level_offset: ::std::os::raw::c_int,
2664     pub codec_type: AVMediaType,
2665     pub codec: *const AVCodec,
2666     pub codec_id: AVCodecID,
2667     pub codec_tag: ::std::os::raw::c_uint,
2668     pub priv_data: *mut ::std::os::raw::c_void,
2669     pub internal: *mut AVCodecInternal,
2670     pub opaque: *mut ::std::os::raw::c_void,
2671     pub bit_rate: i64,
2672     pub bit_rate_tolerance: ::std::os::raw::c_int,
2673     pub global_quality: ::std::os::raw::c_int,
2674     pub compression_level: ::std::os::raw::c_int,
2675     pub flags: ::std::os::raw::c_int,
2676     pub flags2: ::std::os::raw::c_int,
2677     pub extradata: *mut u8,
2678     pub extradata_size: ::std::os::raw::c_int,
2679     pub time_base: AVRational,
2680     pub ticks_per_frame: ::std::os::raw::c_int,
2681     pub delay: ::std::os::raw::c_int,
2682     pub width: ::std::os::raw::c_int,
2683     pub height: ::std::os::raw::c_int,
2684     pub coded_width: ::std::os::raw::c_int,
2685     pub coded_height: ::std::os::raw::c_int,
2686     pub gop_size: ::std::os::raw::c_int,
2687     pub pix_fmt: AVPixelFormat,
2688     pub draw_horiz_band: ::std::option::Option<
2689         unsafe extern "C" fn(
2690             s: *mut AVCodecContext,
2691             src: *const AVFrame,
2692             offset: *mut ::std::os::raw::c_int,
2693             y: ::std::os::raw::c_int,
2694             type_: ::std::os::raw::c_int,
2695             height: ::std::os::raw::c_int,
2696         ),
2697     >,
2698     pub get_format: ::std::option::Option<
2699         unsafe extern "C" fn(s: *mut AVCodecContext, fmt: *const AVPixelFormat) -> AVPixelFormat,
2700     >,
2701     pub max_b_frames: ::std::os::raw::c_int,
2702     pub b_quant_factor: f32,
2703     pub b_quant_offset: f32,
2704     pub has_b_frames: ::std::os::raw::c_int,
2705     pub i_quant_factor: f32,
2706     pub i_quant_offset: f32,
2707     pub lumi_masking: f32,
2708     pub temporal_cplx_masking: f32,
2709     pub spatial_cplx_masking: f32,
2710     pub p_masking: f32,
2711     pub dark_masking: f32,
2712     pub slice_count: ::std::os::raw::c_int,
2713     pub slice_offset: *mut ::std::os::raw::c_int,
2714     pub sample_aspect_ratio: AVRational,
2715     pub me_cmp: ::std::os::raw::c_int,
2716     pub me_sub_cmp: ::std::os::raw::c_int,
2717     pub mb_cmp: ::std::os::raw::c_int,
2718     pub ildct_cmp: ::std::os::raw::c_int,
2719     pub dia_size: ::std::os::raw::c_int,
2720     pub last_predictor_count: ::std::os::raw::c_int,
2721     pub me_pre_cmp: ::std::os::raw::c_int,
2722     pub pre_dia_size: ::std::os::raw::c_int,
2723     pub me_subpel_quality: ::std::os::raw::c_int,
2724     pub me_range: ::std::os::raw::c_int,
2725     pub slice_flags: ::std::os::raw::c_int,
2726     pub mb_decision: ::std::os::raw::c_int,
2727     pub intra_matrix: *mut u16,
2728     pub inter_matrix: *mut u16,
2729     pub intra_dc_precision: ::std::os::raw::c_int,
2730     pub skip_top: ::std::os::raw::c_int,
2731     pub skip_bottom: ::std::os::raw::c_int,
2732     pub mb_lmin: ::std::os::raw::c_int,
2733     pub mb_lmax: ::std::os::raw::c_int,
2734     pub bidir_refine: ::std::os::raw::c_int,
2735     pub keyint_min: ::std::os::raw::c_int,
2736     pub refs: ::std::os::raw::c_int,
2737     pub mv0_threshold: ::std::os::raw::c_int,
2738     pub color_primaries: AVColorPrimaries,
2739     pub color_trc: AVColorTransferCharacteristic,
2740     pub colorspace: AVColorSpace,
2741     pub color_range: AVColorRange,
2742     pub chroma_sample_location: AVChromaLocation,
2743     pub slices: ::std::os::raw::c_int,
2744     pub field_order: AVFieldOrder,
2745     pub sample_rate: ::std::os::raw::c_int,
2746     pub channels: ::std::os::raw::c_int,
2747     pub sample_fmt: AVSampleFormat,
2748     pub frame_size: ::std::os::raw::c_int,
2749     pub frame_number: ::std::os::raw::c_int,
2750     pub block_align: ::std::os::raw::c_int,
2751     pub cutoff: ::std::os::raw::c_int,
2752     pub channel_layout: u64,
2753     pub request_channel_layout: u64,
2754     pub audio_service_type: AVAudioServiceType,
2755     pub request_sample_fmt: AVSampleFormat,
2756     pub get_buffer2: ::std::option::Option<
2757         unsafe extern "C" fn(
2758             s: *mut AVCodecContext,
2759             frame: *mut AVFrame,
2760             flags: ::std::os::raw::c_int,
2761         ) -> ::std::os::raw::c_int,
2762     >,
2763     pub qcompress: f32,
2764     pub qblur: f32,
2765     pub qmin: ::std::os::raw::c_int,
2766     pub qmax: ::std::os::raw::c_int,
2767     pub max_qdiff: ::std::os::raw::c_int,
2768     pub rc_buffer_size: ::std::os::raw::c_int,
2769     pub rc_override_count: ::std::os::raw::c_int,
2770     pub rc_override: *mut RcOverride,
2771     pub rc_max_rate: i64,
2772     pub rc_min_rate: i64,
2773     pub rc_max_available_vbv_use: f32,
2774     pub rc_min_vbv_overflow_use: f32,
2775     pub rc_initial_buffer_occupancy: ::std::os::raw::c_int,
2776     pub trellis: ::std::os::raw::c_int,
2777     pub stats_out: *mut ::std::os::raw::c_char,
2778     pub stats_in: *mut ::std::os::raw::c_char,
2779     pub workaround_bugs: ::std::os::raw::c_int,
2780     pub strict_std_compliance: ::std::os::raw::c_int,
2781     pub error_concealment: ::std::os::raw::c_int,
2782     pub debug: ::std::os::raw::c_int,
2783     pub err_recognition: ::std::os::raw::c_int,
2784     pub reordered_opaque: i64,
2785     pub hwaccel: *const AVHWAccel,
2786     pub hwaccel_context: *mut ::std::os::raw::c_void,
2787     pub error: [u64; 8usize],
2788     pub dct_algo: ::std::os::raw::c_int,
2789     pub idct_algo: ::std::os::raw::c_int,
2790     pub bits_per_coded_sample: ::std::os::raw::c_int,
2791     pub bits_per_raw_sample: ::std::os::raw::c_int,
2792     pub lowres: ::std::os::raw::c_int,
2793     pub thread_count: ::std::os::raw::c_int,
2794     pub thread_type: ::std::os::raw::c_int,
2795     pub active_thread_type: ::std::os::raw::c_int,
2796     pub thread_safe_callbacks: ::std::os::raw::c_int,
2797     pub execute: ::std::option::Option<
2798         unsafe extern "C" fn(
2799             c: *mut AVCodecContext,
2800             func: ::std::option::Option<
2801                 unsafe extern "C" fn(
2802                     c2: *mut AVCodecContext,
2803                     arg: *mut ::std::os::raw::c_void,
2804                 ) -> ::std::os::raw::c_int,
2805             >,
2806             arg2: *mut ::std::os::raw::c_void,
2807             ret: *mut ::std::os::raw::c_int,
2808             count: ::std::os::raw::c_int,
2809             size: ::std::os::raw::c_int,
2810         ) -> ::std::os::raw::c_int,
2811     >,
2812     pub execute2: ::std::option::Option<
2813         unsafe extern "C" fn(
2814             c: *mut AVCodecContext,
2815             func: ::std::option::Option<
2816                 unsafe extern "C" fn(
2817                     c2: *mut AVCodecContext,
2818                     arg: *mut ::std::os::raw::c_void,
2819                     jobnr: ::std::os::raw::c_int,
2820                     threadnr: ::std::os::raw::c_int,
2821                 ) -> ::std::os::raw::c_int,
2822             >,
2823             arg2: *mut ::std::os::raw::c_void,
2824             ret: *mut ::std::os::raw::c_int,
2825             count: ::std::os::raw::c_int,
2826         ) -> ::std::os::raw::c_int,
2827     >,
2828     pub nsse_weight: ::std::os::raw::c_int,
2829     pub profile: ::std::os::raw::c_int,
2830     pub level: ::std::os::raw::c_int,
2831     pub skip_loop_filter: AVDiscard,
2832     pub skip_idct: AVDiscard,
2833     pub skip_frame: AVDiscard,
2834     pub subtitle_header: *mut u8,
2835     pub subtitle_header_size: ::std::os::raw::c_int,
2836     pub initial_padding: ::std::os::raw::c_int,
2837     pub framerate: AVRational,
2838     pub sw_pix_fmt: AVPixelFormat,
2839     pub pkt_timebase: AVRational,
2840     pub codec_descriptor: *const AVCodecDescriptor,
2841     pub pts_correction_num_faulty_pts: i64,
2842     pub pts_correction_num_faulty_dts: i64,
2843     pub pts_correction_last_pts: i64,
2844     pub pts_correction_last_dts: i64,
2845     pub sub_charenc: *mut ::std::os::raw::c_char,
2846     pub sub_charenc_mode: ::std::os::raw::c_int,
2847     pub skip_alpha: ::std::os::raw::c_int,
2848     pub seek_preroll: ::std::os::raw::c_int,
2849     pub debug_mv: ::std::os::raw::c_int,
2850     pub chroma_intra_matrix: *mut u16,
2851     pub dump_separator: *mut u8,
2852     pub codec_whitelist: *mut ::std::os::raw::c_char,
2853     pub properties: ::std::os::raw::c_uint,
2854     pub coded_side_data: *mut AVPacketSideData,
2855     pub nb_coded_side_data: ::std::os::raw::c_int,
2856     pub hw_frames_ctx: *mut AVBufferRef,
2857     pub sub_text_format: ::std::os::raw::c_int,
2858     pub trailing_padding: ::std::os::raw::c_int,
2859     pub max_pixels: i64,
2860     pub hw_device_ctx: *mut AVBufferRef,
2861     pub hwaccel_flags: ::std::os::raw::c_int,
2862     pub apply_cropping: ::std::os::raw::c_int,
2863     pub extra_hw_frames: ::std::os::raw::c_int,
2864     pub discard_damaged_percentage: ::std::os::raw::c_int,
2865     pub max_samples: i64,
2866     pub export_side_data: ::std::os::raw::c_int,
2867     pub get_encode_buffer: ::std::option::Option<
2868         unsafe extern "C" fn(
2869             s: *mut AVCodecContext,
2870             pkt: *mut AVPacket,
2871             flags: ::std::os::raw::c_int,
2872         ) -> ::std::os::raw::c_int,
2873     >,
2874 }
2875 impl Default for AVCodecContext {
default() -> Self2876     fn default() -> Self {
2877         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
2878         unsafe {
2879             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
2880             s.assume_init()
2881         }
2882     }
2883 }
2884 #[repr(C)]
2885 #[derive(Debug, Copy, Clone)]
2886 pub struct MpegEncContext {
2887     _unused: [u8; 0],
2888 }
2889 #[repr(C)]
2890 #[derive(Debug, Copy, Clone)]
2891 pub struct AVHWAccel {
2892     pub name: *const ::std::os::raw::c_char,
2893     pub type_: AVMediaType,
2894     pub id: AVCodecID,
2895     pub pix_fmt: AVPixelFormat,
2896     pub capabilities: ::std::os::raw::c_int,
2897     pub alloc_frame: ::std::option::Option<
2898         unsafe extern "C" fn(
2899             avctx: *mut AVCodecContext,
2900             frame: *mut AVFrame,
2901         ) -> ::std::os::raw::c_int,
2902     >,
2903     pub start_frame: ::std::option::Option<
2904         unsafe extern "C" fn(
2905             avctx: *mut AVCodecContext,
2906             buf: *const u8,
2907             buf_size: u32,
2908         ) -> ::std::os::raw::c_int,
2909     >,
2910     pub decode_params: ::std::option::Option<
2911         unsafe extern "C" fn(
2912             avctx: *mut AVCodecContext,
2913             type_: ::std::os::raw::c_int,
2914             buf: *const u8,
2915             buf_size: u32,
2916         ) -> ::std::os::raw::c_int,
2917     >,
2918     pub decode_slice: ::std::option::Option<
2919         unsafe extern "C" fn(
2920             avctx: *mut AVCodecContext,
2921             buf: *const u8,
2922             buf_size: u32,
2923         ) -> ::std::os::raw::c_int,
2924     >,
2925     pub end_frame: ::std::option::Option<
2926         unsafe extern "C" fn(avctx: *mut AVCodecContext) -> ::std::os::raw::c_int,
2927     >,
2928     pub frame_priv_data_size: ::std::os::raw::c_int,
2929     pub decode_mb: ::std::option::Option<unsafe extern "C" fn(s: *mut MpegEncContext)>,
2930     pub init: ::std::option::Option<
2931         unsafe extern "C" fn(avctx: *mut AVCodecContext) -> ::std::os::raw::c_int,
2932     >,
2933     pub uninit: ::std::option::Option<
2934         unsafe extern "C" fn(avctx: *mut AVCodecContext) -> ::std::os::raw::c_int,
2935     >,
2936     pub priv_data_size: ::std::os::raw::c_int,
2937     pub caps_internal: ::std::os::raw::c_int,
2938     pub frame_params: ::std::option::Option<
2939         unsafe extern "C" fn(
2940             avctx: *mut AVCodecContext,
2941             hw_frames_ctx: *mut AVBufferRef,
2942         ) -> ::std::os::raw::c_int,
2943     >,
2944 }
2945 impl Default for AVHWAccel {
default() -> Self2946     fn default() -> Self {
2947         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
2948         unsafe {
2949             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
2950             s.assume_init()
2951         }
2952     }
2953 }
2954 pub const AVSubtitleType_SUBTITLE_NONE: AVSubtitleType = 0;
2955 pub const AVSubtitleType_SUBTITLE_BITMAP: AVSubtitleType = 1;
2956 pub const AVSubtitleType_SUBTITLE_TEXT: AVSubtitleType = 2;
2957 pub const AVSubtitleType_SUBTITLE_ASS: AVSubtitleType = 3;
2958 pub type AVSubtitleType = ::std::os::raw::c_uint;
2959 #[repr(C)]
2960 #[derive(Debug, Copy, Clone)]
2961 pub struct AVSubtitleRect {
2962     pub x: ::std::os::raw::c_int,
2963     pub y: ::std::os::raw::c_int,
2964     pub w: ::std::os::raw::c_int,
2965     pub h: ::std::os::raw::c_int,
2966     pub nb_colors: ::std::os::raw::c_int,
2967     pub data: [*mut u8; 4usize],
2968     pub linesize: [::std::os::raw::c_int; 4usize],
2969     pub type_: AVSubtitleType,
2970     pub text: *mut ::std::os::raw::c_char,
2971     pub ass: *mut ::std::os::raw::c_char,
2972     pub flags: ::std::os::raw::c_int,
2973 }
2974 impl Default for AVSubtitleRect {
default() -> Self2975     fn default() -> Self {
2976         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
2977         unsafe {
2978             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
2979             s.assume_init()
2980         }
2981     }
2982 }
2983 #[repr(C)]
2984 #[derive(Debug, Copy, Clone)]
2985 pub struct AVSubtitle {
2986     pub format: u16,
2987     pub start_display_time: u32,
2988     pub end_display_time: u32,
2989     pub num_rects: ::std::os::raw::c_uint,
2990     pub rects: *mut *mut AVSubtitleRect,
2991     pub pts: i64,
2992 }
2993 impl Default for AVSubtitle {
default() -> Self2994     fn default() -> Self {
2995         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
2996         unsafe {
2997             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
2998             s.assume_init()
2999         }
3000     }
3001 }
3002 extern "C" {
avcodec_version() -> ::std::os::raw::c_uint3003     pub fn avcodec_version() -> ::std::os::raw::c_uint;
3004 }
3005 extern "C" {
avcodec_configuration() -> *const ::std::os::raw::c_char3006     pub fn avcodec_configuration() -> *const ::std::os::raw::c_char;
3007 }
3008 extern "C" {
avcodec_license() -> *const ::std::os::raw::c_char3009     pub fn avcodec_license() -> *const ::std::os::raw::c_char;
3010 }
3011 extern "C" {
avcodec_alloc_context3(codec: *const AVCodec) -> *mut AVCodecContext3012     pub fn avcodec_alloc_context3(codec: *const AVCodec) -> *mut AVCodecContext;
3013 }
3014 extern "C" {
avcodec_free_context(avctx: *mut *mut AVCodecContext)3015     pub fn avcodec_free_context(avctx: *mut *mut AVCodecContext);
3016 }
3017 extern "C" {
avcodec_get_class() -> *const AVClass3018     pub fn avcodec_get_class() -> *const AVClass;
3019 }
3020 extern "C" {
avcodec_get_frame_class() -> *const AVClass3021     pub fn avcodec_get_frame_class() -> *const AVClass;
3022 }
3023 extern "C" {
avcodec_get_subtitle_rect_class() -> *const AVClass3024     pub fn avcodec_get_subtitle_rect_class() -> *const AVClass;
3025 }
3026 extern "C" {
avcodec_parameters_from_context( par: *mut AVCodecParameters, codec: *const AVCodecContext, ) -> ::std::os::raw::c_int3027     pub fn avcodec_parameters_from_context(
3028         par: *mut AVCodecParameters,
3029         codec: *const AVCodecContext,
3030     ) -> ::std::os::raw::c_int;
3031 }
3032 extern "C" {
avcodec_parameters_to_context( codec: *mut AVCodecContext, par: *const AVCodecParameters, ) -> ::std::os::raw::c_int3033     pub fn avcodec_parameters_to_context(
3034         codec: *mut AVCodecContext,
3035         par: *const AVCodecParameters,
3036     ) -> ::std::os::raw::c_int;
3037 }
3038 extern "C" {
avcodec_open2( avctx: *mut AVCodecContext, codec: *const AVCodec, options: *mut *mut AVDictionary, ) -> ::std::os::raw::c_int3039     pub fn avcodec_open2(
3040         avctx: *mut AVCodecContext,
3041         codec: *const AVCodec,
3042         options: *mut *mut AVDictionary,
3043     ) -> ::std::os::raw::c_int;
3044 }
3045 extern "C" {
avcodec_close(avctx: *mut AVCodecContext) -> ::std::os::raw::c_int3046     pub fn avcodec_close(avctx: *mut AVCodecContext) -> ::std::os::raw::c_int;
3047 }
3048 extern "C" {
avcodec_default_get_buffer2( s: *mut AVCodecContext, frame: *mut AVFrame, flags: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int3049     pub fn avcodec_default_get_buffer2(
3050         s: *mut AVCodecContext,
3051         frame: *mut AVFrame,
3052         flags: ::std::os::raw::c_int,
3053     ) -> ::std::os::raw::c_int;
3054 }
3055 extern "C" {
avcodec_default_get_encode_buffer( s: *mut AVCodecContext, pkt: *mut AVPacket, flags: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int3056     pub fn avcodec_default_get_encode_buffer(
3057         s: *mut AVCodecContext,
3058         pkt: *mut AVPacket,
3059         flags: ::std::os::raw::c_int,
3060     ) -> ::std::os::raw::c_int;
3061 }
3062 extern "C" {
avcodec_align_dimensions( s: *mut AVCodecContext, width: *mut ::std::os::raw::c_int, height: *mut ::std::os::raw::c_int, )3063     pub fn avcodec_align_dimensions(
3064         s: *mut AVCodecContext,
3065         width: *mut ::std::os::raw::c_int,
3066         height: *mut ::std::os::raw::c_int,
3067     );
3068 }
3069 extern "C" {
avcodec_align_dimensions2( s: *mut AVCodecContext, width: *mut ::std::os::raw::c_int, height: *mut ::std::os::raw::c_int, linesize_align: *mut ::std::os::raw::c_int, )3070     pub fn avcodec_align_dimensions2(
3071         s: *mut AVCodecContext,
3072         width: *mut ::std::os::raw::c_int,
3073         height: *mut ::std::os::raw::c_int,
3074         linesize_align: *mut ::std::os::raw::c_int,
3075     );
3076 }
3077 extern "C" {
avcodec_enum_to_chroma_pos( xpos: *mut ::std::os::raw::c_int, ypos: *mut ::std::os::raw::c_int, pos: AVChromaLocation, ) -> ::std::os::raw::c_int3078     pub fn avcodec_enum_to_chroma_pos(
3079         xpos: *mut ::std::os::raw::c_int,
3080         ypos: *mut ::std::os::raw::c_int,
3081         pos: AVChromaLocation,
3082     ) -> ::std::os::raw::c_int;
3083 }
3084 extern "C" {
avcodec_chroma_pos_to_enum( xpos: ::std::os::raw::c_int, ypos: ::std::os::raw::c_int, ) -> AVChromaLocation3085     pub fn avcodec_chroma_pos_to_enum(
3086         xpos: ::std::os::raw::c_int,
3087         ypos: ::std::os::raw::c_int,
3088     ) -> AVChromaLocation;
3089 }
3090 extern "C" {
avcodec_decode_subtitle2( avctx: *mut AVCodecContext, sub: *mut AVSubtitle, got_sub_ptr: *mut ::std::os::raw::c_int, avpkt: *mut AVPacket, ) -> ::std::os::raw::c_int3091     pub fn avcodec_decode_subtitle2(
3092         avctx: *mut AVCodecContext,
3093         sub: *mut AVSubtitle,
3094         got_sub_ptr: *mut ::std::os::raw::c_int,
3095         avpkt: *mut AVPacket,
3096     ) -> ::std::os::raw::c_int;
3097 }
3098 extern "C" {
avcodec_send_packet( avctx: *mut AVCodecContext, avpkt: *const AVPacket, ) -> ::std::os::raw::c_int3099     pub fn avcodec_send_packet(
3100         avctx: *mut AVCodecContext,
3101         avpkt: *const AVPacket,
3102     ) -> ::std::os::raw::c_int;
3103 }
3104 extern "C" {
avcodec_receive_frame( avctx: *mut AVCodecContext, frame: *mut AVFrame, ) -> ::std::os::raw::c_int3105     pub fn avcodec_receive_frame(
3106         avctx: *mut AVCodecContext,
3107         frame: *mut AVFrame,
3108     ) -> ::std::os::raw::c_int;
3109 }
3110 extern "C" {
avcodec_send_frame( avctx: *mut AVCodecContext, frame: *const AVFrame, ) -> ::std::os::raw::c_int3111     pub fn avcodec_send_frame(
3112         avctx: *mut AVCodecContext,
3113         frame: *const AVFrame,
3114     ) -> ::std::os::raw::c_int;
3115 }
3116 extern "C" {
avcodec_receive_packet( avctx: *mut AVCodecContext, avpkt: *mut AVPacket, ) -> ::std::os::raw::c_int3117     pub fn avcodec_receive_packet(
3118         avctx: *mut AVCodecContext,
3119         avpkt: *mut AVPacket,
3120     ) -> ::std::os::raw::c_int;
3121 }
3122 extern "C" {
avcodec_get_hw_frames_parameters( avctx: *mut AVCodecContext, device_ref: *mut AVBufferRef, hw_pix_fmt: AVPixelFormat, out_frames_ref: *mut *mut AVBufferRef, ) -> ::std::os::raw::c_int3123     pub fn avcodec_get_hw_frames_parameters(
3124         avctx: *mut AVCodecContext,
3125         device_ref: *mut AVBufferRef,
3126         hw_pix_fmt: AVPixelFormat,
3127         out_frames_ref: *mut *mut AVBufferRef,
3128     ) -> ::std::os::raw::c_int;
3129 }
3130 pub const AVPictureStructure_AV_PICTURE_STRUCTURE_UNKNOWN: AVPictureStructure = 0;
3131 pub const AVPictureStructure_AV_PICTURE_STRUCTURE_TOP_FIELD: AVPictureStructure = 1;
3132 pub const AVPictureStructure_AV_PICTURE_STRUCTURE_BOTTOM_FIELD: AVPictureStructure = 2;
3133 pub const AVPictureStructure_AV_PICTURE_STRUCTURE_FRAME: AVPictureStructure = 3;
3134 pub type AVPictureStructure = ::std::os::raw::c_uint;
3135 #[repr(C)]
3136 #[derive(Debug, Copy, Clone)]
3137 pub struct AVCodecParserContext {
3138     pub priv_data: *mut ::std::os::raw::c_void,
3139     pub parser: *const AVCodecParser,
3140     pub frame_offset: i64,
3141     pub cur_offset: i64,
3142     pub next_frame_offset: i64,
3143     pub pict_type: ::std::os::raw::c_int,
3144     pub repeat_pict: ::std::os::raw::c_int,
3145     pub pts: i64,
3146     pub dts: i64,
3147     pub last_pts: i64,
3148     pub last_dts: i64,
3149     pub fetch_timestamp: ::std::os::raw::c_int,
3150     pub cur_frame_start_index: ::std::os::raw::c_int,
3151     pub cur_frame_offset: [i64; 4usize],
3152     pub cur_frame_pts: [i64; 4usize],
3153     pub cur_frame_dts: [i64; 4usize],
3154     pub flags: ::std::os::raw::c_int,
3155     pub offset: i64,
3156     pub cur_frame_end: [i64; 4usize],
3157     pub key_frame: ::std::os::raw::c_int,
3158     pub dts_sync_point: ::std::os::raw::c_int,
3159     pub dts_ref_dts_delta: ::std::os::raw::c_int,
3160     pub pts_dts_delta: ::std::os::raw::c_int,
3161     pub cur_frame_pos: [i64; 4usize],
3162     pub pos: i64,
3163     pub last_pos: i64,
3164     pub duration: ::std::os::raw::c_int,
3165     pub field_order: AVFieldOrder,
3166     pub picture_structure: AVPictureStructure,
3167     pub output_picture_number: ::std::os::raw::c_int,
3168     pub width: ::std::os::raw::c_int,
3169     pub height: ::std::os::raw::c_int,
3170     pub coded_width: ::std::os::raw::c_int,
3171     pub coded_height: ::std::os::raw::c_int,
3172     pub format: ::std::os::raw::c_int,
3173 }
3174 impl Default for AVCodecParserContext {
default() -> Self3175     fn default() -> Self {
3176         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
3177         unsafe {
3178             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
3179             s.assume_init()
3180         }
3181     }
3182 }
3183 #[repr(C)]
3184 #[derive(Debug, Default, Copy, Clone)]
3185 pub struct AVCodecParser {
3186     pub codec_ids: [::std::os::raw::c_int; 7usize],
3187     pub priv_data_size: ::std::os::raw::c_int,
3188     pub parser_init: ::std::option::Option<
3189         unsafe extern "C" fn(s: *mut AVCodecParserContext) -> ::std::os::raw::c_int,
3190     >,
3191     pub parser_parse: ::std::option::Option<
3192         unsafe extern "C" fn(
3193             s: *mut AVCodecParserContext,
3194             avctx: *mut AVCodecContext,
3195             poutbuf: *mut *const u8,
3196             poutbuf_size: *mut ::std::os::raw::c_int,
3197             buf: *const u8,
3198             buf_size: ::std::os::raw::c_int,
3199         ) -> ::std::os::raw::c_int,
3200     >,
3201     pub parser_close: ::std::option::Option<unsafe extern "C" fn(s: *mut AVCodecParserContext)>,
3202     pub split: ::std::option::Option<
3203         unsafe extern "C" fn(
3204             avctx: *mut AVCodecContext,
3205             buf: *const u8,
3206             buf_size: ::std::os::raw::c_int,
3207         ) -> ::std::os::raw::c_int,
3208     >,
3209 }
3210 extern "C" {
av_parser_iterate(opaque: *mut *mut ::std::os::raw::c_void) -> *const AVCodecParser3211     pub fn av_parser_iterate(opaque: *mut *mut ::std::os::raw::c_void) -> *const AVCodecParser;
3212 }
3213 extern "C" {
av_parser_init(codec_id: ::std::os::raw::c_int) -> *mut AVCodecParserContext3214     pub fn av_parser_init(codec_id: ::std::os::raw::c_int) -> *mut AVCodecParserContext;
3215 }
3216 extern "C" {
av_parser_parse2( s: *mut AVCodecParserContext, avctx: *mut AVCodecContext, poutbuf: *mut *mut u8, poutbuf_size: *mut ::std::os::raw::c_int, buf: *const u8, buf_size: ::std::os::raw::c_int, pts: i64, dts: i64, pos: i64, ) -> ::std::os::raw::c_int3217     pub fn av_parser_parse2(
3218         s: *mut AVCodecParserContext,
3219         avctx: *mut AVCodecContext,
3220         poutbuf: *mut *mut u8,
3221         poutbuf_size: *mut ::std::os::raw::c_int,
3222         buf: *const u8,
3223         buf_size: ::std::os::raw::c_int,
3224         pts: i64,
3225         dts: i64,
3226         pos: i64,
3227     ) -> ::std::os::raw::c_int;
3228 }
3229 extern "C" {
av_parser_close(s: *mut AVCodecParserContext)3230     pub fn av_parser_close(s: *mut AVCodecParserContext);
3231 }
3232 extern "C" {
avcodec_encode_subtitle( avctx: *mut AVCodecContext, buf: *mut u8, buf_size: ::std::os::raw::c_int, sub: *const AVSubtitle, ) -> ::std::os::raw::c_int3233     pub fn avcodec_encode_subtitle(
3234         avctx: *mut AVCodecContext,
3235         buf: *mut u8,
3236         buf_size: ::std::os::raw::c_int,
3237         sub: *const AVSubtitle,
3238     ) -> ::std::os::raw::c_int;
3239 }
3240 extern "C" {
avcodec_pix_fmt_to_codec_tag(pix_fmt: AVPixelFormat) -> ::std::os::raw::c_uint3241     pub fn avcodec_pix_fmt_to_codec_tag(pix_fmt: AVPixelFormat) -> ::std::os::raw::c_uint;
3242 }
3243 extern "C" {
avcodec_find_best_pix_fmt_of_list( pix_fmt_list: *const AVPixelFormat, src_pix_fmt: AVPixelFormat, has_alpha: ::std::os::raw::c_int, loss_ptr: *mut ::std::os::raw::c_int, ) -> AVPixelFormat3244     pub fn avcodec_find_best_pix_fmt_of_list(
3245         pix_fmt_list: *const AVPixelFormat,
3246         src_pix_fmt: AVPixelFormat,
3247         has_alpha: ::std::os::raw::c_int,
3248         loss_ptr: *mut ::std::os::raw::c_int,
3249     ) -> AVPixelFormat;
3250 }
3251 extern "C" {
avcodec_default_get_format( s: *mut AVCodecContext, fmt: *const AVPixelFormat, ) -> AVPixelFormat3252     pub fn avcodec_default_get_format(
3253         s: *mut AVCodecContext,
3254         fmt: *const AVPixelFormat,
3255     ) -> AVPixelFormat;
3256 }
3257 extern "C" {
avcodec_string( buf: *mut ::std::os::raw::c_char, buf_size: ::std::os::raw::c_int, enc: *mut AVCodecContext, encode: ::std::os::raw::c_int, )3258     pub fn avcodec_string(
3259         buf: *mut ::std::os::raw::c_char,
3260         buf_size: ::std::os::raw::c_int,
3261         enc: *mut AVCodecContext,
3262         encode: ::std::os::raw::c_int,
3263     );
3264 }
3265 extern "C" {
avcodec_default_execute( c: *mut AVCodecContext, func: ::std::option::Option< unsafe extern "C" fn( c2: *mut AVCodecContext, arg2: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int, >, arg: *mut ::std::os::raw::c_void, ret: *mut ::std::os::raw::c_int, count: ::std::os::raw::c_int, size: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int3266     pub fn avcodec_default_execute(
3267         c: *mut AVCodecContext,
3268         func: ::std::option::Option<
3269             unsafe extern "C" fn(
3270                 c2: *mut AVCodecContext,
3271                 arg2: *mut ::std::os::raw::c_void,
3272             ) -> ::std::os::raw::c_int,
3273         >,
3274         arg: *mut ::std::os::raw::c_void,
3275         ret: *mut ::std::os::raw::c_int,
3276         count: ::std::os::raw::c_int,
3277         size: ::std::os::raw::c_int,
3278     ) -> ::std::os::raw::c_int;
3279 }
3280 extern "C" {
avcodec_default_execute2( c: *mut AVCodecContext, func: ::std::option::Option< unsafe extern "C" fn( c2: *mut AVCodecContext, arg2: *mut ::std::os::raw::c_void, arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, arg: *mut ::std::os::raw::c_void, ret: *mut ::std::os::raw::c_int, count: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int3281     pub fn avcodec_default_execute2(
3282         c: *mut AVCodecContext,
3283         func: ::std::option::Option<
3284             unsafe extern "C" fn(
3285                 c2: *mut AVCodecContext,
3286                 arg2: *mut ::std::os::raw::c_void,
3287                 arg1: ::std::os::raw::c_int,
3288                 arg2: ::std::os::raw::c_int,
3289             ) -> ::std::os::raw::c_int,
3290         >,
3291         arg: *mut ::std::os::raw::c_void,
3292         ret: *mut ::std::os::raw::c_int,
3293         count: ::std::os::raw::c_int,
3294     ) -> ::std::os::raw::c_int;
3295 }
3296 extern "C" {
avcodec_fill_audio_frame( frame: *mut AVFrame, nb_channels: ::std::os::raw::c_int, sample_fmt: AVSampleFormat, buf: *const u8, buf_size: ::std::os::raw::c_int, align: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int3297     pub fn avcodec_fill_audio_frame(
3298         frame: *mut AVFrame,
3299         nb_channels: ::std::os::raw::c_int,
3300         sample_fmt: AVSampleFormat,
3301         buf: *const u8,
3302         buf_size: ::std::os::raw::c_int,
3303         align: ::std::os::raw::c_int,
3304     ) -> ::std::os::raw::c_int;
3305 }
3306 extern "C" {
avcodec_flush_buffers(avctx: *mut AVCodecContext)3307     pub fn avcodec_flush_buffers(avctx: *mut AVCodecContext);
3308 }
3309 extern "C" {
av_get_audio_frame_duration( avctx: *mut AVCodecContext, frame_bytes: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int3310     pub fn av_get_audio_frame_duration(
3311         avctx: *mut AVCodecContext,
3312         frame_bytes: ::std::os::raw::c_int,
3313     ) -> ::std::os::raw::c_int;
3314 }
3315 extern "C" {
av_fast_padded_malloc( ptr: *mut ::std::os::raw::c_void, size: *mut ::std::os::raw::c_uint, min_size: usize, )3316     pub fn av_fast_padded_malloc(
3317         ptr: *mut ::std::os::raw::c_void,
3318         size: *mut ::std::os::raw::c_uint,
3319         min_size: usize,
3320     );
3321 }
3322 extern "C" {
av_fast_padded_mallocz( ptr: *mut ::std::os::raw::c_void, size: *mut ::std::os::raw::c_uint, min_size: usize, )3323     pub fn av_fast_padded_mallocz(
3324         ptr: *mut ::std::os::raw::c_void,
3325         size: *mut ::std::os::raw::c_uint,
3326         min_size: usize,
3327     );
3328 }
3329 extern "C" {
avcodec_is_open(s: *mut AVCodecContext) -> ::std::os::raw::c_int3330     pub fn avcodec_is_open(s: *mut AVCodecContext) -> ::std::os::raw::c_int;
3331 }
3332 extern "C" {
av_get_cpu_flags() -> ::std::os::raw::c_int3333     pub fn av_get_cpu_flags() -> ::std::os::raw::c_int;
3334 }
3335 extern "C" {
av_force_cpu_flags(flags: ::std::os::raw::c_int)3336     pub fn av_force_cpu_flags(flags: ::std::os::raw::c_int);
3337 }
3338 extern "C" {
av_parse_cpu_caps( flags: *mut ::std::os::raw::c_uint, s: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int3339     pub fn av_parse_cpu_caps(
3340         flags: *mut ::std::os::raw::c_uint,
3341         s: *const ::std::os::raw::c_char,
3342     ) -> ::std::os::raw::c_int;
3343 }
3344 extern "C" {
av_cpu_count() -> ::std::os::raw::c_int3345     pub fn av_cpu_count() -> ::std::os::raw::c_int;
3346 }
3347 extern "C" {
av_cpu_force_count(count: ::std::os::raw::c_int)3348     pub fn av_cpu_force_count(count: ::std::os::raw::c_int);
3349 }
3350 extern "C" {
av_cpu_max_align() -> usize3351     pub fn av_cpu_max_align() -> usize;
3352 }
3353 #[repr(C)]
3354 #[derive(Debug, Default, Copy, Clone)]
3355 pub struct AVComponentDescriptor {
3356     pub plane: ::std::os::raw::c_int,
3357     pub step: ::std::os::raw::c_int,
3358     pub offset: ::std::os::raw::c_int,
3359     pub shift: ::std::os::raw::c_int,
3360     pub depth: ::std::os::raw::c_int,
3361 }
3362 #[repr(C)]
3363 #[derive(Debug, Copy, Clone)]
3364 pub struct AVPixFmtDescriptor {
3365     pub name: *const ::std::os::raw::c_char,
3366     pub nb_components: u8,
3367     pub log2_chroma_w: u8,
3368     pub log2_chroma_h: u8,
3369     pub flags: u64,
3370     pub comp: [AVComponentDescriptor; 4usize],
3371     pub alias: *const ::std::os::raw::c_char,
3372 }
3373 impl Default for AVPixFmtDescriptor {
default() -> Self3374     fn default() -> Self {
3375         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
3376         unsafe {
3377             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
3378             s.assume_init()
3379         }
3380     }
3381 }
3382 extern "C" {
av_get_bits_per_pixel(pixdesc: *const AVPixFmtDescriptor) -> ::std::os::raw::c_int3383     pub fn av_get_bits_per_pixel(pixdesc: *const AVPixFmtDescriptor) -> ::std::os::raw::c_int;
3384 }
3385 extern "C" {
av_get_padded_bits_per_pixel( pixdesc: *const AVPixFmtDescriptor, ) -> ::std::os::raw::c_int3386     pub fn av_get_padded_bits_per_pixel(
3387         pixdesc: *const AVPixFmtDescriptor,
3388     ) -> ::std::os::raw::c_int;
3389 }
3390 extern "C" {
av_pix_fmt_desc_get(pix_fmt: AVPixelFormat) -> *const AVPixFmtDescriptor3391     pub fn av_pix_fmt_desc_get(pix_fmt: AVPixelFormat) -> *const AVPixFmtDescriptor;
3392 }
3393 extern "C" {
av_pix_fmt_desc_next(prev: *const AVPixFmtDescriptor) -> *const AVPixFmtDescriptor3394     pub fn av_pix_fmt_desc_next(prev: *const AVPixFmtDescriptor) -> *const AVPixFmtDescriptor;
3395 }
3396 extern "C" {
av_pix_fmt_desc_get_id(desc: *const AVPixFmtDescriptor) -> AVPixelFormat3397     pub fn av_pix_fmt_desc_get_id(desc: *const AVPixFmtDescriptor) -> AVPixelFormat;
3398 }
3399 extern "C" {
av_pix_fmt_get_chroma_sub_sample( pix_fmt: AVPixelFormat, h_shift: *mut ::std::os::raw::c_int, v_shift: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int3400     pub fn av_pix_fmt_get_chroma_sub_sample(
3401         pix_fmt: AVPixelFormat,
3402         h_shift: *mut ::std::os::raw::c_int,
3403         v_shift: *mut ::std::os::raw::c_int,
3404     ) -> ::std::os::raw::c_int;
3405 }
3406 extern "C" {
av_pix_fmt_count_planes(pix_fmt: AVPixelFormat) -> ::std::os::raw::c_int3407     pub fn av_pix_fmt_count_planes(pix_fmt: AVPixelFormat) -> ::std::os::raw::c_int;
3408 }
3409 extern "C" {
av_color_range_name(range: AVColorRange) -> *const ::std::os::raw::c_char3410     pub fn av_color_range_name(range: AVColorRange) -> *const ::std::os::raw::c_char;
3411 }
3412 extern "C" {
av_color_range_from_name(name: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int3413     pub fn av_color_range_from_name(name: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
3414 }
3415 extern "C" {
av_color_primaries_name(primaries: AVColorPrimaries) -> *const ::std::os::raw::c_char3416     pub fn av_color_primaries_name(primaries: AVColorPrimaries) -> *const ::std::os::raw::c_char;
3417 }
3418 extern "C" {
av_color_primaries_from_name( name: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int3419     pub fn av_color_primaries_from_name(
3420         name: *const ::std::os::raw::c_char,
3421     ) -> ::std::os::raw::c_int;
3422 }
3423 extern "C" {
av_color_transfer_name( transfer: AVColorTransferCharacteristic, ) -> *const ::std::os::raw::c_char3424     pub fn av_color_transfer_name(
3425         transfer: AVColorTransferCharacteristic,
3426     ) -> *const ::std::os::raw::c_char;
3427 }
3428 extern "C" {
av_color_transfer_from_name( name: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int3429     pub fn av_color_transfer_from_name(
3430         name: *const ::std::os::raw::c_char,
3431     ) -> ::std::os::raw::c_int;
3432 }
3433 extern "C" {
av_color_space_name(space: AVColorSpace) -> *const ::std::os::raw::c_char3434     pub fn av_color_space_name(space: AVColorSpace) -> *const ::std::os::raw::c_char;
3435 }
3436 extern "C" {
av_color_space_from_name(name: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int3437     pub fn av_color_space_from_name(name: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
3438 }
3439 extern "C" {
av_chroma_location_name(location: AVChromaLocation) -> *const ::std::os::raw::c_char3440     pub fn av_chroma_location_name(location: AVChromaLocation) -> *const ::std::os::raw::c_char;
3441 }
3442 extern "C" {
av_chroma_location_from_name( name: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int3443     pub fn av_chroma_location_from_name(
3444         name: *const ::std::os::raw::c_char,
3445     ) -> ::std::os::raw::c_int;
3446 }
3447 extern "C" {
av_get_pix_fmt(name: *const ::std::os::raw::c_char) -> AVPixelFormat3448     pub fn av_get_pix_fmt(name: *const ::std::os::raw::c_char) -> AVPixelFormat;
3449 }
3450 extern "C" {
av_get_pix_fmt_name(pix_fmt: AVPixelFormat) -> *const ::std::os::raw::c_char3451     pub fn av_get_pix_fmt_name(pix_fmt: AVPixelFormat) -> *const ::std::os::raw::c_char;
3452 }
3453 extern "C" {
av_get_pix_fmt_string( buf: *mut ::std::os::raw::c_char, buf_size: ::std::os::raw::c_int, pix_fmt: AVPixelFormat, ) -> *mut ::std::os::raw::c_char3454     pub fn av_get_pix_fmt_string(
3455         buf: *mut ::std::os::raw::c_char,
3456         buf_size: ::std::os::raw::c_int,
3457         pix_fmt: AVPixelFormat,
3458     ) -> *mut ::std::os::raw::c_char;
3459 }
3460 extern "C" {
av_read_image_line2( dst: *mut ::std::os::raw::c_void, data: *mut *const u8, linesize: *const ::std::os::raw::c_int, desc: *const AVPixFmtDescriptor, x: ::std::os::raw::c_int, y: ::std::os::raw::c_int, c: ::std::os::raw::c_int, w: ::std::os::raw::c_int, read_pal_component: ::std::os::raw::c_int, dst_element_size: ::std::os::raw::c_int, )3461     pub fn av_read_image_line2(
3462         dst: *mut ::std::os::raw::c_void,
3463         data: *mut *const u8,
3464         linesize: *const ::std::os::raw::c_int,
3465         desc: *const AVPixFmtDescriptor,
3466         x: ::std::os::raw::c_int,
3467         y: ::std::os::raw::c_int,
3468         c: ::std::os::raw::c_int,
3469         w: ::std::os::raw::c_int,
3470         read_pal_component: ::std::os::raw::c_int,
3471         dst_element_size: ::std::os::raw::c_int,
3472     );
3473 }
3474 extern "C" {
av_read_image_line( dst: *mut u16, data: *mut *const u8, linesize: *const ::std::os::raw::c_int, desc: *const AVPixFmtDescriptor, x: ::std::os::raw::c_int, y: ::std::os::raw::c_int, c: ::std::os::raw::c_int, w: ::std::os::raw::c_int, read_pal_component: ::std::os::raw::c_int, )3475     pub fn av_read_image_line(
3476         dst: *mut u16,
3477         data: *mut *const u8,
3478         linesize: *const ::std::os::raw::c_int,
3479         desc: *const AVPixFmtDescriptor,
3480         x: ::std::os::raw::c_int,
3481         y: ::std::os::raw::c_int,
3482         c: ::std::os::raw::c_int,
3483         w: ::std::os::raw::c_int,
3484         read_pal_component: ::std::os::raw::c_int,
3485     );
3486 }
3487 extern "C" {
av_write_image_line2( src: *const ::std::os::raw::c_void, data: *mut *mut u8, linesize: *const ::std::os::raw::c_int, desc: *const AVPixFmtDescriptor, x: ::std::os::raw::c_int, y: ::std::os::raw::c_int, c: ::std::os::raw::c_int, w: ::std::os::raw::c_int, src_element_size: ::std::os::raw::c_int, )3488     pub fn av_write_image_line2(
3489         src: *const ::std::os::raw::c_void,
3490         data: *mut *mut u8,
3491         linesize: *const ::std::os::raw::c_int,
3492         desc: *const AVPixFmtDescriptor,
3493         x: ::std::os::raw::c_int,
3494         y: ::std::os::raw::c_int,
3495         c: ::std::os::raw::c_int,
3496         w: ::std::os::raw::c_int,
3497         src_element_size: ::std::os::raw::c_int,
3498     );
3499 }
3500 extern "C" {
av_write_image_line( src: *const u16, data: *mut *mut u8, linesize: *const ::std::os::raw::c_int, desc: *const AVPixFmtDescriptor, x: ::std::os::raw::c_int, y: ::std::os::raw::c_int, c: ::std::os::raw::c_int, w: ::std::os::raw::c_int, )3501     pub fn av_write_image_line(
3502         src: *const u16,
3503         data: *mut *mut u8,
3504         linesize: *const ::std::os::raw::c_int,
3505         desc: *const AVPixFmtDescriptor,
3506         x: ::std::os::raw::c_int,
3507         y: ::std::os::raw::c_int,
3508         c: ::std::os::raw::c_int,
3509         w: ::std::os::raw::c_int,
3510     );
3511 }
3512 extern "C" {
av_pix_fmt_swap_endianness(pix_fmt: AVPixelFormat) -> AVPixelFormat3513     pub fn av_pix_fmt_swap_endianness(pix_fmt: AVPixelFormat) -> AVPixelFormat;
3514 }
3515 extern "C" {
av_get_pix_fmt_loss( dst_pix_fmt: AVPixelFormat, src_pix_fmt: AVPixelFormat, has_alpha: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int3516     pub fn av_get_pix_fmt_loss(
3517         dst_pix_fmt: AVPixelFormat,
3518         src_pix_fmt: AVPixelFormat,
3519         has_alpha: ::std::os::raw::c_int,
3520     ) -> ::std::os::raw::c_int;
3521 }
3522 extern "C" {
av_find_best_pix_fmt_of_2( dst_pix_fmt1: AVPixelFormat, dst_pix_fmt2: AVPixelFormat, src_pix_fmt: AVPixelFormat, has_alpha: ::std::os::raw::c_int, loss_ptr: *mut ::std::os::raw::c_int, ) -> AVPixelFormat3523     pub fn av_find_best_pix_fmt_of_2(
3524         dst_pix_fmt1: AVPixelFormat,
3525         dst_pix_fmt2: AVPixelFormat,
3526         src_pix_fmt: AVPixelFormat,
3527         has_alpha: ::std::os::raw::c_int,
3528         loss_ptr: *mut ::std::os::raw::c_int,
3529     ) -> AVPixelFormat;
3530 }
3531 extern "C" {
av_image_fill_max_pixsteps( max_pixsteps: *mut ::std::os::raw::c_int, max_pixstep_comps: *mut ::std::os::raw::c_int, pixdesc: *const AVPixFmtDescriptor, )3532     pub fn av_image_fill_max_pixsteps(
3533         max_pixsteps: *mut ::std::os::raw::c_int,
3534         max_pixstep_comps: *mut ::std::os::raw::c_int,
3535         pixdesc: *const AVPixFmtDescriptor,
3536     );
3537 }
3538 extern "C" {
av_image_get_linesize( pix_fmt: AVPixelFormat, width: ::std::os::raw::c_int, plane: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int3539     pub fn av_image_get_linesize(
3540         pix_fmt: AVPixelFormat,
3541         width: ::std::os::raw::c_int,
3542         plane: ::std::os::raw::c_int,
3543     ) -> ::std::os::raw::c_int;
3544 }
3545 extern "C" {
av_image_fill_linesizes( linesizes: *mut ::std::os::raw::c_int, pix_fmt: AVPixelFormat, width: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int3546     pub fn av_image_fill_linesizes(
3547         linesizes: *mut ::std::os::raw::c_int,
3548         pix_fmt: AVPixelFormat,
3549         width: ::std::os::raw::c_int,
3550     ) -> ::std::os::raw::c_int;
3551 }
3552 extern "C" {
av_image_fill_plane_sizes( size: *mut usize, pix_fmt: AVPixelFormat, height: ::std::os::raw::c_int, linesizes: *const isize, ) -> ::std::os::raw::c_int3553     pub fn av_image_fill_plane_sizes(
3554         size: *mut usize,
3555         pix_fmt: AVPixelFormat,
3556         height: ::std::os::raw::c_int,
3557         linesizes: *const isize,
3558     ) -> ::std::os::raw::c_int;
3559 }
3560 extern "C" {
av_image_fill_pointers( data: *mut *mut u8, pix_fmt: AVPixelFormat, height: ::std::os::raw::c_int, ptr: *mut u8, linesizes: *const ::std::os::raw::c_int, ) -> ::std::os::raw::c_int3561     pub fn av_image_fill_pointers(
3562         data: *mut *mut u8,
3563         pix_fmt: AVPixelFormat,
3564         height: ::std::os::raw::c_int,
3565         ptr: *mut u8,
3566         linesizes: *const ::std::os::raw::c_int,
3567     ) -> ::std::os::raw::c_int;
3568 }
3569 extern "C" {
av_image_alloc( pointers: *mut *mut u8, linesizes: *mut ::std::os::raw::c_int, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int, pix_fmt: AVPixelFormat, align: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int3570     pub fn av_image_alloc(
3571         pointers: *mut *mut u8,
3572         linesizes: *mut ::std::os::raw::c_int,
3573         w: ::std::os::raw::c_int,
3574         h: ::std::os::raw::c_int,
3575         pix_fmt: AVPixelFormat,
3576         align: ::std::os::raw::c_int,
3577     ) -> ::std::os::raw::c_int;
3578 }
3579 extern "C" {
av_image_copy_plane( dst: *mut u8, dst_linesize: ::std::os::raw::c_int, src: *const u8, src_linesize: ::std::os::raw::c_int, bytewidth: ::std::os::raw::c_int, height: ::std::os::raw::c_int, )3580     pub fn av_image_copy_plane(
3581         dst: *mut u8,
3582         dst_linesize: ::std::os::raw::c_int,
3583         src: *const u8,
3584         src_linesize: ::std::os::raw::c_int,
3585         bytewidth: ::std::os::raw::c_int,
3586         height: ::std::os::raw::c_int,
3587     );
3588 }
3589 extern "C" {
av_image_copy_plane_uc_from( dst: *mut u8, dst_linesize: isize, src: *const u8, src_linesize: isize, bytewidth: isize, height: ::std::os::raw::c_int, )3590     pub fn av_image_copy_plane_uc_from(
3591         dst: *mut u8,
3592         dst_linesize: isize,
3593         src: *const u8,
3594         src_linesize: isize,
3595         bytewidth: isize,
3596         height: ::std::os::raw::c_int,
3597     );
3598 }
3599 extern "C" {
av_image_copy( dst_data: *mut *mut u8, dst_linesizes: *mut ::std::os::raw::c_int, src_data: *mut *const u8, src_linesizes: *const ::std::os::raw::c_int, pix_fmt: AVPixelFormat, width: ::std::os::raw::c_int, height: ::std::os::raw::c_int, )3600     pub fn av_image_copy(
3601         dst_data: *mut *mut u8,
3602         dst_linesizes: *mut ::std::os::raw::c_int,
3603         src_data: *mut *const u8,
3604         src_linesizes: *const ::std::os::raw::c_int,
3605         pix_fmt: AVPixelFormat,
3606         width: ::std::os::raw::c_int,
3607         height: ::std::os::raw::c_int,
3608     );
3609 }
3610 extern "C" {
av_image_copy_uc_from( dst_data: *mut *mut u8, dst_linesizes: *const isize, src_data: *mut *const u8, src_linesizes: *const isize, pix_fmt: AVPixelFormat, width: ::std::os::raw::c_int, height: ::std::os::raw::c_int, )3611     pub fn av_image_copy_uc_from(
3612         dst_data: *mut *mut u8,
3613         dst_linesizes: *const isize,
3614         src_data: *mut *const u8,
3615         src_linesizes: *const isize,
3616         pix_fmt: AVPixelFormat,
3617         width: ::std::os::raw::c_int,
3618         height: ::std::os::raw::c_int,
3619     );
3620 }
3621 extern "C" {
av_image_fill_arrays( dst_data: *mut *mut u8, dst_linesize: *mut ::std::os::raw::c_int, src: *const u8, pix_fmt: AVPixelFormat, width: ::std::os::raw::c_int, height: ::std::os::raw::c_int, align: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int3622     pub fn av_image_fill_arrays(
3623         dst_data: *mut *mut u8,
3624         dst_linesize: *mut ::std::os::raw::c_int,
3625         src: *const u8,
3626         pix_fmt: AVPixelFormat,
3627         width: ::std::os::raw::c_int,
3628         height: ::std::os::raw::c_int,
3629         align: ::std::os::raw::c_int,
3630     ) -> ::std::os::raw::c_int;
3631 }
3632 extern "C" {
av_image_get_buffer_size( pix_fmt: AVPixelFormat, width: ::std::os::raw::c_int, height: ::std::os::raw::c_int, align: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int3633     pub fn av_image_get_buffer_size(
3634         pix_fmt: AVPixelFormat,
3635         width: ::std::os::raw::c_int,
3636         height: ::std::os::raw::c_int,
3637         align: ::std::os::raw::c_int,
3638     ) -> ::std::os::raw::c_int;
3639 }
3640 extern "C" {
av_image_copy_to_buffer( dst: *mut u8, dst_size: ::std::os::raw::c_int, src_data: *const *const u8, src_linesize: *const ::std::os::raw::c_int, pix_fmt: AVPixelFormat, width: ::std::os::raw::c_int, height: ::std::os::raw::c_int, align: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int3641     pub fn av_image_copy_to_buffer(
3642         dst: *mut u8,
3643         dst_size: ::std::os::raw::c_int,
3644         src_data: *const *const u8,
3645         src_linesize: *const ::std::os::raw::c_int,
3646         pix_fmt: AVPixelFormat,
3647         width: ::std::os::raw::c_int,
3648         height: ::std::os::raw::c_int,
3649         align: ::std::os::raw::c_int,
3650     ) -> ::std::os::raw::c_int;
3651 }
3652 extern "C" {
av_image_check_size( w: ::std::os::raw::c_uint, h: ::std::os::raw::c_uint, log_offset: ::std::os::raw::c_int, log_ctx: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int3653     pub fn av_image_check_size(
3654         w: ::std::os::raw::c_uint,
3655         h: ::std::os::raw::c_uint,
3656         log_offset: ::std::os::raw::c_int,
3657         log_ctx: *mut ::std::os::raw::c_void,
3658     ) -> ::std::os::raw::c_int;
3659 }
3660 extern "C" {
av_image_check_size2( w: ::std::os::raw::c_uint, h: ::std::os::raw::c_uint, max_pixels: i64, pix_fmt: AVPixelFormat, log_offset: ::std::os::raw::c_int, log_ctx: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int3661     pub fn av_image_check_size2(
3662         w: ::std::os::raw::c_uint,
3663         h: ::std::os::raw::c_uint,
3664         max_pixels: i64,
3665         pix_fmt: AVPixelFormat,
3666         log_offset: ::std::os::raw::c_int,
3667         log_ctx: *mut ::std::os::raw::c_void,
3668     ) -> ::std::os::raw::c_int;
3669 }
3670 extern "C" {
av_image_check_sar( w: ::std::os::raw::c_uint, h: ::std::os::raw::c_uint, sar: AVRational, ) -> ::std::os::raw::c_int3671     pub fn av_image_check_sar(
3672         w: ::std::os::raw::c_uint,
3673         h: ::std::os::raw::c_uint,
3674         sar: AVRational,
3675     ) -> ::std::os::raw::c_int;
3676 }
3677 extern "C" {
av_image_fill_black( dst_data: *mut *mut u8, dst_linesize: *const isize, pix_fmt: AVPixelFormat, range: AVColorRange, width: ::std::os::raw::c_int, height: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int3678     pub fn av_image_fill_black(
3679         dst_data: *mut *mut u8,
3680         dst_linesize: *const isize,
3681         pix_fmt: AVPixelFormat,
3682         range: AVColorRange,
3683         width: ::std::os::raw::c_int,
3684         height: ::std::os::raw::c_int,
3685     ) -> ::std::os::raw::c_int;
3686 }
3687 extern "C" {
sws_getCoefficients(colorspace: ::std::os::raw::c_int) -> *const ::std::os::raw::c_int3688     pub fn sws_getCoefficients(colorspace: ::std::os::raw::c_int) -> *const ::std::os::raw::c_int;
3689 }
3690 #[repr(C)]
3691 #[derive(Debug, Copy, Clone)]
3692 pub struct SwsVector {
3693     pub coeff: *mut f64,
3694     pub length: ::std::os::raw::c_int,
3695 }
3696 impl Default for SwsVector {
default() -> Self3697     fn default() -> Self {
3698         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
3699         unsafe {
3700             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
3701             s.assume_init()
3702         }
3703     }
3704 }
3705 #[repr(C)]
3706 #[derive(Debug, Copy, Clone)]
3707 pub struct SwsFilter {
3708     pub lumH: *mut SwsVector,
3709     pub lumV: *mut SwsVector,
3710     pub chrH: *mut SwsVector,
3711     pub chrV: *mut SwsVector,
3712 }
3713 impl Default for SwsFilter {
default() -> Self3714     fn default() -> Self {
3715         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
3716         unsafe {
3717             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
3718             s.assume_init()
3719         }
3720     }
3721 }
3722 #[repr(C)]
3723 #[derive(Debug, Copy, Clone)]
3724 pub struct SwsContext {
3725     _unused: [u8; 0],
3726 }
3727 extern "C" {
sws_isSupportedInput(pix_fmt: AVPixelFormat) -> ::std::os::raw::c_int3728     pub fn sws_isSupportedInput(pix_fmt: AVPixelFormat) -> ::std::os::raw::c_int;
3729 }
3730 extern "C" {
sws_isSupportedOutput(pix_fmt: AVPixelFormat) -> ::std::os::raw::c_int3731     pub fn sws_isSupportedOutput(pix_fmt: AVPixelFormat) -> ::std::os::raw::c_int;
3732 }
3733 extern "C" {
sws_isSupportedEndiannessConversion(pix_fmt: AVPixelFormat) -> ::std::os::raw::c_int3734     pub fn sws_isSupportedEndiannessConversion(pix_fmt: AVPixelFormat) -> ::std::os::raw::c_int;
3735 }
3736 extern "C" {
sws_alloc_context() -> *mut SwsContext3737     pub fn sws_alloc_context() -> *mut SwsContext;
3738 }
3739 extern "C" {
sws_init_context( sws_context: *mut SwsContext, srcFilter: *mut SwsFilter, dstFilter: *mut SwsFilter, ) -> ::std::os::raw::c_int3740     pub fn sws_init_context(
3741         sws_context: *mut SwsContext,
3742         srcFilter: *mut SwsFilter,
3743         dstFilter: *mut SwsFilter,
3744     ) -> ::std::os::raw::c_int;
3745 }
3746 extern "C" {
sws_freeContext(swsContext: *mut SwsContext)3747     pub fn sws_freeContext(swsContext: *mut SwsContext);
3748 }
3749 extern "C" {
sws_getContext( srcW: ::std::os::raw::c_int, srcH: ::std::os::raw::c_int, srcFormat: AVPixelFormat, dstW: ::std::os::raw::c_int, dstH: ::std::os::raw::c_int, dstFormat: AVPixelFormat, flags: ::std::os::raw::c_int, srcFilter: *mut SwsFilter, dstFilter: *mut SwsFilter, param: *const f64, ) -> *mut SwsContext3750     pub fn sws_getContext(
3751         srcW: ::std::os::raw::c_int,
3752         srcH: ::std::os::raw::c_int,
3753         srcFormat: AVPixelFormat,
3754         dstW: ::std::os::raw::c_int,
3755         dstH: ::std::os::raw::c_int,
3756         dstFormat: AVPixelFormat,
3757         flags: ::std::os::raw::c_int,
3758         srcFilter: *mut SwsFilter,
3759         dstFilter: *mut SwsFilter,
3760         param: *const f64,
3761     ) -> *mut SwsContext;
3762 }
3763 extern "C" {
sws_scale( c: *mut SwsContext, srcSlice: *const *const u8, srcStride: *const ::std::os::raw::c_int, srcSliceY: ::std::os::raw::c_int, srcSliceH: ::std::os::raw::c_int, dst: *const *mut u8, dstStride: *const ::std::os::raw::c_int, ) -> ::std::os::raw::c_int3764     pub fn sws_scale(
3765         c: *mut SwsContext,
3766         srcSlice: *const *const u8,
3767         srcStride: *const ::std::os::raw::c_int,
3768         srcSliceY: ::std::os::raw::c_int,
3769         srcSliceH: ::std::os::raw::c_int,
3770         dst: *const *mut u8,
3771         dstStride: *const ::std::os::raw::c_int,
3772     ) -> ::std::os::raw::c_int;
3773 }
3774 extern "C" {
sws_scale_frame( c: *mut SwsContext, dst: *mut AVFrame, src: *const AVFrame, ) -> ::std::os::raw::c_int3775     pub fn sws_scale_frame(
3776         c: *mut SwsContext,
3777         dst: *mut AVFrame,
3778         src: *const AVFrame,
3779     ) -> ::std::os::raw::c_int;
3780 }
3781 extern "C" {
sws_frame_start( c: *mut SwsContext, dst: *mut AVFrame, src: *const AVFrame, ) -> ::std::os::raw::c_int3782     pub fn sws_frame_start(
3783         c: *mut SwsContext,
3784         dst: *mut AVFrame,
3785         src: *const AVFrame,
3786     ) -> ::std::os::raw::c_int;
3787 }
3788 extern "C" {
sws_frame_end(c: *mut SwsContext)3789     pub fn sws_frame_end(c: *mut SwsContext);
3790 }
3791 extern "C" {
sws_send_slice( c: *mut SwsContext, slice_start: ::std::os::raw::c_uint, slice_height: ::std::os::raw::c_uint, ) -> ::std::os::raw::c_int3792     pub fn sws_send_slice(
3793         c: *mut SwsContext,
3794         slice_start: ::std::os::raw::c_uint,
3795         slice_height: ::std::os::raw::c_uint,
3796     ) -> ::std::os::raw::c_int;
3797 }
3798 extern "C" {
sws_receive_slice( c: *mut SwsContext, slice_start: ::std::os::raw::c_uint, slice_height: ::std::os::raw::c_uint, ) -> ::std::os::raw::c_int3799     pub fn sws_receive_slice(
3800         c: *mut SwsContext,
3801         slice_start: ::std::os::raw::c_uint,
3802         slice_height: ::std::os::raw::c_uint,
3803     ) -> ::std::os::raw::c_int;
3804 }
3805 extern "C" {
sws_receive_slice_alignment(c: *const SwsContext) -> ::std::os::raw::c_uint3806     pub fn sws_receive_slice_alignment(c: *const SwsContext) -> ::std::os::raw::c_uint;
3807 }
3808 extern "C" {
sws_setColorspaceDetails( c: *mut SwsContext, inv_table: *const ::std::os::raw::c_int, srcRange: ::std::os::raw::c_int, table: *const ::std::os::raw::c_int, dstRange: ::std::os::raw::c_int, brightness: ::std::os::raw::c_int, contrast: ::std::os::raw::c_int, saturation: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int3809     pub fn sws_setColorspaceDetails(
3810         c: *mut SwsContext,
3811         inv_table: *const ::std::os::raw::c_int,
3812         srcRange: ::std::os::raw::c_int,
3813         table: *const ::std::os::raw::c_int,
3814         dstRange: ::std::os::raw::c_int,
3815         brightness: ::std::os::raw::c_int,
3816         contrast: ::std::os::raw::c_int,
3817         saturation: ::std::os::raw::c_int,
3818     ) -> ::std::os::raw::c_int;
3819 }
3820 extern "C" {
sws_getColorspaceDetails( c: *mut SwsContext, inv_table: *mut *mut ::std::os::raw::c_int, srcRange: *mut ::std::os::raw::c_int, table: *mut *mut ::std::os::raw::c_int, dstRange: *mut ::std::os::raw::c_int, brightness: *mut ::std::os::raw::c_int, contrast: *mut ::std::os::raw::c_int, saturation: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int3821     pub fn sws_getColorspaceDetails(
3822         c: *mut SwsContext,
3823         inv_table: *mut *mut ::std::os::raw::c_int,
3824         srcRange: *mut ::std::os::raw::c_int,
3825         table: *mut *mut ::std::os::raw::c_int,
3826         dstRange: *mut ::std::os::raw::c_int,
3827         brightness: *mut ::std::os::raw::c_int,
3828         contrast: *mut ::std::os::raw::c_int,
3829         saturation: *mut ::std::os::raw::c_int,
3830     ) -> ::std::os::raw::c_int;
3831 }
3832 extern "C" {
sws_allocVec(length: ::std::os::raw::c_int) -> *mut SwsVector3833     pub fn sws_allocVec(length: ::std::os::raw::c_int) -> *mut SwsVector;
3834 }
3835 extern "C" {
sws_getGaussianVec(variance: f64, quality: f64) -> *mut SwsVector3836     pub fn sws_getGaussianVec(variance: f64, quality: f64) -> *mut SwsVector;
3837 }
3838 extern "C" {
sws_scaleVec(a: *mut SwsVector, scalar: f64)3839     pub fn sws_scaleVec(a: *mut SwsVector, scalar: f64);
3840 }
3841 extern "C" {
sws_normalizeVec(a: *mut SwsVector, height: f64)3842     pub fn sws_normalizeVec(a: *mut SwsVector, height: f64);
3843 }
3844 extern "C" {
sws_freeVec(a: *mut SwsVector)3845     pub fn sws_freeVec(a: *mut SwsVector);
3846 }
3847 extern "C" {
sws_getDefaultFilter( lumaGBlur: f32, chromaGBlur: f32, lumaSharpen: f32, chromaSharpen: f32, chromaHShift: f32, chromaVShift: f32, verbose: ::std::os::raw::c_int, ) -> *mut SwsFilter3848     pub fn sws_getDefaultFilter(
3849         lumaGBlur: f32,
3850         chromaGBlur: f32,
3851         lumaSharpen: f32,
3852         chromaSharpen: f32,
3853         chromaHShift: f32,
3854         chromaVShift: f32,
3855         verbose: ::std::os::raw::c_int,
3856     ) -> *mut SwsFilter;
3857 }
3858 extern "C" {
sws_freeFilter(filter: *mut SwsFilter)3859     pub fn sws_freeFilter(filter: *mut SwsFilter);
3860 }
3861 extern "C" {
sws_getCachedContext( context: *mut SwsContext, srcW: ::std::os::raw::c_int, srcH: ::std::os::raw::c_int, srcFormat: AVPixelFormat, dstW: ::std::os::raw::c_int, dstH: ::std::os::raw::c_int, dstFormat: AVPixelFormat, flags: ::std::os::raw::c_int, srcFilter: *mut SwsFilter, dstFilter: *mut SwsFilter, param: *const f64, ) -> *mut SwsContext3862     pub fn sws_getCachedContext(
3863         context: *mut SwsContext,
3864         srcW: ::std::os::raw::c_int,
3865         srcH: ::std::os::raw::c_int,
3866         srcFormat: AVPixelFormat,
3867         dstW: ::std::os::raw::c_int,
3868         dstH: ::std::os::raw::c_int,
3869         dstFormat: AVPixelFormat,
3870         flags: ::std::os::raw::c_int,
3871         srcFilter: *mut SwsFilter,
3872         dstFilter: *mut SwsFilter,
3873         param: *const f64,
3874     ) -> *mut SwsContext;
3875 }
3876 extern "C" {
sws_convertPalette8ToPacked32( src: *const u8, dst: *mut u8, num_pixels: ::std::os::raw::c_int, palette: *const u8, )3877     pub fn sws_convertPalette8ToPacked32(
3878         src: *const u8,
3879         dst: *mut u8,
3880         num_pixels: ::std::os::raw::c_int,
3881         palette: *const u8,
3882     );
3883 }
3884 extern "C" {
sws_convertPalette8ToPacked24( src: *const u8, dst: *mut u8, num_pixels: ::std::os::raw::c_int, palette: *const u8, )3885     pub fn sws_convertPalette8ToPacked24(
3886         src: *const u8,
3887         dst: *mut u8,
3888         num_pixels: ::std::os::raw::c_int,
3889         palette: *const u8,
3890     );
3891 }
3892 extern "C" {
sws_get_class() -> *const AVClass3893     pub fn sws_get_class() -> *const AVClass;
3894 }
3895 pub type __builtin_va_list = [__va_list_tag; 1usize];
3896 #[repr(C)]
3897 #[derive(Debug, Copy, Clone)]
3898 pub struct __va_list_tag {
3899     pub gp_offset: ::std::os::raw::c_uint,
3900     pub fp_offset: ::std::os::raw::c_uint,
3901     pub overflow_arg_area: *mut ::std::os::raw::c_void,
3902     pub reg_save_area: *mut ::std::os::raw::c_void,
3903 }
3904 impl Default for __va_list_tag {
default() -> Self3905     fn default() -> Self {
3906         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
3907         unsafe {
3908             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
3909             s.assume_init()
3910         }
3911     }
3912 }
3913 #[repr(C)]
3914 #[derive(Debug, Default, Copy, Clone)]
3915 pub struct AVOption {
3916     pub _address: u8,
3917 }
3918 #[repr(C)]
3919 #[derive(Debug, Default, Copy, Clone)]
3920 pub struct AVCodecHWConfigInternal {
3921     pub _address: u8,
3922 }
3923