1 | # 1 "libavcodec/imx_dump_header_bsf.c" |
---|
2 | # 1 "libavcodec/imx_dump_header_bsf.c" 1 |
---|
3 | # 1 "<built-in>" 1 |
---|
4 | # 1 "<built-in>" 3 |
---|
5 | # 139 "<built-in>" 3 |
---|
6 | # 1 "<command line>" 1 |
---|
7 | # 1 "<built-in>" 2 |
---|
8 | # 1 "libavcodec/imx_dump_header_bsf.c" 2 |
---|
9 | # 28 "libavcodec/imx_dump_header_bsf.c" |
---|
10 | # 1 "libavcodec/avcodec.h" 1 |
---|
11 | # 29 "libavcodec/avcodec.h" |
---|
12 | # 1 "/usr/include/errno.h" 1 3 4 |
---|
13 | # 23 "/usr/include/errno.h" 3 4 |
---|
14 | # 1 "/usr/include/sys/errno.h" 1 3 4 |
---|
15 | # 72 "/usr/include/sys/errno.h" 3 4 |
---|
16 | # 1 "/usr/include/sys/cdefs.h" 1 3 4 |
---|
17 | # 417 "/usr/include/sys/cdefs.h" 3 4 |
---|
18 | # 1 "/usr/include/sys/_symbol_aliasing.h" 1 3 4 |
---|
19 | # 418 "/usr/include/sys/cdefs.h" 2 3 4 |
---|
20 | # 494 "/usr/include/sys/cdefs.h" 3 4 |
---|
21 | # 1 "/usr/include/sys/_posix_availability.h" 1 3 4 |
---|
22 | # 495 "/usr/include/sys/cdefs.h" 2 3 4 |
---|
23 | # 73 "/usr/include/sys/errno.h" 2 3 4 |
---|
24 | |
---|
25 | |
---|
26 | extern int * __error(void); |
---|
27 | # 24 "/usr/include/errno.h" 2 3 4 |
---|
28 | # 30 "libavcodec/avcodec.h" 2 |
---|
29 | # 1 "./libavutil/samplefmt.h" 1 |
---|
30 | # 22 "./libavutil/samplefmt.h" |
---|
31 | # 1 "./libavutil/avutil.h" 1 |
---|
32 | # 74 "./libavutil/avutil.h" |
---|
33 | unsigned avutil_version(void); |
---|
34 | |
---|
35 | |
---|
36 | |
---|
37 | |
---|
38 | const char *avutil_configuration(void); |
---|
39 | |
---|
40 | |
---|
41 | |
---|
42 | |
---|
43 | const char *avutil_license(void); |
---|
44 | |
---|
45 | enum AVMediaType { |
---|
46 | AVMEDIA_TYPE_UNKNOWN = -1, |
---|
47 | AVMEDIA_TYPE_VIDEO, |
---|
48 | AVMEDIA_TYPE_AUDIO, |
---|
49 | AVMEDIA_TYPE_DATA, |
---|
50 | AVMEDIA_TYPE_SUBTITLE, |
---|
51 | AVMEDIA_TYPE_ATTACHMENT, |
---|
52 | AVMEDIA_TYPE_NB |
---|
53 | }; |
---|
54 | # 114 "./libavutil/avutil.h" |
---|
55 | enum AVPictureType { |
---|
56 | AV_PICTURE_TYPE_NONE = 0, |
---|
57 | AV_PICTURE_TYPE_I, |
---|
58 | AV_PICTURE_TYPE_P, |
---|
59 | AV_PICTURE_TYPE_B, |
---|
60 | AV_PICTURE_TYPE_S, |
---|
61 | AV_PICTURE_TYPE_SI, |
---|
62 | AV_PICTURE_TYPE_SP, |
---|
63 | AV_PICTURE_TYPE_BI, |
---|
64 | }; |
---|
65 | # 132 "./libavutil/avutil.h" |
---|
66 | char av_get_picture_type_char(enum AVPictureType pict_type); |
---|
67 | |
---|
68 | |
---|
69 | # 1 "./libavutil/common.h" 1 |
---|
70 | # 29 "./libavutil/common.h" |
---|
71 | # 1 "/usr/include/ctype.h" 1 3 4 |
---|
72 | # 69 "/usr/include/ctype.h" 3 4 |
---|
73 | # 1 "/usr/include/runetype.h" 1 3 4 |
---|
74 | # 42 "/usr/include/runetype.h" 3 4 |
---|
75 | # 1 "/usr/include/_types.h" 1 3 4 |
---|
76 | # 27 "/usr/include/_types.h" 3 4 |
---|
77 | # 1 "/usr/include/sys/_types.h" 1 3 4 |
---|
78 | # 33 "/usr/include/sys/_types.h" 3 4 |
---|
79 | # 1 "/usr/include/machine/_types.h" 1 3 4 |
---|
80 | # 32 "/usr/include/machine/_types.h" 3 4 |
---|
81 | # 1 "/usr/include/i386/_types.h" 1 3 4 |
---|
82 | # 37 "/usr/include/i386/_types.h" 3 4 |
---|
83 | typedef signed char __int8_t; |
---|
84 | |
---|
85 | |
---|
86 | |
---|
87 | typedef unsigned char __uint8_t; |
---|
88 | typedef short __int16_t; |
---|
89 | typedef unsigned short __uint16_t; |
---|
90 | typedef int __int32_t; |
---|
91 | typedef unsigned int __uint32_t; |
---|
92 | typedef long long __int64_t; |
---|
93 | typedef unsigned long long __uint64_t; |
---|
94 | |
---|
95 | typedef long __darwin_intptr_t; |
---|
96 | typedef unsigned int __darwin_natural_t; |
---|
97 | # 70 "/usr/include/i386/_types.h" 3 4 |
---|
98 | typedef int __darwin_ct_rune_t; |
---|
99 | |
---|
100 | |
---|
101 | |
---|
102 | |
---|
103 | |
---|
104 | typedef union { |
---|
105 | char __mbstate8[128]; |
---|
106 | long long _mbstateL; |
---|
107 | } __mbstate_t; |
---|
108 | |
---|
109 | typedef __mbstate_t __darwin_mbstate_t; |
---|
110 | |
---|
111 | |
---|
112 | typedef int __darwin_ptrdiff_t; |
---|
113 | |
---|
114 | |
---|
115 | |
---|
116 | |
---|
117 | |
---|
118 | typedef long unsigned int __darwin_size_t; |
---|
119 | |
---|
120 | |
---|
121 | |
---|
122 | |
---|
123 | |
---|
124 | typedef __builtin_va_list __darwin_va_list; |
---|
125 | |
---|
126 | |
---|
127 | |
---|
128 | |
---|
129 | |
---|
130 | typedef int __darwin_wchar_t; |
---|
131 | |
---|
132 | |
---|
133 | |
---|
134 | |
---|
135 | typedef __darwin_wchar_t __darwin_rune_t; |
---|
136 | |
---|
137 | |
---|
138 | typedef int __darwin_wint_t; |
---|
139 | |
---|
140 | |
---|
141 | |
---|
142 | |
---|
143 | typedef unsigned long __darwin_clock_t; |
---|
144 | typedef __uint32_t __darwin_socklen_t; |
---|
145 | typedef long __darwin_ssize_t; |
---|
146 | typedef long __darwin_time_t; |
---|
147 | # 33 "/usr/include/machine/_types.h" 2 3 4 |
---|
148 | # 34 "/usr/include/sys/_types.h" 2 3 4 |
---|
149 | # 58 "/usr/include/sys/_types.h" 3 4 |
---|
150 | struct __darwin_pthread_handler_rec |
---|
151 | { |
---|
152 | void (*__routine)(void *); |
---|
153 | void *__arg; |
---|
154 | struct __darwin_pthread_handler_rec *__next; |
---|
155 | }; |
---|
156 | struct _opaque_pthread_attr_t { long __sig; char __opaque[36]; }; |
---|
157 | struct _opaque_pthread_cond_t { long __sig; char __opaque[24]; }; |
---|
158 | struct _opaque_pthread_condattr_t { long __sig; char __opaque[4]; }; |
---|
159 | struct _opaque_pthread_mutex_t { long __sig; char __opaque[40]; }; |
---|
160 | struct _opaque_pthread_mutexattr_t { long __sig; char __opaque[8]; }; |
---|
161 | struct _opaque_pthread_once_t { long __sig; char __opaque[4]; }; |
---|
162 | struct _opaque_pthread_rwlock_t { long __sig; char __opaque[124]; }; |
---|
163 | struct _opaque_pthread_rwlockattr_t { long __sig; char __opaque[12]; }; |
---|
164 | struct _opaque_pthread_t { long __sig; struct __darwin_pthread_handler_rec *__cleanup_stack; char __opaque[596]; }; |
---|
165 | # 94 "/usr/include/sys/_types.h" 3 4 |
---|
166 | typedef __int64_t __darwin_blkcnt_t; |
---|
167 | typedef __int32_t __darwin_blksize_t; |
---|
168 | typedef __int32_t __darwin_dev_t; |
---|
169 | typedef unsigned int __darwin_fsblkcnt_t; |
---|
170 | typedef unsigned int __darwin_fsfilcnt_t; |
---|
171 | typedef __uint32_t __darwin_gid_t; |
---|
172 | typedef __uint32_t __darwin_id_t; |
---|
173 | typedef __uint64_t __darwin_ino64_t; |
---|
174 | |
---|
175 | typedef __darwin_ino64_t __darwin_ino_t; |
---|
176 | |
---|
177 | |
---|
178 | |
---|
179 | typedef __darwin_natural_t __darwin_mach_port_name_t; |
---|
180 | typedef __darwin_mach_port_name_t __darwin_mach_port_t; |
---|
181 | typedef __uint16_t __darwin_mode_t; |
---|
182 | typedef __int64_t __darwin_off_t; |
---|
183 | typedef __int32_t __darwin_pid_t; |
---|
184 | typedef struct _opaque_pthread_attr_t |
---|
185 | __darwin_pthread_attr_t; |
---|
186 | typedef struct _opaque_pthread_cond_t |
---|
187 | __darwin_pthread_cond_t; |
---|
188 | typedef struct _opaque_pthread_condattr_t |
---|
189 | __darwin_pthread_condattr_t; |
---|
190 | typedef unsigned long __darwin_pthread_key_t; |
---|
191 | typedef struct _opaque_pthread_mutex_t |
---|
192 | __darwin_pthread_mutex_t; |
---|
193 | typedef struct _opaque_pthread_mutexattr_t |
---|
194 | __darwin_pthread_mutexattr_t; |
---|
195 | typedef struct _opaque_pthread_once_t |
---|
196 | __darwin_pthread_once_t; |
---|
197 | typedef struct _opaque_pthread_rwlock_t |
---|
198 | __darwin_pthread_rwlock_t; |
---|
199 | typedef struct _opaque_pthread_rwlockattr_t |
---|
200 | __darwin_pthread_rwlockattr_t; |
---|
201 | typedef struct _opaque_pthread_t |
---|
202 | *__darwin_pthread_t; |
---|
203 | typedef __uint32_t __darwin_sigset_t; |
---|
204 | typedef __int32_t __darwin_suseconds_t; |
---|
205 | typedef __uint32_t __darwin_uid_t; |
---|
206 | typedef __uint32_t __darwin_useconds_t; |
---|
207 | typedef unsigned char __darwin_uuid_t[16]; |
---|
208 | typedef char __darwin_uuid_string_t[37]; |
---|
209 | # 28 "/usr/include/_types.h" 2 3 4 |
---|
210 | # 39 "/usr/include/_types.h" 3 4 |
---|
211 | typedef int __darwin_nl_item; |
---|
212 | typedef int __darwin_wctrans_t; |
---|
213 | |
---|
214 | |
---|
215 | |
---|
216 | typedef unsigned long __darwin_wctype_t; |
---|
217 | # 43 "/usr/include/runetype.h" 2 3 4 |
---|
218 | |
---|
219 | |
---|
220 | |
---|
221 | |
---|
222 | |
---|
223 | typedef __darwin_size_t size_t; |
---|
224 | |
---|
225 | |
---|
226 | |
---|
227 | |
---|
228 | typedef __darwin_ct_rune_t ct_rune_t; |
---|
229 | |
---|
230 | |
---|
231 | |
---|
232 | |
---|
233 | typedef __darwin_rune_t rune_t; |
---|
234 | |
---|
235 | |
---|
236 | |
---|
237 | |
---|
238 | |
---|
239 | typedef __darwin_wchar_t wchar_t; |
---|
240 | |
---|
241 | |
---|
242 | |
---|
243 | |
---|
244 | |
---|
245 | typedef __darwin_wint_t wint_t; |
---|
246 | # 81 "/usr/include/runetype.h" 3 4 |
---|
247 | typedef struct { |
---|
248 | __darwin_rune_t __min; |
---|
249 | __darwin_rune_t __max; |
---|
250 | __darwin_rune_t __map; |
---|
251 | __uint32_t *__types; |
---|
252 | } _RuneEntry; |
---|
253 | |
---|
254 | typedef struct { |
---|
255 | int __nranges; |
---|
256 | _RuneEntry *__ranges; |
---|
257 | } _RuneRange; |
---|
258 | |
---|
259 | typedef struct { |
---|
260 | char __name[14]; |
---|
261 | __uint32_t __mask; |
---|
262 | } _RuneCharClass; |
---|
263 | |
---|
264 | typedef struct { |
---|
265 | char __magic[8]; |
---|
266 | char __encoding[32]; |
---|
267 | |
---|
268 | __darwin_rune_t (*__sgetrune)(const char *, __darwin_size_t, char const **); |
---|
269 | int (*__sputrune)(__darwin_rune_t, char *, __darwin_size_t, char **); |
---|
270 | __darwin_rune_t __invalid_rune; |
---|
271 | |
---|
272 | __uint32_t __runetype[(1 <<8 )]; |
---|
273 | __darwin_rune_t __maplower[(1 <<8 )]; |
---|
274 | __darwin_rune_t __mapupper[(1 <<8 )]; |
---|
275 | |
---|
276 | |
---|
277 | |
---|
278 | |
---|
279 | |
---|
280 | |
---|
281 | _RuneRange __runetype_ext; |
---|
282 | _RuneRange __maplower_ext; |
---|
283 | _RuneRange __mapupper_ext; |
---|
284 | |
---|
285 | void *__variable; |
---|
286 | int __variable_len; |
---|
287 | |
---|
288 | |
---|
289 | |
---|
290 | |
---|
291 | int __ncharclasses; |
---|
292 | _RuneCharClass *__charclasses; |
---|
293 | } _RuneLocale; |
---|
294 | |
---|
295 | |
---|
296 | |
---|
297 | |
---|
298 | extern _RuneLocale _DefaultRuneLocale; |
---|
299 | extern _RuneLocale *_CurrentRuneLocale; |
---|
300 | # 70 "/usr/include/ctype.h" 2 3 4 |
---|
301 | # 146 "/usr/include/ctype.h" 3 4 |
---|
302 | unsigned long ___runetype(__darwin_ct_rune_t); |
---|
303 | __darwin_ct_rune_t ___tolower(__darwin_ct_rune_t); |
---|
304 | __darwin_ct_rune_t ___toupper(__darwin_ct_rune_t); |
---|
305 | |
---|
306 | |
---|
307 | static __inline int |
---|
308 | isascii(int _c) |
---|
309 | { |
---|
310 | return ((_c & ~0x7F) == 0); |
---|
311 | } |
---|
312 | # 165 "/usr/include/ctype.h" 3 4 |
---|
313 | int __maskrune(__darwin_ct_rune_t, unsigned long); |
---|
314 | |
---|
315 | |
---|
316 | |
---|
317 | static __inline int |
---|
318 | __istype(__darwin_ct_rune_t _c, unsigned long _f) |
---|
319 | { |
---|
320 | |
---|
321 | |
---|
322 | |
---|
323 | return (isascii(_c) ? !!(_DefaultRuneLocale.__runetype[_c] & _f) |
---|
324 | : !!__maskrune(_c, _f)); |
---|
325 | |
---|
326 | } |
---|
327 | |
---|
328 | static __inline __darwin_ct_rune_t |
---|
329 | __isctype(__darwin_ct_rune_t _c, unsigned long _f) |
---|
330 | { |
---|
331 | |
---|
332 | |
---|
333 | |
---|
334 | return (_c < 0 || _c >= (1 <<8 )) ? 0 : |
---|
335 | !!(_DefaultRuneLocale.__runetype[_c] & _f); |
---|
336 | |
---|
337 | } |
---|
338 | # 205 "/usr/include/ctype.h" 3 4 |
---|
339 | __darwin_ct_rune_t __toupper(__darwin_ct_rune_t); |
---|
340 | __darwin_ct_rune_t __tolower(__darwin_ct_rune_t); |
---|
341 | |
---|
342 | |
---|
343 | |
---|
344 | static __inline int |
---|
345 | __wcwidth(__darwin_ct_rune_t _c) |
---|
346 | { |
---|
347 | unsigned int _x; |
---|
348 | |
---|
349 | if (_c == 0) |
---|
350 | return (0); |
---|
351 | _x = (unsigned int)__maskrune(_c, 0xe0000000L|0x00040000L); |
---|
352 | if ((_x & 0xe0000000L) != 0) |
---|
353 | return ((_x & 0xe0000000L) >> 30); |
---|
354 | return ((_x & 0x00040000L) != 0 ? 1 : -1); |
---|
355 | } |
---|
356 | |
---|
357 | |
---|
358 | |
---|
359 | |
---|
360 | |
---|
361 | |
---|
362 | static __inline int |
---|
363 | isalnum(int _c) |
---|
364 | { |
---|
365 | return (__istype(_c, 0x00000100L|0x00000400L)); |
---|
366 | } |
---|
367 | |
---|
368 | static __inline int |
---|
369 | isalpha(int _c) |
---|
370 | { |
---|
371 | return (__istype(_c, 0x00000100L)); |
---|
372 | } |
---|
373 | |
---|
374 | static __inline int |
---|
375 | isblank(int _c) |
---|
376 | { |
---|
377 | return (__istype(_c, 0x00020000L)); |
---|
378 | } |
---|
379 | |
---|
380 | static __inline int |
---|
381 | iscntrl(int _c) |
---|
382 | { |
---|
383 | return (__istype(_c, 0x00000200L)); |
---|
384 | } |
---|
385 | |
---|
386 | |
---|
387 | static __inline int |
---|
388 | isdigit(int _c) |
---|
389 | { |
---|
390 | return (__isctype(_c, 0x00000400L)); |
---|
391 | } |
---|
392 | |
---|
393 | static __inline int |
---|
394 | isgraph(int _c) |
---|
395 | { |
---|
396 | return (__istype(_c, 0x00000800L)); |
---|
397 | } |
---|
398 | |
---|
399 | static __inline int |
---|
400 | islower(int _c) |
---|
401 | { |
---|
402 | return (__istype(_c, 0x00001000L)); |
---|
403 | } |
---|
404 | |
---|
405 | static __inline int |
---|
406 | isprint(int _c) |
---|
407 | { |
---|
408 | return (__istype(_c, 0x00040000L)); |
---|
409 | } |
---|
410 | |
---|
411 | static __inline int |
---|
412 | ispunct(int _c) |
---|
413 | { |
---|
414 | return (__istype(_c, 0x00002000L)); |
---|
415 | } |
---|
416 | |
---|
417 | static __inline int |
---|
418 | isspace(int _c) |
---|
419 | { |
---|
420 | return (__istype(_c, 0x00004000L)); |
---|
421 | } |
---|
422 | |
---|
423 | static __inline int |
---|
424 | isupper(int _c) |
---|
425 | { |
---|
426 | return (__istype(_c, 0x00008000L)); |
---|
427 | } |
---|
428 | |
---|
429 | |
---|
430 | static __inline int |
---|
431 | isxdigit(int _c) |
---|
432 | { |
---|
433 | return (__isctype(_c, 0x00010000L)); |
---|
434 | } |
---|
435 | |
---|
436 | static __inline int |
---|
437 | toascii(int _c) |
---|
438 | { |
---|
439 | return (_c & 0x7F); |
---|
440 | } |
---|
441 | |
---|
442 | static __inline int |
---|
443 | tolower(int _c) |
---|
444 | { |
---|
445 | return (__tolower(_c)); |
---|
446 | } |
---|
447 | |
---|
448 | static __inline int |
---|
449 | toupper(int _c) |
---|
450 | { |
---|
451 | return (__toupper(_c)); |
---|
452 | } |
---|
453 | |
---|
454 | |
---|
455 | static __inline int |
---|
456 | digittoint(int _c) |
---|
457 | { |
---|
458 | return (__maskrune(_c, 0x0F)); |
---|
459 | } |
---|
460 | |
---|
461 | static __inline int |
---|
462 | ishexnumber(int _c) |
---|
463 | { |
---|
464 | return (__istype(_c, 0x00010000L)); |
---|
465 | } |
---|
466 | |
---|
467 | static __inline int |
---|
468 | isideogram(int _c) |
---|
469 | { |
---|
470 | return (__istype(_c, 0x00080000L)); |
---|
471 | } |
---|
472 | |
---|
473 | static __inline int |
---|
474 | isnumber(int _c) |
---|
475 | { |
---|
476 | return (__istype(_c, 0x00000400L)); |
---|
477 | } |
---|
478 | |
---|
479 | static __inline int |
---|
480 | isphonogram(int _c) |
---|
481 | { |
---|
482 | return (__istype(_c, 0x00200000L)); |
---|
483 | } |
---|
484 | |
---|
485 | static __inline int |
---|
486 | isrune(int _c) |
---|
487 | { |
---|
488 | return (__istype(_c, 0xFFFFFFF0L)); |
---|
489 | } |
---|
490 | |
---|
491 | static __inline int |
---|
492 | isspecial(int _c) |
---|
493 | { |
---|
494 | return (__istype(_c, 0x00100000L)); |
---|
495 | } |
---|
496 | # 30 "./libavutil/common.h" 2 |
---|
497 | # 1 "/usr/include/errno.h" 1 3 4 |
---|
498 | # 31 "./libavutil/common.h" 2 |
---|
499 | # 1 "/usr/include/inttypes.h" 1 3 4 |
---|
500 | # 247 "/usr/include/inttypes.h" 3 4 |
---|
501 | # 1 "/usr/bin/../lib/clang/3.0/include/stdint.h" 1 3 4 |
---|
502 | # 33 "/usr/bin/../lib/clang/3.0/include/stdint.h" 3 4 |
---|
503 | # 1 "/usr/include/stdint.h" 1 3 4 |
---|
504 | # 20 "/usr/include/stdint.h" 3 4 |
---|
505 | typedef signed char int8_t; |
---|
506 | |
---|
507 | |
---|
508 | |
---|
509 | |
---|
510 | typedef short int16_t; |
---|
511 | |
---|
512 | |
---|
513 | |
---|
514 | |
---|
515 | typedef int int32_t; |
---|
516 | |
---|
517 | |
---|
518 | |
---|
519 | |
---|
520 | typedef long long int64_t; |
---|
521 | |
---|
522 | |
---|
523 | |
---|
524 | |
---|
525 | typedef unsigned char uint8_t; |
---|
526 | |
---|
527 | |
---|
528 | |
---|
529 | |
---|
530 | typedef unsigned short uint16_t; |
---|
531 | |
---|
532 | |
---|
533 | |
---|
534 | |
---|
535 | typedef unsigned int uint32_t; |
---|
536 | |
---|
537 | |
---|
538 | |
---|
539 | |
---|
540 | typedef unsigned long long uint64_t; |
---|
541 | |
---|
542 | |
---|
543 | |
---|
544 | typedef int8_t int_least8_t; |
---|
545 | typedef int16_t int_least16_t; |
---|
546 | typedef int32_t int_least32_t; |
---|
547 | typedef int64_t int_least64_t; |
---|
548 | typedef uint8_t uint_least8_t; |
---|
549 | typedef uint16_t uint_least16_t; |
---|
550 | typedef uint32_t uint_least32_t; |
---|
551 | typedef uint64_t uint_least64_t; |
---|
552 | |
---|
553 | |
---|
554 | |
---|
555 | typedef int8_t int_fast8_t; |
---|
556 | typedef int16_t int_fast16_t; |
---|
557 | typedef int32_t int_fast32_t; |
---|
558 | typedef int64_t int_fast64_t; |
---|
559 | typedef uint8_t uint_fast8_t; |
---|
560 | typedef uint16_t uint_fast16_t; |
---|
561 | typedef uint32_t uint_fast32_t; |
---|
562 | typedef uint64_t uint_fast64_t; |
---|
563 | |
---|
564 | |
---|
565 | |
---|
566 | |
---|
567 | |
---|
568 | |
---|
569 | typedef long intptr_t; |
---|
570 | |
---|
571 | |
---|
572 | |
---|
573 | |
---|
574 | typedef unsigned long uintptr_t; |
---|
575 | |
---|
576 | |
---|
577 | |
---|
578 | |
---|
579 | |
---|
580 | |
---|
581 | |
---|
582 | typedef long long int intmax_t; |
---|
583 | # 106 "/usr/include/stdint.h" 3 4 |
---|
584 | typedef long long unsigned int uintmax_t; |
---|
585 | # 34 "/usr/bin/../lib/clang/3.0/include/stdint.h" 2 3 4 |
---|
586 | # 248 "/usr/include/inttypes.h" 2 3 4 |
---|
587 | # 260 "/usr/include/inttypes.h" 3 4 |
---|
588 | extern intmax_t imaxabs(intmax_t j); |
---|
589 | |
---|
590 | |
---|
591 | typedef struct { |
---|
592 | intmax_t quot; |
---|
593 | intmax_t rem; |
---|
594 | } imaxdiv_t; |
---|
595 | |
---|
596 | extern imaxdiv_t imaxdiv(intmax_t numer, intmax_t denom); |
---|
597 | |
---|
598 | |
---|
599 | extern intmax_t strtoimax(const char * restrict nptr, char ** restrict endptr, int base); |
---|
600 | extern uintmax_t strtoumax(const char * restrict nptr, char ** restrict endptr, int base); |
---|
601 | # 282 "/usr/include/inttypes.h" 3 4 |
---|
602 | extern intmax_t wcstoimax(const wchar_t * restrict nptr, wchar_t ** restrict endptr, int base); |
---|
603 | extern uintmax_t wcstoumax(const wchar_t * restrict nptr, wchar_t ** restrict endptr, int base); |
---|
604 | # 32 "./libavutil/common.h" 2 |
---|
605 | # 1 "/usr/bin/../lib/clang/3.0/include/limits.h" 1 3 4 |
---|
606 | # 38 "/usr/bin/../lib/clang/3.0/include/limits.h" 3 4 |
---|
607 | # 1 "/usr/include/limits.h" 1 3 4 |
---|
608 | # 64 "/usr/include/limits.h" 3 4 |
---|
609 | # 1 "/usr/include/machine/limits.h" 1 3 4 |
---|
610 | |
---|
611 | |
---|
612 | |
---|
613 | |
---|
614 | |
---|
615 | # 1 "/usr/include/i386/limits.h" 1 3 4 |
---|
616 | # 40 "/usr/include/i386/limits.h" 3 4 |
---|
617 | # 1 "/usr/include/i386/_limits.h" 1 3 4 |
---|
618 | # 41 "/usr/include/i386/limits.h" 2 3 4 |
---|
619 | # 7 "/usr/include/machine/limits.h" 2 3 4 |
---|
620 | # 65 "/usr/include/limits.h" 2 3 4 |
---|
621 | # 1 "/usr/include/sys/syslimits.h" 1 3 4 |
---|
622 | # 66 "/usr/include/limits.h" 2 3 4 |
---|
623 | # 39 "/usr/bin/../lib/clang/3.0/include/limits.h" 2 3 4 |
---|
624 | # 33 "./libavutil/common.h" 2 |
---|
625 | # 1 "/usr/include/math.h" 1 3 4 |
---|
626 | # 28 "/usr/include/math.h" 3 4 |
---|
627 | # 1 "/usr/include/architecture/i386/math.h" 1 3 4 |
---|
628 | # 49 "/usr/include/architecture/i386/math.h" 3 4 |
---|
629 | typedef float float_t; |
---|
630 | typedef double double_t; |
---|
631 | # 108 "/usr/include/architecture/i386/math.h" 3 4 |
---|
632 | extern int __math_errhandling ( void ); |
---|
633 | # 128 "/usr/include/architecture/i386/math.h" 3 4 |
---|
634 | extern int __fpclassifyf(float ); |
---|
635 | extern int __fpclassifyd(double ); |
---|
636 | extern int __fpclassify (long double); |
---|
637 | # 163 "/usr/include/architecture/i386/math.h" 3 4 |
---|
638 | static __inline__ int __inline_isfinitef (float ) __attribute__ ((always_inline)); |
---|
639 | static __inline__ int __inline_isfinited (double ) __attribute__ ((always_inline)); |
---|
640 | static __inline__ int __inline_isfinite (long double) __attribute__ ((always_inline)); |
---|
641 | static __inline__ int __inline_isinff (float ) __attribute__ ((always_inline)); |
---|
642 | static __inline__ int __inline_isinfd (double ) __attribute__ ((always_inline)); |
---|
643 | static __inline__ int __inline_isinf (long double) __attribute__ ((always_inline)); |
---|
644 | static __inline__ int __inline_isnanf (float ) __attribute__ ((always_inline)); |
---|
645 | static __inline__ int __inline_isnand (double ) __attribute__ ((always_inline)); |
---|
646 | static __inline__ int __inline_isnan (long double) __attribute__ ((always_inline)); |
---|
647 | static __inline__ int __inline_isnormalf (float ) __attribute__ ((always_inline)); |
---|
648 | static __inline__ int __inline_isnormald (double ) __attribute__ ((always_inline)); |
---|
649 | static __inline__ int __inline_isnormal (long double) __attribute__ ((always_inline)); |
---|
650 | static __inline__ int __inline_signbitf (float ) __attribute__ ((always_inline)); |
---|
651 | static __inline__ int __inline_signbitd (double ) __attribute__ ((always_inline)); |
---|
652 | static __inline__ int __inline_signbit (long double) __attribute__ ((always_inline)); |
---|
653 | |
---|
654 | static __inline__ int __inline_isinff( float __x ) { return __builtin_fabsf(__x) == __builtin_inff(); } |
---|
655 | static __inline__ int __inline_isinfd( double __x ) { return __builtin_fabs(__x) == __builtin_inf(); } |
---|
656 | static __inline__ int __inline_isinf( long double __x ) { return __builtin_fabsl(__x) == __builtin_infl(); } |
---|
657 | static __inline__ int __inline_isfinitef( float __x ) { return __x == __x && __builtin_fabsf(__x) != __builtin_inff(); } |
---|
658 | static __inline__ int __inline_isfinited( double __x ) { return __x == __x && __builtin_fabs(__x) != __builtin_inf(); } |
---|
659 | static __inline__ int __inline_isfinite( long double __x ) { return __x == __x && __builtin_fabsl(__x) != __builtin_infl(); } |
---|
660 | static __inline__ int __inline_isnanf( float __x ) { return __x != __x; } |
---|
661 | static __inline__ int __inline_isnand( double __x ) { return __x != __x; } |
---|
662 | static __inline__ int __inline_isnan( long double __x ) { return __x != __x; } |
---|
663 | static __inline__ int __inline_signbitf( float __x ) { union{ float __f; unsigned int __u; }__u; __u.__f = __x; return (int)(__u.__u >> 31); } |
---|
664 | static __inline__ int __inline_signbitd( double __x ) { union{ double __f; unsigned int __u[2]; }__u; __u.__f = __x; return (int)(__u.__u[1] >> 31); } |
---|
665 | static __inline__ int __inline_signbit( long double __x ){ union{ long double __ld; struct{ unsigned int __m[2]; short __sexp; }__p; }__u; __u.__ld = __x; return (int) (((unsigned short) __u.__p.__sexp) >> 15); } |
---|
666 | static __inline__ int __inline_isnormalf( float __x ) { float fabsf = __builtin_fabsf(__x); if( __x != __x ) return 0; return fabsf < __builtin_inff() && fabsf >= 1.17549435e-38F; } |
---|
667 | static __inline__ int __inline_isnormald( double __x ) { double fabsf = __builtin_fabs(__x); if( __x != __x ) return 0; return fabsf < __builtin_inf() && fabsf >= 2.2250738585072014e-308; } |
---|
668 | static __inline__ int __inline_isnormal( long double __x ) { long double fabsf = __builtin_fabsl(__x); if( __x != __x ) return 0; return fabsf < __builtin_infl() && fabsf >= 3.36210314311209350626e-4932L; } |
---|
669 | # 253 "/usr/include/architecture/i386/math.h" 3 4 |
---|
670 | extern double acos( double ); |
---|
671 | extern float acosf( float ); |
---|
672 | |
---|
673 | extern double asin( double ); |
---|
674 | extern float asinf( float ); |
---|
675 | |
---|
676 | extern double atan( double ); |
---|
677 | extern float atanf( float ); |
---|
678 | |
---|
679 | extern double atan2( double, double ); |
---|
680 | extern float atan2f( float, float ); |
---|
681 | |
---|
682 | extern double cos( double ); |
---|
683 | extern float cosf( float ); |
---|
684 | |
---|
685 | extern double sin( double ); |
---|
686 | extern float sinf( float ); |
---|
687 | |
---|
688 | extern double tan( double ); |
---|
689 | extern float tanf( float ); |
---|
690 | |
---|
691 | extern double acosh( double ); |
---|
692 | extern float acoshf( float ); |
---|
693 | |
---|
694 | extern double asinh( double ); |
---|
695 | extern float asinhf( float ); |
---|
696 | |
---|
697 | extern double atanh( double ); |
---|
698 | extern float atanhf( float ); |
---|
699 | |
---|
700 | extern double cosh( double ); |
---|
701 | extern float coshf( float ); |
---|
702 | |
---|
703 | extern double sinh( double ); |
---|
704 | extern float sinhf( float ); |
---|
705 | |
---|
706 | extern double tanh( double ); |
---|
707 | extern float tanhf( float ); |
---|
708 | |
---|
709 | extern double exp ( double ); |
---|
710 | extern float expf ( float ); |
---|
711 | |
---|
712 | extern double exp2 ( double ); |
---|
713 | extern float exp2f ( float ); |
---|
714 | |
---|
715 | extern double expm1 ( double ); |
---|
716 | extern float expm1f ( float ); |
---|
717 | |
---|
718 | extern double log ( double ); |
---|
719 | extern float logf ( float ); |
---|
720 | |
---|
721 | extern double log10 ( double ); |
---|
722 | extern float log10f ( float ); |
---|
723 | |
---|
724 | extern double log2 ( double ); |
---|
725 | extern float log2f ( float ); |
---|
726 | |
---|
727 | extern double log1p ( double ); |
---|
728 | extern float log1pf ( float ); |
---|
729 | |
---|
730 | extern double logb ( double ); |
---|
731 | extern float logbf ( float ); |
---|
732 | |
---|
733 | extern double modf ( double, double * ); |
---|
734 | extern float modff ( float, float * ); |
---|
735 | |
---|
736 | extern double ldexp ( double, int ); |
---|
737 | extern float ldexpf ( float, int ); |
---|
738 | |
---|
739 | extern double frexp ( double, int * ); |
---|
740 | extern float frexpf ( float, int * ); |
---|
741 | |
---|
742 | extern int ilogb ( double ); |
---|
743 | extern int ilogbf ( float ); |
---|
744 | |
---|
745 | extern double scalbn ( double, int ); |
---|
746 | extern float scalbnf ( float, int ); |
---|
747 | |
---|
748 | extern double scalbln ( double, long int ); |
---|
749 | extern float scalblnf ( float, long int ); |
---|
750 | |
---|
751 | extern double fabs( double ); |
---|
752 | extern float fabsf( float ); |
---|
753 | |
---|
754 | extern double cbrt( double ); |
---|
755 | extern float cbrtf( float ); |
---|
756 | |
---|
757 | extern double hypot ( double, double ); |
---|
758 | extern float hypotf ( float, float ); |
---|
759 | |
---|
760 | extern double pow ( double, double ); |
---|
761 | extern float powf ( float, float ); |
---|
762 | |
---|
763 | extern double sqrt( double ); |
---|
764 | extern float sqrtf( float ); |
---|
765 | |
---|
766 | extern double erf( double ); |
---|
767 | extern float erff( float ); |
---|
768 | |
---|
769 | extern double erfc( double ); |
---|
770 | extern float erfcf( float ); |
---|
771 | |
---|
772 | |
---|
773 | |
---|
774 | |
---|
775 | |
---|
776 | |
---|
777 | extern double lgamma( double ); |
---|
778 | extern float lgammaf( float ); |
---|
779 | |
---|
780 | extern double tgamma( double ); |
---|
781 | extern float tgammaf( float ); |
---|
782 | |
---|
783 | extern double ceil ( double ); |
---|
784 | extern float ceilf ( float ); |
---|
785 | |
---|
786 | extern double floor ( double ); |
---|
787 | extern float floorf ( float ); |
---|
788 | |
---|
789 | extern double nearbyint ( double ); |
---|
790 | extern float nearbyintf ( float ); |
---|
791 | |
---|
792 | extern double rint ( double ); |
---|
793 | extern float rintf ( float ); |
---|
794 | |
---|
795 | extern long int lrint ( double ); |
---|
796 | extern long int lrintf ( float ); |
---|
797 | |
---|
798 | extern double round ( double ); |
---|
799 | extern float roundf ( float ); |
---|
800 | |
---|
801 | extern long int lround ( double ); |
---|
802 | extern long int lroundf ( float ); |
---|
803 | |
---|
804 | |
---|
805 | |
---|
806 | extern long long int llrint ( double ); |
---|
807 | extern long long int llrintf ( float ); |
---|
808 | extern long long int llround ( double ); |
---|
809 | extern long long int llroundf ( float ); |
---|
810 | |
---|
811 | |
---|
812 | extern double trunc ( double ); |
---|
813 | extern float truncf ( float ); |
---|
814 | |
---|
815 | extern double fmod ( double, double ); |
---|
816 | extern float fmodf ( float, float ); |
---|
817 | |
---|
818 | extern double remainder ( double, double ); |
---|
819 | extern float remainderf ( float, float ); |
---|
820 | |
---|
821 | extern double remquo ( double, double, int * ); |
---|
822 | extern float remquof ( float, float, int * ); |
---|
823 | |
---|
824 | extern double copysign ( double, double ); |
---|
825 | extern float copysignf ( float, float ); |
---|
826 | |
---|
827 | extern double nan( const char * ); |
---|
828 | extern float nanf( const char * ); |
---|
829 | |
---|
830 | extern double nextafter ( double, double ); |
---|
831 | extern float nextafterf ( float, float ); |
---|
832 | |
---|
833 | extern double fdim ( double, double ); |
---|
834 | extern float fdimf ( float, float ); |
---|
835 | |
---|
836 | extern double fmax ( double, double ); |
---|
837 | extern float fmaxf ( float, float ); |
---|
838 | |
---|
839 | extern double fmin ( double, double ); |
---|
840 | extern float fminf ( float, float ); |
---|
841 | |
---|
842 | extern double fma ( double, double, double ); |
---|
843 | extern float fmaf ( float, float, float ); |
---|
844 | |
---|
845 | extern long double acosl(long double); |
---|
846 | extern long double asinl(long double); |
---|
847 | extern long double atanl(long double); |
---|
848 | extern long double atan2l(long double, long double); |
---|
849 | extern long double cosl(long double); |
---|
850 | extern long double sinl(long double); |
---|
851 | extern long double tanl(long double); |
---|
852 | extern long double acoshl(long double); |
---|
853 | extern long double asinhl(long double); |
---|
854 | extern long double atanhl(long double); |
---|
855 | extern long double coshl(long double); |
---|
856 | extern long double sinhl(long double); |
---|
857 | extern long double tanhl(long double); |
---|
858 | extern long double expl(long double); |
---|
859 | extern long double exp2l(long double); |
---|
860 | extern long double expm1l(long double); |
---|
861 | extern long double logl(long double); |
---|
862 | extern long double log10l(long double); |
---|
863 | extern long double log2l(long double); |
---|
864 | extern long double log1pl(long double); |
---|
865 | extern long double logbl(long double); |
---|
866 | extern long double modfl(long double, long double *); |
---|
867 | extern long double ldexpl(long double, int); |
---|
868 | extern long double frexpl(long double, int *); |
---|
869 | extern int ilogbl(long double); |
---|
870 | extern long double scalbnl(long double, int); |
---|
871 | extern long double scalblnl(long double, long int); |
---|
872 | extern long double fabsl(long double); |
---|
873 | extern long double cbrtl(long double); |
---|
874 | extern long double hypotl(long double, long double); |
---|
875 | extern long double powl(long double, long double); |
---|
876 | extern long double sqrtl(long double); |
---|
877 | extern long double erfl(long double); |
---|
878 | extern long double erfcl(long double); |
---|
879 | |
---|
880 | |
---|
881 | |
---|
882 | |
---|
883 | |
---|
884 | |
---|
885 | extern long double lgammal(long double); |
---|
886 | |
---|
887 | extern long double tgammal(long double); |
---|
888 | extern long double ceill(long double); |
---|
889 | extern long double floorl(long double); |
---|
890 | extern long double nearbyintl(long double); |
---|
891 | extern long double rintl(long double); |
---|
892 | extern long int lrintl(long double); |
---|
893 | extern long double roundl(long double); |
---|
894 | extern long int lroundl(long double); |
---|
895 | |
---|
896 | |
---|
897 | |
---|
898 | extern long long int llrintl(long double); |
---|
899 | extern long long int llroundl(long double); |
---|
900 | |
---|
901 | |
---|
902 | extern long double truncl(long double); |
---|
903 | extern long double fmodl(long double, long double); |
---|
904 | extern long double remainderl(long double, long double); |
---|
905 | extern long double remquol(long double, long double, int *); |
---|
906 | extern long double copysignl(long double, long double); |
---|
907 | extern long double nanl(const char *); |
---|
908 | extern long double nextafterl(long double, long double); |
---|
909 | extern double nexttoward(double, long double); |
---|
910 | extern float nexttowardf(float, long double); |
---|
911 | extern long double nexttowardl(long double, long double); |
---|
912 | extern long double fdiml(long double, long double); |
---|
913 | extern long double fmaxl(long double, long double); |
---|
914 | extern long double fminl(long double, long double); |
---|
915 | extern long double fmal(long double, long double, long double); |
---|
916 | # 507 "/usr/include/architecture/i386/math.h" 3 4 |
---|
917 | extern double __inf( void ); |
---|
918 | extern float __inff( void ); |
---|
919 | extern long double __infl( void ); |
---|
920 | extern float __nan( void ); |
---|
921 | |
---|
922 | |
---|
923 | extern double j0 ( double ); |
---|
924 | |
---|
925 | extern double j1 ( double ); |
---|
926 | |
---|
927 | extern double jn ( int, double ); |
---|
928 | |
---|
929 | extern double y0 ( double ); |
---|
930 | |
---|
931 | extern double y1 ( double ); |
---|
932 | |
---|
933 | extern double yn ( int, double ); |
---|
934 | |
---|
935 | extern double scalb ( double, double ); |
---|
936 | # 543 "/usr/include/architecture/i386/math.h" 3 4 |
---|
937 | extern int signgam; |
---|
938 | # 558 "/usr/include/architecture/i386/math.h" 3 4 |
---|
939 | extern long int rinttol ( double ); |
---|
940 | |
---|
941 | |
---|
942 | extern long int roundtol ( double ); |
---|
943 | # 570 "/usr/include/architecture/i386/math.h" 3 4 |
---|
944 | struct exception { |
---|
945 | int type; |
---|
946 | char *name; |
---|
947 | double arg1; |
---|
948 | double arg2; |
---|
949 | double retval; |
---|
950 | }; |
---|
951 | # 29 "/usr/include/math.h" 2 3 4 |
---|
952 | # 34 "./libavutil/common.h" 2 |
---|
953 | # 1 "/usr/include/stdio.h" 1 3 4 |
---|
954 | # 65 "/usr/include/stdio.h" 3 4 |
---|
955 | # 1 "/usr/include/Availability.h" 1 3 4 |
---|
956 | # 141 "/usr/include/Availability.h" 3 4 |
---|
957 | # 1 "/usr/include/AvailabilityInternal.h" 1 3 4 |
---|
958 | # 142 "/usr/include/Availability.h" 2 3 4 |
---|
959 | # 66 "/usr/include/stdio.h" 2 3 4 |
---|
960 | |
---|
961 | |
---|
962 | |
---|
963 | |
---|
964 | |
---|
965 | |
---|
966 | |
---|
967 | typedef __darwin_va_list va_list; |
---|
968 | # 85 "/usr/include/stdio.h" 3 4 |
---|
969 | typedef __darwin_off_t fpos_t; |
---|
970 | # 96 "/usr/include/stdio.h" 3 4 |
---|
971 | struct __sbuf { |
---|
972 | unsigned char *_base; |
---|
973 | int _size; |
---|
974 | }; |
---|
975 | |
---|
976 | |
---|
977 | struct __sFILEX; |
---|
978 | # 130 "/usr/include/stdio.h" 3 4 |
---|
979 | typedef struct __sFILE { |
---|
980 | unsigned char *_p; |
---|
981 | int _r; |
---|
982 | int _w; |
---|
983 | short _flags; |
---|
984 | short _file; |
---|
985 | struct __sbuf _bf; |
---|
986 | int _lbfsize; |
---|
987 | |
---|
988 | |
---|
989 | void *_cookie; |
---|
990 | int (*_close)(void *); |
---|
991 | int (*_read) (void *, char *, int); |
---|
992 | fpos_t (*_seek) (void *, fpos_t, int); |
---|
993 | int (*_write)(void *, const char *, int); |
---|
994 | |
---|
995 | |
---|
996 | struct __sbuf _ub; |
---|
997 | struct __sFILEX *_extra; |
---|
998 | int _ur; |
---|
999 | |
---|
1000 | |
---|
1001 | unsigned char _ubuf[3]; |
---|
1002 | unsigned char _nbuf[1]; |
---|
1003 | |
---|
1004 | |
---|
1005 | struct __sbuf _lb; |
---|
1006 | |
---|
1007 | |
---|
1008 | int _blksize; |
---|
1009 | fpos_t _offset; |
---|
1010 | } FILE; |
---|
1011 | |
---|
1012 | |
---|
1013 | extern FILE *__stdinp; |
---|
1014 | extern FILE *__stdoutp; |
---|
1015 | extern FILE *__stderrp; |
---|
1016 | # 239 "/usr/include/stdio.h" 3 4 |
---|
1017 | void clearerr(FILE *); |
---|
1018 | int fclose(FILE *); |
---|
1019 | int feof(FILE *); |
---|
1020 | int ferror(FILE *); |
---|
1021 | int fflush(FILE *); |
---|
1022 | int fgetc(FILE *); |
---|
1023 | int fgetpos(FILE * restrict, fpos_t *); |
---|
1024 | char *fgets(char * restrict, int, FILE *); |
---|
1025 | |
---|
1026 | |
---|
1027 | |
---|
1028 | FILE *fopen(const char * restrict, const char * restrict) __asm("_" "fopen" "$UNIX2003"); |
---|
1029 | |
---|
1030 | int fprintf(FILE * restrict, const char * restrict, ...) __attribute__((__format__ (__printf__, 2, 3))); |
---|
1031 | int fputc(int, FILE *); |
---|
1032 | int fputs(const char * restrict, FILE * restrict) __asm("_" "fputs" "$UNIX2003"); |
---|
1033 | size_t fread(void * restrict, size_t, size_t, FILE * restrict); |
---|
1034 | FILE *freopen(const char * restrict, const char * restrict, |
---|
1035 | FILE * restrict) __asm("_" "freopen" "$UNIX2003"); |
---|
1036 | int fscanf(FILE * restrict, const char * restrict, ...) __attribute__((__format__ (__scanf__, 2, 3))); |
---|
1037 | int fseek(FILE *, long, int); |
---|
1038 | int fsetpos(FILE *, const fpos_t *); |
---|
1039 | long ftell(FILE *); |
---|
1040 | size_t fwrite(const void * restrict, size_t, size_t, FILE * restrict) __asm("_" "fwrite" "$UNIX2003"); |
---|
1041 | int getc(FILE *); |
---|
1042 | int getchar(void); |
---|
1043 | char *gets(char *); |
---|
1044 | void perror(const char *); |
---|
1045 | int printf(const char * restrict, ...) __attribute__((__format__ (__printf__, 1, 2))); |
---|
1046 | int putc(int, FILE *); |
---|
1047 | int putchar(int); |
---|
1048 | int puts(const char *); |
---|
1049 | int remove(const char *); |
---|
1050 | int rename (const char *, const char *); |
---|
1051 | void rewind(FILE *); |
---|
1052 | int scanf(const char * restrict, ...) __attribute__((__format__ (__scanf__, 1, 2))); |
---|
1053 | void setbuf(FILE * restrict, char * restrict); |
---|
1054 | int setvbuf(FILE * restrict, char * restrict, int, size_t); |
---|
1055 | int sprintf(char * restrict, const char * restrict, ...) __attribute__((__format__ (__printf__, 2, 3))); |
---|
1056 | int sscanf(const char * restrict, const char * restrict, ...) __attribute__((__format__ (__scanf__, 2, 3))); |
---|
1057 | FILE *tmpfile(void); |
---|
1058 | char *tmpnam(char *); |
---|
1059 | int ungetc(int, FILE *); |
---|
1060 | int vfprintf(FILE * restrict, const char * restrict, va_list) __attribute__((__format__ (__printf__, 2, 0))); |
---|
1061 | int vprintf(const char * restrict, va_list) __attribute__((__format__ (__printf__, 1, 0))); |
---|
1062 | int vsprintf(char * restrict, const char * restrict, va_list) __attribute__((__format__ (__printf__, 2, 0))); |
---|
1063 | # 300 "/usr/include/stdio.h" 3 4 |
---|
1064 | char *ctermid(char *); |
---|
1065 | |
---|
1066 | |
---|
1067 | |
---|
1068 | |
---|
1069 | |
---|
1070 | FILE *fdopen(int, const char *) __asm("_" "fdopen" "$UNIX2003"); |
---|
1071 | |
---|
1072 | int fileno(FILE *); |
---|
1073 | # 319 "/usr/include/stdio.h" 3 4 |
---|
1074 | int pclose(FILE *); |
---|
1075 | |
---|
1076 | |
---|
1077 | |
---|
1078 | FILE *popen(const char *, const char *) __asm("_" "popen" "$UNIX2003"); |
---|
1079 | # 341 "/usr/include/stdio.h" 3 4 |
---|
1080 | int __srget(FILE *); |
---|
1081 | int __svfscanf(FILE *, const char *, va_list) __attribute__((__format__ (__scanf__, 2, 0))); |
---|
1082 | int __swbuf(int, FILE *); |
---|
1083 | # 352 "/usr/include/stdio.h" 3 4 |
---|
1084 | static __inline int __sputc(int _c, FILE *_p) { |
---|
1085 | if (--_p->_w >= 0 || (_p->_w >= _p->_lbfsize && (char)_c != '\n')) |
---|
1086 | return (*_p->_p++ = _c); |
---|
1087 | else |
---|
1088 | return (__swbuf(_c, _p)); |
---|
1089 | } |
---|
1090 | # 378 "/usr/include/stdio.h" 3 4 |
---|
1091 | void flockfile(FILE *); |
---|
1092 | int ftrylockfile(FILE *); |
---|
1093 | void funlockfile(FILE *); |
---|
1094 | int getc_unlocked(FILE *); |
---|
1095 | int getchar_unlocked(void); |
---|
1096 | int putc_unlocked(int, FILE *); |
---|
1097 | int putchar_unlocked(int); |
---|
1098 | |
---|
1099 | |
---|
1100 | |
---|
1101 | int getw(FILE *); |
---|
1102 | int putw(int, FILE *); |
---|
1103 | |
---|
1104 | |
---|
1105 | char *tempnam(const char *, const char *) __asm("_" "tempnam" "$UNIX2003"); |
---|
1106 | # 414 "/usr/include/stdio.h" 3 4 |
---|
1107 | typedef __darwin_off_t off_t; |
---|
1108 | |
---|
1109 | |
---|
1110 | |
---|
1111 | int fseeko(FILE *, off_t, int); |
---|
1112 | off_t ftello(FILE *); |
---|
1113 | |
---|
1114 | |
---|
1115 | |
---|
1116 | |
---|
1117 | |
---|
1118 | int snprintf(char * restrict, size_t, const char * restrict, ...) __attribute__((__format__ (__printf__, 3, 4))); |
---|
1119 | int vfscanf(FILE * restrict, const char * restrict, va_list) __attribute__((__format__ (__scanf__, 2, 0))); |
---|
1120 | int vscanf(const char * restrict, va_list) __attribute__((__format__ (__scanf__, 1, 0))); |
---|
1121 | int vsnprintf(char * restrict, size_t, const char * restrict, va_list) __attribute__((__format__ (__printf__, 3, 0))); |
---|
1122 | int vsscanf(const char * restrict, const char * restrict, va_list) __attribute__((__format__ (__scanf__, 2, 0))); |
---|
1123 | # 442 "/usr/include/stdio.h" 3 4 |
---|
1124 | typedef __darwin_ssize_t ssize_t; |
---|
1125 | |
---|
1126 | |
---|
1127 | |
---|
1128 | int dprintf(int, const char * restrict, ...) __attribute__((__format__ (__printf__, 2, 3))) __attribute__((visibility("default"))); |
---|
1129 | int vdprintf(int, const char * restrict, va_list) __attribute__((__format__ (__printf__, 2, 0))) __attribute__((visibility("default"))); |
---|
1130 | ssize_t getdelim(char ** restrict, size_t * restrict, int, FILE * restrict) __attribute__((visibility("default"))); |
---|
1131 | ssize_t getline(char ** restrict, size_t * restrict, FILE * restrict) __attribute__((visibility("default"))); |
---|
1132 | # 459 "/usr/include/stdio.h" 3 4 |
---|
1133 | extern const int sys_nerr; |
---|
1134 | extern const char *const sys_errlist[]; |
---|
1135 | |
---|
1136 | int asprintf(char **, const char *, ...) __attribute__((__format__ (__printf__, 2, 3))); |
---|
1137 | char *ctermid_r(char *); |
---|
1138 | char *fgetln(FILE *, size_t *); |
---|
1139 | const char *fmtcheck(const char *, const char *); |
---|
1140 | int fpurge(FILE *); |
---|
1141 | void setbuffer(FILE *, char *, int); |
---|
1142 | int setlinebuf(FILE *); |
---|
1143 | int vasprintf(char **, const char *, va_list) __attribute__((__format__ (__printf__, 2, 0))); |
---|
1144 | FILE *zopen(const char *, const char *, int); |
---|
1145 | |
---|
1146 | |
---|
1147 | |
---|
1148 | |
---|
1149 | |
---|
1150 | FILE *funopen(const void *, |
---|
1151 | int (*)(void *, char *, int), |
---|
1152 | int (*)(void *, const char *, int), |
---|
1153 | fpos_t (*)(void *, fpos_t, int), |
---|
1154 | int (*)(void *)); |
---|
1155 | # 499 "/usr/include/stdio.h" 3 4 |
---|
1156 | # 1 "/usr/include/secure/_stdio.h" 1 3 4 |
---|
1157 | # 31 "/usr/include/secure/_stdio.h" 3 4 |
---|
1158 | # 1 "/usr/include/secure/_common.h" 1 3 4 |
---|
1159 | # 32 "/usr/include/secure/_stdio.h" 2 3 4 |
---|
1160 | # 45 "/usr/include/secure/_stdio.h" 3 4 |
---|
1161 | extern int __sprintf_chk (char * restrict, int, size_t, |
---|
1162 | const char * restrict, ...) |
---|
1163 | ; |
---|
1164 | |
---|
1165 | |
---|
1166 | |
---|
1167 | |
---|
1168 | extern int __snprintf_chk (char * restrict, size_t, int, size_t, |
---|
1169 | const char * restrict, ...) |
---|
1170 | ; |
---|
1171 | |
---|
1172 | |
---|
1173 | |
---|
1174 | |
---|
1175 | |
---|
1176 | extern int __vsprintf_chk (char * restrict, int, size_t, |
---|
1177 | const char * restrict, va_list) |
---|
1178 | ; |
---|
1179 | |
---|
1180 | |
---|
1181 | |
---|
1182 | |
---|
1183 | extern int __vsnprintf_chk (char * restrict, size_t, int, size_t, |
---|
1184 | const char * restrict, va_list) |
---|
1185 | ; |
---|
1186 | # 500 "/usr/include/stdio.h" 2 3 4 |
---|
1187 | # 35 "./libavutil/common.h" 2 |
---|
1188 | # 1 "/usr/include/stdlib.h" 1 3 4 |
---|
1189 | # 65 "/usr/include/stdlib.h" 3 4 |
---|
1190 | # 1 "/usr/include/sys/wait.h" 1 3 4 |
---|
1191 | # 79 "/usr/include/sys/wait.h" 3 4 |
---|
1192 | typedef enum { |
---|
1193 | P_ALL, |
---|
1194 | P_PID, |
---|
1195 | P_PGID |
---|
1196 | } idtype_t; |
---|
1197 | |
---|
1198 | |
---|
1199 | |
---|
1200 | |
---|
1201 | |
---|
1202 | |
---|
1203 | typedef __darwin_pid_t pid_t; |
---|
1204 | |
---|
1205 | |
---|
1206 | |
---|
1207 | |
---|
1208 | typedef __darwin_id_t id_t; |
---|
1209 | # 116 "/usr/include/sys/wait.h" 3 4 |
---|
1210 | # 1 "/usr/include/sys/signal.h" 1 3 4 |
---|
1211 | # 73 "/usr/include/sys/signal.h" 3 4 |
---|
1212 | # 1 "/usr/include/sys/appleapiopts.h" 1 3 4 |
---|
1213 | # 74 "/usr/include/sys/signal.h" 2 3 4 |
---|
1214 | |
---|
1215 | |
---|
1216 | |
---|
1217 | |
---|
1218 | |
---|
1219 | |
---|
1220 | |
---|
1221 | # 1 "/usr/include/machine/signal.h" 1 3 4 |
---|
1222 | # 32 "/usr/include/machine/signal.h" 3 4 |
---|
1223 | # 1 "/usr/include/i386/signal.h" 1 3 4 |
---|
1224 | # 39 "/usr/include/i386/signal.h" 3 4 |
---|
1225 | typedef int sig_atomic_t; |
---|
1226 | # 55 "/usr/include/i386/signal.h" 3 4 |
---|
1227 | # 1 "/usr/include/i386/_structs.h" 1 3 4 |
---|
1228 | # 56 "/usr/include/i386/signal.h" 2 3 4 |
---|
1229 | # 33 "/usr/include/machine/signal.h" 2 3 4 |
---|
1230 | # 82 "/usr/include/sys/signal.h" 2 3 4 |
---|
1231 | # 148 "/usr/include/sys/signal.h" 3 4 |
---|
1232 | # 1 "/usr/include/sys/_structs.h" 1 3 4 |
---|
1233 | # 57 "/usr/include/sys/_structs.h" 3 4 |
---|
1234 | # 1 "/usr/include/machine/_structs.h" 1 3 4 |
---|
1235 | # 29 "/usr/include/machine/_structs.h" 3 4 |
---|
1236 | # 1 "/usr/include/i386/_structs.h" 1 3 4 |
---|
1237 | # 38 "/usr/include/i386/_structs.h" 3 4 |
---|
1238 | # 1 "/usr/include/mach/i386/_structs.h" 1 3 4 |
---|
1239 | # 43 "/usr/include/mach/i386/_structs.h" 3 4 |
---|
1240 | struct __darwin_i386_thread_state |
---|
1241 | { |
---|
1242 | unsigned int __eax; |
---|
1243 | unsigned int __ebx; |
---|
1244 | unsigned int __ecx; |
---|
1245 | unsigned int __edx; |
---|
1246 | unsigned int __edi; |
---|
1247 | unsigned int __esi; |
---|
1248 | unsigned int __ebp; |
---|
1249 | unsigned int __esp; |
---|
1250 | unsigned int __ss; |
---|
1251 | unsigned int __eflags; |
---|
1252 | unsigned int __eip; |
---|
1253 | unsigned int __cs; |
---|
1254 | unsigned int __ds; |
---|
1255 | unsigned int __es; |
---|
1256 | unsigned int __fs; |
---|
1257 | unsigned int __gs; |
---|
1258 | }; |
---|
1259 | # 89 "/usr/include/mach/i386/_structs.h" 3 4 |
---|
1260 | struct __darwin_fp_control |
---|
1261 | { |
---|
1262 | unsigned short __invalid :1, |
---|
1263 | __denorm :1, |
---|
1264 | __zdiv :1, |
---|
1265 | __ovrfl :1, |
---|
1266 | __undfl :1, |
---|
1267 | __precis :1, |
---|
1268 | :2, |
---|
1269 | __pc :2, |
---|
1270 | |
---|
1271 | |
---|
1272 | |
---|
1273 | |
---|
1274 | |
---|
1275 | __rc :2, |
---|
1276 | |
---|
1277 | |
---|
1278 | |
---|
1279 | |
---|
1280 | |
---|
1281 | |
---|
1282 | :1, |
---|
1283 | :3; |
---|
1284 | }; |
---|
1285 | typedef struct __darwin_fp_control __darwin_fp_control_t; |
---|
1286 | # 147 "/usr/include/mach/i386/_structs.h" 3 4 |
---|
1287 | struct __darwin_fp_status |
---|
1288 | { |
---|
1289 | unsigned short __invalid :1, |
---|
1290 | __denorm :1, |
---|
1291 | __zdiv :1, |
---|
1292 | __ovrfl :1, |
---|
1293 | __undfl :1, |
---|
1294 | __precis :1, |
---|
1295 | __stkflt :1, |
---|
1296 | __errsumm :1, |
---|
1297 | __c0 :1, |
---|
1298 | __c1 :1, |
---|
1299 | __c2 :1, |
---|
1300 | __tos :3, |
---|
1301 | __c3 :1, |
---|
1302 | __busy :1; |
---|
1303 | }; |
---|
1304 | typedef struct __darwin_fp_status __darwin_fp_status_t; |
---|
1305 | # 191 "/usr/include/mach/i386/_structs.h" 3 4 |
---|
1306 | struct __darwin_mmst_reg |
---|
1307 | { |
---|
1308 | char __mmst_reg[10]; |
---|
1309 | char __mmst_rsrv[6]; |
---|
1310 | }; |
---|
1311 | # 210 "/usr/include/mach/i386/_structs.h" 3 4 |
---|
1312 | struct __darwin_xmm_reg |
---|
1313 | { |
---|
1314 | char __xmm_reg[16]; |
---|
1315 | }; |
---|
1316 | # 232 "/usr/include/mach/i386/_structs.h" 3 4 |
---|
1317 | struct __darwin_i386_float_state |
---|
1318 | { |
---|
1319 | int __fpu_reserved[2]; |
---|
1320 | struct __darwin_fp_control __fpu_fcw; |
---|
1321 | struct __darwin_fp_status __fpu_fsw; |
---|
1322 | __uint8_t __fpu_ftw; |
---|
1323 | __uint8_t __fpu_rsrv1; |
---|
1324 | __uint16_t __fpu_fop; |
---|
1325 | __uint32_t __fpu_ip; |
---|
1326 | __uint16_t __fpu_cs; |
---|
1327 | __uint16_t __fpu_rsrv2; |
---|
1328 | __uint32_t __fpu_dp; |
---|
1329 | __uint16_t __fpu_ds; |
---|
1330 | __uint16_t __fpu_rsrv3; |
---|
1331 | __uint32_t __fpu_mxcsr; |
---|
1332 | __uint32_t __fpu_mxcsrmask; |
---|
1333 | struct __darwin_mmst_reg __fpu_stmm0; |
---|
1334 | struct __darwin_mmst_reg __fpu_stmm1; |
---|
1335 | struct __darwin_mmst_reg __fpu_stmm2; |
---|
1336 | struct __darwin_mmst_reg __fpu_stmm3; |
---|
1337 | struct __darwin_mmst_reg __fpu_stmm4; |
---|
1338 | struct __darwin_mmst_reg __fpu_stmm5; |
---|
1339 | struct __darwin_mmst_reg __fpu_stmm6; |
---|
1340 | struct __darwin_mmst_reg __fpu_stmm7; |
---|
1341 | struct __darwin_xmm_reg __fpu_xmm0; |
---|
1342 | struct __darwin_xmm_reg __fpu_xmm1; |
---|
1343 | struct __darwin_xmm_reg __fpu_xmm2; |
---|
1344 | struct __darwin_xmm_reg __fpu_xmm3; |
---|
1345 | struct __darwin_xmm_reg __fpu_xmm4; |
---|
1346 | struct __darwin_xmm_reg __fpu_xmm5; |
---|
1347 | struct __darwin_xmm_reg __fpu_xmm6; |
---|
1348 | struct __darwin_xmm_reg __fpu_xmm7; |
---|
1349 | char __fpu_rsrv4[14*16]; |
---|
1350 | int __fpu_reserved1; |
---|
1351 | }; |
---|
1352 | |
---|
1353 | |
---|
1354 | struct __darwin_i386_avx_state |
---|
1355 | { |
---|
1356 | int __fpu_reserved[2]; |
---|
1357 | struct __darwin_fp_control __fpu_fcw; |
---|
1358 | struct __darwin_fp_status __fpu_fsw; |
---|
1359 | __uint8_t __fpu_ftw; |
---|
1360 | __uint8_t __fpu_rsrv1; |
---|
1361 | __uint16_t __fpu_fop; |
---|
1362 | __uint32_t __fpu_ip; |
---|
1363 | __uint16_t __fpu_cs; |
---|
1364 | __uint16_t __fpu_rsrv2; |
---|
1365 | __uint32_t __fpu_dp; |
---|
1366 | __uint16_t __fpu_ds; |
---|
1367 | __uint16_t __fpu_rsrv3; |
---|
1368 | __uint32_t __fpu_mxcsr; |
---|
1369 | __uint32_t __fpu_mxcsrmask; |
---|
1370 | struct __darwin_mmst_reg __fpu_stmm0; |
---|
1371 | struct __darwin_mmst_reg __fpu_stmm1; |
---|
1372 | struct __darwin_mmst_reg __fpu_stmm2; |
---|
1373 | struct __darwin_mmst_reg __fpu_stmm3; |
---|
1374 | struct __darwin_mmst_reg __fpu_stmm4; |
---|
1375 | struct __darwin_mmst_reg __fpu_stmm5; |
---|
1376 | struct __darwin_mmst_reg __fpu_stmm6; |
---|
1377 | struct __darwin_mmst_reg __fpu_stmm7; |
---|
1378 | struct __darwin_xmm_reg __fpu_xmm0; |
---|
1379 | struct __darwin_xmm_reg __fpu_xmm1; |
---|
1380 | struct __darwin_xmm_reg __fpu_xmm2; |
---|
1381 | struct __darwin_xmm_reg __fpu_xmm3; |
---|
1382 | struct __darwin_xmm_reg __fpu_xmm4; |
---|
1383 | struct __darwin_xmm_reg __fpu_xmm5; |
---|
1384 | struct __darwin_xmm_reg __fpu_xmm6; |
---|
1385 | struct __darwin_xmm_reg __fpu_xmm7; |
---|
1386 | char __fpu_rsrv4[14*16]; |
---|
1387 | int __fpu_reserved1; |
---|
1388 | char __avx_reserved1[64]; |
---|
1389 | struct __darwin_xmm_reg __fpu_ymmh0; |
---|
1390 | struct __darwin_xmm_reg __fpu_ymmh1; |
---|
1391 | struct __darwin_xmm_reg __fpu_ymmh2; |
---|
1392 | struct __darwin_xmm_reg __fpu_ymmh3; |
---|
1393 | struct __darwin_xmm_reg __fpu_ymmh4; |
---|
1394 | struct __darwin_xmm_reg __fpu_ymmh5; |
---|
1395 | struct __darwin_xmm_reg __fpu_ymmh6; |
---|
1396 | struct __darwin_xmm_reg __fpu_ymmh7; |
---|
1397 | }; |
---|
1398 | # 402 "/usr/include/mach/i386/_structs.h" 3 4 |
---|
1399 | struct __darwin_i386_exception_state |
---|
1400 | { |
---|
1401 | __uint16_t __trapno; |
---|
1402 | __uint16_t __cpu; |
---|
1403 | __uint32_t __err; |
---|
1404 | __uint32_t __faultvaddr; |
---|
1405 | }; |
---|
1406 | # 422 "/usr/include/mach/i386/_structs.h" 3 4 |
---|
1407 | struct __darwin_x86_debug_state32 |
---|
1408 | { |
---|
1409 | unsigned int __dr0; |
---|
1410 | unsigned int __dr1; |
---|
1411 | unsigned int __dr2; |
---|
1412 | unsigned int __dr3; |
---|
1413 | unsigned int __dr4; |
---|
1414 | unsigned int __dr5; |
---|
1415 | unsigned int __dr6; |
---|
1416 | unsigned int __dr7; |
---|
1417 | }; |
---|
1418 | # 454 "/usr/include/mach/i386/_structs.h" 3 4 |
---|
1419 | struct __darwin_x86_thread_state64 |
---|
1420 | { |
---|
1421 | __uint64_t __rax; |
---|
1422 | __uint64_t __rbx; |
---|
1423 | __uint64_t __rcx; |
---|
1424 | __uint64_t __rdx; |
---|
1425 | __uint64_t __rdi; |
---|
1426 | __uint64_t __rsi; |
---|
1427 | __uint64_t __rbp; |
---|
1428 | __uint64_t __rsp; |
---|
1429 | __uint64_t __r8; |
---|
1430 | __uint64_t __r9; |
---|
1431 | __uint64_t __r10; |
---|
1432 | __uint64_t __r11; |
---|
1433 | __uint64_t __r12; |
---|
1434 | __uint64_t __r13; |
---|
1435 | __uint64_t __r14; |
---|
1436 | __uint64_t __r15; |
---|
1437 | __uint64_t __rip; |
---|
1438 | __uint64_t __rflags; |
---|
1439 | __uint64_t __cs; |
---|
1440 | __uint64_t __fs; |
---|
1441 | __uint64_t __gs; |
---|
1442 | }; |
---|
1443 | # 509 "/usr/include/mach/i386/_structs.h" 3 4 |
---|
1444 | struct __darwin_x86_float_state64 |
---|
1445 | { |
---|
1446 | int __fpu_reserved[2]; |
---|
1447 | struct __darwin_fp_control __fpu_fcw; |
---|
1448 | struct __darwin_fp_status __fpu_fsw; |
---|
1449 | __uint8_t __fpu_ftw; |
---|
1450 | __uint8_t __fpu_rsrv1; |
---|
1451 | __uint16_t __fpu_fop; |
---|
1452 | |
---|
1453 | |
---|
1454 | __uint32_t __fpu_ip; |
---|
1455 | __uint16_t __fpu_cs; |
---|
1456 | |
---|
1457 | __uint16_t __fpu_rsrv2; |
---|
1458 | |
---|
1459 | |
---|
1460 | __uint32_t __fpu_dp; |
---|
1461 | __uint16_t __fpu_ds; |
---|
1462 | |
---|
1463 | __uint16_t __fpu_rsrv3; |
---|
1464 | __uint32_t __fpu_mxcsr; |
---|
1465 | __uint32_t __fpu_mxcsrmask; |
---|
1466 | struct __darwin_mmst_reg __fpu_stmm0; |
---|
1467 | struct __darwin_mmst_reg __fpu_stmm1; |
---|
1468 | struct __darwin_mmst_reg __fpu_stmm2; |
---|
1469 | struct __darwin_mmst_reg __fpu_stmm3; |
---|
1470 | struct __darwin_mmst_reg __fpu_stmm4; |
---|
1471 | struct __darwin_mmst_reg __fpu_stmm5; |
---|
1472 | struct __darwin_mmst_reg __fpu_stmm6; |
---|
1473 | struct __darwin_mmst_reg __fpu_stmm7; |
---|
1474 | struct __darwin_xmm_reg __fpu_xmm0; |
---|
1475 | struct __darwin_xmm_reg __fpu_xmm1; |
---|
1476 | struct __darwin_xmm_reg __fpu_xmm2; |
---|
1477 | struct __darwin_xmm_reg __fpu_xmm3; |
---|
1478 | struct __darwin_xmm_reg __fpu_xmm4; |
---|
1479 | struct __darwin_xmm_reg __fpu_xmm5; |
---|
1480 | struct __darwin_xmm_reg __fpu_xmm6; |
---|
1481 | struct __darwin_xmm_reg __fpu_xmm7; |
---|
1482 | struct __darwin_xmm_reg __fpu_xmm8; |
---|
1483 | struct __darwin_xmm_reg __fpu_xmm9; |
---|
1484 | struct __darwin_xmm_reg __fpu_xmm10; |
---|
1485 | struct __darwin_xmm_reg __fpu_xmm11; |
---|
1486 | struct __darwin_xmm_reg __fpu_xmm12; |
---|
1487 | struct __darwin_xmm_reg __fpu_xmm13; |
---|
1488 | struct __darwin_xmm_reg __fpu_xmm14; |
---|
1489 | struct __darwin_xmm_reg __fpu_xmm15; |
---|
1490 | char __fpu_rsrv4[6*16]; |
---|
1491 | int __fpu_reserved1; |
---|
1492 | }; |
---|
1493 | |
---|
1494 | |
---|
1495 | struct __darwin_x86_avx_state64 |
---|
1496 | { |
---|
1497 | int __fpu_reserved[2]; |
---|
1498 | struct __darwin_fp_control __fpu_fcw; |
---|
1499 | struct __darwin_fp_status __fpu_fsw; |
---|
1500 | __uint8_t __fpu_ftw; |
---|
1501 | __uint8_t __fpu_rsrv1; |
---|
1502 | __uint16_t __fpu_fop; |
---|
1503 | |
---|
1504 | |
---|
1505 | __uint32_t __fpu_ip; |
---|
1506 | __uint16_t __fpu_cs; |
---|
1507 | |
---|
1508 | __uint16_t __fpu_rsrv2; |
---|
1509 | |
---|
1510 | |
---|
1511 | __uint32_t __fpu_dp; |
---|
1512 | __uint16_t __fpu_ds; |
---|
1513 | |
---|
1514 | __uint16_t __fpu_rsrv3; |
---|
1515 | __uint32_t __fpu_mxcsr; |
---|
1516 | __uint32_t __fpu_mxcsrmask; |
---|
1517 | struct __darwin_mmst_reg __fpu_stmm0; |
---|
1518 | struct __darwin_mmst_reg __fpu_stmm1; |
---|
1519 | struct __darwin_mmst_reg __fpu_stmm2; |
---|
1520 | struct __darwin_mmst_reg __fpu_stmm3; |
---|
1521 | struct __darwin_mmst_reg __fpu_stmm4; |
---|
1522 | struct __darwin_mmst_reg __fpu_stmm5; |
---|
1523 | struct __darwin_mmst_reg __fpu_stmm6; |
---|
1524 | struct __darwin_mmst_reg __fpu_stmm7; |
---|
1525 | struct __darwin_xmm_reg __fpu_xmm0; |
---|
1526 | struct __darwin_xmm_reg __fpu_xmm1; |
---|
1527 | struct __darwin_xmm_reg __fpu_xmm2; |
---|
1528 | struct __darwin_xmm_reg __fpu_xmm3; |
---|
1529 | struct __darwin_xmm_reg __fpu_xmm4; |
---|
1530 | struct __darwin_xmm_reg __fpu_xmm5; |
---|
1531 | struct __darwin_xmm_reg __fpu_xmm6; |
---|
1532 | struct __darwin_xmm_reg __fpu_xmm7; |
---|
1533 | struct __darwin_xmm_reg __fpu_xmm8; |
---|
1534 | struct __darwin_xmm_reg __fpu_xmm9; |
---|
1535 | struct __darwin_xmm_reg __fpu_xmm10; |
---|
1536 | struct __darwin_xmm_reg __fpu_xmm11; |
---|
1537 | struct __darwin_xmm_reg __fpu_xmm12; |
---|
1538 | struct __darwin_xmm_reg __fpu_xmm13; |
---|
1539 | struct __darwin_xmm_reg __fpu_xmm14; |
---|
1540 | struct __darwin_xmm_reg __fpu_xmm15; |
---|
1541 | char __fpu_rsrv4[6*16]; |
---|
1542 | int __fpu_reserved1; |
---|
1543 | char __avx_reserved1[64]; |
---|
1544 | struct __darwin_xmm_reg __fpu_ymmh0; |
---|
1545 | struct __darwin_xmm_reg __fpu_ymmh1; |
---|
1546 | struct __darwin_xmm_reg __fpu_ymmh2; |
---|
1547 | struct __darwin_xmm_reg __fpu_ymmh3; |
---|
1548 | struct __darwin_xmm_reg __fpu_ymmh4; |
---|
1549 | struct __darwin_xmm_reg __fpu_ymmh5; |
---|
1550 | struct __darwin_xmm_reg __fpu_ymmh6; |
---|
1551 | struct __darwin_xmm_reg __fpu_ymmh7; |
---|
1552 | struct __darwin_xmm_reg __fpu_ymmh8; |
---|
1553 | struct __darwin_xmm_reg __fpu_ymmh9; |
---|
1554 | struct __darwin_xmm_reg __fpu_ymmh10; |
---|
1555 | struct __darwin_xmm_reg __fpu_ymmh11; |
---|
1556 | struct __darwin_xmm_reg __fpu_ymmh12; |
---|
1557 | struct __darwin_xmm_reg __fpu_ymmh13; |
---|
1558 | struct __darwin_xmm_reg __fpu_ymmh14; |
---|
1559 | struct __darwin_xmm_reg __fpu_ymmh15; |
---|
1560 | }; |
---|
1561 | # 751 "/usr/include/mach/i386/_structs.h" 3 4 |
---|
1562 | struct __darwin_x86_exception_state64 |
---|
1563 | { |
---|
1564 | __uint16_t __trapno; |
---|
1565 | __uint16_t __cpu; |
---|
1566 | __uint32_t __err; |
---|
1567 | __uint64_t __faultvaddr; |
---|
1568 | }; |
---|
1569 | # 771 "/usr/include/mach/i386/_structs.h" 3 4 |
---|
1570 | struct __darwin_x86_debug_state64 |
---|
1571 | { |
---|
1572 | __uint64_t __dr0; |
---|
1573 | __uint64_t __dr1; |
---|
1574 | __uint64_t __dr2; |
---|
1575 | __uint64_t __dr3; |
---|
1576 | __uint64_t __dr4; |
---|
1577 | __uint64_t __dr5; |
---|
1578 | __uint64_t __dr6; |
---|
1579 | __uint64_t __dr7; |
---|
1580 | }; |
---|
1581 | # 39 "/usr/include/i386/_structs.h" 2 3 4 |
---|
1582 | # 48 "/usr/include/i386/_structs.h" 3 4 |
---|
1583 | struct __darwin_mcontext32 |
---|
1584 | { |
---|
1585 | struct __darwin_i386_exception_state __es; |
---|
1586 | struct __darwin_i386_thread_state __ss; |
---|
1587 | struct __darwin_i386_float_state __fs; |
---|
1588 | }; |
---|
1589 | |
---|
1590 | |
---|
1591 | struct __darwin_mcontext_avx32 |
---|
1592 | { |
---|
1593 | struct __darwin_i386_exception_state __es; |
---|
1594 | struct __darwin_i386_thread_state __ss; |
---|
1595 | struct __darwin_i386_avx_state __fs; |
---|
1596 | }; |
---|
1597 | # 86 "/usr/include/i386/_structs.h" 3 4 |
---|
1598 | struct __darwin_mcontext64 |
---|
1599 | { |
---|
1600 | struct __darwin_x86_exception_state64 __es; |
---|
1601 | struct __darwin_x86_thread_state64 __ss; |
---|
1602 | struct __darwin_x86_float_state64 __fs; |
---|
1603 | }; |
---|
1604 | |
---|
1605 | |
---|
1606 | struct __darwin_mcontext_avx64 |
---|
1607 | { |
---|
1608 | struct __darwin_x86_exception_state64 __es; |
---|
1609 | struct __darwin_x86_thread_state64 __ss; |
---|
1610 | struct __darwin_x86_avx_state64 __fs; |
---|
1611 | }; |
---|
1612 | # 130 "/usr/include/i386/_structs.h" 3 4 |
---|
1613 | typedef struct __darwin_mcontext32 *mcontext_t; |
---|
1614 | # 30 "/usr/include/machine/_structs.h" 2 3 4 |
---|
1615 | # 58 "/usr/include/sys/_structs.h" 2 3 4 |
---|
1616 | # 75 "/usr/include/sys/_structs.h" 3 4 |
---|
1617 | struct __darwin_sigaltstack |
---|
1618 | { |
---|
1619 | void *ss_sp; |
---|
1620 | __darwin_size_t ss_size; |
---|
1621 | int ss_flags; |
---|
1622 | }; |
---|
1623 | # 128 "/usr/include/sys/_structs.h" 3 4 |
---|
1624 | struct __darwin_ucontext |
---|
1625 | { |
---|
1626 | int uc_onstack; |
---|
1627 | __darwin_sigset_t uc_sigmask; |
---|
1628 | struct __darwin_sigaltstack uc_stack; |
---|
1629 | struct __darwin_ucontext *uc_link; |
---|
1630 | __darwin_size_t uc_mcsize; |
---|
1631 | struct __darwin_mcontext32 *uc_mcontext; |
---|
1632 | |
---|
1633 | |
---|
1634 | |
---|
1635 | }; |
---|
1636 | # 218 "/usr/include/sys/_structs.h" 3 4 |
---|
1637 | typedef struct __darwin_sigaltstack stack_t; |
---|
1638 | # 227 "/usr/include/sys/_structs.h" 3 4 |
---|
1639 | typedef struct __darwin_ucontext ucontext_t; |
---|
1640 | # 149 "/usr/include/sys/signal.h" 2 3 4 |
---|
1641 | |
---|
1642 | |
---|
1643 | |
---|
1644 | |
---|
1645 | |
---|
1646 | |
---|
1647 | |
---|
1648 | |
---|
1649 | typedef __darwin_pthread_attr_t pthread_attr_t; |
---|
1650 | |
---|
1651 | |
---|
1652 | |
---|
1653 | |
---|
1654 | typedef __darwin_sigset_t sigset_t; |
---|
1655 | # 172 "/usr/include/sys/signal.h" 3 4 |
---|
1656 | typedef __darwin_uid_t uid_t; |
---|
1657 | |
---|
1658 | |
---|
1659 | union sigval { |
---|
1660 | |
---|
1661 | int sival_int; |
---|
1662 | void *sival_ptr; |
---|
1663 | }; |
---|
1664 | |
---|
1665 | |
---|
1666 | |
---|
1667 | |
---|
1668 | |
---|
1669 | struct sigevent { |
---|
1670 | int sigev_notify; |
---|
1671 | int sigev_signo; |
---|
1672 | union sigval sigev_value; |
---|
1673 | void (*sigev_notify_function)(union sigval); |
---|
1674 | pthread_attr_t *sigev_notify_attributes; |
---|
1675 | }; |
---|
1676 | |
---|
1677 | |
---|
1678 | typedef struct __siginfo { |
---|
1679 | int si_signo; |
---|
1680 | int si_errno; |
---|
1681 | int si_code; |
---|
1682 | pid_t si_pid; |
---|
1683 | uid_t si_uid; |
---|
1684 | int si_status; |
---|
1685 | void *si_addr; |
---|
1686 | union sigval si_value; |
---|
1687 | long si_band; |
---|
1688 | unsigned long __pad[7]; |
---|
1689 | } siginfo_t; |
---|
1690 | # 286 "/usr/include/sys/signal.h" 3 4 |
---|
1691 | union __sigaction_u { |
---|
1692 | void (*__sa_handler)(int); |
---|
1693 | void (*__sa_sigaction)(int, struct __siginfo *, |
---|
1694 | void *); |
---|
1695 | }; |
---|
1696 | |
---|
1697 | |
---|
1698 | struct __sigaction { |
---|
1699 | union __sigaction_u __sigaction_u; |
---|
1700 | void (*sa_tramp)(void *, int, int, siginfo_t *, void *); |
---|
1701 | sigset_t sa_mask; |
---|
1702 | int sa_flags; |
---|
1703 | }; |
---|
1704 | |
---|
1705 | |
---|
1706 | |
---|
1707 | |
---|
1708 | struct sigaction { |
---|
1709 | union __sigaction_u __sigaction_u; |
---|
1710 | sigset_t sa_mask; |
---|
1711 | int sa_flags; |
---|
1712 | }; |
---|
1713 | # 348 "/usr/include/sys/signal.h" 3 4 |
---|
1714 | typedef void (*sig_t)(int); |
---|
1715 | # 365 "/usr/include/sys/signal.h" 3 4 |
---|
1716 | struct sigvec { |
---|
1717 | void (*sv_handler)(int); |
---|
1718 | int sv_mask; |
---|
1719 | int sv_flags; |
---|
1720 | }; |
---|
1721 | # 384 "/usr/include/sys/signal.h" 3 4 |
---|
1722 | struct sigstack { |
---|
1723 | char *ss_sp; |
---|
1724 | int ss_onstack; |
---|
1725 | }; |
---|
1726 | # 407 "/usr/include/sys/signal.h" 3 4 |
---|
1727 | void (*signal(int, void (*)(int)))(int); |
---|
1728 | # 117 "/usr/include/sys/wait.h" 2 3 4 |
---|
1729 | # 1 "/usr/include/sys/resource.h" 1 3 4 |
---|
1730 | # 77 "/usr/include/sys/resource.h" 3 4 |
---|
1731 | # 1 "/usr/include/sys/_structs.h" 1 3 4 |
---|
1732 | # 100 "/usr/include/sys/_structs.h" 3 4 |
---|
1733 | struct timeval |
---|
1734 | { |
---|
1735 | __darwin_time_t tv_sec; |
---|
1736 | __darwin_suseconds_t tv_usec; |
---|
1737 | }; |
---|
1738 | # 78 "/usr/include/sys/resource.h" 2 3 4 |
---|
1739 | # 89 "/usr/include/sys/resource.h" 3 4 |
---|
1740 | typedef __uint64_t rlim_t; |
---|
1741 | # 151 "/usr/include/sys/resource.h" 3 4 |
---|
1742 | struct rusage { |
---|
1743 | struct timeval ru_utime; |
---|
1744 | struct timeval ru_stime; |
---|
1745 | # 162 "/usr/include/sys/resource.h" 3 4 |
---|
1746 | long ru_maxrss; |
---|
1747 | |
---|
1748 | long ru_ixrss; |
---|
1749 | long ru_idrss; |
---|
1750 | long ru_isrss; |
---|
1751 | long ru_minflt; |
---|
1752 | long ru_majflt; |
---|
1753 | long ru_nswap; |
---|
1754 | long ru_inblock; |
---|
1755 | long ru_oublock; |
---|
1756 | long ru_msgsnd; |
---|
1757 | long ru_msgrcv; |
---|
1758 | long ru_nsignals; |
---|
1759 | long ru_nvcsw; |
---|
1760 | long ru_nivcsw; |
---|
1761 | |
---|
1762 | |
---|
1763 | }; |
---|
1764 | # 222 "/usr/include/sys/resource.h" 3 4 |
---|
1765 | struct rlimit { |
---|
1766 | rlim_t rlim_cur; |
---|
1767 | rlim_t rlim_max; |
---|
1768 | }; |
---|
1769 | # 245 "/usr/include/sys/resource.h" 3 4 |
---|
1770 | int getpriority(int, id_t); |
---|
1771 | |
---|
1772 | int getiopolicy_np(int, int) __attribute__((visibility("default"))); |
---|
1773 | |
---|
1774 | int getrlimit(int, struct rlimit *) __asm("_" "getrlimit" "$UNIX2003"); |
---|
1775 | int getrusage(int, struct rusage *); |
---|
1776 | int setpriority(int, id_t, int); |
---|
1777 | |
---|
1778 | int setiopolicy_np(int, int, int) __attribute__((visibility("default"))); |
---|
1779 | |
---|
1780 | int setrlimit(int, const struct rlimit *) __asm("_" "setrlimit" "$UNIX2003"); |
---|
1781 | # 118 "/usr/include/sys/wait.h" 2 3 4 |
---|
1782 | # 193 "/usr/include/sys/wait.h" 3 4 |
---|
1783 | # 1 "/usr/include/machine/endian.h" 1 3 4 |
---|
1784 | # 35 "/usr/include/machine/endian.h" 3 4 |
---|
1785 | # 1 "/usr/include/i386/endian.h" 1 3 4 |
---|
1786 | # 99 "/usr/include/i386/endian.h" 3 4 |
---|
1787 | # 1 "/usr/include/sys/_endian.h" 1 3 4 |
---|
1788 | # 124 "/usr/include/sys/_endian.h" 3 4 |
---|
1789 | # 1 "/usr/include/libkern/_OSByteOrder.h" 1 3 4 |
---|
1790 | # 66 "/usr/include/libkern/_OSByteOrder.h" 3 4 |
---|
1791 | # 1 "/usr/include/libkern/i386/_OSByteOrder.h" 1 3 4 |
---|
1792 | # 44 "/usr/include/libkern/i386/_OSByteOrder.h" 3 4 |
---|
1793 | static inline |
---|
1794 | __uint16_t |
---|
1795 | _OSSwapInt16( |
---|
1796 | __uint16_t _data |
---|
1797 | ) |
---|
1798 | { |
---|
1799 | return ((_data << 8) | (_data >> 8)); |
---|
1800 | } |
---|
1801 | |
---|
1802 | static inline |
---|
1803 | __uint32_t |
---|
1804 | _OSSwapInt32( |
---|
1805 | __uint32_t _data |
---|
1806 | ) |
---|
1807 | { |
---|
1808 | |
---|
1809 | return __builtin_bswap32(_data); |
---|
1810 | |
---|
1811 | |
---|
1812 | |
---|
1813 | |
---|
1814 | } |
---|
1815 | |
---|
1816 | |
---|
1817 | static inline |
---|
1818 | __uint64_t |
---|
1819 | _OSSwapInt64( |
---|
1820 | __uint64_t _data |
---|
1821 | ) |
---|
1822 | { |
---|
1823 | return __builtin_bswap64(_data); |
---|
1824 | } |
---|
1825 | # 67 "/usr/include/libkern/_OSByteOrder.h" 2 3 4 |
---|
1826 | # 125 "/usr/include/sys/_endian.h" 2 3 4 |
---|
1827 | # 100 "/usr/include/i386/endian.h" 2 3 4 |
---|
1828 | # 36 "/usr/include/machine/endian.h" 2 3 4 |
---|
1829 | # 194 "/usr/include/sys/wait.h" 2 3 4 |
---|
1830 | |
---|
1831 | |
---|
1832 | |
---|
1833 | |
---|
1834 | |
---|
1835 | |
---|
1836 | |
---|
1837 | union wait { |
---|
1838 | int w_status; |
---|
1839 | |
---|
1840 | |
---|
1841 | |
---|
1842 | struct { |
---|
1843 | |
---|
1844 | unsigned int w_Termsig:7, |
---|
1845 | w_Coredump:1, |
---|
1846 | w_Retcode:8, |
---|
1847 | w_Filler:16; |
---|
1848 | |
---|
1849 | |
---|
1850 | |
---|
1851 | |
---|
1852 | |
---|
1853 | |
---|
1854 | |
---|
1855 | } w_T; |
---|
1856 | |
---|
1857 | |
---|
1858 | |
---|
1859 | |
---|
1860 | |
---|
1861 | struct { |
---|
1862 | |
---|
1863 | unsigned int w_Stopval:8, |
---|
1864 | w_Stopsig:8, |
---|
1865 | w_Filler:16; |
---|
1866 | |
---|
1867 | |
---|
1868 | |
---|
1869 | |
---|
1870 | |
---|
1871 | |
---|
1872 | } w_S; |
---|
1873 | }; |
---|
1874 | # 255 "/usr/include/sys/wait.h" 3 4 |
---|
1875 | pid_t wait(int *) __asm("_" "wait" "$UNIX2003"); |
---|
1876 | pid_t waitpid(pid_t, int *, int) __asm("_" "waitpid" "$UNIX2003"); |
---|
1877 | |
---|
1878 | int waitid(idtype_t, id_t, siginfo_t *, int) __asm("_" "waitid" "$UNIX2003"); |
---|
1879 | |
---|
1880 | |
---|
1881 | pid_t wait3(int *, int, struct rusage *); |
---|
1882 | pid_t wait4(pid_t, int *, int, struct rusage *); |
---|
1883 | # 66 "/usr/include/stdlib.h" 2 3 4 |
---|
1884 | |
---|
1885 | # 1 "/usr/include/alloca.h" 1 3 4 |
---|
1886 | # 36 "/usr/include/alloca.h" 3 4 |
---|
1887 | void *alloca(size_t); |
---|
1888 | # 68 "/usr/include/stdlib.h" 2 3 4 |
---|
1889 | # 97 "/usr/include/stdlib.h" 3 4 |
---|
1890 | typedef struct { |
---|
1891 | int quot; |
---|
1892 | int rem; |
---|
1893 | } div_t; |
---|
1894 | |
---|
1895 | typedef struct { |
---|
1896 | long quot; |
---|
1897 | long rem; |
---|
1898 | } ldiv_t; |
---|
1899 | |
---|
1900 | |
---|
1901 | typedef struct { |
---|
1902 | long long quot; |
---|
1903 | long long rem; |
---|
1904 | } lldiv_t; |
---|
1905 | # 134 "/usr/include/stdlib.h" 3 4 |
---|
1906 | extern int __mb_cur_max; |
---|
1907 | # 145 "/usr/include/stdlib.h" 3 4 |
---|
1908 | void abort(void) __attribute__((__noreturn__)); |
---|
1909 | int abs(int) __attribute__((__const__)); |
---|
1910 | int atexit(void (*)(void)); |
---|
1911 | double atof(const char *); |
---|
1912 | int atoi(const char *); |
---|
1913 | long atol(const char *); |
---|
1914 | |
---|
1915 | long long |
---|
1916 | atoll(const char *); |
---|
1917 | |
---|
1918 | void *bsearch(const void *, const void *, size_t, |
---|
1919 | size_t, int (*)(const void *, const void *)); |
---|
1920 | void *calloc(size_t, size_t); |
---|
1921 | div_t div(int, int) __attribute__((__const__)); |
---|
1922 | void exit(int) __attribute__((__noreturn__)); |
---|
1923 | void free(void *); |
---|
1924 | char *getenv(const char *); |
---|
1925 | long labs(long) __attribute__((__const__)); |
---|
1926 | ldiv_t ldiv(long, long) __attribute__((__const__)); |
---|
1927 | |
---|
1928 | long long |
---|
1929 | llabs(long long); |
---|
1930 | lldiv_t lldiv(long long, long long); |
---|
1931 | |
---|
1932 | void *malloc(size_t); |
---|
1933 | int mblen(const char *, size_t); |
---|
1934 | size_t mbstowcs(wchar_t * restrict , const char * restrict, size_t); |
---|
1935 | int mbtowc(wchar_t * restrict, const char * restrict, size_t); |
---|
1936 | int posix_memalign(void **, size_t, size_t) __attribute__((visibility("default"))); |
---|
1937 | void qsort(void *, size_t, size_t, |
---|
1938 | int (*)(const void *, const void *)); |
---|
1939 | int rand(void); |
---|
1940 | void *realloc(void *, size_t); |
---|
1941 | void srand(unsigned); |
---|
1942 | double strtod(const char *, char **) __asm("_" "strtod" "$UNIX2003"); |
---|
1943 | float strtof(const char *, char **) __asm("_" "strtof" "$UNIX2003"); |
---|
1944 | long strtol(const char *, char **, int); |
---|
1945 | long double |
---|
1946 | strtold(const char *, char **) ; |
---|
1947 | |
---|
1948 | long long |
---|
1949 | strtoll(const char *, char **, int); |
---|
1950 | |
---|
1951 | unsigned long |
---|
1952 | strtoul(const char *, char **, int); |
---|
1953 | |
---|
1954 | unsigned long long |
---|
1955 | strtoull(const char *, char **, int); |
---|
1956 | |
---|
1957 | int system(const char *) __asm("_" "system" "$UNIX2003"); |
---|
1958 | size_t wcstombs(char * restrict, const wchar_t * restrict, size_t); |
---|
1959 | int wctomb(char *, wchar_t); |
---|
1960 | |
---|
1961 | |
---|
1962 | void _Exit(int) __attribute__((__noreturn__)); |
---|
1963 | long a64l(const char *); |
---|
1964 | double drand48(void); |
---|
1965 | char *ecvt(double, int, int *restrict, int *restrict); |
---|
1966 | double erand48(unsigned short[3]); |
---|
1967 | char *fcvt(double, int, int *restrict, int *restrict); |
---|
1968 | char *gcvt(double, int, char *); |
---|
1969 | int getsubopt(char **, char * const *, char **); |
---|
1970 | int grantpt(int); |
---|
1971 | |
---|
1972 | char *initstate(unsigned, char *, size_t); |
---|
1973 | |
---|
1974 | |
---|
1975 | |
---|
1976 | long jrand48(unsigned short[3]); |
---|
1977 | char *l64a(long); |
---|
1978 | void lcong48(unsigned short[7]); |
---|
1979 | long lrand48(void); |
---|
1980 | char *mktemp(char *); |
---|
1981 | int mkstemp(char *); |
---|
1982 | long mrand48(void); |
---|
1983 | long nrand48(unsigned short[3]); |
---|
1984 | int posix_openpt(int); |
---|
1985 | char *ptsname(int); |
---|
1986 | int putenv(char *) __asm("_" "putenv" "$UNIX2003"); |
---|
1987 | long random(void); |
---|
1988 | int rand_r(unsigned *); |
---|
1989 | |
---|
1990 | char *realpath(const char * restrict, char * restrict) __asm("_" "realpath" "$DARWIN_EXTSN"); |
---|
1991 | |
---|
1992 | |
---|
1993 | |
---|
1994 | unsigned short |
---|
1995 | *seed48(unsigned short[3]); |
---|
1996 | int setenv(const char *, const char *, int) __asm("_" "setenv" "$UNIX2003"); |
---|
1997 | |
---|
1998 | void setkey(const char *) __asm("_" "setkey" "$UNIX2003"); |
---|
1999 | |
---|
2000 | |
---|
2001 | |
---|
2002 | char *setstate(const char *); |
---|
2003 | void srand48(long); |
---|
2004 | |
---|
2005 | void srandom(unsigned); |
---|
2006 | |
---|
2007 | |
---|
2008 | |
---|
2009 | int unlockpt(int); |
---|
2010 | |
---|
2011 | int unsetenv(const char *) __asm("_" "unsetenv" "$UNIX2003"); |
---|
2012 | |
---|
2013 | |
---|
2014 | |
---|
2015 | |
---|
2016 | |
---|
2017 | |
---|
2018 | |
---|
2019 | # 1 "/usr/include/machine/types.h" 1 3 4 |
---|
2020 | # 35 "/usr/include/machine/types.h" 3 4 |
---|
2021 | # 1 "/usr/include/i386/types.h" 1 3 4 |
---|
2022 | # 80 "/usr/include/i386/types.h" 3 4 |
---|
2023 | typedef unsigned char u_int8_t; |
---|
2024 | |
---|
2025 | |
---|
2026 | |
---|
2027 | |
---|
2028 | typedef unsigned short u_int16_t; |
---|
2029 | |
---|
2030 | |
---|
2031 | |
---|
2032 | |
---|
2033 | typedef unsigned int u_int32_t; |
---|
2034 | |
---|
2035 | |
---|
2036 | |
---|
2037 | |
---|
2038 | typedef unsigned long long u_int64_t; |
---|
2039 | |
---|
2040 | |
---|
2041 | |
---|
2042 | |
---|
2043 | typedef int32_t register_t; |
---|
2044 | # 114 "/usr/include/i386/types.h" 3 4 |
---|
2045 | typedef u_int64_t user_addr_t; |
---|
2046 | typedef u_int64_t user_size_t; |
---|
2047 | typedef int64_t user_ssize_t; |
---|
2048 | typedef int64_t user_long_t; |
---|
2049 | typedef u_int64_t user_ulong_t; |
---|
2050 | typedef int64_t user_time_t; |
---|
2051 | typedef int64_t user_off_t; |
---|
2052 | |
---|
2053 | |
---|
2054 | |
---|
2055 | |
---|
2056 | |
---|
2057 | |
---|
2058 | |
---|
2059 | typedef u_int64_t syscall_arg_t; |
---|
2060 | # 36 "/usr/include/machine/types.h" 2 3 4 |
---|
2061 | # 256 "/usr/include/stdlib.h" 2 3 4 |
---|
2062 | |
---|
2063 | |
---|
2064 | typedef __darwin_dev_t dev_t; |
---|
2065 | |
---|
2066 | |
---|
2067 | |
---|
2068 | |
---|
2069 | typedef __darwin_mode_t mode_t; |
---|
2070 | |
---|
2071 | |
---|
2072 | |
---|
2073 | u_int32_t |
---|
2074 | arc4random(void); |
---|
2075 | void arc4random_addrandom(unsigned char * , int ); |
---|
2076 | void arc4random_buf(void * , size_t ) __attribute__((visibility("default"))); |
---|
2077 | void arc4random_stir(void); |
---|
2078 | u_int32_t |
---|
2079 | arc4random_uniform(u_int32_t ) __attribute__((visibility("default"))); |
---|
2080 | |
---|
2081 | int atexit_b(void (^)(void)) __attribute__((visibility("default"))); |
---|
2082 | void *bsearch_b(const void *, const void *, size_t, |
---|
2083 | size_t, int (^)(const void *, const void *)) __attribute__((visibility("default"))); |
---|
2084 | |
---|
2085 | |
---|
2086 | |
---|
2087 | char *cgetcap(char *, const char *, int); |
---|
2088 | int cgetclose(void); |
---|
2089 | int cgetent(char **, char **, const char *); |
---|
2090 | int cgetfirst(char **, char **); |
---|
2091 | int cgetmatch(const char *, const char *); |
---|
2092 | int cgetnext(char **, char **); |
---|
2093 | int cgetnum(char *, const char *, long *); |
---|
2094 | int cgetset(const char *); |
---|
2095 | int cgetstr(char *, const char *, char **); |
---|
2096 | int cgetustr(char *, const char *, char **); |
---|
2097 | |
---|
2098 | int daemon(int, int) __asm("_" "daemon" "$1050") __attribute__((deprecated,visibility("default"))); |
---|
2099 | char *devname(dev_t, mode_t); |
---|
2100 | char *devname_r(dev_t, mode_t, char *buf, int len); |
---|
2101 | char *getbsize(int *, long *); |
---|
2102 | int getloadavg(double [], int); |
---|
2103 | const char |
---|
2104 | *getprogname(void); |
---|
2105 | |
---|
2106 | int heapsort(void *, size_t, size_t, |
---|
2107 | int (*)(const void *, const void *)); |
---|
2108 | |
---|
2109 | int heapsort_b(void *, size_t, size_t, |
---|
2110 | int (^)(const void *, const void *)) __attribute__((visibility("default"))); |
---|
2111 | |
---|
2112 | int mergesort(void *, size_t, size_t, |
---|
2113 | int (*)(const void *, const void *)); |
---|
2114 | |
---|
2115 | int mergesort_b(void *, size_t, size_t, |
---|
2116 | int (^)(const void *, const void *)) __attribute__((visibility("default"))); |
---|
2117 | |
---|
2118 | void psort(void *, size_t, size_t, |
---|
2119 | int (*)(const void *, const void *)) __attribute__((visibility("default"))); |
---|
2120 | |
---|
2121 | void psort_b(void *, size_t, size_t, |
---|
2122 | int (^)(const void *, const void *)) __attribute__((visibility("default"))); |
---|
2123 | |
---|
2124 | void psort_r(void *, size_t, size_t, void *, |
---|
2125 | int (*)(void *, const void *, const void *)) __attribute__((visibility("default"))); |
---|
2126 | |
---|
2127 | void qsort_b(void *, size_t, size_t, |
---|
2128 | int (^)(const void *, const void *)) __attribute__((visibility("default"))); |
---|
2129 | |
---|
2130 | void qsort_r(void *, size_t, size_t, void *, |
---|
2131 | int (*)(void *, const void *, const void *)); |
---|
2132 | int radixsort(const unsigned char **, int, const unsigned char *, |
---|
2133 | unsigned); |
---|
2134 | void setprogname(const char *); |
---|
2135 | int sradixsort(const unsigned char **, int, const unsigned char *, |
---|
2136 | unsigned); |
---|
2137 | void sranddev(void); |
---|
2138 | void srandomdev(void); |
---|
2139 | void *reallocf(void *, size_t); |
---|
2140 | |
---|
2141 | long long |
---|
2142 | strtoq(const char *, char **, int); |
---|
2143 | unsigned long long |
---|
2144 | strtouq(const char *, char **, int); |
---|
2145 | |
---|
2146 | extern char *suboptarg; |
---|
2147 | void *valloc(size_t); |
---|
2148 | # 36 "./libavutil/common.h" 2 |
---|
2149 | # 1 "/usr/include/string.h" 1 3 4 |
---|
2150 | # 80 "/usr/include/string.h" 3 4 |
---|
2151 | void *memchr(const void *, int, size_t); |
---|
2152 | int memcmp(const void *, const void *, size_t); |
---|
2153 | void *memcpy(void *, const void *, size_t); |
---|
2154 | void *memmove(void *, const void *, size_t); |
---|
2155 | void *memset(void *, int, size_t); |
---|
2156 | char *strcat(char *, const char *); |
---|
2157 | char *strchr(const char *, int); |
---|
2158 | int strcmp(const char *, const char *); |
---|
2159 | int strcoll(const char *, const char *); |
---|
2160 | char *strcpy(char *, const char *); |
---|
2161 | size_t strcspn(const char *, const char *); |
---|
2162 | char *strerror(int) __asm("_" "strerror" "$UNIX2003"); |
---|
2163 | size_t strlen(const char *); |
---|
2164 | char *strncat(char *, const char *, size_t); |
---|
2165 | int strncmp(const char *, const char *, size_t); |
---|
2166 | char *strncpy(char *, const char *, size_t); |
---|
2167 | char *strpbrk(const char *, const char *); |
---|
2168 | char *strrchr(const char *, int); |
---|
2169 | size_t strspn(const char *, const char *); |
---|
2170 | char *strstr(const char *, const char *); |
---|
2171 | char *strtok(char *, const char *); |
---|
2172 | size_t strxfrm(char *, const char *, size_t); |
---|
2173 | # 114 "/usr/include/string.h" 3 4 |
---|
2174 | char *strtok_r(char *, const char *, char **); |
---|
2175 | # 126 "/usr/include/string.h" 3 4 |
---|
2176 | int strerror_r(int, char *, size_t); |
---|
2177 | char *strdup(const char *); |
---|
2178 | void *memccpy(void *, const void *, int, size_t); |
---|
2179 | # 140 "/usr/include/string.h" 3 4 |
---|
2180 | char *stpcpy(char *, const char *); |
---|
2181 | char *stpncpy(char *, const char *, size_t) __attribute__((visibility("default"))); |
---|
2182 | char *strndup(const char *, size_t) __attribute__((visibility("default"))); |
---|
2183 | size_t strnlen(const char *, size_t) __attribute__((visibility("default"))); |
---|
2184 | char *strsignal(int sig); |
---|
2185 | # 159 "/usr/include/string.h" 3 4 |
---|
2186 | void *memmem(const void *, size_t, const void *, size_t) __attribute__((visibility("default"))); |
---|
2187 | void memset_pattern4(void *, const void *, size_t) __attribute__((visibility("default"))); |
---|
2188 | void memset_pattern8(void *, const void *, size_t) __attribute__((visibility("default"))); |
---|
2189 | void memset_pattern16(void *, const void *, size_t) __attribute__((visibility("default"))); |
---|
2190 | |
---|
2191 | char *strcasestr(const char *, const char *); |
---|
2192 | char *strnstr(const char *, const char *, size_t); |
---|
2193 | size_t strlcat(char *, const char *, size_t); |
---|
2194 | size_t strlcpy(char *, const char *, size_t); |
---|
2195 | void strmode(int, char *); |
---|
2196 | char *strsep(char **, const char *); |
---|
2197 | |
---|
2198 | |
---|
2199 | void swab(const void * restrict, void * restrict, ssize_t); |
---|
2200 | |
---|
2201 | |
---|
2202 | |
---|
2203 | |
---|
2204 | |
---|
2205 | |
---|
2206 | |
---|
2207 | |
---|
2208 | # 1 "/usr/include/strings.h" 1 3 4 |
---|
2209 | # 74 "/usr/include/strings.h" 3 4 |
---|
2210 | int bcmp(const void *, const void *, size_t) ; |
---|
2211 | void bcopy(const void *, void *, size_t) ; |
---|
2212 | void bzero(void *, size_t) ; |
---|
2213 | char *index(const char *, int) ; |
---|
2214 | char *rindex(const char *, int) ; |
---|
2215 | |
---|
2216 | |
---|
2217 | int ffs(int); |
---|
2218 | int strcasecmp(const char *, const char *); |
---|
2219 | int strncasecmp(const char *, const char *, size_t); |
---|
2220 | |
---|
2221 | |
---|
2222 | |
---|
2223 | |
---|
2224 | |
---|
2225 | int ffsl(long) __attribute__((visibility("default"))); |
---|
2226 | int fls(int) __attribute__((visibility("default"))); |
---|
2227 | int flsl(long) __attribute__((visibility("default"))); |
---|
2228 | |
---|
2229 | |
---|
2230 | |
---|
2231 | # 1 "/usr/include/string.h" 1 3 4 |
---|
2232 | # 95 "/usr/include/strings.h" 2 3 4 |
---|
2233 | # 181 "/usr/include/string.h" 2 3 4 |
---|
2234 | # 190 "/usr/include/string.h" 3 4 |
---|
2235 | # 1 "/usr/include/secure/_string.h" 1 3 4 |
---|
2236 | # 58 "/usr/include/secure/_string.h" 3 4 |
---|
2237 | static __inline void * |
---|
2238 | __inline_memcpy_chk (void *__dest, const void *__src, size_t __len) |
---|
2239 | { |
---|
2240 | return __builtin___memcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); |
---|
2241 | } |
---|
2242 | |
---|
2243 | |
---|
2244 | |
---|
2245 | |
---|
2246 | |
---|
2247 | |
---|
2248 | static __inline void * |
---|
2249 | __inline_memmove_chk (void *__dest, const void *__src, size_t __len) |
---|
2250 | { |
---|
2251 | return __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); |
---|
2252 | } |
---|
2253 | |
---|
2254 | |
---|
2255 | |
---|
2256 | |
---|
2257 | |
---|
2258 | |
---|
2259 | static __inline void * |
---|
2260 | __inline_memset_chk (void *__dest, int __val, size_t __len) |
---|
2261 | { |
---|
2262 | return __builtin___memset_chk (__dest, __val, __len, __builtin_object_size (__dest, 0)); |
---|
2263 | } |
---|
2264 | |
---|
2265 | |
---|
2266 | |
---|
2267 | |
---|
2268 | |
---|
2269 | |
---|
2270 | static __inline char * |
---|
2271 | __inline_strcpy_chk (char *restrict __dest, const char *restrict __src) |
---|
2272 | { |
---|
2273 | return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); |
---|
2274 | } |
---|
2275 | |
---|
2276 | |
---|
2277 | |
---|
2278 | |
---|
2279 | |
---|
2280 | |
---|
2281 | |
---|
2282 | static __inline char * |
---|
2283 | __inline_stpcpy_chk (char *__dest, const char *__src) |
---|
2284 | { |
---|
2285 | return __builtin___stpcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); |
---|
2286 | } |
---|
2287 | |
---|
2288 | |
---|
2289 | |
---|
2290 | |
---|
2291 | |
---|
2292 | |
---|
2293 | static __inline char * |
---|
2294 | __inline_stpncpy_chk (char *restrict __dest, const char *restrict __src, |
---|
2295 | size_t __len) |
---|
2296 | { |
---|
2297 | return __builtin___stpncpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1)); |
---|
2298 | } |
---|
2299 | |
---|
2300 | |
---|
2301 | |
---|
2302 | |
---|
2303 | |
---|
2304 | |
---|
2305 | |
---|
2306 | static __inline char * |
---|
2307 | __inline_strncpy_chk (char *restrict __dest, const char *restrict __src, |
---|
2308 | size_t __len) |
---|
2309 | { |
---|
2310 | return __builtin___strncpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1)); |
---|
2311 | } |
---|
2312 | |
---|
2313 | |
---|
2314 | |
---|
2315 | |
---|
2316 | |
---|
2317 | |
---|
2318 | static __inline char * |
---|
2319 | __inline_strcat_chk (char *restrict __dest, const char *restrict __src) |
---|
2320 | { |
---|
2321 | return __builtin___strcat_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); |
---|
2322 | } |
---|
2323 | |
---|
2324 | |
---|
2325 | |
---|
2326 | |
---|
2327 | |
---|
2328 | |
---|
2329 | |
---|
2330 | static __inline char * |
---|
2331 | __inline_strncat_chk (char *restrict __dest, const char *restrict __src, |
---|
2332 | size_t __len) |
---|
2333 | { |
---|
2334 | return __builtin___strncat_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1)); |
---|
2335 | } |
---|
2336 | # 191 "/usr/include/string.h" 2 3 4 |
---|
2337 | # 37 "./libavutil/common.h" 2 |
---|
2338 | # 1 "./libavutil/attributes.h" 1 |
---|
2339 | # 38 "./libavutil/common.h" 2 |
---|
2340 | # 1 "./libavutil/avconfig.h" 1 |
---|
2341 | # 39 "./libavutil/common.h" 2 |
---|
2342 | # 65 "./libavutil/common.h" |
---|
2343 | extern const uint8_t ff_log2_tab[256]; |
---|
2344 | |
---|
2345 | extern const uint8_t av_reverse[256]; |
---|
2346 | |
---|
2347 | static __attribute__((always_inline)) inline __attribute__((const)) int av_log2_c(unsigned int v) |
---|
2348 | { |
---|
2349 | int n = 0; |
---|
2350 | if (v & 0xffff0000) { |
---|
2351 | v >>= 16; |
---|
2352 | n += 16; |
---|
2353 | } |
---|
2354 | if (v & 0xff00) { |
---|
2355 | v >>= 8; |
---|
2356 | n += 8; |
---|
2357 | } |
---|
2358 | n += ff_log2_tab[v]; |
---|
2359 | |
---|
2360 | return n; |
---|
2361 | } |
---|
2362 | |
---|
2363 | static __attribute__((always_inline)) inline __attribute__((const)) int av_log2_16bit_c(unsigned int v) |
---|
2364 | { |
---|
2365 | int n = 0; |
---|
2366 | if (v & 0xff00) { |
---|
2367 | v >>= 8; |
---|
2368 | n += 8; |
---|
2369 | } |
---|
2370 | n += ff_log2_tab[v]; |
---|
2371 | |
---|
2372 | return n; |
---|
2373 | } |
---|
2374 | |
---|
2375 | |
---|
2376 | |
---|
2377 | # 1 "./config.h" 1 |
---|
2378 | # 99 "./libavutil/common.h" 2 |
---|
2379 | # 1 "./libavutil/intmath.h" 1 |
---|
2380 | # 28 "./libavutil/intmath.h" |
---|
2381 | extern const uint32_t ff_inverse[257]; |
---|
2382 | |
---|
2383 | |
---|
2384 | |
---|
2385 | |
---|
2386 | |
---|
2387 | # 1 "./libavutil/x86/intmath.h" 1 |
---|
2388 | # 34 "./libavutil/intmath.h" 2 |
---|
2389 | # 55 "./libavutil/intmath.h" |
---|
2390 | # 1 "./libavutil/common.h" 1 |
---|
2391 | # 56 "./libavutil/intmath.h" 2 |
---|
2392 | |
---|
2393 | extern const uint8_t ff_sqrt_tab[256]; |
---|
2394 | |
---|
2395 | static inline __attribute__((const)) unsigned int ff_sqrt(unsigned int a) |
---|
2396 | { |
---|
2397 | unsigned int b; |
---|
2398 | |
---|
2399 | if (a < 255) return (ff_sqrt_tab[a + 1] - 1) >> 4; |
---|
2400 | else if (a < (1 << 12)) b = ff_sqrt_tab[a >> 4] >> 2; |
---|
2401 | |
---|
2402 | else if (a < (1 << 14)) b = ff_sqrt_tab[a >> 6] >> 1; |
---|
2403 | else if (a < (1 << 16)) b = ff_sqrt_tab[a >> 8] ; |
---|
2404 | |
---|
2405 | else { |
---|
2406 | int s = (31 - __builtin_clz((a >> 16)|1)) >> 1; |
---|
2407 | unsigned int c = a >> (s + 2); |
---|
2408 | b = ff_sqrt_tab[c >> (s + 8)]; |
---|
2409 | b = ({ int ret, dmy; __asm__ volatile( "mull %3" :"=d"(ret), "=a"(dmy) :"1"(c), "g"(ff_inverse[b]) ); ret; }) + (b << s); |
---|
2410 | } |
---|
2411 | |
---|
2412 | return b - (a < b * b); |
---|
2413 | } |
---|
2414 | # 100 "./libavutil/common.h" 2 |
---|
2415 | |
---|
2416 | |
---|
2417 | |
---|
2418 | # 1 "./libavutil/common.h" 1 |
---|
2419 | # 104 "./libavutil/common.h" 2 |
---|
2420 | |
---|
2421 | |
---|
2422 | |
---|
2423 | |
---|
2424 | |
---|
2425 | |
---|
2426 | |
---|
2427 | |
---|
2428 | static __attribute__((always_inline)) inline __attribute__((const)) int av_clip_c(int a, int amin, int amax) |
---|
2429 | { |
---|
2430 | if (a < amin) return amin; |
---|
2431 | else if (a > amax) return amax; |
---|
2432 | else return a; |
---|
2433 | } |
---|
2434 | |
---|
2435 | |
---|
2436 | |
---|
2437 | |
---|
2438 | |
---|
2439 | |
---|
2440 | static __attribute__((always_inline)) inline __attribute__((const)) uint8_t av_clip_uint8_c(int a) |
---|
2441 | { |
---|
2442 | if (a&(~0xFF)) return (-a)>>31; |
---|
2443 | else return a; |
---|
2444 | } |
---|
2445 | |
---|
2446 | |
---|
2447 | |
---|
2448 | |
---|
2449 | |
---|
2450 | |
---|
2451 | static __attribute__((always_inline)) inline __attribute__((const)) int8_t av_clip_int8_c(int a) |
---|
2452 | { |
---|
2453 | if ((a+0x80) & ~0xFF) return (a>>31) ^ 0x7F; |
---|
2454 | else return a; |
---|
2455 | } |
---|
2456 | |
---|
2457 | |
---|
2458 | |
---|
2459 | |
---|
2460 | |
---|
2461 | |
---|
2462 | static __attribute__((always_inline)) inline __attribute__((const)) uint16_t av_clip_uint16_c(int a) |
---|
2463 | { |
---|
2464 | if (a&(~0xFFFF)) return (-a)>>31; |
---|
2465 | else return a; |
---|
2466 | } |
---|
2467 | |
---|
2468 | |
---|
2469 | |
---|
2470 | |
---|
2471 | |
---|
2472 | |
---|
2473 | static __attribute__((always_inline)) inline __attribute__((const)) int16_t av_clip_int16_c(int a) |
---|
2474 | { |
---|
2475 | if ((a+0x8000) & ~0xFFFF) return (a>>31) ^ 0x7FFF; |
---|
2476 | else return a; |
---|
2477 | } |
---|
2478 | |
---|
2479 | |
---|
2480 | |
---|
2481 | |
---|
2482 | |
---|
2483 | |
---|
2484 | static __attribute__((always_inline)) inline __attribute__((const)) int32_t av_clipl_int32_c(int64_t a) |
---|
2485 | { |
---|
2486 | if ((a+0x80000000u) & ~(0xFFFFFFFFULL)) return (a>>63) ^ 0x7FFFFFFF; |
---|
2487 | else return a; |
---|
2488 | } |
---|
2489 | |
---|
2490 | |
---|
2491 | |
---|
2492 | |
---|
2493 | |
---|
2494 | |
---|
2495 | |
---|
2496 | static __attribute__((always_inline)) inline __attribute__((const)) unsigned av_clip_uintp2_c(int a, int p) |
---|
2497 | { |
---|
2498 | if (a & ~((1<<p) - 1)) return -a >> 31 & ((1<<p) - 1); |
---|
2499 | else return a; |
---|
2500 | } |
---|
2501 | # 193 "./libavutil/common.h" |
---|
2502 | static __attribute__((always_inline)) inline __attribute__((const)) float av_clipf_c(float a, float amin, float amax) |
---|
2503 | { |
---|
2504 | if (a < amin) return amin; |
---|
2505 | else if (a > amax) return amax; |
---|
2506 | else return a; |
---|
2507 | } |
---|
2508 | |
---|
2509 | |
---|
2510 | |
---|
2511 | |
---|
2512 | |
---|
2513 | static __attribute__((always_inline)) inline __attribute__((const)) int av_ceil_log2_c(int x) |
---|
2514 | { |
---|
2515 | return (31 - __builtin_clz(((x - 1) << 1)|1)); |
---|
2516 | } |
---|
2517 | |
---|
2518 | |
---|
2519 | |
---|
2520 | |
---|
2521 | |
---|
2522 | |
---|
2523 | static __attribute__((always_inline)) inline __attribute__((const)) int av_popcount_c(uint32_t x) |
---|
2524 | { |
---|
2525 | x -= (x >> 1) & 0x55555555; |
---|
2526 | x = (x & 0x33333333) + ((x >> 2) & 0x33333333); |
---|
2527 | x = (x + (x >> 4)) & 0x0F0F0F0F; |
---|
2528 | x += x >> 8; |
---|
2529 | return (x + (x >> 16)) & 0x3F; |
---|
2530 | } |
---|
2531 | # 339 "./libavutil/common.h" |
---|
2532 | # 1 "./libavutil/mem.h" 1 |
---|
2533 | # 30 "./libavutil/mem.h" |
---|
2534 | # 1 "./libavutil/error.h" 1 |
---|
2535 | # 27 "./libavutil/error.h" |
---|
2536 | # 1 "/usr/include/errno.h" 1 3 4 |
---|
2537 | # 28 "./libavutil/error.h" 2 |
---|
2538 | # 1 "./libavutil/avutil.h" 1 |
---|
2539 | # 29 "./libavutil/error.h" 2 |
---|
2540 | # 86 "./libavutil/error.h" |
---|
2541 | int av_strerror(int errnum, char *errbuf, size_t errbuf_size); |
---|
2542 | # 31 "./libavutil/mem.h" 2 |
---|
2543 | # 1 "./libavutil/avutil.h" 1 |
---|
2544 | # 32 "./libavutil/mem.h" 2 |
---|
2545 | # 82 "./libavutil/mem.h" |
---|
2546 | void *av_malloc(unsigned int size) __attribute__((__malloc__)) ; |
---|
2547 | # 96 "./libavutil/mem.h" |
---|
2548 | void *av_realloc(void *ptr, unsigned int size) ; |
---|
2549 | # 106 "./libavutil/mem.h" |
---|
2550 | void *av_realloc_f(void *ptr, size_t nelem, size_t elsize); |
---|
2551 | # 116 "./libavutil/mem.h" |
---|
2552 | void av_free(void *ptr); |
---|
2553 | # 126 "./libavutil/mem.h" |
---|
2554 | void *av_mallocz(unsigned int size) __attribute__((__malloc__)) ; |
---|
2555 | # 138 "./libavutil/mem.h" |
---|
2556 | void *av_calloc(size_t nmemb, size_t size) __attribute__((__malloc__)); |
---|
2557 | |
---|
2558 | |
---|
2559 | |
---|
2560 | |
---|
2561 | |
---|
2562 | |
---|
2563 | |
---|
2564 | char *av_strdup(const char *s) __attribute__((__malloc__)); |
---|
2565 | # 155 "./libavutil/mem.h" |
---|
2566 | void av_freep(void *ptr); |
---|
2567 | # 164 "./libavutil/mem.h" |
---|
2568 | void av_dynarray_add(void *tab_ptr, int *nb_ptr, void *elem); |
---|
2569 | |
---|
2570 | |
---|
2571 | |
---|
2572 | |
---|
2573 | |
---|
2574 | static inline int av_size_mult(size_t a, size_t b, size_t *r) |
---|
2575 | { |
---|
2576 | size_t t = a * b; |
---|
2577 | |
---|
2578 | |
---|
2579 | if ((a | b) >= ((size_t)1 << (sizeof(size_t) * 4)) && a && t / a != b) |
---|
2580 | return (-(22)); |
---|
2581 | *r = t; |
---|
2582 | return 0; |
---|
2583 | } |
---|
2584 | # 340 "./libavutil/common.h" 2 |
---|
2585 | |
---|
2586 | |
---|
2587 | # 1 "./libavutil/internal.h" 1 |
---|
2588 | # 35 "./libavutil/internal.h" |
---|
2589 | # 1 "/usr/bin/../lib/clang/3.0/include/stddef.h" 1 3 4 |
---|
2590 | # 31 "/usr/bin/../lib/clang/3.0/include/stddef.h" 3 4 |
---|
2591 | typedef __typeof__(((int*)0)-((int*)0)) ptrdiff_t; |
---|
2592 | # 36 "./libavutil/internal.h" 2 |
---|
2593 | # 1 "/usr/include/assert.h" 1 3 4 |
---|
2594 | # 37 "./libavutil/internal.h" 2 |
---|
2595 | |
---|
2596 | |
---|
2597 | # 1 "./libavutil/timer.h" 1 |
---|
2598 | # 38 "./libavutil/timer.h" |
---|
2599 | # 1 "./libavutil/x86/timer.h" 1 |
---|
2600 | # 28 "./libavutil/x86/timer.h" |
---|
2601 | static inline uint64_t read_time(void) |
---|
2602 | { |
---|
2603 | uint32_t a, d; |
---|
2604 | __asm__ volatile("rdtsc" : "=a" (a), "=d" (d)); |
---|
2605 | return ((uint64_t)d << 32) + a; |
---|
2606 | } |
---|
2607 | # 39 "./libavutil/timer.h" 2 |
---|
2608 | # 40 "./libavutil/internal.h" 2 |
---|
2609 | # 1 "./libavutil/cpu.h" 1 |
---|
2610 | # 47 "./libavutil/cpu.h" |
---|
2611 | int av_get_cpu_flags(void); |
---|
2612 | |
---|
2613 | |
---|
2614 | |
---|
2615 | |
---|
2616 | |
---|
2617 | void av_force_cpu_flags(int flags); |
---|
2618 | |
---|
2619 | |
---|
2620 | |
---|
2621 | int ff_get_cpu_flags_arm(void); |
---|
2622 | int ff_get_cpu_flags_ppc(void); |
---|
2623 | int ff_get_cpu_flags_x86(void); |
---|
2624 | # 41 "./libavutil/internal.h" 2 |
---|
2625 | # 1 "./libavutil/dict.h" 1 |
---|
2626 | # 36 "./libavutil/dict.h" |
---|
2627 | typedef struct { |
---|
2628 | char *key; |
---|
2629 | char *value; |
---|
2630 | } AVDictionaryEntry; |
---|
2631 | |
---|
2632 | typedef struct AVDictionary AVDictionary; |
---|
2633 | # 51 "./libavutil/dict.h" |
---|
2634 | AVDictionaryEntry * |
---|
2635 | av_dict_get(AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags); |
---|
2636 | # 64 "./libavutil/dict.h" |
---|
2637 | int av_dict_set(AVDictionary **pm, const char *key, const char *value, int flags); |
---|
2638 | # 74 "./libavutil/dict.h" |
---|
2639 | void av_dict_copy(AVDictionary **dst, AVDictionary *src, int flags); |
---|
2640 | |
---|
2641 | |
---|
2642 | |
---|
2643 | |
---|
2644 | void av_dict_free(AVDictionary **m); |
---|
2645 | # 42 "./libavutil/internal.h" 2 |
---|
2646 | |
---|
2647 | struct AVDictionary { |
---|
2648 | int count; |
---|
2649 | AVDictionaryEntry *elems; |
---|
2650 | }; |
---|
2651 | # 178 "./libavutil/internal.h" |
---|
2652 | # 1 "./libavutil/libm.h" 1 |
---|
2653 | # 179 "./libavutil/internal.h" 2 |
---|
2654 | # 236 "./libavutil/internal.h" |
---|
2655 | static __attribute__((always_inline)) inline void emms_c(void) |
---|
2656 | { |
---|
2657 | if(av_get_cpu_flags() & 0x0001) |
---|
2658 | __asm__ volatile ("emms" ::: "memory"); |
---|
2659 | } |
---|
2660 | # 343 "./libavutil/common.h" 2 |
---|
2661 | # 135 "./libavutil/avutil.h" 2 |
---|
2662 | |
---|
2663 | # 1 "./libavutil/mathematics.h" 1 |
---|
2664 | # 27 "./libavutil/mathematics.h" |
---|
2665 | # 1 "./libavutil/rational.h" 1 |
---|
2666 | # 38 "./libavutil/rational.h" |
---|
2667 | typedef struct AVRational{ |
---|
2668 | int num; |
---|
2669 | int den; |
---|
2670 | } AVRational; |
---|
2671 | # 50 "./libavutil/rational.h" |
---|
2672 | static inline int av_cmp_q(AVRational a, AVRational b){ |
---|
2673 | const int64_t tmp= a.num * (int64_t)b.den - b.num * (int64_t)a.den; |
---|
2674 | |
---|
2675 | if(tmp) return ((tmp ^ a.den ^ b.den)>>63)|1; |
---|
2676 | else if(b.den && a.den) return 0; |
---|
2677 | else if(a.num && b.num) return (a.num>>31) - (b.num>>31); |
---|
2678 | else return (-2147483647 -1); |
---|
2679 | } |
---|
2680 | |
---|
2681 | |
---|
2682 | |
---|
2683 | |
---|
2684 | |
---|
2685 | |
---|
2686 | static inline double av_q2d(AVRational a){ |
---|
2687 | return a.num / (double) a.den; |
---|
2688 | } |
---|
2689 | # 78 "./libavutil/rational.h" |
---|
2690 | int av_reduce(int *dst_num, int *dst_den, int64_t num, int64_t den, int64_t max); |
---|
2691 | |
---|
2692 | |
---|
2693 | |
---|
2694 | |
---|
2695 | |
---|
2696 | |
---|
2697 | |
---|
2698 | AVRational av_mul_q(AVRational b, AVRational c) __attribute__((const)); |
---|
2699 | |
---|
2700 | |
---|
2701 | |
---|
2702 | |
---|
2703 | |
---|
2704 | |
---|
2705 | |
---|
2706 | AVRational av_div_q(AVRational b, AVRational c) __attribute__((const)); |
---|
2707 | |
---|
2708 | |
---|
2709 | |
---|
2710 | |
---|
2711 | |
---|
2712 | |
---|
2713 | |
---|
2714 | AVRational av_add_q(AVRational b, AVRational c) __attribute__((const)); |
---|
2715 | |
---|
2716 | |
---|
2717 | |
---|
2718 | |
---|
2719 | |
---|
2720 | |
---|
2721 | |
---|
2722 | AVRational av_sub_q(AVRational b, AVRational c) __attribute__((const)); |
---|
2723 | # 120 "./libavutil/rational.h" |
---|
2724 | AVRational av_d2q(double d, int max) __attribute__((const)); |
---|
2725 | |
---|
2726 | |
---|
2727 | |
---|
2728 | |
---|
2729 | |
---|
2730 | int av_nearer_q(AVRational q, AVRational q1, AVRational q2); |
---|
2731 | |
---|
2732 | |
---|
2733 | |
---|
2734 | |
---|
2735 | |
---|
2736 | |
---|
2737 | int av_find_nearest_q_idx(AVRational q, const AVRational* q_list); |
---|
2738 | # 28 "./libavutil/mathematics.h" 2 |
---|
2739 | # 60 "./libavutil/mathematics.h" |
---|
2740 | enum AVRounding { |
---|
2741 | AV_ROUND_ZERO = 0, |
---|
2742 | AV_ROUND_INF = 1, |
---|
2743 | AV_ROUND_DOWN = 2, |
---|
2744 | AV_ROUND_UP = 3, |
---|
2745 | AV_ROUND_NEAR_INF = 5, |
---|
2746 | }; |
---|
2747 | |
---|
2748 | |
---|
2749 | |
---|
2750 | |
---|
2751 | |
---|
2752 | |
---|
2753 | int64_t __attribute__((const)) av_gcd(int64_t a, int64_t b); |
---|
2754 | |
---|
2755 | |
---|
2756 | |
---|
2757 | |
---|
2758 | |
---|
2759 | int64_t av_rescale(int64_t a, int64_t b, int64_t c) __attribute__((const)); |
---|
2760 | |
---|
2761 | |
---|
2762 | |
---|
2763 | |
---|
2764 | |
---|
2765 | int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding) __attribute__((const)); |
---|
2766 | |
---|
2767 | |
---|
2768 | |
---|
2769 | |
---|
2770 | int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq) __attribute__((const)); |
---|
2771 | |
---|
2772 | |
---|
2773 | |
---|
2774 | |
---|
2775 | |
---|
2776 | |
---|
2777 | |
---|
2778 | int av_compare_ts(int64_t ts_a, AVRational tb_a, int64_t ts_b, AVRational tb_b); |
---|
2779 | # 110 "./libavutil/mathematics.h" |
---|
2780 | int64_t av_compare_mod(uint64_t a, uint64_t b, uint64_t mod); |
---|
2781 | # 137 "./libavutil/avutil.h" 2 |
---|
2782 | |
---|
2783 | # 1 "./libavutil/intfloat_readwrite.h" 1 |
---|
2784 | # 28 "./libavutil/intfloat_readwrite.h" |
---|
2785 | typedef struct AVExtFloat { |
---|
2786 | uint8_t exponent[2]; |
---|
2787 | uint8_t mantissa[8]; |
---|
2788 | } AVExtFloat; |
---|
2789 | |
---|
2790 | double av_int2dbl(int64_t v) __attribute__((const)); |
---|
2791 | float av_int2flt(int32_t v) __attribute__((const)); |
---|
2792 | double av_ext2dbl(const AVExtFloat ext) __attribute__((const)); |
---|
2793 | int64_t av_dbl2int(double d) __attribute__((const)); |
---|
2794 | int32_t av_flt2int(float d) __attribute__((const)); |
---|
2795 | AVExtFloat av_dbl2ext(double d) __attribute__((const)); |
---|
2796 | # 139 "./libavutil/avutil.h" 2 |
---|
2797 | # 1 "./libavutil/log.h" 1 |
---|
2798 | # 24 "./libavutil/log.h" |
---|
2799 | # 1 "/usr/bin/../lib/clang/3.0/include/stdarg.h" 1 3 4 |
---|
2800 | # 48 "/usr/bin/../lib/clang/3.0/include/stdarg.h" 3 4 |
---|
2801 | typedef __builtin_va_list __gnuc_va_list; |
---|
2802 | # 25 "./libavutil/log.h" 2 |
---|
2803 | # 1 "./libavutil/avutil.h" 1 |
---|
2804 | # 26 "./libavutil/log.h" 2 |
---|
2805 | |
---|
2806 | |
---|
2807 | |
---|
2808 | |
---|
2809 | |
---|
2810 | |
---|
2811 | typedef struct { |
---|
2812 | |
---|
2813 | |
---|
2814 | |
---|
2815 | |
---|
2816 | const char* class_name; |
---|
2817 | |
---|
2818 | |
---|
2819 | |
---|
2820 | |
---|
2821 | |
---|
2822 | const char* (*item_name)(void* ctx); |
---|
2823 | |
---|
2824 | |
---|
2825 | |
---|
2826 | |
---|
2827 | |
---|
2828 | |
---|
2829 | const struct AVOption *option; |
---|
2830 | |
---|
2831 | |
---|
2832 | |
---|
2833 | |
---|
2834 | |
---|
2835 | |
---|
2836 | |
---|
2837 | int version; |
---|
2838 | |
---|
2839 | |
---|
2840 | |
---|
2841 | |
---|
2842 | |
---|
2843 | int log_level_offset_offset; |
---|
2844 | |
---|
2845 | |
---|
2846 | |
---|
2847 | |
---|
2848 | |
---|
2849 | |
---|
2850 | |
---|
2851 | int parent_log_context_offset; |
---|
2852 | |
---|
2853 | |
---|
2854 | |
---|
2855 | |
---|
2856 | |
---|
2857 | const struct AVOption* (*opt_find)(void *obj, const char *name, const char *unit, |
---|
2858 | int opt_flags, int search_flags); |
---|
2859 | } AVClass; |
---|
2860 | # 133 "./libavutil/log.h" |
---|
2861 | void av_log(void *avcl, int level, const char *fmt, ...) __attribute__ ((__format__ (__printf__, 3, 4))); |
---|
2862 | |
---|
2863 | |
---|
2864 | |
---|
2865 | |
---|
2866 | void av_vlog(void *avcl, int level, const char *fmt, va_list); |
---|
2867 | int av_log_get_level(void); |
---|
2868 | void av_log_set_level(int); |
---|
2869 | void av_log_set_callback(void (*)(void*, int, const char*, va_list)); |
---|
2870 | void av_log_default_callback(void* ptr, int level, const char* fmt, va_list vl); |
---|
2871 | const char* av_default_item_name(void* ctx); |
---|
2872 | # 165 "./libavutil/log.h" |
---|
2873 | void av_log_set_flags(int arg); |
---|
2874 | # 140 "./libavutil/avutil.h" 2 |
---|
2875 | # 1 "./libavutil/pixfmt.h" 1 |
---|
2876 | # 60 "./libavutil/pixfmt.h" |
---|
2877 | enum PixelFormat { |
---|
2878 | PIX_FMT_NONE= -1, |
---|
2879 | PIX_FMT_YUV420P, |
---|
2880 | PIX_FMT_YUYV422, |
---|
2881 | PIX_FMT_RGB24, |
---|
2882 | PIX_FMT_BGR24, |
---|
2883 | PIX_FMT_YUV422P, |
---|
2884 | PIX_FMT_YUV444P, |
---|
2885 | PIX_FMT_YUV410P, |
---|
2886 | PIX_FMT_YUV411P, |
---|
2887 | PIX_FMT_GRAY8, |
---|
2888 | PIX_FMT_MONOWHITE, |
---|
2889 | PIX_FMT_MONOBLACK, |
---|
2890 | PIX_FMT_PAL8, |
---|
2891 | PIX_FMT_YUVJ420P, |
---|
2892 | PIX_FMT_YUVJ422P, |
---|
2893 | PIX_FMT_YUVJ444P, |
---|
2894 | PIX_FMT_XVMC_MPEG2_MC, |
---|
2895 | PIX_FMT_XVMC_MPEG2_IDCT, |
---|
2896 | PIX_FMT_UYVY422, |
---|
2897 | PIX_FMT_UYYVYY411, |
---|
2898 | PIX_FMT_BGR8, |
---|
2899 | PIX_FMT_BGR4, |
---|
2900 | PIX_FMT_BGR4_BYTE, |
---|
2901 | PIX_FMT_RGB8, |
---|
2902 | PIX_FMT_RGB4, |
---|
2903 | PIX_FMT_RGB4_BYTE, |
---|
2904 | PIX_FMT_NV12, |
---|
2905 | PIX_FMT_NV21, |
---|
2906 | |
---|
2907 | PIX_FMT_ARGB, |
---|
2908 | PIX_FMT_RGBA, |
---|
2909 | PIX_FMT_ABGR, |
---|
2910 | PIX_FMT_BGRA, |
---|
2911 | |
---|
2912 | PIX_FMT_GRAY16BE, |
---|
2913 | PIX_FMT_GRAY16LE, |
---|
2914 | PIX_FMT_YUV440P, |
---|
2915 | PIX_FMT_YUVJ440P, |
---|
2916 | PIX_FMT_YUVA420P, |
---|
2917 | PIX_FMT_VDPAU_H264, |
---|
2918 | PIX_FMT_VDPAU_MPEG1, |
---|
2919 | PIX_FMT_VDPAU_MPEG2, |
---|
2920 | PIX_FMT_VDPAU_WMV3, |
---|
2921 | PIX_FMT_VDPAU_VC1, |
---|
2922 | PIX_FMT_RGB48BE, |
---|
2923 | PIX_FMT_RGB48LE, |
---|
2924 | |
---|
2925 | PIX_FMT_RGB565BE, |
---|
2926 | PIX_FMT_RGB565LE, |
---|
2927 | PIX_FMT_RGB555BE, |
---|
2928 | PIX_FMT_RGB555LE, |
---|
2929 | |
---|
2930 | PIX_FMT_BGR565BE, |
---|
2931 | PIX_FMT_BGR565LE, |
---|
2932 | PIX_FMT_BGR555BE, |
---|
2933 | PIX_FMT_BGR555LE, |
---|
2934 | |
---|
2935 | PIX_FMT_VAAPI_MOCO, |
---|
2936 | PIX_FMT_VAAPI_IDCT, |
---|
2937 | PIX_FMT_VAAPI_VLD, |
---|
2938 | |
---|
2939 | PIX_FMT_YUV420P16LE, |
---|
2940 | PIX_FMT_YUV420P16BE, |
---|
2941 | PIX_FMT_YUV422P16LE, |
---|
2942 | PIX_FMT_YUV422P16BE, |
---|
2943 | PIX_FMT_YUV444P16LE, |
---|
2944 | PIX_FMT_YUV444P16BE, |
---|
2945 | PIX_FMT_VDPAU_MPEG4, |
---|
2946 | PIX_FMT_DXVA2_VLD, |
---|
2947 | |
---|
2948 | PIX_FMT_RGB444LE, |
---|
2949 | PIX_FMT_RGB444BE, |
---|
2950 | PIX_FMT_BGR444LE, |
---|
2951 | PIX_FMT_BGR444BE, |
---|
2952 | PIX_FMT_GRAY8A, |
---|
2953 | PIX_FMT_BGR48BE, |
---|
2954 | PIX_FMT_BGR48LE, |
---|
2955 | |
---|
2956 | |
---|
2957 | |
---|
2958 | |
---|
2959 | PIX_FMT_YUV420P9BE, |
---|
2960 | PIX_FMT_YUV420P9LE, |
---|
2961 | PIX_FMT_YUV420P10BE, |
---|
2962 | PIX_FMT_YUV420P10LE, |
---|
2963 | PIX_FMT_YUV422P10BE, |
---|
2964 | PIX_FMT_YUV422P10LE, |
---|
2965 | PIX_FMT_YUV444P9BE, |
---|
2966 | PIX_FMT_YUV444P9LE, |
---|
2967 | PIX_FMT_YUV444P10BE, |
---|
2968 | PIX_FMT_YUV444P10LE, |
---|
2969 | |
---|
2970 | PIX_FMT_NB, |
---|
2971 | }; |
---|
2972 | # 141 "./libavutil/avutil.h" 2 |
---|
2973 | # 23 "./libavutil/samplefmt.h" 2 |
---|
2974 | |
---|
2975 | |
---|
2976 | |
---|
2977 | |
---|
2978 | enum AVSampleFormat { |
---|
2979 | AV_SAMPLE_FMT_NONE = -1, |
---|
2980 | AV_SAMPLE_FMT_U8, |
---|
2981 | AV_SAMPLE_FMT_S16, |
---|
2982 | AV_SAMPLE_FMT_S32, |
---|
2983 | AV_SAMPLE_FMT_FLT, |
---|
2984 | AV_SAMPLE_FMT_DBL, |
---|
2985 | AV_SAMPLE_FMT_NB |
---|
2986 | }; |
---|
2987 | |
---|
2988 | |
---|
2989 | |
---|
2990 | |
---|
2991 | |
---|
2992 | const char *av_get_sample_fmt_name(enum AVSampleFormat sample_fmt); |
---|
2993 | |
---|
2994 | |
---|
2995 | |
---|
2996 | |
---|
2997 | |
---|
2998 | enum AVSampleFormat av_get_sample_fmt(const char *name); |
---|
2999 | # 61 "./libavutil/samplefmt.h" |
---|
3000 | char *av_get_sample_fmt_string(char *buf, int buf_size, enum AVSampleFormat sample_fmt); |
---|
3001 | |
---|
3002 | |
---|
3003 | |
---|
3004 | |
---|
3005 | |
---|
3006 | __attribute__((deprecated)) |
---|
3007 | int av_get_bits_per_sample_fmt(enum AVSampleFormat sample_fmt); |
---|
3008 | # 78 "./libavutil/samplefmt.h" |
---|
3009 | int av_get_bytes_per_sample(enum AVSampleFormat sample_fmt); |
---|
3010 | # 102 "./libavutil/samplefmt.h" |
---|
3011 | int av_samples_fill_arrays(uint8_t *pointers[8], int linesizes[8], |
---|
3012 | uint8_t *buf, int nb_channels, int nb_samples, |
---|
3013 | enum AVSampleFormat sample_fmt, int planar, int align); |
---|
3014 | # 120 "./libavutil/samplefmt.h" |
---|
3015 | int av_samples_alloc(uint8_t *pointers[8], int linesizes[8], |
---|
3016 | int nb_channels, int nb_samples, |
---|
3017 | enum AVSampleFormat sample_fmt, int planar, |
---|
3018 | int align); |
---|
3019 | # 31 "libavcodec/avcodec.h" 2 |
---|
3020 | |
---|
3021 | |
---|
3022 | |
---|
3023 | |
---|
3024 | # 1 "./libavcodec/version.h" 1 |
---|
3025 | # 36 "libavcodec/avcodec.h" 2 |
---|
3026 | # 55 "libavcodec/avcodec.h" |
---|
3027 | enum CodecID { |
---|
3028 | CODEC_ID_NONE, |
---|
3029 | |
---|
3030 | |
---|
3031 | CODEC_ID_MPEG1VIDEO, |
---|
3032 | CODEC_ID_MPEG2VIDEO, |
---|
3033 | CODEC_ID_MPEG2VIDEO_XVMC, |
---|
3034 | CODEC_ID_H261, |
---|
3035 | CODEC_ID_H263, |
---|
3036 | CODEC_ID_RV10, |
---|
3037 | CODEC_ID_RV20, |
---|
3038 | CODEC_ID_MJPEG, |
---|
3039 | CODEC_ID_MJPEGB, |
---|
3040 | CODEC_ID_LJPEG, |
---|
3041 | CODEC_ID_SP5X, |
---|
3042 | CODEC_ID_JPEGLS, |
---|
3043 | CODEC_ID_MPEG4, |
---|
3044 | CODEC_ID_RAWVIDEO, |
---|
3045 | CODEC_ID_MSMPEG4V1, |
---|
3046 | CODEC_ID_MSMPEG4V2, |
---|
3047 | CODEC_ID_MSMPEG4V3, |
---|
3048 | CODEC_ID_WMV1, |
---|
3049 | CODEC_ID_WMV2, |
---|
3050 | CODEC_ID_H263P, |
---|
3051 | CODEC_ID_H263I, |
---|
3052 | CODEC_ID_FLV1, |
---|
3053 | CODEC_ID_SVQ1, |
---|
3054 | CODEC_ID_SVQ3, |
---|
3055 | CODEC_ID_DVVIDEO, |
---|
3056 | CODEC_ID_HUFFYUV, |
---|
3057 | CODEC_ID_CYUV, |
---|
3058 | CODEC_ID_H264, |
---|
3059 | CODEC_ID_INDEO3, |
---|
3060 | CODEC_ID_VP3, |
---|
3061 | CODEC_ID_THEORA, |
---|
3062 | CODEC_ID_ASV1, |
---|
3063 | CODEC_ID_ASV2, |
---|
3064 | CODEC_ID_FFV1, |
---|
3065 | CODEC_ID_4XM, |
---|
3066 | CODEC_ID_VCR1, |
---|
3067 | CODEC_ID_CLJR, |
---|
3068 | CODEC_ID_MDEC, |
---|
3069 | CODEC_ID_ROQ, |
---|
3070 | CODEC_ID_INTERPLAY_VIDEO, |
---|
3071 | CODEC_ID_XAN_WC3, |
---|
3072 | CODEC_ID_XAN_WC4, |
---|
3073 | CODEC_ID_RPZA, |
---|
3074 | CODEC_ID_CINEPAK, |
---|
3075 | CODEC_ID_WS_VQA, |
---|
3076 | CODEC_ID_MSRLE, |
---|
3077 | CODEC_ID_MSVIDEO1, |
---|
3078 | CODEC_ID_IDCIN, |
---|
3079 | CODEC_ID_8BPS, |
---|
3080 | CODEC_ID_SMC, |
---|
3081 | CODEC_ID_FLIC, |
---|
3082 | CODEC_ID_TRUEMOTION1, |
---|
3083 | CODEC_ID_VMDVIDEO, |
---|
3084 | CODEC_ID_MSZH, |
---|
3085 | CODEC_ID_ZLIB, |
---|
3086 | CODEC_ID_QTRLE, |
---|
3087 | CODEC_ID_SNOW, |
---|
3088 | CODEC_ID_TSCC, |
---|
3089 | CODEC_ID_ULTI, |
---|
3090 | CODEC_ID_QDRAW, |
---|
3091 | CODEC_ID_VIXL, |
---|
3092 | CODEC_ID_QPEG, |
---|
3093 | |
---|
3094 | CODEC_ID_XVID, |
---|
3095 | |
---|
3096 | CODEC_ID_PNG, |
---|
3097 | CODEC_ID_PPM, |
---|
3098 | CODEC_ID_PBM, |
---|
3099 | CODEC_ID_PGM, |
---|
3100 | CODEC_ID_PGMYUV, |
---|
3101 | CODEC_ID_PAM, |
---|
3102 | CODEC_ID_FFVHUFF, |
---|
3103 | CODEC_ID_RV30, |
---|
3104 | CODEC_ID_RV40, |
---|
3105 | CODEC_ID_VC1, |
---|
3106 | CODEC_ID_WMV3, |
---|
3107 | CODEC_ID_LOCO, |
---|
3108 | CODEC_ID_WNV1, |
---|
3109 | CODEC_ID_AASC, |
---|
3110 | CODEC_ID_INDEO2, |
---|
3111 | CODEC_ID_FRAPS, |
---|
3112 | CODEC_ID_TRUEMOTION2, |
---|
3113 | CODEC_ID_BMP, |
---|
3114 | CODEC_ID_CSCD, |
---|
3115 | CODEC_ID_MMVIDEO, |
---|
3116 | CODEC_ID_ZMBV, |
---|
3117 | CODEC_ID_AVS, |
---|
3118 | CODEC_ID_SMACKVIDEO, |
---|
3119 | CODEC_ID_NUV, |
---|
3120 | CODEC_ID_KMVC, |
---|
3121 | CODEC_ID_FLASHSV, |
---|
3122 | CODEC_ID_CAVS, |
---|
3123 | CODEC_ID_JPEG2000, |
---|
3124 | CODEC_ID_VMNC, |
---|
3125 | CODEC_ID_VP5, |
---|
3126 | CODEC_ID_VP6, |
---|
3127 | CODEC_ID_VP6F, |
---|
3128 | CODEC_ID_TARGA, |
---|
3129 | CODEC_ID_DSICINVIDEO, |
---|
3130 | CODEC_ID_TIERTEXSEQVIDEO, |
---|
3131 | CODEC_ID_TIFF, |
---|
3132 | CODEC_ID_GIF, |
---|
3133 | CODEC_ID_FFH264, |
---|
3134 | CODEC_ID_DXA, |
---|
3135 | CODEC_ID_DNXHD, |
---|
3136 | CODEC_ID_THP, |
---|
3137 | CODEC_ID_SGI, |
---|
3138 | CODEC_ID_C93, |
---|
3139 | CODEC_ID_BETHSOFTVID, |
---|
3140 | CODEC_ID_PTX, |
---|
3141 | CODEC_ID_TXD, |
---|
3142 | CODEC_ID_VP6A, |
---|
3143 | CODEC_ID_AMV, |
---|
3144 | CODEC_ID_VB, |
---|
3145 | CODEC_ID_PCX, |
---|
3146 | CODEC_ID_SUNRAST, |
---|
3147 | CODEC_ID_INDEO4, |
---|
3148 | CODEC_ID_INDEO5, |
---|
3149 | CODEC_ID_MIMIC, |
---|
3150 | CODEC_ID_RL2, |
---|
3151 | CODEC_ID_8SVX_EXP, |
---|
3152 | CODEC_ID_8SVX_FIB, |
---|
3153 | CODEC_ID_ESCAPE124, |
---|
3154 | CODEC_ID_DIRAC, |
---|
3155 | CODEC_ID_BFI, |
---|
3156 | CODEC_ID_CMV, |
---|
3157 | CODEC_ID_MOTIONPIXELS, |
---|
3158 | CODEC_ID_TGV, |
---|
3159 | CODEC_ID_TGQ, |
---|
3160 | CODEC_ID_TQI, |
---|
3161 | CODEC_ID_AURA, |
---|
3162 | CODEC_ID_AURA2, |
---|
3163 | CODEC_ID_V210X, |
---|
3164 | CODEC_ID_TMV, |
---|
3165 | CODEC_ID_V210, |
---|
3166 | CODEC_ID_DPX, |
---|
3167 | CODEC_ID_MAD, |
---|
3168 | CODEC_ID_FRWU, |
---|
3169 | CODEC_ID_FLASHSV2, |
---|
3170 | CODEC_ID_CDGRAPHICS, |
---|
3171 | CODEC_ID_R210, |
---|
3172 | CODEC_ID_ANM, |
---|
3173 | CODEC_ID_BINKVIDEO, |
---|
3174 | CODEC_ID_IFF_ILBM, |
---|
3175 | CODEC_ID_IFF_BYTERUN1, |
---|
3176 | CODEC_ID_KGV1, |
---|
3177 | CODEC_ID_YOP, |
---|
3178 | CODEC_ID_VP8, |
---|
3179 | CODEC_ID_PICTOR, |
---|
3180 | CODEC_ID_ANSI, |
---|
3181 | CODEC_ID_A64_MULTI, |
---|
3182 | CODEC_ID_A64_MULTI5, |
---|
3183 | CODEC_ID_R10K, |
---|
3184 | CODEC_ID_MXPEG, |
---|
3185 | CODEC_ID_LAGARITH, |
---|
3186 | CODEC_ID_PRORES, |
---|
3187 | CODEC_ID_JV, |
---|
3188 | CODEC_ID_DFA, |
---|
3189 | CODEC_ID_8SVX_RAW, |
---|
3190 | |
---|
3191 | |
---|
3192 | CODEC_ID_PCM_S16LE= 0x10000, |
---|
3193 | CODEC_ID_PCM_S16BE, |
---|
3194 | CODEC_ID_PCM_U16LE, |
---|
3195 | CODEC_ID_PCM_U16BE, |
---|
3196 | CODEC_ID_PCM_S8, |
---|
3197 | CODEC_ID_PCM_U8, |
---|
3198 | CODEC_ID_PCM_MULAW, |
---|
3199 | CODEC_ID_PCM_ALAW, |
---|
3200 | CODEC_ID_PCM_S32LE, |
---|
3201 | CODEC_ID_PCM_S32BE, |
---|
3202 | CODEC_ID_PCM_U32LE, |
---|
3203 | CODEC_ID_PCM_U32BE, |
---|
3204 | CODEC_ID_PCM_S24LE, |
---|
3205 | CODEC_ID_PCM_S24BE, |
---|
3206 | CODEC_ID_PCM_U24LE, |
---|
3207 | CODEC_ID_PCM_U24BE, |
---|
3208 | CODEC_ID_PCM_S24DAUD, |
---|
3209 | CODEC_ID_PCM_ZORK, |
---|
3210 | CODEC_ID_PCM_S16LE_PLANAR, |
---|
3211 | CODEC_ID_PCM_DVD, |
---|
3212 | CODEC_ID_PCM_F32BE, |
---|
3213 | CODEC_ID_PCM_F32LE, |
---|
3214 | CODEC_ID_PCM_F64BE, |
---|
3215 | CODEC_ID_PCM_F64LE, |
---|
3216 | CODEC_ID_PCM_BLURAY, |
---|
3217 | CODEC_ID_PCM_LXF, |
---|
3218 | CODEC_ID_S302M, |
---|
3219 | |
---|
3220 | |
---|
3221 | CODEC_ID_ADPCM_IMA_QT= 0x11000, |
---|
3222 | CODEC_ID_ADPCM_IMA_WAV, |
---|
3223 | CODEC_ID_ADPCM_IMA_DK3, |
---|
3224 | CODEC_ID_ADPCM_IMA_DK4, |
---|
3225 | CODEC_ID_ADPCM_IMA_WS, |
---|
3226 | CODEC_ID_ADPCM_IMA_SMJPEG, |
---|
3227 | CODEC_ID_ADPCM_MS, |
---|
3228 | CODEC_ID_ADPCM_4XM, |
---|
3229 | CODEC_ID_ADPCM_XA, |
---|
3230 | CODEC_ID_ADPCM_ADX, |
---|
3231 | CODEC_ID_ADPCM_EA, |
---|
3232 | CODEC_ID_ADPCM_G726, |
---|
3233 | CODEC_ID_ADPCM_CT, |
---|
3234 | CODEC_ID_ADPCM_SWF, |
---|
3235 | CODEC_ID_ADPCM_YAMAHA, |
---|
3236 | CODEC_ID_ADPCM_SBPRO_4, |
---|
3237 | CODEC_ID_ADPCM_SBPRO_3, |
---|
3238 | CODEC_ID_ADPCM_SBPRO_2, |
---|
3239 | CODEC_ID_ADPCM_THP, |
---|
3240 | CODEC_ID_ADPCM_IMA_AMV, |
---|
3241 | CODEC_ID_ADPCM_EA_R1, |
---|
3242 | CODEC_ID_ADPCM_EA_R3, |
---|
3243 | CODEC_ID_ADPCM_EA_R2, |
---|
3244 | CODEC_ID_ADPCM_IMA_EA_SEAD, |
---|
3245 | CODEC_ID_ADPCM_IMA_EA_EACS, |
---|
3246 | CODEC_ID_ADPCM_EA_XAS, |
---|
3247 | CODEC_ID_ADPCM_EA_MAXIS_XA, |
---|
3248 | CODEC_ID_ADPCM_IMA_ISS, |
---|
3249 | CODEC_ID_ADPCM_G722, |
---|
3250 | |
---|
3251 | |
---|
3252 | CODEC_ID_AMR_NB= 0x12000, |
---|
3253 | CODEC_ID_AMR_WB, |
---|
3254 | |
---|
3255 | |
---|
3256 | CODEC_ID_RA_144= 0x13000, |
---|
3257 | CODEC_ID_RA_288, |
---|
3258 | |
---|
3259 | |
---|
3260 | CODEC_ID_ROQ_DPCM= 0x14000, |
---|
3261 | CODEC_ID_INTERPLAY_DPCM, |
---|
3262 | CODEC_ID_XAN_DPCM, |
---|
3263 | CODEC_ID_SOL_DPCM, |
---|
3264 | |
---|
3265 | |
---|
3266 | CODEC_ID_MP2= 0x15000, |
---|
3267 | CODEC_ID_MP3, |
---|
3268 | CODEC_ID_AAC, |
---|
3269 | CODEC_ID_AC3, |
---|
3270 | CODEC_ID_DTS, |
---|
3271 | CODEC_ID_VORBIS, |
---|
3272 | CODEC_ID_DVAUDIO, |
---|
3273 | CODEC_ID_WMAV1, |
---|
3274 | CODEC_ID_WMAV2, |
---|
3275 | CODEC_ID_MACE3, |
---|
3276 | CODEC_ID_MACE6, |
---|
3277 | CODEC_ID_VMDAUDIO, |
---|
3278 | CODEC_ID_SONIC, |
---|
3279 | CODEC_ID_SONIC_LS, |
---|
3280 | CODEC_ID_FLAC, |
---|
3281 | CODEC_ID_MP3ADU, |
---|
3282 | CODEC_ID_MP3ON4, |
---|
3283 | CODEC_ID_SHORTEN, |
---|
3284 | CODEC_ID_ALAC, |
---|
3285 | CODEC_ID_WESTWOOD_SND1, |
---|
3286 | CODEC_ID_GSM, |
---|
3287 | CODEC_ID_QDM2, |
---|
3288 | CODEC_ID_COOK, |
---|
3289 | CODEC_ID_TRUESPEECH, |
---|
3290 | CODEC_ID_TTA, |
---|
3291 | CODEC_ID_SMACKAUDIO, |
---|
3292 | CODEC_ID_QCELP, |
---|
3293 | CODEC_ID_WAVPACK, |
---|
3294 | CODEC_ID_DSICINAUDIO, |
---|
3295 | CODEC_ID_IMC, |
---|
3296 | CODEC_ID_MUSEPACK7, |
---|
3297 | CODEC_ID_MLP, |
---|
3298 | CODEC_ID_GSM_MS, |
---|
3299 | CODEC_ID_ATRAC3, |
---|
3300 | CODEC_ID_VOXWARE, |
---|
3301 | CODEC_ID_APE, |
---|
3302 | CODEC_ID_NELLYMOSER, |
---|
3303 | CODEC_ID_MUSEPACK8, |
---|
3304 | CODEC_ID_SPEEX, |
---|
3305 | CODEC_ID_WMAVOICE, |
---|
3306 | CODEC_ID_WMAPRO, |
---|
3307 | CODEC_ID_WMALOSSLESS, |
---|
3308 | CODEC_ID_ATRAC3P, |
---|
3309 | CODEC_ID_EAC3, |
---|
3310 | CODEC_ID_SIPR, |
---|
3311 | CODEC_ID_MP1, |
---|
3312 | CODEC_ID_TWINVQ, |
---|
3313 | CODEC_ID_TRUEHD, |
---|
3314 | CODEC_ID_MP4ALS, |
---|
3315 | CODEC_ID_ATRAC1, |
---|
3316 | CODEC_ID_BINKAUDIO_RDFT, |
---|
3317 | CODEC_ID_BINKAUDIO_DCT, |
---|
3318 | CODEC_ID_AAC_LATM, |
---|
3319 | CODEC_ID_QDMC, |
---|
3320 | CODEC_ID_CELT, |
---|
3321 | |
---|
3322 | |
---|
3323 | CODEC_ID_DVD_SUBTITLE= 0x17000, |
---|
3324 | CODEC_ID_DVB_SUBTITLE, |
---|
3325 | CODEC_ID_TEXT, |
---|
3326 | CODEC_ID_XSUB, |
---|
3327 | CODEC_ID_SSA, |
---|
3328 | CODEC_ID_MOV_TEXT, |
---|
3329 | CODEC_ID_HDMV_PGS_SUBTITLE, |
---|
3330 | CODEC_ID_DVB_TELETEXT, |
---|
3331 | CODEC_ID_SRT, |
---|
3332 | CODEC_ID_MICRODVD, |
---|
3333 | |
---|
3334 | |
---|
3335 | CODEC_ID_TTF= 0x18000, |
---|
3336 | |
---|
3337 | CODEC_ID_PROBE= 0x19000, |
---|
3338 | |
---|
3339 | CODEC_ID_MPEG2TS= 0x20000, |
---|
3340 | |
---|
3341 | CODEC_ID_FFMETADATA=0x21000, |
---|
3342 | }; |
---|
3343 | # 397 "libavcodec/avcodec.h" |
---|
3344 | # 1 "./libavutil/audioconvert.h" 1 |
---|
3345 | # 79 "./libavutil/audioconvert.h" |
---|
3346 | int64_t av_get_channel_layout(const char *name); |
---|
3347 | # 88 "./libavutil/audioconvert.h" |
---|
3348 | void av_get_channel_layout_string(char *buf, int buf_size, int nb_channels, int64_t channel_layout); |
---|
3349 | |
---|
3350 | |
---|
3351 | |
---|
3352 | |
---|
3353 | int av_get_channel_layout_nb_channels(int64_t channel_layout); |
---|
3354 | # 398 "libavcodec/avcodec.h" 2 |
---|
3355 | # 466 "libavcodec/avcodec.h" |
---|
3356 | enum Motion_Est_ID { |
---|
3357 | ME_ZERO = 1, |
---|
3358 | ME_FULL, |
---|
3359 | ME_LOG, |
---|
3360 | ME_PHODS, |
---|
3361 | ME_EPZS, |
---|
3362 | ME_X1, |
---|
3363 | ME_HEX, |
---|
3364 | ME_UMH, |
---|
3365 | ME_ITER, |
---|
3366 | ME_TESA, |
---|
3367 | }; |
---|
3368 | |
---|
3369 | enum AVDiscard{ |
---|
3370 | |
---|
3371 | |
---|
3372 | AVDISCARD_NONE =-16, |
---|
3373 | AVDISCARD_DEFAULT= 0, |
---|
3374 | AVDISCARD_NONREF = 8, |
---|
3375 | AVDISCARD_BIDIR = 16, |
---|
3376 | AVDISCARD_NONKEY = 32, |
---|
3377 | AVDISCARD_ALL = 48, |
---|
3378 | }; |
---|
3379 | |
---|
3380 | enum AVColorPrimaries{ |
---|
3381 | AVCOL_PRI_BT709 =1, |
---|
3382 | AVCOL_PRI_UNSPECIFIED=2, |
---|
3383 | AVCOL_PRI_BT470M =4, |
---|
3384 | AVCOL_PRI_BT470BG =5, |
---|
3385 | AVCOL_PRI_SMPTE170M =6, |
---|
3386 | AVCOL_PRI_SMPTE240M =7, |
---|
3387 | AVCOL_PRI_FILM =8, |
---|
3388 | AVCOL_PRI_NB , |
---|
3389 | }; |
---|
3390 | |
---|
3391 | enum AVColorTransferCharacteristic{ |
---|
3392 | AVCOL_TRC_BT709 =1, |
---|
3393 | AVCOL_TRC_UNSPECIFIED=2, |
---|
3394 | AVCOL_TRC_GAMMA22 =4, |
---|
3395 | AVCOL_TRC_GAMMA28 =5, |
---|
3396 | AVCOL_TRC_NB , |
---|
3397 | }; |
---|
3398 | |
---|
3399 | enum AVColorSpace{ |
---|
3400 | AVCOL_SPC_RGB =0, |
---|
3401 | AVCOL_SPC_BT709 =1, |
---|
3402 | AVCOL_SPC_UNSPECIFIED=2, |
---|
3403 | AVCOL_SPC_FCC =4, |
---|
3404 | AVCOL_SPC_BT470BG =5, |
---|
3405 | AVCOL_SPC_SMPTE170M =6, |
---|
3406 | AVCOL_SPC_SMPTE240M =7, |
---|
3407 | AVCOL_SPC_NB , |
---|
3408 | }; |
---|
3409 | |
---|
3410 | enum AVColorRange{ |
---|
3411 | AVCOL_RANGE_UNSPECIFIED=0, |
---|
3412 | AVCOL_RANGE_MPEG =1, |
---|
3413 | AVCOL_RANGE_JPEG =2, |
---|
3414 | AVCOL_RANGE_NB , |
---|
3415 | }; |
---|
3416 | |
---|
3417 | |
---|
3418 | |
---|
3419 | |
---|
3420 | |
---|
3421 | |
---|
3422 | enum AVChromaLocation{ |
---|
3423 | AVCHROMA_LOC_UNSPECIFIED=0, |
---|
3424 | AVCHROMA_LOC_LEFT =1, |
---|
3425 | AVCHROMA_LOC_CENTER =2, |
---|
3426 | AVCHROMA_LOC_TOPLEFT =3, |
---|
3427 | AVCHROMA_LOC_TOP =4, |
---|
3428 | AVCHROMA_LOC_BOTTOMLEFT =5, |
---|
3429 | AVCHROMA_LOC_BOTTOM =6, |
---|
3430 | AVCHROMA_LOC_NB , |
---|
3431 | }; |
---|
3432 | |
---|
3433 | |
---|
3434 | |
---|
3435 | |
---|
3436 | |
---|
3437 | __attribute__((deprecated)) enum AVLPCType { |
---|
3438 | AV_LPC_TYPE_DEFAULT = -1, |
---|
3439 | AV_LPC_TYPE_NONE = 0, |
---|
3440 | AV_LPC_TYPE_FIXED = 1, |
---|
3441 | AV_LPC_TYPE_LEVINSON = 2, |
---|
3442 | AV_LPC_TYPE_CHOLESKY = 3, |
---|
3443 | AV_LPC_TYPE_NB , |
---|
3444 | }; |
---|
3445 | |
---|
3446 | |
---|
3447 | enum AVAudioServiceType { |
---|
3448 | AV_AUDIO_SERVICE_TYPE_MAIN = 0, |
---|
3449 | AV_AUDIO_SERVICE_TYPE_EFFECTS = 1, |
---|
3450 | AV_AUDIO_SERVICE_TYPE_VISUALLY_IMPAIRED = 2, |
---|
3451 | AV_AUDIO_SERVICE_TYPE_HEARING_IMPAIRED = 3, |
---|
3452 | AV_AUDIO_SERVICE_TYPE_DIALOGUE = 4, |
---|
3453 | AV_AUDIO_SERVICE_TYPE_COMMENTARY = 5, |
---|
3454 | AV_AUDIO_SERVICE_TYPE_EMERGENCY = 6, |
---|
3455 | AV_AUDIO_SERVICE_TYPE_VOICE_OVER = 7, |
---|
3456 | AV_AUDIO_SERVICE_TYPE_KARAOKE = 8, |
---|
3457 | AV_AUDIO_SERVICE_TYPE_NB , |
---|
3458 | }; |
---|
3459 | |
---|
3460 | typedef struct RcOverride{ |
---|
3461 | int start_frame; |
---|
3462 | int end_frame; |
---|
3463 | int qscale; |
---|
3464 | float quality_factor; |
---|
3465 | } RcOverride; |
---|
3466 | # 747 "libavcodec/avcodec.h" |
---|
3467 | typedef struct AVPanScan{ |
---|
3468 | |
---|
3469 | |
---|
3470 | |
---|
3471 | |
---|
3472 | |
---|
3473 | int id; |
---|
3474 | |
---|
3475 | |
---|
3476 | |
---|
3477 | |
---|
3478 | |
---|
3479 | |
---|
3480 | int width; |
---|
3481 | int height; |
---|
3482 | |
---|
3483 | |
---|
3484 | |
---|
3485 | |
---|
3486 | |
---|
3487 | |
---|
3488 | int16_t position[3][2]; |
---|
3489 | }AVPanScan; |
---|
3490 | # 1095 "libavcodec/avcodec.h" |
---|
3491 | typedef struct AVPacket { |
---|
3492 | # 1105 "libavcodec/avcodec.h" |
---|
3493 | int64_t pts; |
---|
3494 | |
---|
3495 | |
---|
3496 | |
---|
3497 | |
---|
3498 | |
---|
3499 | int64_t dts; |
---|
3500 | uint8_t *data; |
---|
3501 | int size; |
---|
3502 | int stream_index; |
---|
3503 | int flags; |
---|
3504 | |
---|
3505 | |
---|
3506 | |
---|
3507 | |
---|
3508 | int duration; |
---|
3509 | void (*destruct)(struct AVPacket *); |
---|
3510 | void *priv; |
---|
3511 | int64_t pos; |
---|
3512 | # 1142 "libavcodec/avcodec.h" |
---|
3513 | int64_t convergence_duration; |
---|
3514 | } AVPacket; |
---|
3515 | # 1158 "libavcodec/avcodec.h" |
---|
3516 | typedef struct AVFrame { |
---|
3517 | uint8_t *data[4]; int linesize[4]; uint8_t *base[4]; int key_frame; enum AVPictureType pict_type; int64_t pts; int coded_picture_number; int display_picture_number; int quality; int age; int reference; int8_t *qscale_table; int qstride; uint8_t *mbskip_table; int16_t (*motion_val[2])[2]; uint32_t *mb_type; uint8_t motion_subsample_log2; void *opaque; uint64_t error[4]; int type; int repeat_pict; int qscale_type; int interlaced_frame; int top_field_first; AVPanScan *pan_scan; int palette_has_changed; int buffer_hints; short *dct_coeff; int8_t *ref_index[2]; int64_t reordered_opaque; void *hwaccel_picture_private; int64_t pkt_pts; int64_t pkt_dts; struct AVCodecContext *owner; void *thread_opaque; int64_t best_effort_timestamp; int64_t pkt_pos; AVRational sample_aspect_ratio; int width, height; int format; |
---|
3518 | } AVFrame; |
---|
3519 | # 1169 "libavcodec/avcodec.h" |
---|
3520 | typedef struct AVCodecContext { |
---|
3521 | |
---|
3522 | |
---|
3523 | |
---|
3524 | |
---|
3525 | const AVClass *av_class; |
---|
3526 | |
---|
3527 | |
---|
3528 | |
---|
3529 | |
---|
3530 | |
---|
3531 | int bit_rate; |
---|
3532 | |
---|
3533 | |
---|
3534 | |
---|
3535 | |
---|
3536 | |
---|
3537 | |
---|
3538 | |
---|
3539 | int bit_rate_tolerance; |
---|
3540 | |
---|
3541 | |
---|
3542 | |
---|
3543 | |
---|
3544 | |
---|
3545 | |
---|
3546 | int flags; |
---|
3547 | # 1205 "libavcodec/avcodec.h" |
---|
3548 | int sub_id; |
---|
3549 | # 1214 "libavcodec/avcodec.h" |
---|
3550 | int me_method; |
---|
3551 | # 1227 "libavcodec/avcodec.h" |
---|
3552 | uint8_t *extradata; |
---|
3553 | int extradata_size; |
---|
3554 | # 1238 "libavcodec/avcodec.h" |
---|
3555 | AVRational time_base; |
---|
3556 | # 1248 "libavcodec/avcodec.h" |
---|
3557 | int width, height; |
---|
3558 | # 1257 "libavcodec/avcodec.h" |
---|
3559 | int gop_size; |
---|
3560 | # 1266 "libavcodec/avcodec.h" |
---|
3561 | enum PixelFormat pix_fmt; |
---|
3562 | # 1275 "libavcodec/avcodec.h" |
---|
3563 | __attribute__((deprecated)) int rate_emu; |
---|
3564 | # 1301 "libavcodec/avcodec.h" |
---|
3565 | void (*draw_horiz_band)(struct AVCodecContext *s, |
---|
3566 | const AVFrame *src, int offset[4], |
---|
3567 | int y, int type, int height); |
---|
3568 | |
---|
3569 | |
---|
3570 | int sample_rate; |
---|
3571 | int channels; |
---|
3572 | |
---|
3573 | |
---|
3574 | |
---|
3575 | |
---|
3576 | |
---|
3577 | |
---|
3578 | enum AVSampleFormat sample_fmt; |
---|
3579 | |
---|
3580 | |
---|
3581 | |
---|
3582 | |
---|
3583 | |
---|
3584 | int frame_size; |
---|
3585 | int frame_number; |
---|
3586 | |
---|
3587 | int real_pict_num; |
---|
3588 | # 1332 "libavcodec/avcodec.h" |
---|
3589 | int delay; |
---|
3590 | |
---|
3591 | |
---|
3592 | float qcompress; |
---|
3593 | float qblur; |
---|
3594 | |
---|
3595 | |
---|
3596 | |
---|
3597 | |
---|
3598 | |
---|
3599 | |
---|
3600 | int qmin; |
---|
3601 | |
---|
3602 | |
---|
3603 | |
---|
3604 | |
---|
3605 | |
---|
3606 | |
---|
3607 | int qmax; |
---|
3608 | |
---|
3609 | |
---|
3610 | |
---|
3611 | |
---|
3612 | |
---|
3613 | |
---|
3614 | int max_qdiff; |
---|
3615 | |
---|
3616 | |
---|
3617 | |
---|
3618 | |
---|
3619 | |
---|
3620 | |
---|
3621 | |
---|
3622 | int max_b_frames; |
---|
3623 | # 1374 "libavcodec/avcodec.h" |
---|
3624 | float b_quant_factor; |
---|
3625 | |
---|
3626 | |
---|
3627 | int rc_strategy; |
---|
3628 | |
---|
3629 | |
---|
3630 | int b_frame_strategy; |
---|
3631 | # 1389 "libavcodec/avcodec.h" |
---|
3632 | __attribute__((deprecated)) int hurry_up; |
---|
3633 | |
---|
3634 | |
---|
3635 | struct AVCodec *codec; |
---|
3636 | |
---|
3637 | void *priv_data; |
---|
3638 | |
---|
3639 | int rtp_payload_size; |
---|
3640 | # 1410 "libavcodec/avcodec.h" |
---|
3641 | void (*rtp_callback)(struct AVCodecContext *avctx, void *data, int size, int mb_nb); |
---|
3642 | |
---|
3643 | |
---|
3644 | int mv_bits; |
---|
3645 | int header_bits; |
---|
3646 | int i_tex_bits; |
---|
3647 | int p_tex_bits; |
---|
3648 | int i_count; |
---|
3649 | int p_count; |
---|
3650 | int skip_count; |
---|
3651 | int misc_bits; |
---|
3652 | |
---|
3653 | |
---|
3654 | |
---|
3655 | |
---|
3656 | |
---|
3657 | |
---|
3658 | int frame_bits; |
---|
3659 | |
---|
3660 | |
---|
3661 | |
---|
3662 | |
---|
3663 | |
---|
3664 | |
---|
3665 | void *opaque; |
---|
3666 | |
---|
3667 | char codec_name[32]; |
---|
3668 | enum AVMediaType codec_type; |
---|
3669 | enum CodecID codec_id; |
---|
3670 | # 1453 "libavcodec/avcodec.h" |
---|
3671 | unsigned int codec_tag; |
---|
3672 | |
---|
3673 | |
---|
3674 | |
---|
3675 | |
---|
3676 | |
---|
3677 | |
---|
3678 | int workaround_bugs; |
---|
3679 | # 1484 "libavcodec/avcodec.h" |
---|
3680 | int luma_elim_threshold; |
---|
3681 | |
---|
3682 | |
---|
3683 | |
---|
3684 | |
---|
3685 | |
---|
3686 | |
---|
3687 | int chroma_elim_threshold; |
---|
3688 | # 1505 "libavcodec/avcodec.h" |
---|
3689 | int strict_std_compliance; |
---|
3690 | # 1520 "libavcodec/avcodec.h" |
---|
3691 | float b_quant_offset; |
---|
3692 | |
---|
3693 | |
---|
3694 | |
---|
3695 | |
---|
3696 | |
---|
3697 | |
---|
3698 | |
---|
3699 | int error_recognition; |
---|
3700 | # 1548 "libavcodec/avcodec.h" |
---|
3701 | int (*get_buffer)(struct AVCodecContext *c, AVFrame *pic); |
---|
3702 | # 1559 "libavcodec/avcodec.h" |
---|
3703 | void (*release_buffer)(struct AVCodecContext *c, AVFrame *pic); |
---|
3704 | |
---|
3705 | |
---|
3706 | |
---|
3707 | |
---|
3708 | |
---|
3709 | |
---|
3710 | |
---|
3711 | int has_b_frames; |
---|
3712 | |
---|
3713 | |
---|
3714 | |
---|
3715 | |
---|
3716 | |
---|
3717 | int block_align; |
---|
3718 | |
---|
3719 | int parse_only; |
---|
3720 | # 1584 "libavcodec/avcodec.h" |
---|
3721 | int mpeg_quant; |
---|
3722 | |
---|
3723 | |
---|
3724 | |
---|
3725 | |
---|
3726 | |
---|
3727 | |
---|
3728 | char *stats_out; |
---|
3729 | |
---|
3730 | |
---|
3731 | |
---|
3732 | |
---|
3733 | |
---|
3734 | |
---|
3735 | |
---|
3736 | char *stats_in; |
---|
3737 | |
---|
3738 | |
---|
3739 | |
---|
3740 | |
---|
3741 | |
---|
3742 | |
---|
3743 | |
---|
3744 | float rc_qsquish; |
---|
3745 | |
---|
3746 | float rc_qmod_amp; |
---|
3747 | int rc_qmod_freq; |
---|
3748 | |
---|
3749 | |
---|
3750 | |
---|
3751 | |
---|
3752 | |
---|
3753 | |
---|
3754 | RcOverride *rc_override; |
---|
3755 | int rc_override_count; |
---|
3756 | |
---|
3757 | |
---|
3758 | |
---|
3759 | |
---|
3760 | |
---|
3761 | |
---|
3762 | const char *rc_eq; |
---|
3763 | |
---|
3764 | |
---|
3765 | |
---|
3766 | |
---|
3767 | |
---|
3768 | |
---|
3769 | int rc_max_rate; |
---|
3770 | |
---|
3771 | |
---|
3772 | |
---|
3773 | |
---|
3774 | |
---|
3775 | |
---|
3776 | int rc_min_rate; |
---|
3777 | |
---|
3778 | |
---|
3779 | |
---|
3780 | |
---|
3781 | |
---|
3782 | |
---|
3783 | int rc_buffer_size; |
---|
3784 | float rc_buffer_aggressivity; |
---|
3785 | # 1656 "libavcodec/avcodec.h" |
---|
3786 | float i_quant_factor; |
---|
3787 | |
---|
3788 | |
---|
3789 | |
---|
3790 | |
---|
3791 | |
---|
3792 | |
---|
3793 | float i_quant_offset; |
---|
3794 | |
---|
3795 | |
---|
3796 | |
---|
3797 | |
---|
3798 | |
---|
3799 | |
---|
3800 | float rc_initial_cplx; |
---|
3801 | |
---|
3802 | |
---|
3803 | |
---|
3804 | |
---|
3805 | |
---|
3806 | |
---|
3807 | int dct_algo; |
---|
3808 | # 1691 "libavcodec/avcodec.h" |
---|
3809 | float lumi_masking; |
---|
3810 | |
---|
3811 | |
---|
3812 | |
---|
3813 | |
---|
3814 | |
---|
3815 | |
---|
3816 | float temporal_cplx_masking; |
---|
3817 | |
---|
3818 | |
---|
3819 | |
---|
3820 | |
---|
3821 | |
---|
3822 | |
---|
3823 | float spatial_cplx_masking; |
---|
3824 | |
---|
3825 | |
---|
3826 | |
---|
3827 | |
---|
3828 | |
---|
3829 | |
---|
3830 | float p_masking; |
---|
3831 | |
---|
3832 | |
---|
3833 | |
---|
3834 | |
---|
3835 | |
---|
3836 | |
---|
3837 | float dark_masking; |
---|
3838 | |
---|
3839 | |
---|
3840 | |
---|
3841 | |
---|
3842 | |
---|
3843 | |
---|
3844 | int idct_algo; |
---|
3845 | # 1758 "libavcodec/avcodec.h" |
---|
3846 | int slice_count; |
---|
3847 | |
---|
3848 | |
---|
3849 | |
---|
3850 | |
---|
3851 | |
---|
3852 | int *slice_offset; |
---|
3853 | |
---|
3854 | |
---|
3855 | |
---|
3856 | |
---|
3857 | |
---|
3858 | |
---|
3859 | int error_concealment; |
---|
3860 | # 1783 "libavcodec/avcodec.h" |
---|
3861 | unsigned dsp_mask; |
---|
3862 | # 1809 "libavcodec/avcodec.h" |
---|
3863 | int bits_per_coded_sample; |
---|
3864 | |
---|
3865 | |
---|
3866 | |
---|
3867 | |
---|
3868 | |
---|
3869 | |
---|
3870 | int prediction_method; |
---|
3871 | # 1828 "libavcodec/avcodec.h" |
---|
3872 | AVRational sample_aspect_ratio; |
---|
3873 | |
---|
3874 | |
---|
3875 | |
---|
3876 | |
---|
3877 | |
---|
3878 | |
---|
3879 | AVFrame *coded_frame; |
---|
3880 | |
---|
3881 | |
---|
3882 | |
---|
3883 | |
---|
3884 | |
---|
3885 | |
---|
3886 | int debug; |
---|
3887 | # 1866 "libavcodec/avcodec.h" |
---|
3888 | int debug_mv; |
---|
3889 | # 1876 "libavcodec/avcodec.h" |
---|
3890 | uint64_t error[4]; |
---|
3891 | |
---|
3892 | |
---|
3893 | |
---|
3894 | |
---|
3895 | |
---|
3896 | |
---|
3897 | |
---|
3898 | __attribute__((deprecated)) int mb_qmin; |
---|
3899 | |
---|
3900 | |
---|
3901 | |
---|
3902 | |
---|
3903 | |
---|
3904 | |
---|
3905 | __attribute__((deprecated)) int mb_qmax; |
---|
3906 | |
---|
3907 | |
---|
3908 | |
---|
3909 | |
---|
3910 | |
---|
3911 | |
---|
3912 | |
---|
3913 | int me_cmp; |
---|
3914 | |
---|
3915 | |
---|
3916 | |
---|
3917 | |
---|
3918 | |
---|
3919 | int me_sub_cmp; |
---|
3920 | |
---|
3921 | |
---|
3922 | |
---|
3923 | |
---|
3924 | |
---|
3925 | int mb_cmp; |
---|
3926 | |
---|
3927 | |
---|
3928 | |
---|
3929 | |
---|
3930 | |
---|
3931 | int ildct_cmp; |
---|
3932 | # 1940 "libavcodec/avcodec.h" |
---|
3933 | int dia_size; |
---|
3934 | |
---|
3935 | |
---|
3936 | |
---|
3937 | |
---|
3938 | |
---|
3939 | |
---|
3940 | int last_predictor_count; |
---|
3941 | |
---|
3942 | |
---|
3943 | |
---|
3944 | |
---|
3945 | |
---|
3946 | |
---|
3947 | int pre_me; |
---|
3948 | |
---|
3949 | |
---|
3950 | |
---|
3951 | |
---|
3952 | |
---|
3953 | |
---|
3954 | int me_pre_cmp; |
---|
3955 | |
---|
3956 | |
---|
3957 | |
---|
3958 | |
---|
3959 | |
---|
3960 | |
---|
3961 | int pre_dia_size; |
---|
3962 | |
---|
3963 | |
---|
3964 | |
---|
3965 | |
---|
3966 | |
---|
3967 | |
---|
3968 | int me_subpel_quality; |
---|
3969 | # 1986 "libavcodec/avcodec.h" |
---|
3970 | enum PixelFormat (*get_format)(struct AVCodecContext *s, const enum PixelFormat * fmt); |
---|
3971 | # 1996 "libavcodec/avcodec.h" |
---|
3972 | int dtg_active_format; |
---|
3973 | # 2012 "libavcodec/avcodec.h" |
---|
3974 | int me_range; |
---|
3975 | |
---|
3976 | |
---|
3977 | |
---|
3978 | |
---|
3979 | |
---|
3980 | |
---|
3981 | int intra_quant_bias; |
---|
3982 | |
---|
3983 | |
---|
3984 | |
---|
3985 | |
---|
3986 | |
---|
3987 | |
---|
3988 | |
---|
3989 | int inter_quant_bias; |
---|
3990 | |
---|
3991 | |
---|
3992 | |
---|
3993 | |
---|
3994 | |
---|
3995 | |
---|
3996 | |
---|
3997 | int color_table_id; |
---|
3998 | |
---|
3999 | |
---|
4000 | |
---|
4001 | |
---|
4002 | |
---|
4003 | int internal_buffer_count; |
---|
4004 | |
---|
4005 | |
---|
4006 | |
---|
4007 | |
---|
4008 | |
---|
4009 | void *internal_buffer; |
---|
4010 | |
---|
4011 | |
---|
4012 | |
---|
4013 | |
---|
4014 | |
---|
4015 | |
---|
4016 | |
---|
4017 | int global_quality; |
---|
4018 | # 2067 "libavcodec/avcodec.h" |
---|
4019 | int coder_type; |
---|
4020 | |
---|
4021 | |
---|
4022 | |
---|
4023 | |
---|
4024 | |
---|
4025 | |
---|
4026 | int context_model; |
---|
4027 | # 2089 "libavcodec/avcodec.h" |
---|
4028 | int slice_flags; |
---|
4029 | # 2099 "libavcodec/avcodec.h" |
---|
4030 | int xvmc_acceleration; |
---|
4031 | |
---|
4032 | |
---|
4033 | |
---|
4034 | |
---|
4035 | |
---|
4036 | |
---|
4037 | int mb_decision; |
---|
4038 | # 2116 "libavcodec/avcodec.h" |
---|
4039 | uint16_t *intra_matrix; |
---|
4040 | |
---|
4041 | |
---|
4042 | |
---|
4043 | |
---|
4044 | |
---|
4045 | |
---|
4046 | uint16_t *inter_matrix; |
---|
4047 | |
---|
4048 | |
---|
4049 | |
---|
4050 | |
---|
4051 | |
---|
4052 | |
---|
4053 | |
---|
4054 | unsigned int stream_codec_tag; |
---|
4055 | |
---|
4056 | |
---|
4057 | |
---|
4058 | |
---|
4059 | |
---|
4060 | |
---|
4061 | |
---|
4062 | int scenechange_threshold; |
---|
4063 | |
---|
4064 | |
---|
4065 | |
---|
4066 | |
---|
4067 | |
---|
4068 | |
---|
4069 | int lmin; |
---|
4070 | |
---|
4071 | |
---|
4072 | |
---|
4073 | |
---|
4074 | |
---|
4075 | |
---|
4076 | int lmax; |
---|
4077 | |
---|
4078 | |
---|
4079 | |
---|
4080 | |
---|
4081 | |
---|
4082 | |
---|
4083 | |
---|
4084 | struct AVPaletteControl *palctrl; |
---|
4085 | |
---|
4086 | |
---|
4087 | |
---|
4088 | |
---|
4089 | |
---|
4090 | |
---|
4091 | |
---|
4092 | int noise_reduction; |
---|
4093 | # 2183 "libavcodec/avcodec.h" |
---|
4094 | int (*reget_buffer)(struct AVCodecContext *c, AVFrame *pic); |
---|
4095 | |
---|
4096 | |
---|
4097 | |
---|
4098 | |
---|
4099 | |
---|
4100 | |
---|
4101 | int rc_initial_buffer_occupancy; |
---|
4102 | |
---|
4103 | |
---|
4104 | |
---|
4105 | |
---|
4106 | |
---|
4107 | |
---|
4108 | int inter_threshold; |
---|
4109 | |
---|
4110 | |
---|
4111 | |
---|
4112 | |
---|
4113 | |
---|
4114 | |
---|
4115 | int flags2; |
---|
4116 | |
---|
4117 | |
---|
4118 | |
---|
4119 | |
---|
4120 | |
---|
4121 | |
---|
4122 | int error_rate; |
---|
4123 | |
---|
4124 | |
---|
4125 | |
---|
4126 | |
---|
4127 | |
---|
4128 | |
---|
4129 | |
---|
4130 | __attribute__((deprecated)) int antialias_algo; |
---|
4131 | # 2231 "libavcodec/avcodec.h" |
---|
4132 | int quantizer_noise_shaping; |
---|
4133 | |
---|
4134 | |
---|
4135 | |
---|
4136 | |
---|
4137 | |
---|
4138 | |
---|
4139 | |
---|
4140 | int thread_count; |
---|
4141 | # 2250 "libavcodec/avcodec.h" |
---|
4142 | int (*execute)(struct AVCodecContext *c, int (*func)(struct AVCodecContext *c2, void *arg), void *arg2, int *ret, int count, int size); |
---|
4143 | |
---|
4144 | |
---|
4145 | |
---|
4146 | |
---|
4147 | |
---|
4148 | |
---|
4149 | |
---|
4150 | void *thread_opaque; |
---|
4151 | # 2267 "libavcodec/avcodec.h" |
---|
4152 | int me_threshold; |
---|
4153 | |
---|
4154 | |
---|
4155 | |
---|
4156 | |
---|
4157 | |
---|
4158 | |
---|
4159 | int mb_threshold; |
---|
4160 | |
---|
4161 | |
---|
4162 | |
---|
4163 | |
---|
4164 | |
---|
4165 | |
---|
4166 | int intra_dc_precision; |
---|
4167 | |
---|
4168 | |
---|
4169 | |
---|
4170 | |
---|
4171 | |
---|
4172 | |
---|
4173 | int nsse_weight; |
---|
4174 | |
---|
4175 | |
---|
4176 | |
---|
4177 | |
---|
4178 | |
---|
4179 | |
---|
4180 | int skip_top; |
---|
4181 | |
---|
4182 | |
---|
4183 | |
---|
4184 | |
---|
4185 | |
---|
4186 | |
---|
4187 | int skip_bottom; |
---|
4188 | |
---|
4189 | |
---|
4190 | |
---|
4191 | |
---|
4192 | |
---|
4193 | |
---|
4194 | int profile; |
---|
4195 | # 2358 "libavcodec/avcodec.h" |
---|
4196 | int level; |
---|
4197 | |
---|
4198 | |
---|
4199 | |
---|
4200 | |
---|
4201 | |
---|
4202 | |
---|
4203 | |
---|
4204 | int lowres; |
---|
4205 | |
---|
4206 | |
---|
4207 | |
---|
4208 | |
---|
4209 | |
---|
4210 | |
---|
4211 | |
---|
4212 | int coded_width, coded_height; |
---|
4213 | |
---|
4214 | |
---|
4215 | |
---|
4216 | |
---|
4217 | |
---|
4218 | |
---|
4219 | int frame_skip_threshold; |
---|
4220 | |
---|
4221 | |
---|
4222 | |
---|
4223 | |
---|
4224 | |
---|
4225 | |
---|
4226 | int frame_skip_factor; |
---|
4227 | |
---|
4228 | |
---|
4229 | |
---|
4230 | |
---|
4231 | |
---|
4232 | |
---|
4233 | int frame_skip_exp; |
---|
4234 | |
---|
4235 | |
---|
4236 | |
---|
4237 | |
---|
4238 | |
---|
4239 | |
---|
4240 | int frame_skip_cmp; |
---|
4241 | |
---|
4242 | |
---|
4243 | |
---|
4244 | |
---|
4245 | |
---|
4246 | |
---|
4247 | |
---|
4248 | float border_masking; |
---|
4249 | |
---|
4250 | |
---|
4251 | |
---|
4252 | |
---|
4253 | |
---|
4254 | |
---|
4255 | int mb_lmin; |
---|
4256 | |
---|
4257 | |
---|
4258 | |
---|
4259 | |
---|
4260 | |
---|
4261 | |
---|
4262 | int mb_lmax; |
---|
4263 | |
---|
4264 | |
---|
4265 | |
---|
4266 | |
---|
4267 | |
---|
4268 | |
---|
4269 | int me_penalty_compensation; |
---|
4270 | |
---|
4271 | |
---|
4272 | |
---|
4273 | |
---|
4274 | |
---|
4275 | |
---|
4276 | enum AVDiscard skip_loop_filter; |
---|
4277 | |
---|
4278 | |
---|
4279 | |
---|
4280 | |
---|
4281 | |
---|
4282 | |
---|
4283 | enum AVDiscard skip_idct; |
---|
4284 | |
---|
4285 | |
---|
4286 | |
---|
4287 | |
---|
4288 | |
---|
4289 | |
---|
4290 | enum AVDiscard skip_frame; |
---|
4291 | |
---|
4292 | |
---|
4293 | |
---|
4294 | |
---|
4295 | |
---|
4296 | |
---|
4297 | int bidir_refine; |
---|
4298 | |
---|
4299 | |
---|
4300 | |
---|
4301 | |
---|
4302 | |
---|
4303 | |
---|
4304 | int brd_scale; |
---|
4305 | |
---|
4306 | |
---|
4307 | |
---|
4308 | |
---|
4309 | |
---|
4310 | |
---|
4311 | float crf; |
---|
4312 | |
---|
4313 | |
---|
4314 | |
---|
4315 | |
---|
4316 | |
---|
4317 | |
---|
4318 | int cqp; |
---|
4319 | |
---|
4320 | |
---|
4321 | |
---|
4322 | |
---|
4323 | |
---|
4324 | |
---|
4325 | int keyint_min; |
---|
4326 | |
---|
4327 | |
---|
4328 | |
---|
4329 | |
---|
4330 | |
---|
4331 | |
---|
4332 | int refs; |
---|
4333 | |
---|
4334 | |
---|
4335 | |
---|
4336 | |
---|
4337 | |
---|
4338 | |
---|
4339 | int chromaoffset; |
---|
4340 | |
---|
4341 | |
---|
4342 | |
---|
4343 | |
---|
4344 | |
---|
4345 | |
---|
4346 | int bframebias; |
---|
4347 | |
---|
4348 | |
---|
4349 | |
---|
4350 | |
---|
4351 | |
---|
4352 | |
---|
4353 | int trellis; |
---|
4354 | |
---|
4355 | |
---|
4356 | |
---|
4357 | |
---|
4358 | |
---|
4359 | |
---|
4360 | float complexityblur; |
---|
4361 | |
---|
4362 | |
---|
4363 | |
---|
4364 | |
---|
4365 | |
---|
4366 | |
---|
4367 | |
---|
4368 | int deblockalpha; |
---|
4369 | |
---|
4370 | |
---|
4371 | |
---|
4372 | |
---|
4373 | |
---|
4374 | |
---|
4375 | |
---|
4376 | int deblockbeta; |
---|
4377 | |
---|
4378 | |
---|
4379 | |
---|
4380 | |
---|
4381 | |
---|
4382 | |
---|
4383 | int partitions; |
---|
4384 | # 2557 "libavcodec/avcodec.h" |
---|
4385 | int directpred; |
---|
4386 | |
---|
4387 | |
---|
4388 | |
---|
4389 | |
---|
4390 | |
---|
4391 | |
---|
4392 | int cutoff; |
---|
4393 | |
---|
4394 | |
---|
4395 | |
---|
4396 | |
---|
4397 | |
---|
4398 | |
---|
4399 | int scenechange_factor; |
---|
4400 | |
---|
4401 | |
---|
4402 | |
---|
4403 | |
---|
4404 | |
---|
4405 | |
---|
4406 | |
---|
4407 | int mv0_threshold; |
---|
4408 | |
---|
4409 | |
---|
4410 | |
---|
4411 | |
---|
4412 | |
---|
4413 | |
---|
4414 | int b_sensitivity; |
---|
4415 | |
---|
4416 | |
---|
4417 | |
---|
4418 | |
---|
4419 | |
---|
4420 | int compression_level; |
---|
4421 | # 2602 "libavcodec/avcodec.h" |
---|
4422 | int use_lpc; |
---|
4423 | |
---|
4424 | |
---|
4425 | |
---|
4426 | |
---|
4427 | |
---|
4428 | |
---|
4429 | int lpc_coeff_precision; |
---|
4430 | |
---|
4431 | |
---|
4432 | |
---|
4433 | |
---|
4434 | |
---|
4435 | |
---|
4436 | int min_prediction_order; |
---|
4437 | |
---|
4438 | |
---|
4439 | |
---|
4440 | |
---|
4441 | |
---|
4442 | int max_prediction_order; |
---|
4443 | # 2636 "libavcodec/avcodec.h" |
---|
4444 | __attribute__((deprecated)) int prediction_order_method; |
---|
4445 | |
---|
4446 | |
---|
4447 | |
---|
4448 | |
---|
4449 | |
---|
4450 | __attribute__((deprecated)) int min_partition_order; |
---|
4451 | |
---|
4452 | |
---|
4453 | |
---|
4454 | |
---|
4455 | |
---|
4456 | __attribute__((deprecated)) int max_partition_order; |
---|
4457 | # 2659 "libavcodec/avcodec.h" |
---|
4458 | int64_t timecode_frame_start; |
---|
4459 | # 2668 "libavcodec/avcodec.h" |
---|
4460 | int request_channels; |
---|
4461 | # 2677 "libavcodec/avcodec.h" |
---|
4462 | float drc_scale; |
---|
4463 | # 2686 "libavcodec/avcodec.h" |
---|
4464 | int64_t reordered_opaque; |
---|
4465 | |
---|
4466 | |
---|
4467 | |
---|
4468 | |
---|
4469 | |
---|
4470 | |
---|
4471 | int bits_per_raw_sample; |
---|
4472 | |
---|
4473 | |
---|
4474 | |
---|
4475 | |
---|
4476 | |
---|
4477 | |
---|
4478 | int64_t channel_layout; |
---|
4479 | |
---|
4480 | |
---|
4481 | |
---|
4482 | |
---|
4483 | |
---|
4484 | |
---|
4485 | int64_t request_channel_layout; |
---|
4486 | |
---|
4487 | |
---|
4488 | |
---|
4489 | |
---|
4490 | |
---|
4491 | |
---|
4492 | float rc_max_available_vbv_use; |
---|
4493 | |
---|
4494 | |
---|
4495 | |
---|
4496 | |
---|
4497 | |
---|
4498 | |
---|
4499 | float rc_min_vbv_overflow_use; |
---|
4500 | |
---|
4501 | |
---|
4502 | |
---|
4503 | |
---|
4504 | |
---|
4505 | |
---|
4506 | struct AVHWAccel *hwaccel; |
---|
4507 | # 2737 "libavcodec/avcodec.h" |
---|
4508 | int ticks_per_frame; |
---|
4509 | # 2749 "libavcodec/avcodec.h" |
---|
4510 | void *hwaccel_context; |
---|
4511 | |
---|
4512 | |
---|
4513 | |
---|
4514 | |
---|
4515 | |
---|
4516 | |
---|
4517 | enum AVColorPrimaries color_primaries; |
---|
4518 | |
---|
4519 | |
---|
4520 | |
---|
4521 | |
---|
4522 | |
---|
4523 | |
---|
4524 | enum AVColorTransferCharacteristic color_trc; |
---|
4525 | |
---|
4526 | |
---|
4527 | |
---|
4528 | |
---|
4529 | |
---|
4530 | |
---|
4531 | enum AVColorSpace colorspace; |
---|
4532 | |
---|
4533 | |
---|
4534 | |
---|
4535 | |
---|
4536 | |
---|
4537 | |
---|
4538 | enum AVColorRange color_range; |
---|
4539 | |
---|
4540 | |
---|
4541 | |
---|
4542 | |
---|
4543 | |
---|
4544 | |
---|
4545 | enum AVChromaLocation chroma_sample_location; |
---|
4546 | # 2804 "libavcodec/avcodec.h" |
---|
4547 | int (*execute2)(struct AVCodecContext *c, int (*func)(struct AVCodecContext *c2, void *arg, int jobnr, int threadnr), void *arg2, int *ret, int count); |
---|
4548 | # 2814 "libavcodec/avcodec.h" |
---|
4549 | int weighted_p_pred; |
---|
4550 | # 2824 "libavcodec/avcodec.h" |
---|
4551 | int aq_mode; |
---|
4552 | |
---|
4553 | |
---|
4554 | |
---|
4555 | |
---|
4556 | |
---|
4557 | |
---|
4558 | |
---|
4559 | float aq_strength; |
---|
4560 | |
---|
4561 | |
---|
4562 | |
---|
4563 | |
---|
4564 | |
---|
4565 | |
---|
4566 | |
---|
4567 | float psy_rd; |
---|
4568 | |
---|
4569 | |
---|
4570 | |
---|
4571 | |
---|
4572 | |
---|
4573 | |
---|
4574 | |
---|
4575 | float psy_trellis; |
---|
4576 | |
---|
4577 | |
---|
4578 | |
---|
4579 | |
---|
4580 | |
---|
4581 | |
---|
4582 | |
---|
4583 | int rc_lookahead; |
---|
4584 | # 2865 "libavcodec/avcodec.h" |
---|
4585 | float crf_max; |
---|
4586 | |
---|
4587 | int log_level_offset; |
---|
4588 | |
---|
4589 | |
---|
4590 | |
---|
4591 | |
---|
4592 | |
---|
4593 | |
---|
4594 | |
---|
4595 | __attribute__((deprecated)) enum AVLPCType lpc_type; |
---|
4596 | |
---|
4597 | |
---|
4598 | |
---|
4599 | |
---|
4600 | |
---|
4601 | |
---|
4602 | __attribute__((deprecated)) int lpc_passes; |
---|
4603 | # 2892 "libavcodec/avcodec.h" |
---|
4604 | int slices; |
---|
4605 | # 2902 "libavcodec/avcodec.h" |
---|
4606 | uint8_t *subtitle_header; |
---|
4607 | int subtitle_header_size; |
---|
4608 | # 2912 "libavcodec/avcodec.h" |
---|
4609 | AVPacket *pkt; |
---|
4610 | # 2921 "libavcodec/avcodec.h" |
---|
4611 | int is_copy; |
---|
4612 | # 2931 "libavcodec/avcodec.h" |
---|
4613 | int thread_type; |
---|
4614 | # 2940 "libavcodec/avcodec.h" |
---|
4615 | int active_thread_type; |
---|
4616 | # 2950 "libavcodec/avcodec.h" |
---|
4617 | int thread_safe_callbacks; |
---|
4618 | |
---|
4619 | |
---|
4620 | |
---|
4621 | |
---|
4622 | |
---|
4623 | |
---|
4624 | |
---|
4625 | uint64_t vbv_delay; |
---|
4626 | |
---|
4627 | |
---|
4628 | |
---|
4629 | |
---|
4630 | |
---|
4631 | |
---|
4632 | enum AVAudioServiceType audio_service_type; |
---|
4633 | |
---|
4634 | |
---|
4635 | |
---|
4636 | |
---|
4637 | |
---|
4638 | |
---|
4639 | |
---|
4640 | enum AVSampleFormat request_sample_fmt; |
---|
4641 | |
---|
4642 | |
---|
4643 | |
---|
4644 | |
---|
4645 | |
---|
4646 | |
---|
4647 | int64_t pts_correction_num_faulty_pts; |
---|
4648 | int64_t pts_correction_num_faulty_dts; |
---|
4649 | int64_t pts_correction_last_pts; |
---|
4650 | int64_t pts_correction_last_dts; |
---|
4651 | |
---|
4652 | |
---|
4653 | } AVCodecContext; |
---|
4654 | |
---|
4655 | |
---|
4656 | |
---|
4657 | |
---|
4658 | typedef struct AVProfile { |
---|
4659 | int profile; |
---|
4660 | const char *name; |
---|
4661 | } AVProfile; |
---|
4662 | |
---|
4663 | |
---|
4664 | |
---|
4665 | |
---|
4666 | typedef struct AVCodec { |
---|
4667 | |
---|
4668 | |
---|
4669 | |
---|
4670 | |
---|
4671 | |
---|
4672 | |
---|
4673 | const char *name; |
---|
4674 | enum AVMediaType type; |
---|
4675 | enum CodecID id; |
---|
4676 | int priv_data_size; |
---|
4677 | int (*init)(AVCodecContext *); |
---|
4678 | int (*encode)(AVCodecContext *, uint8_t *buf, int buf_size, void *data); |
---|
4679 | int (*close)(AVCodecContext *); |
---|
4680 | int (*decode)(AVCodecContext *, void *outdata, int *outdata_size, AVPacket *avpkt); |
---|
4681 | |
---|
4682 | |
---|
4683 | |
---|
4684 | |
---|
4685 | int capabilities; |
---|
4686 | struct AVCodec *next; |
---|
4687 | |
---|
4688 | |
---|
4689 | |
---|
4690 | |
---|
4691 | void (*flush)(AVCodecContext *); |
---|
4692 | const AVRational *supported_framerates; |
---|
4693 | const enum PixelFormat *pix_fmts; |
---|
4694 | |
---|
4695 | |
---|
4696 | |
---|
4697 | |
---|
4698 | const char *long_name; |
---|
4699 | const int *supported_samplerates; |
---|
4700 | const enum AVSampleFormat *sample_fmts; |
---|
4701 | const int64_t *channel_layouts; |
---|
4702 | uint8_t max_lowres; |
---|
4703 | const AVClass *priv_class; |
---|
4704 | const AVProfile *profiles; |
---|
4705 | # 3048 "libavcodec/avcodec.h" |
---|
4706 | int (*init_thread_copy)(AVCodecContext *); |
---|
4707 | |
---|
4708 | |
---|
4709 | |
---|
4710 | |
---|
4711 | |
---|
4712 | |
---|
4713 | |
---|
4714 | int (*update_thread_context)(AVCodecContext *dst, const AVCodecContext *src); |
---|
4715 | |
---|
4716 | } AVCodec; |
---|
4717 | |
---|
4718 | |
---|
4719 | |
---|
4720 | |
---|
4721 | typedef struct AVHWAccel { |
---|
4722 | |
---|
4723 | |
---|
4724 | |
---|
4725 | |
---|
4726 | |
---|
4727 | const char *name; |
---|
4728 | |
---|
4729 | |
---|
4730 | |
---|
4731 | |
---|
4732 | |
---|
4733 | |
---|
4734 | enum AVMediaType type; |
---|
4735 | |
---|
4736 | |
---|
4737 | |
---|
4738 | |
---|
4739 | |
---|
4740 | |
---|
4741 | enum CodecID id; |
---|
4742 | |
---|
4743 | |
---|
4744 | |
---|
4745 | |
---|
4746 | |
---|
4747 | |
---|
4748 | enum PixelFormat pix_fmt; |
---|
4749 | |
---|
4750 | |
---|
4751 | |
---|
4752 | |
---|
4753 | |
---|
4754 | int capabilities; |
---|
4755 | |
---|
4756 | struct AVHWAccel *next; |
---|
4757 | # 3114 "libavcodec/avcodec.h" |
---|
4758 | int (*start_frame)(AVCodecContext *avctx, const uint8_t *buf, uint32_t buf_size); |
---|
4759 | # 3127 "libavcodec/avcodec.h" |
---|
4760 | int (*decode_slice)(AVCodecContext *avctx, const uint8_t *buf, uint32_t buf_size); |
---|
4761 | # 3138 "libavcodec/avcodec.h" |
---|
4762 | int (*end_frame)(AVCodecContext *avctx); |
---|
4763 | # 3147 "libavcodec/avcodec.h" |
---|
4764 | int priv_data_size; |
---|
4765 | } AVHWAccel; |
---|
4766 | |
---|
4767 | |
---|
4768 | |
---|
4769 | |
---|
4770 | |
---|
4771 | typedef struct AVPicture { |
---|
4772 | uint8_t *data[4]; |
---|
4773 | int linesize[4]; |
---|
4774 | } AVPicture; |
---|
4775 | # 3170 "libavcodec/avcodec.h" |
---|
4776 | typedef struct AVPaletteControl { |
---|
4777 | |
---|
4778 | |
---|
4779 | |
---|
4780 | int palette_changed; |
---|
4781 | |
---|
4782 | |
---|
4783 | |
---|
4784 | |
---|
4785 | |
---|
4786 | unsigned int palette[256]; |
---|
4787 | |
---|
4788 | } AVPaletteControl __attribute__((deprecated)); |
---|
4789 | |
---|
4790 | |
---|
4791 | enum AVSubtitleType { |
---|
4792 | SUBTITLE_NONE, |
---|
4793 | |
---|
4794 | SUBTITLE_BITMAP, |
---|
4795 | |
---|
4796 | |
---|
4797 | |
---|
4798 | |
---|
4799 | |
---|
4800 | SUBTITLE_TEXT, |
---|
4801 | |
---|
4802 | |
---|
4803 | |
---|
4804 | |
---|
4805 | |
---|
4806 | SUBTITLE_ASS, |
---|
4807 | }; |
---|
4808 | |
---|
4809 | typedef struct AVSubtitleRect { |
---|
4810 | int x; |
---|
4811 | int y; |
---|
4812 | int w; |
---|
4813 | int h; |
---|
4814 | int nb_colors; |
---|
4815 | |
---|
4816 | |
---|
4817 | |
---|
4818 | |
---|
4819 | |
---|
4820 | AVPicture pict; |
---|
4821 | enum AVSubtitleType type; |
---|
4822 | |
---|
4823 | char *text; |
---|
4824 | |
---|
4825 | |
---|
4826 | |
---|
4827 | |
---|
4828 | |
---|
4829 | |
---|
4830 | char *ass; |
---|
4831 | } AVSubtitleRect; |
---|
4832 | |
---|
4833 | typedef struct AVSubtitle { |
---|
4834 | uint16_t format; |
---|
4835 | uint32_t start_display_time; |
---|
4836 | uint32_t end_display_time; |
---|
4837 | unsigned num_rects; |
---|
4838 | AVSubtitleRect **rects; |
---|
4839 | int64_t pts; |
---|
4840 | } AVSubtitle; |
---|
4841 | |
---|
4842 | |
---|
4843 | |
---|
4844 | |
---|
4845 | |
---|
4846 | |
---|
4847 | __attribute__((deprecated)) void av_destruct_packet_nofree(AVPacket *pkt); |
---|
4848 | |
---|
4849 | |
---|
4850 | |
---|
4851 | |
---|
4852 | void av_destruct_packet(AVPacket *pkt); |
---|
4853 | |
---|
4854 | |
---|
4855 | |
---|
4856 | |
---|
4857 | |
---|
4858 | |
---|
4859 | void av_init_packet(AVPacket *pkt); |
---|
4860 | # 3263 "libavcodec/avcodec.h" |
---|
4861 | int av_new_packet(AVPacket *pkt, int size); |
---|
4862 | |
---|
4863 | |
---|
4864 | |
---|
4865 | |
---|
4866 | |
---|
4867 | |
---|
4868 | |
---|
4869 | void av_shrink_packet(AVPacket *pkt, int size); |
---|
4870 | |
---|
4871 | |
---|
4872 | |
---|
4873 | |
---|
4874 | |
---|
4875 | |
---|
4876 | |
---|
4877 | int av_grow_packet(AVPacket *pkt, int grow_by); |
---|
4878 | |
---|
4879 | |
---|
4880 | |
---|
4881 | |
---|
4882 | |
---|
4883 | int av_dup_packet(AVPacket *pkt); |
---|
4884 | |
---|
4885 | |
---|
4886 | |
---|
4887 | |
---|
4888 | |
---|
4889 | |
---|
4890 | void av_free_packet(AVPacket *pkt); |
---|
4891 | |
---|
4892 | |
---|
4893 | |
---|
4894 | struct ReSampleContext; |
---|
4895 | struct AVResampleContext; |
---|
4896 | |
---|
4897 | typedef struct ReSampleContext ReSampleContext; |
---|
4898 | |
---|
4899 | |
---|
4900 | |
---|
4901 | |
---|
4902 | |
---|
4903 | __attribute__((deprecated)) ReSampleContext *audio_resample_init(int output_channels, int input_channels, |
---|
4904 | int output_rate, int input_rate); |
---|
4905 | # 3325 "libavcodec/avcodec.h" |
---|
4906 | ReSampleContext *av_audio_resample_init(int output_channels, int input_channels, |
---|
4907 | int output_rate, int input_rate, |
---|
4908 | enum AVSampleFormat sample_fmt_out, |
---|
4909 | enum AVSampleFormat sample_fmt_in, |
---|
4910 | int filter_length, int log2_phase_count, |
---|
4911 | int linear, double cutoff); |
---|
4912 | |
---|
4913 | int audio_resample(ReSampleContext *s, short *output, short *input, int nb_samples); |
---|
4914 | |
---|
4915 | |
---|
4916 | |
---|
4917 | |
---|
4918 | |
---|
4919 | |
---|
4920 | |
---|
4921 | void audio_resample_close(ReSampleContext *s); |
---|
4922 | # 3352 "libavcodec/avcodec.h" |
---|
4923 | struct AVResampleContext *av_resample_init(int out_rate, int in_rate, int filter_length, int log2_phase_count, int linear, double cutoff); |
---|
4924 | # 3363 "libavcodec/avcodec.h" |
---|
4925 | int av_resample(struct AVResampleContext *c, short *dst, short *src, int *consumed, int src_size, int dst_size, int update_ctx); |
---|
4926 | # 3378 "libavcodec/avcodec.h" |
---|
4927 | void av_resample_compensate(struct AVResampleContext *c, int sample_delta, int compensation_distance); |
---|
4928 | void av_resample_close(struct AVResampleContext *c); |
---|
4929 | # 3392 "libavcodec/avcodec.h" |
---|
4930 | int avpicture_alloc(AVPicture *picture, enum PixelFormat pix_fmt, int width, int height); |
---|
4931 | # 3401 "libavcodec/avcodec.h" |
---|
4932 | void avpicture_free(AVPicture *picture); |
---|
4933 | # 3423 "libavcodec/avcodec.h" |
---|
4934 | int avpicture_fill(AVPicture *picture, uint8_t *ptr, |
---|
4935 | enum PixelFormat pix_fmt, int width, int height); |
---|
4936 | # 3441 "libavcodec/avcodec.h" |
---|
4937 | int avpicture_layout(const AVPicture* src, enum PixelFormat pix_fmt, int width, int height, |
---|
4938 | unsigned char *dest, int dest_size); |
---|
4939 | # 3456 "libavcodec/avcodec.h" |
---|
4940 | int avpicture_get_size(enum PixelFormat pix_fmt, int width, int height); |
---|
4941 | void avcodec_get_chroma_sub_sample(enum PixelFormat pix_fmt, int *h_shift, int *v_shift); |
---|
4942 | # 3466 "libavcodec/avcodec.h" |
---|
4943 | __attribute__((deprecated)) |
---|
4944 | const char *avcodec_get_pix_fmt_name(enum PixelFormat pix_fmt); |
---|
4945 | |
---|
4946 | |
---|
4947 | void avcodec_set_dimensions(AVCodecContext *s, int width, int height); |
---|
4948 | # 3486 "libavcodec/avcodec.h" |
---|
4949 | __attribute__((deprecated)) enum PixelFormat avcodec_get_pix_fmt(const char* name); |
---|
4950 | |
---|
4951 | |
---|
4952 | |
---|
4953 | |
---|
4954 | |
---|
4955 | |
---|
4956 | |
---|
4957 | unsigned int avcodec_pix_fmt_to_codec_tag(enum PixelFormat pix_fmt); |
---|
4958 | # 3503 "libavcodec/avcodec.h" |
---|
4959 | size_t av_get_codec_tag_string(char *buf, size_t buf_size, unsigned int codec_tag); |
---|
4960 | # 3529 "libavcodec/avcodec.h" |
---|
4961 | int avcodec_get_pix_fmt_loss(enum PixelFormat dst_pix_fmt, enum PixelFormat src_pix_fmt, |
---|
4962 | int has_alpha); |
---|
4963 | # 3554 "libavcodec/avcodec.h" |
---|
4964 | enum PixelFormat avcodec_find_best_pix_fmt(int64_t pix_fmt_mask, enum PixelFormat src_pix_fmt, |
---|
4965 | int has_alpha, int *loss_ptr); |
---|
4966 | |
---|
4967 | |
---|
4968 | |
---|
4969 | |
---|
4970 | |
---|
4971 | __attribute__((deprecated)) |
---|
4972 | void avcodec_pix_fmt_string (char *buf, int buf_size, enum PixelFormat pix_fmt); |
---|
4973 | # 3572 "libavcodec/avcodec.h" |
---|
4974 | int img_get_alpha_info(const AVPicture *src, |
---|
4975 | enum PixelFormat pix_fmt, int width, int height); |
---|
4976 | |
---|
4977 | |
---|
4978 | |
---|
4979 | int avpicture_deinterlace(AVPicture *dst, const AVPicture *src, |
---|
4980 | enum PixelFormat pix_fmt, int width, int height); |
---|
4981 | # 3587 "libavcodec/avcodec.h" |
---|
4982 | AVCodec *av_codec_next(AVCodec *c); |
---|
4983 | |
---|
4984 | |
---|
4985 | |
---|
4986 | |
---|
4987 | unsigned avcodec_version(void); |
---|
4988 | |
---|
4989 | |
---|
4990 | |
---|
4991 | |
---|
4992 | const char *avcodec_configuration(void); |
---|
4993 | |
---|
4994 | |
---|
4995 | |
---|
4996 | |
---|
4997 | const char *avcodec_license(void); |
---|
4998 | # 3613 "libavcodec/avcodec.h" |
---|
4999 | void avcodec_init(void); |
---|
5000 | |
---|
5001 | |
---|
5002 | |
---|
5003 | |
---|
5004 | |
---|
5005 | __attribute__((deprecated)) void register_avcodec(AVCodec *codec); |
---|
5006 | |
---|
5007 | |
---|
5008 | |
---|
5009 | |
---|
5010 | |
---|
5011 | |
---|
5012 | |
---|
5013 | void avcodec_register(AVCodec *codec); |
---|
5014 | |
---|
5015 | |
---|
5016 | |
---|
5017 | |
---|
5018 | |
---|
5019 | |
---|
5020 | |
---|
5021 | AVCodec *avcodec_find_encoder(enum CodecID id); |
---|
5022 | |
---|
5023 | |
---|
5024 | |
---|
5025 | |
---|
5026 | |
---|
5027 | |
---|
5028 | |
---|
5029 | AVCodec *avcodec_find_encoder_by_name(const char *name); |
---|
5030 | |
---|
5031 | |
---|
5032 | |
---|
5033 | |
---|
5034 | |
---|
5035 | |
---|
5036 | |
---|
5037 | AVCodec *avcodec_find_decoder(enum CodecID id); |
---|
5038 | |
---|
5039 | |
---|
5040 | |
---|
5041 | |
---|
5042 | |
---|
5043 | |
---|
5044 | |
---|
5045 | AVCodec *avcodec_find_decoder_by_name(const char *name); |
---|
5046 | void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode); |
---|
5047 | # 3669 "libavcodec/avcodec.h" |
---|
5048 | const char *av_get_profile_name(const AVCodec *codec, int profile); |
---|
5049 | |
---|
5050 | |
---|
5051 | |
---|
5052 | |
---|
5053 | |
---|
5054 | |
---|
5055 | void avcodec_get_context_defaults(AVCodecContext *s); |
---|
5056 | |
---|
5057 | |
---|
5058 | |
---|
5059 | void avcodec_get_context_defaults2(AVCodecContext *s, enum AVMediaType); |
---|
5060 | |
---|
5061 | |
---|
5062 | |
---|
5063 | int avcodec_get_context_defaults3(AVCodecContext *s, AVCodec *codec); |
---|
5064 | # 3693 "libavcodec/avcodec.h" |
---|
5065 | AVCodecContext *avcodec_alloc_context(void); |
---|
5066 | |
---|
5067 | |
---|
5068 | |
---|
5069 | AVCodecContext *avcodec_alloc_context2(enum AVMediaType); |
---|
5070 | |
---|
5071 | |
---|
5072 | |
---|
5073 | AVCodecContext *avcodec_alloc_context3(AVCodec *codec); |
---|
5074 | # 3714 "libavcodec/avcodec.h" |
---|
5075 | int avcodec_copy_context(AVCodecContext *dest, const AVCodecContext *src); |
---|
5076 | |
---|
5077 | |
---|
5078 | |
---|
5079 | |
---|
5080 | |
---|
5081 | |
---|
5082 | void avcodec_get_frame_defaults(AVFrame *pic); |
---|
5083 | # 3730 "libavcodec/avcodec.h" |
---|
5084 | AVFrame *avcodec_alloc_frame(void); |
---|
5085 | |
---|
5086 | int avcodec_default_get_buffer(AVCodecContext *s, AVFrame *pic); |
---|
5087 | void avcodec_default_release_buffer(AVCodecContext *s, AVFrame *pic); |
---|
5088 | int avcodec_default_reget_buffer(AVCodecContext *s, AVFrame *pic); |
---|
5089 | # 3743 "libavcodec/avcodec.h" |
---|
5090 | unsigned avcodec_get_edge_width(void); |
---|
5091 | # 3753 "libavcodec/avcodec.h" |
---|
5092 | void avcodec_align_dimensions(AVCodecContext *s, int *width, int *height); |
---|
5093 | # 3763 "libavcodec/avcodec.h" |
---|
5094 | void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height, |
---|
5095 | int linesize_align[4]); |
---|
5096 | |
---|
5097 | |
---|
5098 | |
---|
5099 | |
---|
5100 | |
---|
5101 | __attribute__((deprecated)) |
---|
5102 | int avcodec_check_dimensions(void *av_log_ctx, unsigned int w, unsigned int h); |
---|
5103 | |
---|
5104 | |
---|
5105 | enum PixelFormat avcodec_default_get_format(struct AVCodecContext *s, const enum PixelFormat * fmt); |
---|
5106 | |
---|
5107 | |
---|
5108 | |
---|
5109 | |
---|
5110 | |
---|
5111 | __attribute__((deprecated)) |
---|
5112 | int avcodec_thread_init(AVCodecContext *s, int thread_count); |
---|
5113 | void avcodec_thread_free(AVCodecContext *s); |
---|
5114 | |
---|
5115 | int avcodec_default_execute(AVCodecContext *c, int (*func)(AVCodecContext *c2, void *arg2),void *arg, int *ret, int count, int size); |
---|
5116 | int avcodec_default_execute2(AVCodecContext *c, int (*func)(AVCodecContext *c2, void *arg2, int, int),void *arg, int *ret, int count); |
---|
5117 | # 3818 "libavcodec/avcodec.h" |
---|
5118 | int avcodec_open(AVCodecContext *avctx, AVCodec *codec); |
---|
5119 | # 3852 "libavcodec/avcodec.h" |
---|
5120 | int avcodec_open2(AVCodecContext *avctx, AVCodec *codec, AVDictionary **options); |
---|
5121 | # 3868 "libavcodec/avcodec.h" |
---|
5122 | __attribute__((deprecated)) int avcodec_decode_audio2(AVCodecContext *avctx, int16_t *samples, |
---|
5123 | int *frame_size_ptr, |
---|
5124 | const uint8_t *buf, int buf_size); |
---|
5125 | # 3912 "libavcodec/avcodec.h" |
---|
5126 | int avcodec_decode_audio3(AVCodecContext *avctx, int16_t *samples, |
---|
5127 | int *frame_size_ptr, |
---|
5128 | AVPacket *avpkt); |
---|
5129 | # 3930 "libavcodec/avcodec.h" |
---|
5130 | __attribute__((deprecated)) int avcodec_decode_video(AVCodecContext *avctx, AVFrame *picture, |
---|
5131 | int *got_picture_ptr, |
---|
5132 | const uint8_t *buf, int buf_size); |
---|
5133 | # 3975 "libavcodec/avcodec.h" |
---|
5134 | int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, |
---|
5135 | int *got_picture_ptr, |
---|
5136 | AVPacket *avpkt); |
---|
5137 | |
---|
5138 | |
---|
5139 | |
---|
5140 | |
---|
5141 | |
---|
5142 | __attribute__((deprecated)) int avcodec_decode_subtitle(AVCodecContext *avctx, AVSubtitle *sub, |
---|
5143 | int *got_sub_ptr, |
---|
5144 | const uint8_t *buf, int buf_size); |
---|
5145 | # 4004 "libavcodec/avcodec.h" |
---|
5146 | int avcodec_decode_subtitle2(AVCodecContext *avctx, AVSubtitle *sub, |
---|
5147 | int *got_sub_ptr, |
---|
5148 | AVPacket *avpkt); |
---|
5149 | |
---|
5150 | |
---|
5151 | |
---|
5152 | |
---|
5153 | |
---|
5154 | |
---|
5155 | void avsubtitle_free(AVSubtitle *sub); |
---|
5156 | |
---|
5157 | int avcodec_parse_frame(AVCodecContext *avctx, uint8_t **pdata, |
---|
5158 | int *data_size_ptr, |
---|
5159 | uint8_t *buf, int buf_size); |
---|
5160 | # 4038 "libavcodec/avcodec.h" |
---|
5161 | int avcodec_encode_audio(AVCodecContext *avctx, uint8_t *buf, int buf_size, |
---|
5162 | const short *samples); |
---|
5163 | # 4053 "libavcodec/avcodec.h" |
---|
5164 | int avcodec_encode_video(AVCodecContext *avctx, uint8_t *buf, int buf_size, |
---|
5165 | const AVFrame *pict); |
---|
5166 | int avcodec_encode_subtitle(AVCodecContext *avctx, uint8_t *buf, int buf_size, |
---|
5167 | const AVSubtitle *sub); |
---|
5168 | |
---|
5169 | int avcodec_close(AVCodecContext *avctx); |
---|
5170 | # 4070 "libavcodec/avcodec.h" |
---|
5171 | void avcodec_register_all(void); |
---|
5172 | |
---|
5173 | |
---|
5174 | |
---|
5175 | |
---|
5176 | void avcodec_flush_buffers(AVCodecContext *avctx); |
---|
5177 | |
---|
5178 | void avcodec_default_free_buffers(AVCodecContext *s); |
---|
5179 | # 4089 "libavcodec/avcodec.h" |
---|
5180 | __attribute__((deprecated)) |
---|
5181 | char av_get_pict_type_char(int pict_type); |
---|
5182 | # 4099 "libavcodec/avcodec.h" |
---|
5183 | int av_get_bits_per_sample(enum CodecID codec_id); |
---|
5184 | |
---|
5185 | |
---|
5186 | |
---|
5187 | |
---|
5188 | |
---|
5189 | __attribute__((deprecated)) |
---|
5190 | int av_get_bits_per_sample_format(enum AVSampleFormat sample_fmt); |
---|
5191 | |
---|
5192 | |
---|
5193 | |
---|
5194 | typedef struct AVCodecParserContext { |
---|
5195 | void *priv_data; |
---|
5196 | struct AVCodecParser *parser; |
---|
5197 | int64_t frame_offset; |
---|
5198 | int64_t cur_offset; |
---|
5199 | |
---|
5200 | int64_t next_frame_offset; |
---|
5201 | |
---|
5202 | int pict_type; |
---|
5203 | # 4128 "libavcodec/avcodec.h" |
---|
5204 | int repeat_pict; |
---|
5205 | int64_t pts; |
---|
5206 | int64_t dts; |
---|
5207 | |
---|
5208 | |
---|
5209 | int64_t last_pts; |
---|
5210 | int64_t last_dts; |
---|
5211 | int fetch_timestamp; |
---|
5212 | |
---|
5213 | |
---|
5214 | int cur_frame_start_index; |
---|
5215 | int64_t cur_frame_offset[4]; |
---|
5216 | int64_t cur_frame_pts[4]; |
---|
5217 | int64_t cur_frame_dts[4]; |
---|
5218 | |
---|
5219 | int flags; |
---|
5220 | |
---|
5221 | |
---|
5222 | |
---|
5223 | |
---|
5224 | |
---|
5225 | int64_t offset; |
---|
5226 | int64_t cur_frame_end[4]; |
---|
5227 | |
---|
5228 | |
---|
5229 | |
---|
5230 | |
---|
5231 | |
---|
5232 | |
---|
5233 | |
---|
5234 | int key_frame; |
---|
5235 | # 4177 "libavcodec/avcodec.h" |
---|
5236 | int64_t convergence_duration; |
---|
5237 | # 4189 "libavcodec/avcodec.h" |
---|
5238 | int dts_sync_point; |
---|
5239 | # 4204 "libavcodec/avcodec.h" |
---|
5240 | int dts_ref_dts_delta; |
---|
5241 | # 4218 "libavcodec/avcodec.h" |
---|
5242 | int pts_dts_delta; |
---|
5243 | |
---|
5244 | |
---|
5245 | |
---|
5246 | |
---|
5247 | |
---|
5248 | |
---|
5249 | int64_t cur_frame_pos[4]; |
---|
5250 | |
---|
5251 | |
---|
5252 | |
---|
5253 | |
---|
5254 | int64_t pos; |
---|
5255 | |
---|
5256 | |
---|
5257 | |
---|
5258 | |
---|
5259 | int64_t last_pos; |
---|
5260 | } AVCodecParserContext; |
---|
5261 | |
---|
5262 | typedef struct AVCodecParser { |
---|
5263 | int codec_ids[5]; |
---|
5264 | int priv_data_size; |
---|
5265 | int (*parser_init)(AVCodecParserContext *s); |
---|
5266 | int (*parser_parse)(AVCodecParserContext *s, |
---|
5267 | AVCodecContext *avctx, |
---|
5268 | const uint8_t **poutbuf, int *poutbuf_size, |
---|
5269 | const uint8_t *buf, int buf_size); |
---|
5270 | void (*parser_close)(AVCodecParserContext *s); |
---|
5271 | int (*split)(AVCodecContext *avctx, const uint8_t *buf, int buf_size); |
---|
5272 | struct AVCodecParser *next; |
---|
5273 | } AVCodecParser; |
---|
5274 | |
---|
5275 | AVCodecParser *av_parser_next(AVCodecParser *c); |
---|
5276 | |
---|
5277 | void av_register_codec_parser(AVCodecParser *parser); |
---|
5278 | AVCodecParserContext *av_parser_init(int codec_id); |
---|
5279 | |
---|
5280 | |
---|
5281 | __attribute__((deprecated)) |
---|
5282 | int av_parser_parse(AVCodecParserContext *s, |
---|
5283 | AVCodecContext *avctx, |
---|
5284 | uint8_t **poutbuf, int *poutbuf_size, |
---|
5285 | const uint8_t *buf, int buf_size, |
---|
5286 | int64_t pts, int64_t dts); |
---|
5287 | # 4293 "libavcodec/avcodec.h" |
---|
5288 | int av_parser_parse2(AVCodecParserContext *s, |
---|
5289 | AVCodecContext *avctx, |
---|
5290 | uint8_t **poutbuf, int *poutbuf_size, |
---|
5291 | const uint8_t *buf, int buf_size, |
---|
5292 | int64_t pts, int64_t dts, |
---|
5293 | int64_t pos); |
---|
5294 | |
---|
5295 | int av_parser_change(AVCodecParserContext *s, |
---|
5296 | AVCodecContext *avctx, |
---|
5297 | uint8_t **poutbuf, int *poutbuf_size, |
---|
5298 | const uint8_t *buf, int buf_size, int keyframe); |
---|
5299 | void av_parser_close(AVCodecParserContext *s); |
---|
5300 | |
---|
5301 | |
---|
5302 | typedef struct AVBitStreamFilterContext { |
---|
5303 | void *priv_data; |
---|
5304 | struct AVBitStreamFilter *filter; |
---|
5305 | AVCodecParserContext *parser; |
---|
5306 | struct AVBitStreamFilterContext *next; |
---|
5307 | } AVBitStreamFilterContext; |
---|
5308 | |
---|
5309 | |
---|
5310 | typedef struct AVBitStreamFilter { |
---|
5311 | const char *name; |
---|
5312 | int priv_data_size; |
---|
5313 | int (*filter)(AVBitStreamFilterContext *bsfc, |
---|
5314 | AVCodecContext *avctx, const char *args, |
---|
5315 | uint8_t **poutbuf, int *poutbuf_size, |
---|
5316 | const uint8_t *buf, int buf_size, int keyframe); |
---|
5317 | void (*close)(AVBitStreamFilterContext *bsfc); |
---|
5318 | struct AVBitStreamFilter *next; |
---|
5319 | } AVBitStreamFilter; |
---|
5320 | |
---|
5321 | void av_register_bitstream_filter(AVBitStreamFilter *bsf); |
---|
5322 | AVBitStreamFilterContext *av_bitstream_filter_init(const char *name); |
---|
5323 | int av_bitstream_filter_filter(AVBitStreamFilterContext *bsfc, |
---|
5324 | AVCodecContext *avctx, const char *args, |
---|
5325 | uint8_t **poutbuf, int *poutbuf_size, |
---|
5326 | const uint8_t *buf, int buf_size, int keyframe); |
---|
5327 | void av_bitstream_filter_close(AVBitStreamFilterContext *bsf); |
---|
5328 | |
---|
5329 | AVBitStreamFilter *av_bitstream_filter_next(AVBitStreamFilter *f); |
---|
5330 | # 4343 "libavcodec/avcodec.h" |
---|
5331 | void *av_fast_realloc(void *ptr, unsigned int *size, unsigned int min_size); |
---|
5332 | # 4357 "libavcodec/avcodec.h" |
---|
5333 | void av_fast_malloc(void *ptr, unsigned int *size, unsigned int min_size); |
---|
5334 | |
---|
5335 | |
---|
5336 | |
---|
5337 | |
---|
5338 | |
---|
5339 | __attribute__((deprecated)) |
---|
5340 | void av_picture_data_copy(uint8_t *dst_data[4], int dst_linesize[4], |
---|
5341 | uint8_t *src_data[4], int src_linesize[4], |
---|
5342 | enum PixelFormat pix_fmt, int width, int height); |
---|
5343 | |
---|
5344 | |
---|
5345 | |
---|
5346 | |
---|
5347 | |
---|
5348 | void av_picture_copy(AVPicture *dst, const AVPicture *src, |
---|
5349 | enum PixelFormat pix_fmt, int width, int height); |
---|
5350 | |
---|
5351 | |
---|
5352 | |
---|
5353 | |
---|
5354 | int av_picture_crop(AVPicture *dst, const AVPicture *src, |
---|
5355 | enum PixelFormat pix_fmt, int top_band, int left_band); |
---|
5356 | |
---|
5357 | |
---|
5358 | |
---|
5359 | |
---|
5360 | int av_picture_pad(AVPicture *dst, const AVPicture *src, int height, int width, enum PixelFormat pix_fmt, |
---|
5361 | int padtop, int padbottom, int padleft, int padright, int *color); |
---|
5362 | # 4394 "libavcodec/avcodec.h" |
---|
5363 | unsigned int av_xiphlacing(unsigned char *s, unsigned int v); |
---|
5364 | |
---|
5365 | |
---|
5366 | |
---|
5367 | |
---|
5368 | |
---|
5369 | |
---|
5370 | |
---|
5371 | __attribute__((deprecated)) int av_parse_video_frame_size(int *width_ptr, int *height_ptr, const char *str); |
---|
5372 | |
---|
5373 | |
---|
5374 | |
---|
5375 | |
---|
5376 | |
---|
5377 | |
---|
5378 | __attribute__((deprecated)) int av_parse_video_frame_rate(AVRational *frame_rate, const char *str); |
---|
5379 | # 4424 "libavcodec/avcodec.h" |
---|
5380 | void av_log_missing_feature(void *avc, const char *feature, int want_sample); |
---|
5381 | # 4434 "libavcodec/avcodec.h" |
---|
5382 | void av_log_ask_for_sample(void *avc, const char *msg, ...); |
---|
5383 | |
---|
5384 | |
---|
5385 | |
---|
5386 | |
---|
5387 | void av_register_hwaccel(AVHWAccel *hwaccel); |
---|
5388 | |
---|
5389 | |
---|
5390 | |
---|
5391 | |
---|
5392 | |
---|
5393 | |
---|
5394 | AVHWAccel *av_hwaccel_next(AVHWAccel *hwaccel); |
---|
5395 | |
---|
5396 | |
---|
5397 | |
---|
5398 | |
---|
5399 | |
---|
5400 | enum AVLockOp { |
---|
5401 | AV_LOCK_CREATE, |
---|
5402 | AV_LOCK_OBTAIN, |
---|
5403 | AV_LOCK_RELEASE, |
---|
5404 | AV_LOCK_DESTROY, |
---|
5405 | }; |
---|
5406 | # 4472 "libavcodec/avcodec.h" |
---|
5407 | int av_lockmgr_register(int (*cb)(void **mutex, enum AVLockOp op)); |
---|
5408 | # 29 "libavcodec/imx_dump_header_bsf.c" 2 |
---|
5409 | # 1 "libavcodec/bytestream.h" 1 |
---|
5410 | # 26 "libavcodec/bytestream.h" |
---|
5411 | # 1 "./libavutil/common.h" 1 |
---|
5412 | # 27 "libavcodec/bytestream.h" 2 |
---|
5413 | # 1 "./libavutil/intreadwrite.h" 1 |
---|
5414 | # 25 "./libavutil/intreadwrite.h" |
---|
5415 | # 1 "./libavutil/bswap.h" 1 |
---|
5416 | # 46 "./libavutil/bswap.h" |
---|
5417 | # 1 "./libavutil/x86/bswap.h" 1 |
---|
5418 | # 32 "./libavutil/x86/bswap.h" |
---|
5419 | static __attribute__((always_inline)) inline __attribute__((const)) unsigned av_bswap16(unsigned x) |
---|
5420 | { |
---|
5421 | __asm__("rorw $8, %w0" : "+r"(x)); |
---|
5422 | return x; |
---|
5423 | } |
---|
5424 | |
---|
5425 | |
---|
5426 | static __attribute__((always_inline)) inline __attribute__((const)) uint32_t av_bswap32(uint32_t x) |
---|
5427 | { |
---|
5428 | |
---|
5429 | __asm__("bswap %0" : "+r" (x)); |
---|
5430 | |
---|
5431 | |
---|
5432 | |
---|
5433 | |
---|
5434 | |
---|
5435 | |
---|
5436 | return x; |
---|
5437 | } |
---|
5438 | # 47 "./libavutil/bswap.h" 2 |
---|
5439 | # 75 "./libavutil/bswap.h" |
---|
5440 | static inline uint64_t __attribute__((const)) av_bswap64(uint64_t x) |
---|
5441 | { |
---|
5442 | |
---|
5443 | |
---|
5444 | |
---|
5445 | |
---|
5446 | |
---|
5447 | union { |
---|
5448 | uint64_t ll; |
---|
5449 | uint32_t l[2]; |
---|
5450 | } w, r; |
---|
5451 | w.ll = x; |
---|
5452 | r.l[0] = av_bswap32 (w.l[1]); |
---|
5453 | r.l[1] = av_bswap32 (w.l[0]); |
---|
5454 | return r.ll; |
---|
5455 | |
---|
5456 | } |
---|
5457 | # 26 "./libavutil/intreadwrite.h" 2 |
---|
5458 | |
---|
5459 | typedef union { |
---|
5460 | uint64_t u64; |
---|
5461 | uint32_t u32[2]; |
---|
5462 | uint16_t u16[4]; |
---|
5463 | uint8_t u8 [8]; |
---|
5464 | double f64; |
---|
5465 | float f32[2]; |
---|
5466 | } __attribute__((may_alias)) av_alias64; |
---|
5467 | |
---|
5468 | typedef union { |
---|
5469 | uint32_t u32; |
---|
5470 | uint16_t u16[2]; |
---|
5471 | uint8_t u8 [4]; |
---|
5472 | float f32; |
---|
5473 | } __attribute__((may_alias)) av_alias32; |
---|
5474 | |
---|
5475 | typedef union { |
---|
5476 | uint16_t u16; |
---|
5477 | uint8_t u8 [2]; |
---|
5478 | } __attribute__((may_alias)) av_alias16; |
---|
5479 | # 70 "./libavutil/intreadwrite.h" |
---|
5480 | # 1 "./libavutil/x86/intreadwrite.h" 1 |
---|
5481 | # 33 "./libavutil/x86/intreadwrite.h" |
---|
5482 | static __attribute__((always_inline)) inline void AV_COPY64(void *d, const void *s) |
---|
5483 | { |
---|
5484 | __asm__("movq %1, %%mm0 \n\t" |
---|
5485 | "movq %%mm0, %0 \n\t" |
---|
5486 | : "=m"(*(uint64_t*)d) |
---|
5487 | : "m" (*(const uint64_t*)s) |
---|
5488 | : "mm0"); |
---|
5489 | } |
---|
5490 | |
---|
5491 | |
---|
5492 | static __attribute__((always_inline)) inline void AV_SWAP64(void *a, void *b) |
---|
5493 | { |
---|
5494 | __asm__("movq %1, %%mm0 \n\t" |
---|
5495 | "movq %0, %%mm1 \n\t" |
---|
5496 | "movq %%mm0, %0 \n\t" |
---|
5497 | "movq %%mm1, %1 \n\t" |
---|
5498 | : "+m"(*(uint64_t*)a), "+m"(*(uint64_t*)b) |
---|
5499 | ::"mm0", "mm1"); |
---|
5500 | } |
---|
5501 | |
---|
5502 | |
---|
5503 | static __attribute__((always_inline)) inline void AV_ZERO64(void *d) |
---|
5504 | { |
---|
5505 | __asm__("pxor %%mm0, %%mm0 \n\t" |
---|
5506 | "movq %%mm0, %0 \n\t" |
---|
5507 | : "=m"(*(uint64_t*)d) |
---|
5508 | :: "mm0"); |
---|
5509 | } |
---|
5510 | |
---|
5511 | |
---|
5512 | |
---|
5513 | |
---|
5514 | |
---|
5515 | |
---|
5516 | static __attribute__((always_inline)) inline void AV_COPY128(void *d, const void *s) |
---|
5517 | { |
---|
5518 | struct v {uint64_t v[2];}; |
---|
5519 | |
---|
5520 | __asm__("movaps %1, %%xmm0 \n\t" |
---|
5521 | "movaps %%xmm0, %0 \n\t" |
---|
5522 | : "=m"(*(struct v*)d) |
---|
5523 | : "m" (*(const struct v*)s) |
---|
5524 | : "xmm0"); |
---|
5525 | } |
---|
5526 | |
---|
5527 | |
---|
5528 | |
---|
5529 | |
---|
5530 | |
---|
5531 | |
---|
5532 | static __attribute__((always_inline)) inline void AV_ZERO128(void *d) |
---|
5533 | { |
---|
5534 | struct v {uint64_t v[2];}; |
---|
5535 | |
---|
5536 | __asm__("pxor %%xmm0, %%xmm0 \n\t" |
---|
5537 | "movdqa %%xmm0, %0 \n\t" |
---|
5538 | : "=m"(*(struct v*)d) |
---|
5539 | :: "xmm0"); |
---|
5540 | } |
---|
5541 | # 71 "./libavutil/intreadwrite.h" 2 |
---|
5542 | # 188 "./libavutil/intreadwrite.h" |
---|
5543 | union unaligned_64 { uint64_t l; } __attribute__((packed)) __attribute__((may_alias)); |
---|
5544 | union unaligned_32 { uint32_t l; } __attribute__((packed)) __attribute__((may_alias)); |
---|
5545 | union unaligned_16 { uint16_t l; } __attribute__((packed)) __attribute__((may_alias)); |
---|
5546 | # 28 "libavcodec/bytestream.h" 2 |
---|
5547 | # 44 "libavcodec/bytestream.h" |
---|
5548 | static __attribute__((always_inline)) inline uint64_t bytestream_get_le64(const uint8_t **b){ (*b) += 8; return (((const union unaligned_64 *) (*b - 8))->l);}static __attribute__((always_inline)) inline void bytestream_put_le64(uint8_t **b, const uint64_t value){ ((((union unaligned_64 *) (*b))->l) = (value)); (*b) += 8;} |
---|
5549 | static __attribute__((always_inline)) inline unsigned int bytestream_get_le32(const uint8_t **b){ (*b) += 4; return (((const union unaligned_32 *) (*b - 4))->l);}static __attribute__((always_inline)) inline void bytestream_put_le32(uint8_t **b, const unsigned int value){ ((((union unaligned_32 *) (*b))->l) = (value)); (*b) += 4;} |
---|
5550 | static __attribute__((always_inline)) inline unsigned int bytestream_get_le24(const uint8_t **b){ (*b) += 3; return ((((const uint8_t*)(*b - 3))[2] << 16) | (((const uint8_t*)(*b - 3))[1] << 8) | ((const uint8_t*)(*b - 3))[0]);}static __attribute__((always_inline)) inline void bytestream_put_le24(uint8_t **b, const unsigned int value){ do { ((uint8_t*)(*b))[0] = (value); ((uint8_t*)(*b))[1] = (value)>>8; ((uint8_t*)(*b))[2] = (value)>>16; } while(0); (*b) += 3;} |
---|
5551 | static __attribute__((always_inline)) inline unsigned int bytestream_get_le16(const uint8_t **b){ (*b) += 2; return (((const union unaligned_16 *) (*b - 2))->l);}static __attribute__((always_inline)) inline void bytestream_put_le16(uint8_t **b, const unsigned int value){ ((((union unaligned_16 *) (*b))->l) = (value)); (*b) += 2;} |
---|
5552 | static __attribute__((always_inline)) inline uint64_t bytestream_get_be64(const uint8_t **b){ (*b) += 8; return av_bswap64((((const union unaligned_64 *) (*b - 8))->l));}static __attribute__((always_inline)) inline void bytestream_put_be64(uint8_t **b, const uint64_t value){ ((((union unaligned_64 *) (*b))->l) = (av_bswap64(value))); (*b) += 8;} |
---|
5553 | static __attribute__((always_inline)) inline unsigned int bytestream_get_be32(const uint8_t **b){ (*b) += 4; return av_bswap32((((const union unaligned_32 *) (*b - 4))->l));}static __attribute__((always_inline)) inline void bytestream_put_be32(uint8_t **b, const unsigned int value){ ((((union unaligned_32 *) (*b))->l) = (av_bswap32(value))); (*b) += 4;} |
---|
5554 | static __attribute__((always_inline)) inline unsigned int bytestream_get_be24(const uint8_t **b){ (*b) += 3; return ((((const uint8_t*)(*b - 3))[0] << 16) | (((const uint8_t*)(*b - 3))[1] << 8) | ((const uint8_t*)(*b - 3))[2]);}static __attribute__((always_inline)) inline void bytestream_put_be24(uint8_t **b, const unsigned int value){ do { ((uint8_t*)(*b))[2] = (value); ((uint8_t*)(*b))[1] = (value)>>8; ((uint8_t*)(*b))[0] = (value)>>16; } while(0); (*b) += 3;} |
---|
5555 | static __attribute__((always_inline)) inline unsigned int bytestream_get_be16(const uint8_t **b){ (*b) += 2; return av_bswap16((((const union unaligned_16 *) (*b - 2))->l));}static __attribute__((always_inline)) inline void bytestream_put_be16(uint8_t **b, const unsigned int value){ ((((union unaligned_16 *) (*b))->l) = (av_bswap16(value))); (*b) += 2;} |
---|
5556 | static __attribute__((always_inline)) inline unsigned int bytestream_get_byte(const uint8_t **b){ (*b) += 1; return (((const uint8_t*)(*b - 1))[0]);}static __attribute__((always_inline)) inline void bytestream_put_byte(uint8_t **b, const unsigned int value){ do { ((uint8_t*)(*b))[0] = (value); } while(0); (*b) += 1;} |
---|
5557 | |
---|
5558 | |
---|
5559 | |
---|
5560 | |
---|
5561 | |
---|
5562 | static __attribute__((always_inline)) inline unsigned int bytestream_get_buffer(const uint8_t **b, uint8_t *dst, unsigned int size) |
---|
5563 | { |
---|
5564 | ((__builtin_object_size (dst, 0) != (size_t) -1) ? __builtin___memcpy_chk (dst, *b, size, __builtin_object_size (dst, 0)) : __inline_memcpy_chk (dst, *b, size)); |
---|
5565 | (*b) += size; |
---|
5566 | return size; |
---|
5567 | } |
---|
5568 | |
---|
5569 | static __attribute__((always_inline)) inline void bytestream_put_buffer(uint8_t **b, const uint8_t *src, unsigned int size) |
---|
5570 | { |
---|
5571 | ((__builtin_object_size (*b, 0) != (size_t) -1) ? __builtin___memcpy_chk (*b, src, size, __builtin_object_size (*b, 0)) : __inline_memcpy_chk (*b, src, size)); |
---|
5572 | (*b) += size; |
---|
5573 | } |
---|
5574 | # 30 "libavcodec/imx_dump_header_bsf.c" 2 |
---|
5575 | |
---|
5576 | |
---|
5577 | static int imx_dump_header(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, |
---|
5578 | uint8_t **poutbuf, int *poutbuf_size, |
---|
5579 | const uint8_t *buf, int buf_size, int keyframe) |
---|
5580 | { |
---|
5581 | |
---|
5582 | static const uint8_t imx_header[16] = { 0x06,0x0e,0x2b,0x34,0x01,0x02,0x01,0x01,0x0d,0x01,0x03,0x01,0x05,0x01,0x01,0x00 }; |
---|
5583 | uint8_t *poutbufp; |
---|
5584 | |
---|
5585 | if (avctx->codec_id != CODEC_ID_MPEG2VIDEO) { |
---|
5586 | av_log(avctx, 16, "imx bitstream filter only applies to mpeg2video codec\n"); |
---|
5587 | return 0; |
---|
5588 | } |
---|
5589 | |
---|
5590 | *poutbuf = av_malloc(buf_size + 20 + 8); |
---|
5591 | poutbufp = *poutbuf; |
---|
5592 | bytestream_put_buffer(&poutbufp, imx_header, 16); |
---|
5593 | bytestream_put_byte(&poutbufp, 0x83); |
---|
5594 | bytestream_put_be24(&poutbufp, buf_size); |
---|
5595 | bytestream_put_buffer(&poutbufp, buf, buf_size); |
---|
5596 | *poutbuf_size = poutbufp - *poutbuf; |
---|
5597 | return 1; |
---|
5598 | } |
---|
5599 | |
---|
5600 | AVBitStreamFilter ff_imx_dump_header_bsf = { |
---|
5601 | "imxdump", |
---|
5602 | 0, |
---|
5603 | imx_dump_header, |
---|
5604 | }; |
---|