lavc: add codec descriptors.
[libav.git] / libavcodec / codec_desc.c
CommitLineData
c223d799
AK
1/*
2 * This file is part of Libav.
3 *
4 * Libav is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * Libav is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with Libav; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 */
18
19#include "avcodec.h"
20
21#include "libavutil/internal.h"
22
23static const AVCodecDescriptor codec_descriptors[] = {
24 /* video codecs */
25 {
26 .id = AV_CODEC_ID_MPEG1VIDEO,
27 .type = AVMEDIA_TYPE_VIDEO,
28 .name = "mpeg1video",
29 .long_name = NULL_IF_CONFIG_SMALL("MPEG-1 video"),
30 },
31 {
32 .id = AV_CODEC_ID_MPEG2VIDEO,
33 .type = AVMEDIA_TYPE_VIDEO,
34 .name = "mpeg2video",
35 .long_name = NULL_IF_CONFIG_SMALL("MPEG-1 video"),
36 },
37 {
38 .id = AV_CODEC_ID_MPEG2VIDEO_XVMC,
39 .type = AVMEDIA_TYPE_VIDEO,
40 .name = "mpegvideo_xvmc",
41 .long_name = NULL_IF_CONFIG_SMALL("MPEG-1/2 video XvMC (X-Video Motion Compensation)"),
42 },
43 {
44 .id = AV_CODEC_ID_H261,
45 .type = AVMEDIA_TYPE_VIDEO,
46 .name = "h261",
47 .long_name = NULL_IF_CONFIG_SMALL("H.261"),
48 },
49 {
50 .id = AV_CODEC_ID_H263,
51 .type = AVMEDIA_TYPE_VIDEO,
52 .name = "h263",
53 .long_name = NULL_IF_CONFIG_SMALL("H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2"),
54 },
55 {
56 .id = AV_CODEC_ID_RV10,
57 .type = AVMEDIA_TYPE_VIDEO,
58 .name = "rv10",
59 .long_name = NULL_IF_CONFIG_SMALL("RealVideo 1.0"),
60 },
61 {
62 .id = AV_CODEC_ID_RV20,
63 .type = AVMEDIA_TYPE_VIDEO,
64 .name = "rv20",
65 .long_name = NULL_IF_CONFIG_SMALL("RealVideo 1.0"),
66 },
67 {
68 .id = AV_CODEC_ID_MJPEG,
69 .type = AVMEDIA_TYPE_VIDEO,
70 .name = "mjpeg",
71 .long_name = NULL_IF_CONFIG_SMALL("Motion JPEG"),
72 },
73 {
74 .id = AV_CODEC_ID_MJPEGB,
75 .type = AVMEDIA_TYPE_VIDEO,
76 .name = "mjpegb",
77 .long_name = NULL_IF_CONFIG_SMALL("Apple MJPEG-B"),
78 },
79 {
80 .id = AV_CODEC_ID_LJPEG,
81 .type = AVMEDIA_TYPE_VIDEO,
82 .name = "ljpeg",
83 .long_name = NULL_IF_CONFIG_SMALL("Lossless JPEG"),
84 },
85 {
86 .id = AV_CODEC_ID_SP5X,
87 .type = AVMEDIA_TYPE_VIDEO,
88 .name = "sp5x",
89 .long_name = NULL_IF_CONFIG_SMALL("Sunplus JPEG (SP5X)"),
90 },
91 {
92 .id = AV_CODEC_ID_JPEGLS,
93 .type = AVMEDIA_TYPE_VIDEO,
94 .name = "jpegls",
95 .long_name = NULL_IF_CONFIG_SMALL("JPEG-LS"),
96 },
97 {
98 .id = AV_CODEC_ID_MPEG4,
99 .type = AVMEDIA_TYPE_VIDEO,
100 .name = "mpeg4",
101 .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2"),
102 },
103 {
104 .id = AV_CODEC_ID_RAWVIDEO,
105 .type = AVMEDIA_TYPE_VIDEO,
106 .name = "rawvideo",
107 .long_name = NULL_IF_CONFIG_SMALL("raw video"),
108 },
109 {
110 .id = AV_CODEC_ID_MSMPEG4V1,
111 .type = AVMEDIA_TYPE_VIDEO,
112 .name = "msmpeg4v1",
113 .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 1"),
114 },
115 {
116 .id = AV_CODEC_ID_MSMPEG4V2,
117 .type = AVMEDIA_TYPE_VIDEO,
118 .name = "msmpeg4v2",
119 .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 2"),
120 },
121 {
122 .id = AV_CODEC_ID_MSMPEG4V3,
123 .type = AVMEDIA_TYPE_VIDEO,
124 .name = "msmpeg4v3",
125 .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 3"),
126 },
127 {
128 .id = AV_CODEC_ID_WMV1,
129 .type = AVMEDIA_TYPE_VIDEO,
130 .name = "wmv1",
131 .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 7"),
132 },
133 {
134 .id = AV_CODEC_ID_WMV2,
135 .type = AVMEDIA_TYPE_VIDEO,
136 .name = "wmv2",
137 .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 8"),
138 },
139 {
140 .id = AV_CODEC_ID_H263P,
141 .type = AVMEDIA_TYPE_VIDEO,
142 .name = "h263p",
143 .long_name = NULL_IF_CONFIG_SMALL("H.263+ / H.263-1998 / H.263 version 2"),
144 },
145 {
146 .id = AV_CODEC_ID_H263I,
147 .type = AVMEDIA_TYPE_VIDEO,
148 .name = "h263i",
149 .long_name = NULL_IF_CONFIG_SMALL("Intel H.263"),
150 },
151 {
152 .id = AV_CODEC_ID_FLV1,
153 .type = AVMEDIA_TYPE_VIDEO,
154 .name = "flv1",
155 .long_name = NULL_IF_CONFIG_SMALL("FLV / Sorenson Spark / Sorenson H.263 (Flash Video)"),
156 },
157 {
158 .id = AV_CODEC_ID_SVQ1,
159 .type = AVMEDIA_TYPE_VIDEO,
160 .name = "svq1",
161 .long_name = NULL_IF_CONFIG_SMALL("Sorenson Vector Quantizer 1 / Sorenson Video 1 / SVQ1"),
162 },
163 {
164 .id = AV_CODEC_ID_SVQ3,
165 .type = AVMEDIA_TYPE_VIDEO,
166 .name = "svq3",
167 .long_name = NULL_IF_CONFIG_SMALL("Sorenson Vector Quantizer 3 / Sorenson Video 3 / SVQ3"),
168 },
169 {
170 .id = AV_CODEC_ID_DVVIDEO,
171 .type = AVMEDIA_TYPE_VIDEO,
172 .name = "dvvideo",
173 .long_name = NULL_IF_CONFIG_SMALL("DV (Digital Video)"),
174 },
175 {
176 .id = AV_CODEC_ID_HUFFYUV,
177 .type = AVMEDIA_TYPE_VIDEO,
178 .name = "huffyuv",
179 .long_name = NULL_IF_CONFIG_SMALL("HuffYUV"),
180 },
181 {
182 .id = AV_CODEC_ID_CYUV,
183 .type = AVMEDIA_TYPE_VIDEO,
184 .name = "cyuv",
185 .long_name = NULL_IF_CONFIG_SMALL("Creative YUV (CYUV)"),
186 },
187 {
188 .id = AV_CODEC_ID_H264,
189 .type = AVMEDIA_TYPE_VIDEO,
190 .name = "h264",
191 .long_name = NULL_IF_CONFIG_SMALL("H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10"),
192 },
193 {
194 .id = AV_CODEC_ID_INDEO3,
195 .type = AVMEDIA_TYPE_VIDEO,
196 .name = "indeo3",
197 .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo 3"),
198 },
199 {
200 .id = AV_CODEC_ID_VP3,
201 .type = AVMEDIA_TYPE_VIDEO,
202 .name = "vp3",
203 .long_name = NULL_IF_CONFIG_SMALL("On2 VP3"),
204 },
205 {
206 .id = AV_CODEC_ID_THEORA,
207 .type = AVMEDIA_TYPE_VIDEO,
208 .name = "theora",
209 .long_name = NULL_IF_CONFIG_SMALL("Theora"),
210 },
211 {
212 .id = AV_CODEC_ID_ASV1,
213 .type = AVMEDIA_TYPE_VIDEO,
214 .name = "asv1",
215 .long_name = NULL_IF_CONFIG_SMALL("ASUS V1"),
216 },
217 {
218 .id = AV_CODEC_ID_ASV2,
219 .type = AVMEDIA_TYPE_VIDEO,
220 .name = "asv2",
221 .long_name = NULL_IF_CONFIG_SMALL("ASUS V2"),
222 },
223 {
224 .id = AV_CODEC_ID_FFV1,
225 .type = AVMEDIA_TYPE_VIDEO,
226 .name = "ffv1",
227 .long_name = NULL_IF_CONFIG_SMALL("FFmpeg video codec #1"),
228 },
229 {
230 .id = AV_CODEC_ID_4XM,
231 .type = AVMEDIA_TYPE_VIDEO,
232 .name = "4xm",
233 .long_name = NULL_IF_CONFIG_SMALL("4X Movie"),
234 },
235 {
236 .id = AV_CODEC_ID_VCR1,
237 .type = AVMEDIA_TYPE_VIDEO,
238 .name = "vcr1",
239 .long_name = NULL_IF_CONFIG_SMALL("ATI VCR1"),
240 },
241 {
242 .id = AV_CODEC_ID_CLJR,
243 .type = AVMEDIA_TYPE_VIDEO,
244 .name = "cljr",
245 .long_name = NULL_IF_CONFIG_SMALL("Cirrus Logic AccuPak"),
246 },
247 {
248 .id = AV_CODEC_ID_MDEC,
249 .type = AVMEDIA_TYPE_VIDEO,
250 .name = "mdec",
251 .long_name = NULL_IF_CONFIG_SMALL("Sony PlayStation MDEC (Motion DECoder)"),
252 },
253 {
254 .id = AV_CODEC_ID_ROQ,
255 .type = AVMEDIA_TYPE_VIDEO,
256 .name = "roq",
257 .long_name = NULL_IF_CONFIG_SMALL("id RoQ video"),
258 },
259 {
260 .id = AV_CODEC_ID_INTERPLAY_VIDEO,
261 .type = AVMEDIA_TYPE_VIDEO,
262 .name = "interplayvideo",
263 .long_name = NULL_IF_CONFIG_SMALL("Interplay MVE video"),
264 },
265 {
266 .id = AV_CODEC_ID_XAN_WC3,
267 .type = AVMEDIA_TYPE_VIDEO,
268 .name = "xan_wc3",
269 .long_name = NULL_IF_CONFIG_SMALL("Wing Commander III / Xan"),
270 },
271 {
272 .id = AV_CODEC_ID_XAN_WC4,
273 .type = AVMEDIA_TYPE_VIDEO,
274 .name = "xan_wc4",
275 .long_name = NULL_IF_CONFIG_SMALL("Wing Commander IV / Xxan"),
276 },
277 {
278 .id = AV_CODEC_ID_RPZA,
279 .type = AVMEDIA_TYPE_VIDEO,
280 .name = "rpza",
281 .long_name = NULL_IF_CONFIG_SMALL("QuickTime video (RPZA)"),
282 },
283 {
284 .id = AV_CODEC_ID_CINEPAK,
285 .type = AVMEDIA_TYPE_VIDEO,
286 .name = "cinepak",
287 .long_name = NULL_IF_CONFIG_SMALL("Cinepak"),
288 },
289 {
290 .id = AV_CODEC_ID_WS_VQA,
291 .type = AVMEDIA_TYPE_VIDEO,
292 .name = "ws_vqa",
293 .long_name = NULL_IF_CONFIG_SMALL("Westwood Studios VQA (Vector Quantized Animation) video"),
294 },
295 {
296 .id = AV_CODEC_ID_MSRLE,
297 .type = AVMEDIA_TYPE_VIDEO,
298 .name = "msrle",
299 .long_name = NULL_IF_CONFIG_SMALL("Microsoft RLE"),
300 },
301 {
302 .id = AV_CODEC_ID_MSVIDEO1,
303 .type = AVMEDIA_TYPE_VIDEO,
304 .name = "msvideo1",
305 .long_name = NULL_IF_CONFIG_SMALL("Microsoft Video 1"),
306 },
307 {
308 .id = AV_CODEC_ID_IDCIN,
309 .type = AVMEDIA_TYPE_VIDEO,
310 .name = "idcin",
311 .long_name = NULL_IF_CONFIG_SMALL("id Quake II CIN video"),
312 },
313 {
314 .id = AV_CODEC_ID_8BPS,
315 .type = AVMEDIA_TYPE_VIDEO,
316 .name = "8bps",
317 .long_name = NULL_IF_CONFIG_SMALL("QuickTime 8BPS video"),
318 },
319 {
320 .id = AV_CODEC_ID_SMC,
321 .type = AVMEDIA_TYPE_VIDEO,
322 .name = "smc",
323 .long_name = NULL_IF_CONFIG_SMALL("QuickTime Graphics (SMC)"),
324 },
325 {
326 .id = AV_CODEC_ID_FLIC,
327 .type = AVMEDIA_TYPE_VIDEO,
328 .name = "flic",
329 .long_name = NULL_IF_CONFIG_SMALL("Autodesk Animator Flic video"),
330 },
331 {
332 .id = AV_CODEC_ID_TRUEMOTION1,
333 .type = AVMEDIA_TYPE_VIDEO,
334 .name = "truemotion1",
335 .long_name = NULL_IF_CONFIG_SMALL("Duck TrueMotion 1.0"),
336 },
337 {
338 .id = AV_CODEC_ID_VMDVIDEO,
339 .type = AVMEDIA_TYPE_VIDEO,
340 .name = "vmdvideo",
341 .long_name = NULL_IF_CONFIG_SMALL("Sierra VMD video"),
342 },
343 {
344 .id = AV_CODEC_ID_MSZH,
345 .type = AVMEDIA_TYPE_VIDEO,
346 .name = "mszh",
347 .long_name = NULL_IF_CONFIG_SMALL("LCL (LossLess Codec Library) MSZH"),
348 },
349 {
350 .id = AV_CODEC_ID_ZLIB,
351 .type = AVMEDIA_TYPE_VIDEO,
352 .name = "zlib",
353 .long_name = NULL_IF_CONFIG_SMALL("LCL (LossLess Codec Library) ZLIB"),
354 },
355 {
356 .id = AV_CODEC_ID_QTRLE,
357 .type = AVMEDIA_TYPE_VIDEO,
358 .name = "qtrle",
359 .long_name = NULL_IF_CONFIG_SMALL("QuickTime Animation (RLE) video"),
360 },
361 {
362 .id = AV_CODEC_ID_SNOW,
363 .type = AVMEDIA_TYPE_VIDEO,
364 .name = "snow",
365 .long_name = NULL_IF_CONFIG_SMALL("Snow"),
366 },
367 {
368 .id = AV_CODEC_ID_TSCC,
369 .type = AVMEDIA_TYPE_VIDEO,
370 .name = "tscc",
371 .long_name = NULL_IF_CONFIG_SMALL("TechSmith Screen Capture Codec"),
372 },
373 {
374 .id = AV_CODEC_ID_ULTI,
375 .type = AVMEDIA_TYPE_VIDEO,
376 .name = "ulti",
377 .long_name = NULL_IF_CONFIG_SMALL("IBM UltiMotion"),
378 },
379 {
380 .id = AV_CODEC_ID_QDRAW,
381 .type = AVMEDIA_TYPE_VIDEO,
382 .name = "qdraw",
383 .long_name = NULL_IF_CONFIG_SMALL("Apple QuickDraw"),
384 },
385 {
386 .id = AV_CODEC_ID_VIXL,
387 .type = AVMEDIA_TYPE_VIDEO,
388 .name = "vixl",
389 .long_name = NULL_IF_CONFIG_SMALL("Miro VideoXL"),
390 },
391 {
392 .id = AV_CODEC_ID_QPEG,
393 .type = AVMEDIA_TYPE_VIDEO,
394 .name = "qpeg",
395 .long_name = NULL_IF_CONFIG_SMALL("Q-team QPEG"),
396 },
397 {
398 .id = AV_CODEC_ID_PNG,
399 .type = AVMEDIA_TYPE_VIDEO,
400 .name = "png",
401 .long_name = NULL_IF_CONFIG_SMALL("PNG (Portable Network Graphics) image"),
402 },
403 {
404 .id = AV_CODEC_ID_PPM,
405 .type = AVMEDIA_TYPE_VIDEO,
406 .name = "ppm",
407 .long_name = NULL_IF_CONFIG_SMALL("PPM (Portable PixelMap) image"),
408 },
409 {
410 .id = AV_CODEC_ID_PBM,
411 .type = AVMEDIA_TYPE_VIDEO,
412 .name = "pbm",
413 .long_name = NULL_IF_CONFIG_SMALL("PBM (Portable BitMap) image"),
414 },
415 {
416 .id = AV_CODEC_ID_PGM,
417 .type = AVMEDIA_TYPE_VIDEO,
418 .name = "pgm",
419 .long_name = NULL_IF_CONFIG_SMALL("PGM (Portable GrayMap) image"),
420 },
421 {
422 .id = AV_CODEC_ID_PGMYUV,
423 .type = AVMEDIA_TYPE_VIDEO,
424 .name = "pgmyuv",
425 .long_name = NULL_IF_CONFIG_SMALL("PGMYUV (Portable GrayMap YUV) image"),
426 },
427 {
428 .id = AV_CODEC_ID_PAM,
429 .type = AVMEDIA_TYPE_VIDEO,
430 .name = "pam",
431 .long_name = NULL_IF_CONFIG_SMALL("PAM (Portable AnyMap) image"),
432 },
433 {
434 .id = AV_CODEC_ID_FFVHUFF,
435 .type = AVMEDIA_TYPE_VIDEO,
436 .name = "ffvhuff",
437 .long_name = NULL_IF_CONFIG_SMALL("Huffyuv FFmpeg variant"),
438 },
439 {
440 .id = AV_CODEC_ID_RV30,
441 .type = AVMEDIA_TYPE_VIDEO,
442 .name = "rv30",
443 .long_name = NULL_IF_CONFIG_SMALL("RealVideo 3.0"),
444 },
445 {
446 .id = AV_CODEC_ID_RV40,
447 .type = AVMEDIA_TYPE_VIDEO,
448 .name = "rv40",
449 .long_name = NULL_IF_CONFIG_SMALL("RealVideo 4.0"),
450 },
451 {
452 .id = AV_CODEC_ID_VC1,
453 .type = AVMEDIA_TYPE_VIDEO,
454 .name = "vc1",
455 .long_name = NULL_IF_CONFIG_SMALL("SMPTE VC-1"),
456 },
457 {
458 .id = AV_CODEC_ID_WMV3,
459 .type = AVMEDIA_TYPE_VIDEO,
460 .name = "wmv3",
461 .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 9"),
462 },
463 {
464 .id = AV_CODEC_ID_LOCO,
465 .type = AVMEDIA_TYPE_VIDEO,
466 .name = "loco",
467 .long_name = NULL_IF_CONFIG_SMALL("LOCO"),
468 },
469 {
470 .id = AV_CODEC_ID_WNV1,
471 .type = AVMEDIA_TYPE_VIDEO,
472 .name = "wnv1",
473 .long_name = NULL_IF_CONFIG_SMALL("Winnov WNV1"),
474 },
475 {
476 .id = AV_CODEC_ID_AASC,
477 .type = AVMEDIA_TYPE_VIDEO,
478 .name = "aasc",
479 .long_name = NULL_IF_CONFIG_SMALL("Autodesk RLE"),
480 },
481 {
482 .id = AV_CODEC_ID_INDEO2,
483 .type = AVMEDIA_TYPE_VIDEO,
484 .name = "indeo2",
485 .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo 2"),
486 },
487 {
488 .id = AV_CODEC_ID_FRAPS,
489 .type = AVMEDIA_TYPE_VIDEO,
490 .name = "fraps",
491 .long_name = NULL_IF_CONFIG_SMALL("Fraps"),
492 },
493 {
494 .id = AV_CODEC_ID_TRUEMOTION2,
495 .type = AVMEDIA_TYPE_VIDEO,
496 .name = "truemotion2",
497 .long_name = NULL_IF_CONFIG_SMALL("Duck TrueMotion 2.0"),
498 },
499 {
500 .id = AV_CODEC_ID_BMP,
501 .type = AVMEDIA_TYPE_VIDEO,
502 .name = "bmp",
503 .long_name = NULL_IF_CONFIG_SMALL("BMP (Windows and OS/2 bitmap)"),
504 },
505 {
506 .id = AV_CODEC_ID_CSCD,
507 .type = AVMEDIA_TYPE_VIDEO,
508 .name = "cscd",
509 .long_name = NULL_IF_CONFIG_SMALL("CamStudio"),
510 },
511 {
512 .id = AV_CODEC_ID_MMVIDEO,
513 .type = AVMEDIA_TYPE_VIDEO,
514 .name = "mmvideo",
515 .long_name = NULL_IF_CONFIG_SMALL("American Laser Games MM Video"),
516 },
517 {
518 .id = AV_CODEC_ID_ZMBV,
519 .type = AVMEDIA_TYPE_VIDEO,
520 .name = "zmbv",
521 .long_name = NULL_IF_CONFIG_SMALL("Zip Motion Blocks Video"),
522 },
523 {
524 .id = AV_CODEC_ID_AVS,
525 .type = AVMEDIA_TYPE_VIDEO,
526 .name = "avs",
527 .long_name = NULL_IF_CONFIG_SMALL("AVS (Audio Video Standard) video"),
528 },
529 {
530 .id = AV_CODEC_ID_SMACKVIDEO,
531 .type = AVMEDIA_TYPE_VIDEO,
532 .name = "smackvideo",
533 .long_name = NULL_IF_CONFIG_SMALL("Smacker video"),
534 },
535 {
536 .id = AV_CODEC_ID_NUV,
537 .type = AVMEDIA_TYPE_VIDEO,
538 .name = "nuv",
539 .long_name = NULL_IF_CONFIG_SMALL("NuppelVideo/RTJPEG"),
540 },
541 {
542 .id = AV_CODEC_ID_KMVC,
543 .type = AVMEDIA_TYPE_VIDEO,
544 .name = "kmvc",
545 .long_name = NULL_IF_CONFIG_SMALL("Karl Morton's video codec"),
546 },
547 {
548 .id = AV_CODEC_ID_FLASHSV,
549 .type = AVMEDIA_TYPE_VIDEO,
550 .name = "flashsv",
551 .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v1"),
552 },
553 {
554 .id = AV_CODEC_ID_CAVS,
555 .type = AVMEDIA_TYPE_VIDEO,
556 .name = "cavs",
557 .long_name = NULL_IF_CONFIG_SMALL("Chinese AVS (Audio Video Standard) (AVS1-P2, JiZhun profile)"),
558 },
559 {
560 .id = AV_CODEC_ID_JPEG2000,
561 .type = AVMEDIA_TYPE_VIDEO,
562 .name = "jpeg2000",
563 .long_name = NULL_IF_CONFIG_SMALL("JPEG 2000"),
564 },
565 {
566 .id = AV_CODEC_ID_VMNC,
567 .type = AVMEDIA_TYPE_VIDEO,
568 .name = "vmnc",
569 .long_name = NULL_IF_CONFIG_SMALL("VMware Screen Codec / VMware Video"),
570 },
571 {
572 .id = AV_CODEC_ID_VP5,
573 .type = AVMEDIA_TYPE_VIDEO,
574 .name = "vp5",
575 .long_name = NULL_IF_CONFIG_SMALL("On2 VP5"),
576 },
577 {
578 .id = AV_CODEC_ID_VP6,
579 .type = AVMEDIA_TYPE_VIDEO,
580 .name = "vp6",
581 .long_name = NULL_IF_CONFIG_SMALL("On2 VP6"),
582 },
583 {
584 .id = AV_CODEC_ID_VP6F,
585 .type = AVMEDIA_TYPE_VIDEO,
586 .name = "vp6f",
587 .long_name = NULL_IF_CONFIG_SMALL("On2 VP6 (Flash version)"),
588 },
589 {
590 .id = AV_CODEC_ID_TARGA,
591 .type = AVMEDIA_TYPE_VIDEO,
592 .name = "targa",
593 .long_name = NULL_IF_CONFIG_SMALL("Truevision Targa image"),
594 },
595 {
596 .id = AV_CODEC_ID_DSICINVIDEO,
597 .type = AVMEDIA_TYPE_VIDEO,
598 .name = "dsicinvideo",
599 .long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN video"),
600 },
601 {
602 .id = AV_CODEC_ID_TIERTEXSEQVIDEO,
603 .type = AVMEDIA_TYPE_VIDEO,
604 .name = "tiertexseqvideo",
605 .long_name = NULL_IF_CONFIG_SMALL("Tiertex Limited SEQ video"),
606 },
607 {
608 .id = AV_CODEC_ID_TIFF,
609 .type = AVMEDIA_TYPE_VIDEO,
610 .name = "tiff",
611 .long_name = NULL_IF_CONFIG_SMALL("TIFF image"),
612 },
613 {
614 .id = AV_CODEC_ID_GIF,
615 .type = AVMEDIA_TYPE_VIDEO,
616 .name = "gif",
617 .long_name = NULL_IF_CONFIG_SMALL("GIF (Graphics Interchange Format)"),
618 },
619 {
620 .id = AV_CODEC_ID_DXA,
621 .type = AVMEDIA_TYPE_VIDEO,
622 .name = "dxa",
623 .long_name = NULL_IF_CONFIG_SMALL("Feeble Files/ScummVM DXA"),
624 },
625 {
626 .id = AV_CODEC_ID_DNXHD,
627 .type = AVMEDIA_TYPE_VIDEO,
628 .name = "dnxhd",
629 .long_name = NULL_IF_CONFIG_SMALL("VC3/DNxHD"),
630 },
631 {
632 .id = AV_CODEC_ID_THP,
633 .type = AVMEDIA_TYPE_VIDEO,
634 .name = "thp",
635 .long_name = NULL_IF_CONFIG_SMALL("Nintendo Gamecube THP video"),
636 },
637 {
638 .id = AV_CODEC_ID_SGI,
639 .type = AVMEDIA_TYPE_VIDEO,
640 .name = "sgi",
641 .long_name = NULL_IF_CONFIG_SMALL("SGI image"),
642 },
643 {
644 .id = AV_CODEC_ID_C93,
645 .type = AVMEDIA_TYPE_VIDEO,
646 .name = "c93",
647 .long_name = NULL_IF_CONFIG_SMALL("Interplay C93"),
648 },
649 {
650 .id = AV_CODEC_ID_BETHSOFTVID,
651 .type = AVMEDIA_TYPE_VIDEO,
652 .name = "bethsoftvid",
653 .long_name = NULL_IF_CONFIG_SMALL("Bethesda VID video"),
654 },
655 {
656 .id = AV_CODEC_ID_PTX,
657 .type = AVMEDIA_TYPE_VIDEO,
658 .name = "ptx",
659 .long_name = NULL_IF_CONFIG_SMALL("V.Flash PTX image"),
660 },
661 {
662 .id = AV_CODEC_ID_TXD,
663 .type = AVMEDIA_TYPE_VIDEO,
664 .name = "txd",
665 .long_name = NULL_IF_CONFIG_SMALL("Renderware TXD (TeXture Dictionary) image"),
666 },
667 {
668 .id = AV_CODEC_ID_VP6A,
669 .type = AVMEDIA_TYPE_VIDEO,
670 .name = "vp6a",
671 .long_name = NULL_IF_CONFIG_SMALL("On2 VP6 (Flash version, with alpha channel)"),
672 },
673 {
674 .id = AV_CODEC_ID_AMV,
675 .type = AVMEDIA_TYPE_VIDEO,
676 .name = "amv",
677 .long_name = NULL_IF_CONFIG_SMALL("AMV Video"),
678 },
679 {
680 .id = AV_CODEC_ID_VB,
681 .type = AVMEDIA_TYPE_VIDEO,
682 .name = "vb",
683 .long_name = NULL_IF_CONFIG_SMALL("Beam Software VB"),
684 },
685 {
686 .id = AV_CODEC_ID_PCX,
687 .type = AVMEDIA_TYPE_VIDEO,
688 .name = "pcx",
689 .long_name = NULL_IF_CONFIG_SMALL("PC Paintbrush PCX image"),
690 },
691 {
692 .id = AV_CODEC_ID_SUNRAST,
693 .type = AVMEDIA_TYPE_VIDEO,
694 .name = "sunrast",
695 .long_name = NULL_IF_CONFIG_SMALL("Sun Rasterfile image"),
696 },
697 {
698 .id = AV_CODEC_ID_INDEO4,
699 .type = AVMEDIA_TYPE_VIDEO,
700 .name = "indeo4",
701 .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo Video Interactive 4"),
702 },
703 {
704 .id = AV_CODEC_ID_INDEO5,
705 .type = AVMEDIA_TYPE_VIDEO,
706 .name = "indeo5",
707 .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo Video Interactive 5"),
708 },
709 {
710 .id = AV_CODEC_ID_MIMIC,
711 .type = AVMEDIA_TYPE_VIDEO,
712 .name = "mimic",
713 .long_name = NULL_IF_CONFIG_SMALL("Mimic"),
714 },
715 {
716 .id = AV_CODEC_ID_RL2,
717 .type = AVMEDIA_TYPE_VIDEO,
718 .name = "rl2",
719 .long_name = NULL_IF_CONFIG_SMALL("RL2 video"),
720 },
721 {
722 .id = AV_CODEC_ID_ESCAPE124,
723 .type = AVMEDIA_TYPE_VIDEO,
724 .name = "escape124",
725 .long_name = NULL_IF_CONFIG_SMALL("Escape 124"),
726 },
727 {
728 .id = AV_CODEC_ID_DIRAC,
729 .type = AVMEDIA_TYPE_VIDEO,
730 .name = "dirac",
731 .long_name = NULL_IF_CONFIG_SMALL("Dirac"),
732 },
733 {
734 .id = AV_CODEC_ID_BFI,
735 .type = AVMEDIA_TYPE_VIDEO,
736 .name = "bfi",
737 .long_name = NULL_IF_CONFIG_SMALL("Brute Force & Ignorance"),
738 },
739 {
740 .id = AV_CODEC_ID_CMV,
741 .type = AVMEDIA_TYPE_VIDEO,
742 .name = "cmv",
743 .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts CMV video"),
744 },
745 {
746 .id = AV_CODEC_ID_MOTIONPIXELS,
747 .type = AVMEDIA_TYPE_VIDEO,
748 .name = "motionpixels",
749 .long_name = NULL_IF_CONFIG_SMALL("Motion Pixels video"),
750 },
751 {
752 .id = AV_CODEC_ID_TGV,
753 .type = AVMEDIA_TYPE_VIDEO,
754 .name = "tgv",
755 .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts TGV video"),
756 },
757 {
758 .id = AV_CODEC_ID_TGQ,
759 .type = AVMEDIA_TYPE_VIDEO,
760 .name = "tgq",
761 .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts TGQ video"),
762 },
763 {
764 .id = AV_CODEC_ID_TQI,
765 .type = AVMEDIA_TYPE_VIDEO,
766 .name = "tqi",
767 .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts TQI video"),
768 },
769 {
770 .id = AV_CODEC_ID_AURA,
771 .type = AVMEDIA_TYPE_VIDEO,
772 .name = "aura",
773 .long_name = NULL_IF_CONFIG_SMALL("Auravision AURA"),
774 },
775 {
776 .id = AV_CODEC_ID_AURA2,
777 .type = AVMEDIA_TYPE_VIDEO,
778 .name = "aura2",
779 .long_name = NULL_IF_CONFIG_SMALL("Auravision Aura 2"),
780 },
781 {
782 .id = AV_CODEC_ID_V210X,
783 .type = AVMEDIA_TYPE_VIDEO,
784 .name = "v210x",
785 },
786 {
787 .id = AV_CODEC_ID_TMV,
788 .type = AVMEDIA_TYPE_VIDEO,
789 .name = "tmv",
790 },
791 {
792 .id = AV_CODEC_ID_V210,
793 .type = AVMEDIA_TYPE_VIDEO,
794 .name = "v210",
795 .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
796 },
797 {
798 .id = AV_CODEC_ID_DPX,
799 .type = AVMEDIA_TYPE_VIDEO,
800 .name = "dpx",
801 .long_name = NULL_IF_CONFIG_SMALL("DPX image"),
802 },
803 {
804 .id = AV_CODEC_ID_MAD,
805 .type = AVMEDIA_TYPE_VIDEO,
806 .name = "mad",
807 .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts Madcow Video")
808 },
809 {
810 .id = AV_CODEC_ID_FRWU,
811 .type = AVMEDIA_TYPE_VIDEO,
812 .name = "frwu",
813 .long_name = NULL_IF_CONFIG_SMALL("Forward Uncompressed"),
814 },
815 {
816 .id = AV_CODEC_ID_FLASHSV2,
817 .type = AVMEDIA_TYPE_VIDEO,
818 .name = "flashsv2",
819 .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v2"),
820 },
821 {
822 .id = AV_CODEC_ID_CDGRAPHICS,
823 .type = AVMEDIA_TYPE_VIDEO,
824 .name = "cdgraphics",
825 .long_name = NULL_IF_CONFIG_SMALL("CD Graphics video"),
826 },
827 {
828 .id = AV_CODEC_ID_R210,
829 .type = AVMEDIA_TYPE_VIDEO,
830 .name = "r210",
831 .long_name = NULL_IF_CONFIG_SMALL("Uncompressed RGB 10-bit"),
832 },
833 {
834 .id = AV_CODEC_ID_ANM,
835 .type = AVMEDIA_TYPE_VIDEO,
836 .name = "anm",
837 .long_name = NULL_IF_CONFIG_SMALL("Deluxe Paint Animation"),
838 },
839 {
840 .id = AV_CODEC_ID_BINKVIDEO,
841 .type = AVMEDIA_TYPE_VIDEO,
842 .name = "binkvideo",
843 .long_name = NULL_IF_CONFIG_SMALL("Bink video"),
844 },
845 {
846 .id = AV_CODEC_ID_IFF_ILBM,
847 .type = AVMEDIA_TYPE_VIDEO,
848 .name = "iff_ilbm",
849 .long_name = NULL_IF_CONFIG_SMALL("IFF ILBM"),
850 },
851 {
852 .id = AV_CODEC_ID_IFF_BYTERUN1,
853 .type = AVMEDIA_TYPE_VIDEO,
854 .name = "iff_byterun1",
855 .long_name = NULL_IF_CONFIG_SMALL("IFF ByteRun1"),
856 },
857 {
858 .id = AV_CODEC_ID_KGV1,
859 .type = AVMEDIA_TYPE_VIDEO,
860 .name = "kgv1",
861 .long_name = NULL_IF_CONFIG_SMALL("Kega Game Video"),
862 },
863 {
864 .id = AV_CODEC_ID_YOP,
865 .type = AVMEDIA_TYPE_VIDEO,
866 .name = "yop",
867 .long_name = NULL_IF_CONFIG_SMALL("Psygnosis YOP Video"),
868 },
869 {
870 .id = AV_CODEC_ID_VP8,
871 .type = AVMEDIA_TYPE_VIDEO,
872 .name = "vp8",
873 .long_name = NULL_IF_CONFIG_SMALL("On2 VP8"),
874 },
875 {
876 .id = AV_CODEC_ID_PICTOR,
877 .type = AVMEDIA_TYPE_VIDEO,
878 .name = "pictor",
879 .long_name = NULL_IF_CONFIG_SMALL("Pictor/PC Paint"),
880 },
881 {
882 .id = AV_CODEC_ID_ANSI,
883 .type = AVMEDIA_TYPE_VIDEO,
884 .name = "ansi",
885 .long_name = NULL_IF_CONFIG_SMALL("ASCII/ANSI art"),
886 },
887 {
888 .id = AV_CODEC_ID_A64_MULTI,
889 .type = AVMEDIA_TYPE_VIDEO,
890 .name = "a64_multi",
891 .long_name = NULL_IF_CONFIG_SMALL("Multicolor charset for Commodore 64"),
892 },
893 {
894 .id = AV_CODEC_ID_A64_MULTI5,
895 .type = AVMEDIA_TYPE_VIDEO,
896 .name = "a64_multi5",
897 .long_name = NULL_IF_CONFIG_SMALL("Multicolor charset for Commodore 64, extended with 5th color (colram)"),
898 },
899 {
900 .id = AV_CODEC_ID_R10K,
901 .type = AVMEDIA_TYPE_VIDEO,
902 .name = "r10k",
903 .long_name = NULL_IF_CONFIG_SMALL("AJA Kona 10-bit RGB Codec"),
904 },
905 {
906 .id = AV_CODEC_ID_MXPEG,
907 .type = AVMEDIA_TYPE_VIDEO,
908 .name = "mxpeg",
909 .long_name = NULL_IF_CONFIG_SMALL("Mobotix MxPEG video"),
910 },
911 {
912 .id = AV_CODEC_ID_LAGARITH,
913 .type = AVMEDIA_TYPE_VIDEO,
914 .name = "lagarith",
915 .long_name = NULL_IF_CONFIG_SMALL("Lagarith lossless"),
916 },
917 {
918 .id = AV_CODEC_ID_PRORES,
919 .type = AVMEDIA_TYPE_VIDEO,
920 .name = "prores",
921 .long_name = NULL_IF_CONFIG_SMALL("Apple ProRes (iCodec Pro)"),
922 },
923 {
924 .id = AV_CODEC_ID_JV,
925 .type = AVMEDIA_TYPE_VIDEO,
926 .name = "jv",
927 .long_name = NULL_IF_CONFIG_SMALL("Bitmap Brothers JV video"),
928 },
929 {
930 .id = AV_CODEC_ID_DFA,
931 .type = AVMEDIA_TYPE_VIDEO,
932 .name = "dfa",
933 .long_name = NULL_IF_CONFIG_SMALL("Chronomaster DFA"),
934 },
935 {
936 .id = AV_CODEC_ID_WMV3IMAGE,
937 .type = AVMEDIA_TYPE_VIDEO,
938 .name = "wmv3image",
939 .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 9 Image"),
940 },
941 {
942 .id = AV_CODEC_ID_VC1IMAGE,
943 .type = AVMEDIA_TYPE_VIDEO,
944 .name = "vc1image",
945 .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 9 Image v2"),
946 },
947 {
948 .id = AV_CODEC_ID_UTVIDEO,
949 .type = AVMEDIA_TYPE_VIDEO,
950 .name = "utvideo",
951 .long_name = NULL_IF_CONFIG_SMALL("Ut Video"),
952 },
953 {
954 .id = AV_CODEC_ID_BMV_VIDEO,
955 .type = AVMEDIA_TYPE_VIDEO,
956 .name = "bmv_video",
957 .long_name = NULL_IF_CONFIG_SMALL("Discworld II BMV video"),
958 },
959 {
960 .id = AV_CODEC_ID_VBLE,
961 .type = AVMEDIA_TYPE_VIDEO,
962 .name = "vble",
963 .long_name = NULL_IF_CONFIG_SMALL("VBLE Lossless Codec"),
964 },
965 {
966 .id = AV_CODEC_ID_DXTORY,
967 .type = AVMEDIA_TYPE_VIDEO,
968 .name = "dxtory",
969 .long_name = NULL_IF_CONFIG_SMALL("Dxtory"),
970 },
971 {
972 .id = AV_CODEC_ID_V410,
973 .type = AVMEDIA_TYPE_VIDEO,
974 .name = "v410",
975 .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:4:4 10-bit"),
976 },
977 {
978 .id = AV_CODEC_ID_XWD,
979 .type = AVMEDIA_TYPE_VIDEO,
980 .name = "xwd",
981 .long_name = NULL_IF_CONFIG_SMALL("XWD (X Window Dump) image"),
982 },
983 {
984 .id = AV_CODEC_ID_CDXL,
985 .type = AVMEDIA_TYPE_VIDEO,
986 .name = "cdxl",
987 .long_name = NULL_IF_CONFIG_SMALL("Commodore CDXL video"),
988 },
989 {
990 .id = AV_CODEC_ID_XBM,
991 .type = AVMEDIA_TYPE_VIDEO,
992 .name = "xbm",
993 },
994 {
995 .id = AV_CODEC_ID_ZEROCODEC,
996 .type = AVMEDIA_TYPE_VIDEO,
997 .name = "zerocodec",
998 .long_name = NULL_IF_CONFIG_SMALL("ZeroCodec Lossless Video"),
999 },
1000 {
1001 .id = AV_CODEC_ID_MSS1,
1002 .type = AVMEDIA_TYPE_VIDEO,
1003 .name = "mss1",
1004 .long_name = NULL_IF_CONFIG_SMALL("MS Screen 1"),
1005 },
1006 {
1007 .id = AV_CODEC_ID_MSA1,
1008 .type = AVMEDIA_TYPE_VIDEO,
1009 .name = "msa1",
1010 .long_name = NULL_IF_CONFIG_SMALL("MS ATC Screen"),
1011 },
1012 {
1013 .id = AV_CODEC_ID_TSCC2,
1014 .type = AVMEDIA_TYPE_VIDEO,
1015 .name = "tscc2",
1016 .long_name = NULL_IF_CONFIG_SMALL("TechSmith Screen Codec 2"),
1017 },
1018 {
1019 .id = AV_CODEC_ID_MTS2,
1020 .type = AVMEDIA_TYPE_VIDEO,
1021 .name = "mts2",
1022 .long_name = NULL_IF_CONFIG_SMALL("MS Expression Encoder Screen"),
1023 },
1024 {
1025 .id = AV_CODEC_ID_CLLC,
1026 .type = AVMEDIA_TYPE_VIDEO,
1027 .name = "cllc",
1028 .long_name = NULL_IF_CONFIG_SMALL("Canopus Lossless Codec"),
1029 },
1030
1031 /* various PCM "codecs" */
1032 {
1033 .id = AV_CODEC_ID_PCM_S16LE,
1034 .type = AVMEDIA_TYPE_AUDIO,
1035 .name = "pcm_s16le",
1036 .long_name = NULL_IF_CONFIG_SMALL("PCM signed 16-bit little-endian"),
1037 },
1038 {
1039 .id = AV_CODEC_ID_PCM_S16BE,
1040 .type = AVMEDIA_TYPE_AUDIO,
1041 .name = "pcm_s16be",
1042 .long_name = NULL_IF_CONFIG_SMALL("PCM signed 16-bit big-endian"),
1043 },
1044 {
1045 .id = AV_CODEC_ID_PCM_U16LE,
1046 .type = AVMEDIA_TYPE_AUDIO,
1047 .name = "pcm_u16le",
1048 .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 16-bit little-endian"),
1049 },
1050 {
1051 .id = AV_CODEC_ID_PCM_U16BE,
1052 .type = AVMEDIA_TYPE_AUDIO,
1053 .name = "pcm_u16be",
1054 .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 16-bit big-endian"),
1055 },
1056 {
1057 .id = AV_CODEC_ID_PCM_S8,
1058 .type = AVMEDIA_TYPE_AUDIO,
1059 .name = "pcm_s8",
1060 .long_name = NULL_IF_CONFIG_SMALL("PCM signed 8-bit"),
1061 },
1062 {
1063 .id = AV_CODEC_ID_PCM_U8,
1064 .type = AVMEDIA_TYPE_AUDIO,
1065 .name = "pcm_u8",
1066 .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 8-bit"),
1067 },
1068 {
1069 .id = AV_CODEC_ID_PCM_MULAW,
1070 .type = AVMEDIA_TYPE_AUDIO,
1071 .name = "pcm_mulaw",
1072 .long_name = NULL_IF_CONFIG_SMALL("PCM mu-law"),
1073 },
1074 {
1075 .id = AV_CODEC_ID_PCM_ALAW,
1076 .type = AVMEDIA_TYPE_AUDIO,
1077 .name = "pcm_alaw",
1078 .long_name = NULL_IF_CONFIG_SMALL("PCM A-law"),
1079 },
1080 {
1081 .id = AV_CODEC_ID_PCM_S32LE,
1082 .type = AVMEDIA_TYPE_AUDIO,
1083 .name = "pcm_s32le",
1084 .long_name = NULL_IF_CONFIG_SMALL("PCM signed 32-bit little-endian"),
1085 },
1086 {
1087 .id = AV_CODEC_ID_PCM_S32BE,
1088 .type = AVMEDIA_TYPE_AUDIO,
1089 .name = "pcm_s32be",
1090 .long_name = NULL_IF_CONFIG_SMALL("PCM signed 32-bit big-endian"),
1091 },
1092 {
1093 .id = AV_CODEC_ID_PCM_U32LE,
1094 .type = AVMEDIA_TYPE_AUDIO,
1095 .name = "pcm_u32le",
1096 .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 32-bit little-endian"),
1097 },
1098 {
1099 .id = AV_CODEC_ID_PCM_U32BE,
1100 .type = AVMEDIA_TYPE_AUDIO,
1101 .name = "pcm_u32be",
1102 .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 32-bit big-endian"),
1103 },
1104 {
1105 .id = AV_CODEC_ID_PCM_S24LE,
1106 .type = AVMEDIA_TYPE_AUDIO,
1107 .name = "pcm_s24le",
1108 .long_name = NULL_IF_CONFIG_SMALL("PCM signed 24-bit little-endian"),
1109 },
1110 {
1111 .id = AV_CODEC_ID_PCM_S24BE,
1112 .type = AVMEDIA_TYPE_AUDIO,
1113 .name = "pcm_s24be",
1114 .long_name = NULL_IF_CONFIG_SMALL("PCM signed 24-bit big-endian"),
1115 },
1116 {
1117 .id = AV_CODEC_ID_PCM_U24LE,
1118 .type = AVMEDIA_TYPE_AUDIO,
1119 .name = "pcm_u24le",
1120 .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 24-bit little-endian"),
1121 },
1122 {
1123 .id = AV_CODEC_ID_PCM_U24BE,
1124 .type = AVMEDIA_TYPE_AUDIO,
1125 .name = "pcm_u24be",
1126 .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 24-bit big-endian"),
1127 },
1128 {
1129 .id = AV_CODEC_ID_PCM_S24DAUD,
1130 .type = AVMEDIA_TYPE_AUDIO,
1131 .name = "pcm_s24daud",
1132 .long_name = NULL_IF_CONFIG_SMALL("PCM D-Cinema audio signed 24-bit"),
1133 },
1134 {
1135 .id = AV_CODEC_ID_PCM_ZORK,
1136 .type = AVMEDIA_TYPE_AUDIO,
1137 .name = "pcm_zork",
1138 .long_name = NULL_IF_CONFIG_SMALL("PCM Zork"),
1139 },
1140 {
1141 .id = AV_CODEC_ID_PCM_S16LE_PLANAR,
1142 .type = AVMEDIA_TYPE_AUDIO,
1143 .name = "pcm_s16le_planar",
1144 .long_name = NULL_IF_CONFIG_SMALL("PCM 16-bit little-endian planar"),
1145 },
1146 {
1147 .id = AV_CODEC_ID_PCM_DVD,
1148 .type = AVMEDIA_TYPE_AUDIO,
1149 .name = "pcm_dvd",
1150 .long_name = NULL_IF_CONFIG_SMALL("PCM signed 20|24-bit big-endian"),
1151 },
1152 {
1153 .id = AV_CODEC_ID_PCM_F32BE,
1154 .type = AVMEDIA_TYPE_AUDIO,
1155 .name = "pcm_f32be",
1156 .long_name = NULL_IF_CONFIG_SMALL("PCM 32-bit floating point big-endian"),
1157 },
1158 {
1159 .id = AV_CODEC_ID_PCM_F32LE,
1160 .type = AVMEDIA_TYPE_AUDIO,
1161 .name = "pcm_f32le",
1162 .long_name = NULL_IF_CONFIG_SMALL("PCM 32-bit floating point little-endian"),
1163 },
1164 {
1165 .id = AV_CODEC_ID_PCM_F64BE,
1166 .type = AVMEDIA_TYPE_AUDIO,
1167 .name = "pcm_f64be",
1168 .long_name = NULL_IF_CONFIG_SMALL("PCM 64-bit floating point big-endian"),
1169 },
1170 {
1171 .id = AV_CODEC_ID_PCM_F64LE,
1172 .type = AVMEDIA_TYPE_AUDIO,
1173 .name = "pcm_f64le",
1174 .long_name = NULL_IF_CONFIG_SMALL("PCM 64-bit floating point little-endian"),
1175 },
1176 {
1177 .id = AV_CODEC_ID_PCM_BLURAY,
1178 .type = AVMEDIA_TYPE_AUDIO,
1179 .name = "pcm_bluray",
1180 .long_name = NULL_IF_CONFIG_SMALL("PCM signed 16|20|24-bit big-endian for Blu-ray media"),
1181 },
1182 {
1183 .id = AV_CODEC_ID_PCM_LXF,
1184 .type = AVMEDIA_TYPE_AUDIO,
1185 .name = "pcm_lxf",
1186 .long_name = NULL_IF_CONFIG_SMALL("PCM signed 20-bit little-endian planar"),
1187 },
1188 {
1189 .id = AV_CODEC_ID_S302M,
1190 .type = AVMEDIA_TYPE_AUDIO,
1191 .name = "s302m",
1192 .long_name = NULL_IF_CONFIG_SMALL("SMPTE 302M"),
1193 },
1194 {
1195 .id = AV_CODEC_ID_PCM_S8_PLANAR,
1196 .type = AVMEDIA_TYPE_AUDIO,
1197 .name = "pcm_s8_planar",
1198 .long_name = NULL_IF_CONFIG_SMALL("PCM signed 8-bit planar"),
1199 },
1200
1201 /* various ADPCM codecs */
1202 {
1203 .id = AV_CODEC_ID_ADPCM_IMA_QT,
1204 .type = AVMEDIA_TYPE_AUDIO,
1205 .name = "adpcm_ima_qt",
1206 .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA QuickTime"),
1207 },
1208 {
1209 .id = AV_CODEC_ID_ADPCM_IMA_WAV,
1210 .type = AVMEDIA_TYPE_AUDIO,
1211 .name = "adpcm_ima_wav",
1212 .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA WAV"),
1213 },
1214 {
1215 .id = AV_CODEC_ID_ADPCM_IMA_DK3,
1216 .type = AVMEDIA_TYPE_AUDIO,
1217 .name = "adpcm_ima_dk3",
1218 .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Duck DK3"),
1219 },
1220 {
1221 .id = AV_CODEC_ID_ADPCM_IMA_DK4,
1222 .type = AVMEDIA_TYPE_AUDIO,
1223 .name = "adpcm_ima_dk4",
1224 .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Duck DK4"),
1225 },
1226 {
1227 .id = AV_CODEC_ID_ADPCM_IMA_WS,
1228 .type = AVMEDIA_TYPE_AUDIO,
1229 .name = "adpcm_ima_ws",
1230 .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Westwood"),
1231 },
1232 {
1233 .id = AV_CODEC_ID_ADPCM_IMA_SMJPEG,
1234 .type = AVMEDIA_TYPE_AUDIO,
1235 .name = "adpcm_ima_smjpeg",
1236 .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Loki SDL MJPEG"),
1237 },
1238 {
1239 .id = AV_CODEC_ID_ADPCM_MS,
1240 .type = AVMEDIA_TYPE_AUDIO,
1241 .name = "adpcm_ms",
1242 .long_name = NULL_IF_CONFIG_SMALL("ADPCM Microsoft"),
1243 },
1244 {
1245 .id = AV_CODEC_ID_ADPCM_4XM,
1246 .type = AVMEDIA_TYPE_AUDIO,
1247 .name = "adpcm_4xm",
1248 .long_name = NULL_IF_CONFIG_SMALL("ADPCM 4X Movie"),
1249 },
1250 {
1251 .id = AV_CODEC_ID_ADPCM_XA,
1252 .type = AVMEDIA_TYPE_AUDIO,
1253 .name = "adpcm_xa",
1254 .long_name = NULL_IF_CONFIG_SMALL("ADPCM CDROM XA"),
1255 },
1256 {
1257 .id = AV_CODEC_ID_ADPCM_ADX,
1258 .type = AVMEDIA_TYPE_AUDIO,
1259 .name = "adpcm_adx",
1260 .long_name = NULL_IF_CONFIG_SMALL("SEGA CRI ADX ADPCM"),
1261 },
1262 {
1263 .id = AV_CODEC_ID_ADPCM_EA,
1264 .type = AVMEDIA_TYPE_AUDIO,
1265 .name = "adpcm_ea",
1266 .long_name = NULL_IF_CONFIG_SMALL("ADPCM Electronic Arts"),
1267 },
1268 {
1269 .id = AV_CODEC_ID_ADPCM_G726,
1270 .type = AVMEDIA_TYPE_AUDIO,
1271 .name = "adpcm_g726",
1272 .long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM"),
1273 },
1274 {
1275 .id = AV_CODEC_ID_ADPCM_CT,
1276 .type = AVMEDIA_TYPE_AUDIO,
1277 .name = "adpcm_ct",
1278 .long_name = NULL_IF_CONFIG_SMALL("ADPCM Creative Technology"),
1279 },
1280 {
1281 .id = AV_CODEC_ID_ADPCM_SWF,
1282 .type = AVMEDIA_TYPE_AUDIO,
1283 .name = "adpcm_swf",
1284 .long_name = NULL_IF_CONFIG_SMALL("ADPCM Shockwave Flash"),
1285 },
1286 {
1287 .id = AV_CODEC_ID_ADPCM_YAMAHA,
1288 .type = AVMEDIA_TYPE_AUDIO,
1289 .name = "adpcm_yamaha",
1290 .long_name = NULL_IF_CONFIG_SMALL("ADPCM Yamaha"),
1291 },
1292 {
1293 .id = AV_CODEC_ID_ADPCM_SBPRO_4,
1294 .type = AVMEDIA_TYPE_AUDIO,
1295 .name = "adpcm_sbpro_4",
1296 .long_name = NULL_IF_CONFIG_SMALL("ADPCM Sound Blaster Pro 4-bit"),
1297 },
1298 {
1299 .id = AV_CODEC_ID_ADPCM_SBPRO_3,
1300 .type = AVMEDIA_TYPE_AUDIO,
1301 .name = "adpcm_sbpro_3",
1302 .long_name = NULL_IF_CONFIG_SMALL("ADPCM Sound Blaster Pro 2.6-bit"),
1303 },
1304 {
1305 .id = AV_CODEC_ID_ADPCM_SBPRO_2,
1306 .type = AVMEDIA_TYPE_AUDIO,
1307 .name = "adpcm_sbpro_2",
1308 .long_name = NULL_IF_CONFIG_SMALL("ADPCM Sound Blaster Pro 2-bit"),
1309 },
1310 {
1311 .id = AV_CODEC_ID_ADPCM_THP,
1312 .type = AVMEDIA_TYPE_AUDIO,
1313 .name = "adpcm_thp",
1314 .long_name = NULL_IF_CONFIG_SMALL("ADPCM Nintendo Gamecube THP"),
1315 },
1316 {
1317 .id = AV_CODEC_ID_ADPCM_IMA_AMV,
1318 .type = AVMEDIA_TYPE_AUDIO,
1319 .name = "adpcm_ima_amv",
1320 .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA AMV"),
1321 },
1322 {
1323 .id = AV_CODEC_ID_ADPCM_EA_R1,
1324 .type = AVMEDIA_TYPE_AUDIO,
1325 .name = "adpcm_ea_r1",
1326 .long_name = NULL_IF_CONFIG_SMALL("ADPCM Electronic Arts R1"),
1327 },
1328 {
1329 .id = AV_CODEC_ID_ADPCM_EA_R3,
1330 .type = AVMEDIA_TYPE_AUDIO,
1331 .name = "adpcm_ea_r3",
1332 .long_name = NULL_IF_CONFIG_SMALL("ADPCM Electronic Arts R3"),
1333 },
1334 {
1335 .id = AV_CODEC_ID_ADPCM_EA_R2,
1336 .type = AVMEDIA_TYPE_AUDIO,
1337 .name = "adpcm_ea_r2",
1338 .long_name = NULL_IF_CONFIG_SMALL("ADPCM Electronic Arts R2"),
1339 },
1340 {
1341 .id = AV_CODEC_ID_ADPCM_IMA_EA_SEAD,
1342 .type = AVMEDIA_TYPE_AUDIO,
1343 .name = "adpcm_ima_ea_sead",
1344 .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Electronic Arts SEAD"),
1345 },
1346 {
1347 .id = AV_CODEC_ID_ADPCM_IMA_EA_EACS,
1348 .type = AVMEDIA_TYPE_AUDIO,
1349 .name = "adpcm_ima_ea_eacs",
1350 .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Electronic Arts EACS"),
1351 },
1352 {
1353 .id = AV_CODEC_ID_ADPCM_EA_XAS,
1354 .type = AVMEDIA_TYPE_AUDIO,
1355 .name = "adpcm_ea_xas",
1356 .long_name = NULL_IF_CONFIG_SMALL("ADPCM Electronic Arts XAS"),
1357 },
1358 {
1359 .id = AV_CODEC_ID_ADPCM_EA_MAXIS_XA,
1360 .type = AVMEDIA_TYPE_AUDIO,
1361 .name = "adpcm_ea_maxis_xa",
1362 .long_name = NULL_IF_CONFIG_SMALL("ADPCM Electronic Arts Maxis CDROM XA"),
1363 },
1364 {
1365 .id = AV_CODEC_ID_ADPCM_IMA_ISS,
1366 .type = AVMEDIA_TYPE_AUDIO,
1367 .name = "adpcm_ima_iss",
1368 .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Funcom ISS"),
1369 },
1370 {
1371 .id = AV_CODEC_ID_ADPCM_G722,
1372 .type = AVMEDIA_TYPE_AUDIO,
1373 .name = "adpcm_g722",
1374 .long_name = NULL_IF_CONFIG_SMALL("G.722 ADPCM"),
1375 },
1376 {
1377 .id = AV_CODEC_ID_ADPCM_IMA_APC,
1378 .type = AVMEDIA_TYPE_AUDIO,
1379 .name = "adpcm_ima_apc",
1380 .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA CRYO APC"),
1381 },
1382
1383 /* AMR */
1384 {
1385 .id = AV_CODEC_ID_AMR_NB,
1386 .type = AVMEDIA_TYPE_AUDIO,
1387 .name = "amr_nb",
1388 .long_name = NULL_IF_CONFIG_SMALL("AMR-NB (Adaptive Multi-Rate NarrowBand)"),
1389 },
1390 {
1391 .id = AV_CODEC_ID_AMR_WB,
1392 .type = AVMEDIA_TYPE_AUDIO,
1393 .name = "amr_wb",
1394 .long_name = NULL_IF_CONFIG_SMALL("AMR-WB (Adaptive Multi-Rate WideBand)"),
1395 },
1396
1397 /* RealAudio codecs*/
1398 {
1399 .id = AV_CODEC_ID_RA_144,
1400 .type = AVMEDIA_TYPE_AUDIO,
1401 .name = "ra_144",
1402 .long_name = NULL_IF_CONFIG_SMALL("RealAudio 1.0 (14.4K)"),
1403 },
1404 {
1405 .id = AV_CODEC_ID_RA_288,
1406 .type = AVMEDIA_TYPE_AUDIO,
1407 .name = "ra_288",
1408 .long_name = NULL_IF_CONFIG_SMALL("RealAudio 2.0 (28.8K)"),
1409 },
1410
1411 /* various DPCM codecs */
1412 {
1413 .id = AV_CODEC_ID_ROQ_DPCM,
1414 .type = AVMEDIA_TYPE_AUDIO,
1415 .name = "roq_dpcm",
1416 .long_name = NULL_IF_CONFIG_SMALL("DPCM id RoQ"),
1417 },
1418 {
1419 .id = AV_CODEC_ID_INTERPLAY_DPCM,
1420 .type = AVMEDIA_TYPE_AUDIO,
1421 .name = "interplay_dpcm",
1422 .long_name = NULL_IF_CONFIG_SMALL("DPCM Interplay"),
1423 },
1424 {
1425 .id = AV_CODEC_ID_XAN_DPCM,
1426 .type = AVMEDIA_TYPE_AUDIO,
1427 .name = "xan_dpcm",
1428 .long_name = NULL_IF_CONFIG_SMALL("DPCM Xan"),
1429 },
1430 {
1431 .id = AV_CODEC_ID_SOL_DPCM,
1432 .type = AVMEDIA_TYPE_AUDIO,
1433 .name = "sol_dpcm",
1434 .long_name = NULL_IF_CONFIG_SMALL("DPCM Sol"),
1435 },
1436
1437 /* audio codecs */
1438 {
1439 .id = AV_CODEC_ID_MP2,
1440 .type = AVMEDIA_TYPE_AUDIO,
1441 .name = "mp2",
1442 .long_name = NULL_IF_CONFIG_SMALL("MP2 (MPEG audio layer 2)"),
1443 },
1444 {
1445 .id = AV_CODEC_ID_MP3,
1446 .type = AVMEDIA_TYPE_AUDIO,
1447 .name = "mp3",
1448 .long_name = NULL_IF_CONFIG_SMALL("MP3 (MPEG audio layer 3)"),
1449 },
1450 {
1451 .id = AV_CODEC_ID_AAC,
1452 .type = AVMEDIA_TYPE_AUDIO,
1453 .name = "aac",
1454 .long_name = NULL_IF_CONFIG_SMALL("AAC (Advanced Audio Coding)"),
1455 },
1456 {
1457 .id = AV_CODEC_ID_AC3,
1458 .type = AVMEDIA_TYPE_AUDIO,
1459 .name = "ac3",
1460 .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"),
1461 },
1462 {
1463 .id = AV_CODEC_ID_DTS,
1464 .type = AVMEDIA_TYPE_AUDIO,
1465 .name = "dts",
1466 .long_name = NULL_IF_CONFIG_SMALL("DCA (DTS Coherent Acoustics)"),
1467 },
1468 {
1469 .id = AV_CODEC_ID_VORBIS,
1470 .type = AVMEDIA_TYPE_AUDIO,
1471 .name = "vorbis",
1472 .long_name = NULL_IF_CONFIG_SMALL("Vorbis"),
1473 },
1474 {
1475 .id = AV_CODEC_ID_DVAUDIO,
1476 .type = AVMEDIA_TYPE_AUDIO,
1477 .name = "dvaudio",
1478 },
1479 {
1480 .id = AV_CODEC_ID_WMAV1,
1481 .type = AVMEDIA_TYPE_AUDIO,
1482 .name = "wmav1",
1483 .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 1"),
1484 },
1485 {
1486 .id = AV_CODEC_ID_WMAV2,
1487 .type = AVMEDIA_TYPE_AUDIO,
1488 .name = "wmav2",
1489 .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 2"),
1490 },
1491 {
1492 .id = AV_CODEC_ID_MACE3,
1493 .type = AVMEDIA_TYPE_AUDIO,
1494 .name = "mace3",
1495 .long_name = NULL_IF_CONFIG_SMALL("MACE (Macintosh Audio Compression/Expansion) 3:1"),
1496 },
1497 {
1498 .id = AV_CODEC_ID_MACE6,
1499 .type = AVMEDIA_TYPE_AUDIO,
1500 .name = "mace6",
1501 .long_name = NULL_IF_CONFIG_SMALL("MACE (Macintosh Audio Compression/Expansion) 6:1"),
1502 },
1503 {
1504 .id = AV_CODEC_ID_VMDAUDIO,
1505 .type = AVMEDIA_TYPE_AUDIO,
1506 .name = "vmdaudio",
1507 .long_name = NULL_IF_CONFIG_SMALL("Sierra VMD audio"),
1508 },
1509 {
1510 .id = AV_CODEC_ID_FLAC,
1511 .type = AVMEDIA_TYPE_AUDIO,
1512 .name = "flac",
1513 .long_name = NULL_IF_CONFIG_SMALL("FLAC (Free Lossless Audio Codec)"),
1514 },
1515 {
1516 .id = AV_CODEC_ID_MP3ADU,
1517 .type = AVMEDIA_TYPE_AUDIO,
1518 .name = "mp3adu",
1519 .long_name = NULL_IF_CONFIG_SMALL("ADU (Application Data Unit) MP3 (MPEG audio layer 3)"),
1520 },
1521 {
1522 .id = AV_CODEC_ID_MP3ON4,
1523 .type = AVMEDIA_TYPE_AUDIO,
1524 .name = "mp3on4",
1525 .long_name = NULL_IF_CONFIG_SMALL("MP3onMP4"),
1526 },
1527 {
1528 .id = AV_CODEC_ID_SHORTEN,
1529 .type = AVMEDIA_TYPE_AUDIO,
1530 .name = "shorten",
1531 .long_name = NULL_IF_CONFIG_SMALL("Shorten"),
1532 },
1533 {
1534 .id = AV_CODEC_ID_ALAC,
1535 .type = AVMEDIA_TYPE_AUDIO,
1536 .name = "alac",
1537 .long_name = NULL_IF_CONFIG_SMALL("ALAC (Apple Lossless Audio Codec)"),
1538 },
1539 {
1540 .id = AV_CODEC_ID_WESTWOOD_SND1,
1541 .type = AVMEDIA_TYPE_AUDIO,
1542 .name = "westwood_snd1",
1543 .long_name = NULL_IF_CONFIG_SMALL("Westwood Audio (SND1)"),
1544 },
1545 {
1546 .id = AV_CODEC_ID_GSM,
1547 .type = AVMEDIA_TYPE_AUDIO,
1548 .name = "gsm",
1549 .long_name = NULL_IF_CONFIG_SMALL("GSM"),
1550 },
1551 {
1552 .id = AV_CODEC_ID_QDM2,
1553 .type = AVMEDIA_TYPE_AUDIO,
1554 .name = "qdm2",
1555 .long_name = NULL_IF_CONFIG_SMALL("QDesign Music Codec 2"),
1556 },
1557 {
1558 .id = AV_CODEC_ID_COOK,
1559 .type = AVMEDIA_TYPE_AUDIO,
1560 .name = "cook",
1561 .long_name = NULL_IF_CONFIG_SMALL("Cook / Cooker / Gecko (RealAudio G2)"),
1562 },
1563 {
1564 .id = AV_CODEC_ID_TRUESPEECH,
1565 .type = AVMEDIA_TYPE_AUDIO,
1566 .name = "truespeech",
1567 .long_name = NULL_IF_CONFIG_SMALL("DSP Group TrueSpeech"),
1568 },
1569 {
1570 .id = AV_CODEC_ID_TTA,
1571 .type = AVMEDIA_TYPE_AUDIO,
1572 .name = "tta",
1573 .long_name = NULL_IF_CONFIG_SMALL("TTA (True Audio)"),
1574 },
1575 {
1576 .id = AV_CODEC_ID_SMACKAUDIO,
1577 .type = AVMEDIA_TYPE_AUDIO,
1578 .name = "smackaudio",
1579 .long_name = NULL_IF_CONFIG_SMALL("Smacker audio"),
1580 },
1581 {
1582 .id = AV_CODEC_ID_QCELP,
1583 .type = AVMEDIA_TYPE_AUDIO,
1584 .name = "qcelp",
1585 .long_name = NULL_IF_CONFIG_SMALL("QCELP / PureVoice"),
1586 },
1587 {
1588 .id = AV_CODEC_ID_WAVPACK,
1589 .type = AVMEDIA_TYPE_AUDIO,
1590 .name = "wavpack",
1591 .long_name = NULL_IF_CONFIG_SMALL("WavPack"),
1592 },
1593 {
1594 .id = AV_CODEC_ID_DSICINAUDIO,
1595 .type = AVMEDIA_TYPE_AUDIO,
1596 .name = "dsicinaudio",
1597 .long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN audio"),
1598 },
1599 {
1600 .id = AV_CODEC_ID_IMC,
1601 .type = AVMEDIA_TYPE_AUDIO,
1602 .name = "imc",
1603 .long_name = NULL_IF_CONFIG_SMALL("IMC (Intel Music Coder)"),
1604 },
1605 {
1606 .id = AV_CODEC_ID_MUSEPACK7,
1607 .type = AVMEDIA_TYPE_AUDIO,
1608 .name = "musepack7",
1609 .long_name = NULL_IF_CONFIG_SMALL("Musepack SV7"),
1610 },
1611 {
1612 .id = AV_CODEC_ID_MLP,
1613 .type = AVMEDIA_TYPE_AUDIO,
1614 .name = "mlp",
1615 .long_name = NULL_IF_CONFIG_SMALL("MLP (Meridian Lossless Packing)"),
1616 },
1617 {
1618 .id = AV_CODEC_ID_GSM_MS,
1619 .type = AVMEDIA_TYPE_AUDIO,
1620 .name = "gsm_ms",
1621 .long_name = NULL_IF_CONFIG_SMALL("GSM Microsoft variant"),
1622 },
1623 {
1624 .id = AV_CODEC_ID_ATRAC3,
1625 .type = AVMEDIA_TYPE_AUDIO,
1626 .name = "atrac3",
1627 .long_name = NULL_IF_CONFIG_SMALL("Atrac 3 (Adaptive TRansform Acoustic Coding 3)"),
1628 },
1629 {
1630 .id = AV_CODEC_ID_VOXWARE,
1631 .type = AVMEDIA_TYPE_AUDIO,
1632 .name = "voxware",
1633 .long_name = NULL_IF_CONFIG_SMALL("Voxware RT29 Metasound"),
1634 },
1635 {
1636 .id = AV_CODEC_ID_APE,
1637 .type = AVMEDIA_TYPE_AUDIO,
1638 .name = "ape",
1639 .long_name = NULL_IF_CONFIG_SMALL("Monkey's Audio"),
1640 },
1641 {
1642 .id = AV_CODEC_ID_NELLYMOSER,
1643 .type = AVMEDIA_TYPE_AUDIO,
1644 .name = "nellymoser",
1645 .long_name = NULL_IF_CONFIG_SMALL("Nellymoser Asao"),
1646 },
1647 {
1648 .id = AV_CODEC_ID_MUSEPACK8,
1649 .type = AVMEDIA_TYPE_AUDIO,
1650 .name = "musepack8",
1651 .long_name = NULL_IF_CONFIG_SMALL("Musepack SV8"),
1652 },
1653 {
1654 .id = AV_CODEC_ID_SPEEX,
1655 .type = AVMEDIA_TYPE_AUDIO,
1656 .name = "speex",
1657 .long_name = NULL_IF_CONFIG_SMALL("Speex"),
1658 },
1659 {
1660 .id = AV_CODEC_ID_WMAVOICE,
1661 .type = AVMEDIA_TYPE_AUDIO,
1662 .name = "wmavoice",
1663 .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio Voice"),
1664 },
1665 {
1666 .id = AV_CODEC_ID_WMAPRO,
1667 .type = AVMEDIA_TYPE_AUDIO,
1668 .name = "wmapro",
1669 .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 9 Professional"),
1670 },
1671 {
1672 .id = AV_CODEC_ID_WMALOSSLESS,
1673 .type = AVMEDIA_TYPE_AUDIO,
1674 .name = "wmalossless",
1675 .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio Lossless"),
1676 },
1677 {
1678 .id = AV_CODEC_ID_ATRAC3P,
1679 .type = AVMEDIA_TYPE_AUDIO,
1680 .name = "atrac3p",
1681 .long_name = NULL_IF_CONFIG_SMALL("Sony ATRAC3+"),
1682 },
1683 {
1684 .id = AV_CODEC_ID_EAC3,
1685 .type = AVMEDIA_TYPE_AUDIO,
1686 .name = "eac3",
1687 .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52B (AC-3, E-AC-3)"),
1688 },
1689 {
1690 .id = AV_CODEC_ID_SIPR,
1691 .type = AVMEDIA_TYPE_AUDIO,
1692 .name = "sipr",
1693 .long_name = NULL_IF_CONFIG_SMALL("RealAudio SIPR / ACELP.NET"),
1694 },
1695 {
1696 .id = AV_CODEC_ID_MP1,
1697 .type = AVMEDIA_TYPE_AUDIO,
1698 .name = "mp1",
1699 .long_name = NULL_IF_CONFIG_SMALL("MP1 (MPEG audio layer 1)"),
1700 },
1701 {
1702 .id = AV_CODEC_ID_TWINVQ,
1703 .type = AVMEDIA_TYPE_AUDIO,
1704 .name = "twinvq",
1705 .long_name = NULL_IF_CONFIG_SMALL("VQF TwinVQ"),
1706 },
1707 {
1708 .id = AV_CODEC_ID_TRUEHD,
1709 .type = AVMEDIA_TYPE_AUDIO,
1710 .name = "truehd",
1711 .long_name = NULL_IF_CONFIG_SMALL("TrueHD"),
1712 },
1713 {
1714 .id = AV_CODEC_ID_MP4ALS,
1715 .type = AVMEDIA_TYPE_AUDIO,
1716 .name = "mp4als",
1717 .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 Audio Lossless Coding (ALS)"),
1718 },
1719 {
1720 .id = AV_CODEC_ID_ATRAC1,
1721 .type = AVMEDIA_TYPE_AUDIO,
1722 .name = "atrac1",
1723 .long_name = NULL_IF_CONFIG_SMALL("Atrac 1 (Adaptive TRansform Acoustic Coding)"),
1724 },
1725 {
1726 .id = AV_CODEC_ID_BINKAUDIO_RDFT,
1727 .type = AVMEDIA_TYPE_AUDIO,
1728 .name = "binkaudio_rdft",
1729 .long_name = NULL_IF_CONFIG_SMALL("Bink Audio (RDFT)")
1730 },
1731 {
1732 .id = AV_CODEC_ID_BINKAUDIO_DCT,
1733 .type = AVMEDIA_TYPE_AUDIO,
1734 .name = "binkaudio_dct",
1735 .long_name = NULL_IF_CONFIG_SMALL("Bink Audio (DCT)")
1736 },
1737 {
1738 .id = AV_CODEC_ID_AAC_LATM,
1739 .type = AVMEDIA_TYPE_AUDIO,
1740 .name = "aac_latm",
1741 .long_name = NULL_IF_CONFIG_SMALL("AAC LATM (Advanced Audio Coding LATM syntax)"),
1742 },
1743 {
1744 .id = AV_CODEC_ID_QDMC,
1745 .type = AVMEDIA_TYPE_AUDIO,
1746 .name = "qdmc",
1747 .long_name = NULL_IF_CONFIG_SMALL("QDesign Music"),
1748 },
1749 {
1750 .id = AV_CODEC_ID_CELT,
1751 .type = AVMEDIA_TYPE_AUDIO,
1752 .name = "celt",
1753 .long_name = NULL_IF_CONFIG_SMALL("Constrained Energy Lapped Transform (CELT)"),
1754 },
1755 {
1756 .id = AV_CODEC_ID_G723_1,
1757 .type = AVMEDIA_TYPE_AUDIO,
1758 .name = "g723_1",
1759 .long_name = NULL_IF_CONFIG_SMALL("G.723.1"),
1760 },
1761 {
1762 .id = AV_CODEC_ID_G729,
1763 .type = AVMEDIA_TYPE_AUDIO,
1764 .name = "g729",
1765 .long_name = NULL_IF_CONFIG_SMALL("G.729"),
1766 },
1767 {
1768 .id = AV_CODEC_ID_8SVX_EXP,
1769 .type = AVMEDIA_TYPE_AUDIO,
1770 .name = "8svx_exp",
1771 .long_name = NULL_IF_CONFIG_SMALL("8SVX exponential"),
1772 },
1773 {
1774 .id = AV_CODEC_ID_8SVX_FIB,
1775 .type = AVMEDIA_TYPE_AUDIO,
1776 .name = "8svx_fib",
1777 .long_name = NULL_IF_CONFIG_SMALL("8SVX fibonacci"),
1778 },
1779 {
1780 .id = AV_CODEC_ID_BMV_AUDIO,
1781 .type = AVMEDIA_TYPE_AUDIO,
1782 .name = "bmv_audio",
1783 .long_name = NULL_IF_CONFIG_SMALL("Discworld II BMV audio"),
1784 },
1785 {
1786 .id = AV_CODEC_ID_RALF,
1787 .type = AVMEDIA_TYPE_AUDIO,
1788 .name = "ralf",
1789 .long_name = NULL_IF_CONFIG_SMALL("RealAudio Lossless"),
1790 },
1791 {
1792 .id = AV_CODEC_ID_IAC,
1793 .type = AVMEDIA_TYPE_AUDIO,
1794 .name = "iac",
1795 .long_name = NULL_IF_CONFIG_SMALL("IAC (Indeo Audio Coder)"),
1796 },
1797 {
1798 .id = AV_CODEC_ID_ILBC,
1799 .type = AVMEDIA_TYPE_AUDIO,
1800 .name = "ilbc",
1801 .long_name = NULL_IF_CONFIG_SMALL("iLBC (Internet Low Bitrate Codec)"),
1802 },
1803
1804 /* subtitle codecs */
1805 {
1806 .id = AV_CODEC_ID_DVD_SUBTITLE,
1807 .type = AVMEDIA_TYPE_SUBTITLE,
1808 .name = "dvd_subtitle",
1809 .long_name = NULL_IF_CONFIG_SMALL("DVD subtitles"),
1810 },
1811 {
1812 .id = AV_CODEC_ID_DVB_SUBTITLE,
1813 .type = AVMEDIA_TYPE_SUBTITLE,
1814 .name = "dvb_subtitle",
1815 .long_name = NULL_IF_CONFIG_SMALL("DVB subtitles"),
1816 },
1817 {
1818 .id = AV_CODEC_ID_TEXT,
1819 .type = AVMEDIA_TYPE_SUBTITLE,
1820 .name = "text",
1821 .long_name = NULL_IF_CONFIG_SMALL("raw UTF-8 text"),
1822 },
1823 {
1824 .id = AV_CODEC_ID_XSUB,
1825 .type = AVMEDIA_TYPE_SUBTITLE,
1826 .name = "xsub",
1827 .long_name = NULL_IF_CONFIG_SMALL("XSUB"),
1828 },
1829 {
1830 .id = AV_CODEC_ID_SSA,
1831 .type = AVMEDIA_TYPE_SUBTITLE,
1832 .name = "ssa",
1833 .long_name = NULL_IF_CONFIG_SMALL("SSA (SubStation Alpha) / ASS (Advanced SSA) subtitle"),
1834 },
1835 {
1836 .id = AV_CODEC_ID_MOV_TEXT,
1837 .type = AVMEDIA_TYPE_SUBTITLE,
1838 .name = "mov_text",
1839 .long_name = NULL_IF_CONFIG_SMALL("MOV text"),
1840 },
1841 {
1842 .id = AV_CODEC_ID_HDMV_PGS_SUBTITLE,
1843 .type = AVMEDIA_TYPE_SUBTITLE,
1844 .name = "hdmv_pgs_subtitle",
1845 .long_name = NULL_IF_CONFIG_SMALL("HDMV Presentation Graphic Stream subtitles"),
1846 },
1847 {
1848 .id = AV_CODEC_ID_DVB_TELETEXT,
1849 .type = AVMEDIA_TYPE_SUBTITLE,
1850 .name = "dvb_teletext",
1851 .long_name = NULL_IF_CONFIG_SMALL("DVB teletext"),
1852 },
1853 {
1854 .id = AV_CODEC_ID_SRT,
1855 .type = AVMEDIA_TYPE_SUBTITLE,
1856 .name = "srt",
1857 .long_name = NULL_IF_CONFIG_SMALL("SubRip Text"),
1858 },
1859};
1860
1861const AVCodecDescriptor *avcodec_descriptor_get(enum AVCodecID id)
1862{
1863 int i;
1864
1865 for (i = 0; i < FF_ARRAY_ELEMS(codec_descriptors); i++)
1866 if (codec_descriptors[i].id == id)
1867 return &codec_descriptors[i];
1868 return NULL;
1869}
1870
1871const AVCodecDescriptor *avcodec_descriptor_next(const AVCodecDescriptor *prev)
1872{
1873 if (!prev)
1874 return &codec_descriptors[0];
1875 if (prev - codec_descriptors < FF_ARRAY_ELEMS(codec_descriptors) - 1)
1876 return prev + 1;
1877 return NULL;
1878}