GCC Code Coverage Report
Directory: ../../../ffmpeg/ Exec Total Coverage
File: src/libavcodec/codec_desc.c Lines: 20 21 95.2 %
Date: 2019-11-20 04:07:19 Branches: 8 10 80.0 %

Line Branch Exec Source
1
/*
2
 * This file is part of FFmpeg.
3
 *
4
 * This table was generated from the long and short names of AVCodecs
5
 * please see the respective codec sources for authorship
6
 *
7
 * FFmpeg is free software; you can redistribute it and/or
8
 * modify it under the terms of the GNU Lesser General Public
9
 * License as published by the Free Software Foundation; either
10
 * version 2.1 of the License, or (at your option) any later version.
11
 *
12
 * FFmpeg is distributed in the hope that it will be useful,
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15
 * Lesser General Public License for more details.
16
 *
17
 * You should have received a copy of the GNU Lesser General Public
18
 * License along with FFmpeg; if not, write to the Free Software
19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20
 */
21
22
#include <string.h>
23
24
#include "libavutil/common.h"
25
#include "libavutil/internal.h"
26
#include "avcodec.h"
27
#include "profiles.h"
28
#include "version.h"
29
30
#define MT(...) (const char *const[]){ __VA_ARGS__, NULL }
31
32
static const AVCodecDescriptor codec_descriptors[] = {
33
    /* video codecs */
34
    {
35
        .id        = AV_CODEC_ID_MPEG1VIDEO,
36
        .type      = AVMEDIA_TYPE_VIDEO,
37
        .name      = "mpeg1video",
38
        .long_name = NULL_IF_CONFIG_SMALL("MPEG-1 video"),
39
        .props     = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
40
    },
41
    {
42
        .id        = AV_CODEC_ID_MPEG2VIDEO,
43
        .type      = AVMEDIA_TYPE_VIDEO,
44
        .name      = "mpeg2video",
45
        .long_name = NULL_IF_CONFIG_SMALL("MPEG-2 video"),
46
        .props     = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
47
        .profiles  = NULL_IF_CONFIG_SMALL(ff_mpeg2_video_profiles),
48
    },
49
    {
50
        .id        = AV_CODEC_ID_H261,
51
        .type      = AVMEDIA_TYPE_VIDEO,
52
        .name      = "h261",
53
        .long_name = NULL_IF_CONFIG_SMALL("H.261"),
54
        .props     = AV_CODEC_PROP_LOSSY,
55
    },
56
    {
57
        .id        = AV_CODEC_ID_H263,
58
        .type      = AVMEDIA_TYPE_VIDEO,
59
        .name      = "h263",
60
        .long_name = NULL_IF_CONFIG_SMALL("H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2"),
61
        .props     = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
62
    },
63
    {
64
        .id        = AV_CODEC_ID_RV10,
65
        .type      = AVMEDIA_TYPE_VIDEO,
66
        .name      = "rv10",
67
        .long_name = NULL_IF_CONFIG_SMALL("RealVideo 1.0"),
68
        .props     = AV_CODEC_PROP_LOSSY,
69
    },
70
    {
71
        .id        = AV_CODEC_ID_RV20,
72
        .type      = AVMEDIA_TYPE_VIDEO,
73
        .name      = "rv20",
74
        .long_name = NULL_IF_CONFIG_SMALL("RealVideo 2.0"),
75
        .props     = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
76
    },
77
    {
78
        .id        = AV_CODEC_ID_MJPEG,
79
        .type      = AVMEDIA_TYPE_VIDEO,
80
        .name      = "mjpeg",
81
        .long_name = NULL_IF_CONFIG_SMALL("Motion JPEG"),
82
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
83
        .mime_types= MT("image/jpeg"),
84
        .profiles  = NULL_IF_CONFIG_SMALL(ff_mjpeg_profiles),
85
    },
86
    {
87
        .id        = AV_CODEC_ID_MJPEGB,
88
        .type      = AVMEDIA_TYPE_VIDEO,
89
        .name      = "mjpegb",
90
        .long_name = NULL_IF_CONFIG_SMALL("Apple MJPEG-B"),
91
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
92
    },
93
    {
94
        .id        = AV_CODEC_ID_LJPEG,
95
        .type      = AVMEDIA_TYPE_VIDEO,
96
        .name      = "ljpeg",
97
        .long_name = NULL_IF_CONFIG_SMALL("Lossless JPEG"),
98
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
99
    },
100
    {
101
        .id        = AV_CODEC_ID_SP5X,
102
        .type      = AVMEDIA_TYPE_VIDEO,
103
        .name      = "sp5x",
104
        .long_name = NULL_IF_CONFIG_SMALL("Sunplus JPEG (SP5X)"),
105
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
106
    },
107
    {
108
        .id        = AV_CODEC_ID_JPEGLS,
109
        .type      = AVMEDIA_TYPE_VIDEO,
110
        .name      = "jpegls",
111
        .long_name = NULL_IF_CONFIG_SMALL("JPEG-LS"),
112
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY |
113
                     AV_CODEC_PROP_LOSSLESS,
114
    },
115
    {
116
        .id        = AV_CODEC_ID_MPEG4,
117
        .type      = AVMEDIA_TYPE_VIDEO,
118
        .name      = "mpeg4",
119
        .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2"),
120
        .props     = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
121
        .profiles  = NULL_IF_CONFIG_SMALL(ff_mpeg4_video_profiles),
122
    },
123
    {
124
        .id        = AV_CODEC_ID_RAWVIDEO,
125
        .type      = AVMEDIA_TYPE_VIDEO,
126
        .name      = "rawvideo",
127
        .long_name = NULL_IF_CONFIG_SMALL("raw video"),
128
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
129
    },
130
    {
131
        .id        = AV_CODEC_ID_MSMPEG4V1,
132
        .type      = AVMEDIA_TYPE_VIDEO,
133
        .name      = "msmpeg4v1",
134
        .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 1"),
135
        .props     = AV_CODEC_PROP_LOSSY,
136
    },
137
    {
138
        .id        = AV_CODEC_ID_MSMPEG4V2,
139
        .type      = AVMEDIA_TYPE_VIDEO,
140
        .name      = "msmpeg4v2",
141
        .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 2"),
142
        .props     = AV_CODEC_PROP_LOSSY,
143
    },
144
    {
145
        .id        = AV_CODEC_ID_MSMPEG4V3,
146
        .type      = AVMEDIA_TYPE_VIDEO,
147
        .name      = "msmpeg4v3",
148
        .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 3"),
149
        .props     = AV_CODEC_PROP_LOSSY,
150
    },
151
    {
152
        .id        = AV_CODEC_ID_WMV1,
153
        .type      = AVMEDIA_TYPE_VIDEO,
154
        .name      = "wmv1",
155
        .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 7"),
156
        .props     = AV_CODEC_PROP_LOSSY,
157
    },
158
    {
159
        .id        = AV_CODEC_ID_WMV2,
160
        .type      = AVMEDIA_TYPE_VIDEO,
161
        .name      = "wmv2",
162
        .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 8"),
163
        .props     = AV_CODEC_PROP_LOSSY,
164
    },
165
    {
166
        .id        = AV_CODEC_ID_H263P,
167
        .type      = AVMEDIA_TYPE_VIDEO,
168
        .name      = "h263p",
169
        .long_name = NULL_IF_CONFIG_SMALL("H.263+ / H.263-1998 / H.263 version 2"),
170
        .props     = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
171
    },
172
    {
173
        .id        = AV_CODEC_ID_H263I,
174
        .type      = AVMEDIA_TYPE_VIDEO,
175
        .name      = "h263i",
176
        .long_name = NULL_IF_CONFIG_SMALL("Intel H.263"),
177
        .props     = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
178
    },
179
    {
180
        .id        = AV_CODEC_ID_FLV1,
181
        .type      = AVMEDIA_TYPE_VIDEO,
182
        .name      = "flv1",
183
        .long_name = NULL_IF_CONFIG_SMALL("FLV / Sorenson Spark / Sorenson H.263 (Flash Video)"),
184
        .props     = AV_CODEC_PROP_LOSSY,
185
    },
186
    {
187
        .id        = AV_CODEC_ID_SVQ1,
188
        .type      = AVMEDIA_TYPE_VIDEO,
189
        .name      = "svq1",
190
        .long_name = NULL_IF_CONFIG_SMALL("Sorenson Vector Quantizer 1 / Sorenson Video 1 / SVQ1"),
191
        .props     = AV_CODEC_PROP_LOSSY,
192
    },
193
    {
194
        .id        = AV_CODEC_ID_SVQ3,
195
        .type      = AVMEDIA_TYPE_VIDEO,
196
        .name      = "svq3",
197
        .long_name = NULL_IF_CONFIG_SMALL("Sorenson Vector Quantizer 3 / Sorenson Video 3 / SVQ3"),
198
        .props     = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
199
    },
200
    {
201
        .id        = AV_CODEC_ID_DVVIDEO,
202
        .type      = AVMEDIA_TYPE_VIDEO,
203
        .name      = "dvvideo",
204
        .long_name = NULL_IF_CONFIG_SMALL("DV (Digital Video)"),
205
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
206
    },
207
    {
208
        .id        = AV_CODEC_ID_HUFFYUV,
209
        .type      = AVMEDIA_TYPE_VIDEO,
210
        .name      = "huffyuv",
211
        .long_name = NULL_IF_CONFIG_SMALL("HuffYUV"),
212
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
213
    },
214
    {
215
        .id        = AV_CODEC_ID_CYUV,
216
        .type      = AVMEDIA_TYPE_VIDEO,
217
        .name      = "cyuv",
218
        .long_name = NULL_IF_CONFIG_SMALL("Creative YUV (CYUV)"),
219
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
220
    },
221
    {
222
        .id        = AV_CODEC_ID_H264,
223
        .type      = AVMEDIA_TYPE_VIDEO,
224
        .name      = "h264",
225
        .long_name = NULL_IF_CONFIG_SMALL("H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10"),
226
        .props     = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS | AV_CODEC_PROP_REORDER,
227
        .profiles  = NULL_IF_CONFIG_SMALL(ff_h264_profiles),
228
    },
229
    {
230
        .id        = AV_CODEC_ID_INDEO3,
231
        .type      = AVMEDIA_TYPE_VIDEO,
232
        .name      = "indeo3",
233
        .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo 3"),
234
        .props     = AV_CODEC_PROP_LOSSY,
235
    },
236
    {
237
        .id        = AV_CODEC_ID_VP3,
238
        .type      = AVMEDIA_TYPE_VIDEO,
239
        .name      = "vp3",
240
        .long_name = NULL_IF_CONFIG_SMALL("On2 VP3"),
241
        .props     = AV_CODEC_PROP_LOSSY,
242
    },
243
    {
244
        .id        = AV_CODEC_ID_THEORA,
245
        .type      = AVMEDIA_TYPE_VIDEO,
246
        .name      = "theora",
247
        .long_name = NULL_IF_CONFIG_SMALL("Theora"),
248
        .props     = AV_CODEC_PROP_LOSSY,
249
    },
250
    {
251
        .id        = AV_CODEC_ID_ASV1,
252
        .type      = AVMEDIA_TYPE_VIDEO,
253
        .name      = "asv1",
254
        .long_name = NULL_IF_CONFIG_SMALL("ASUS V1"),
255
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
256
    },
257
    {
258
        .id        = AV_CODEC_ID_ASV2,
259
        .type      = AVMEDIA_TYPE_VIDEO,
260
        .name      = "asv2",
261
        .long_name = NULL_IF_CONFIG_SMALL("ASUS V2"),
262
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
263
    },
264
    {
265
        .id        = AV_CODEC_ID_FFV1,
266
        .type      = AVMEDIA_TYPE_VIDEO,
267
        .name      = "ffv1",
268
        .long_name = NULL_IF_CONFIG_SMALL("FFmpeg video codec #1"),
269
        .props     = AV_CODEC_PROP_LOSSLESS,
270
    },
271
    {
272
        .id        = AV_CODEC_ID_4XM,
273
        .type      = AVMEDIA_TYPE_VIDEO,
274
        .name      = "4xm",
275
        .long_name = NULL_IF_CONFIG_SMALL("4X Movie"),
276
        .props     = AV_CODEC_PROP_LOSSY,
277
    },
278
    {
279
        .id        = AV_CODEC_ID_VCR1,
280
        .type      = AVMEDIA_TYPE_VIDEO,
281
        .name      = "vcr1",
282
        .long_name = NULL_IF_CONFIG_SMALL("ATI VCR1"),
283
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
284
    },
285
    {
286
        .id        = AV_CODEC_ID_CLJR,
287
        .type      = AVMEDIA_TYPE_VIDEO,
288
        .name      = "cljr",
289
        .long_name = NULL_IF_CONFIG_SMALL("Cirrus Logic AccuPak"),
290
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
291
    },
292
    {
293
        .id        = AV_CODEC_ID_MDEC,
294
        .type      = AVMEDIA_TYPE_VIDEO,
295
        .name      = "mdec",
296
        .long_name = NULL_IF_CONFIG_SMALL("Sony PlayStation MDEC (Motion DECoder)"),
297
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
298
    },
299
    {
300
        .id        = AV_CODEC_ID_ROQ,
301
        .type      = AVMEDIA_TYPE_VIDEO,
302
        .name      = "roq",
303
        .long_name = NULL_IF_CONFIG_SMALL("id RoQ video"),
304
        .props     = AV_CODEC_PROP_LOSSY,
305
    },
306
    {
307
        .id        = AV_CODEC_ID_INTERPLAY_VIDEO,
308
        .type      = AVMEDIA_TYPE_VIDEO,
309
        .name      = "interplayvideo",
310
        .long_name = NULL_IF_CONFIG_SMALL("Interplay MVE video"),
311
        .props     = AV_CODEC_PROP_LOSSY,
312
    },
313
    {
314
        .id        = AV_CODEC_ID_XAN_WC3,
315
        .type      = AVMEDIA_TYPE_VIDEO,
316
        .name      = "xan_wc3",
317
        .long_name = NULL_IF_CONFIG_SMALL("Wing Commander III / Xan"),
318
        .props     = AV_CODEC_PROP_LOSSY,
319
    },
320
    {
321
        .id        = AV_CODEC_ID_XAN_WC4,
322
        .type      = AVMEDIA_TYPE_VIDEO,
323
        .name      = "xan_wc4",
324
        .long_name = NULL_IF_CONFIG_SMALL("Wing Commander IV / Xxan"),
325
        .props     = AV_CODEC_PROP_LOSSY,
326
    },
327
    {
328
        .id        = AV_CODEC_ID_RPZA,
329
        .type      = AVMEDIA_TYPE_VIDEO,
330
        .name      = "rpza",
331
        .long_name = NULL_IF_CONFIG_SMALL("QuickTime video (RPZA)"),
332
        .props     = AV_CODEC_PROP_LOSSY,
333
    },
334
    {
335
        .id        = AV_CODEC_ID_CINEPAK,
336
        .type      = AVMEDIA_TYPE_VIDEO,
337
        .name      = "cinepak",
338
        .long_name = NULL_IF_CONFIG_SMALL("Cinepak"),
339
        .props     = AV_CODEC_PROP_LOSSY,
340
    },
341
    {
342
        .id        = AV_CODEC_ID_WS_VQA,
343
        .type      = AVMEDIA_TYPE_VIDEO,
344
        .name      = "ws_vqa",
345
        .long_name = NULL_IF_CONFIG_SMALL("Westwood Studios VQA (Vector Quantized Animation) video"),
346
        .props     = AV_CODEC_PROP_LOSSY,
347
    },
348
    {
349
        .id        = AV_CODEC_ID_MSRLE,
350
        .type      = AVMEDIA_TYPE_VIDEO,
351
        .name      = "msrle",
352
        .long_name = NULL_IF_CONFIG_SMALL("Microsoft RLE"),
353
        .props     = AV_CODEC_PROP_LOSSLESS,
354
    },
355
    {
356
        .id        = AV_CODEC_ID_MSVIDEO1,
357
        .type      = AVMEDIA_TYPE_VIDEO,
358
        .name      = "msvideo1",
359
        .long_name = NULL_IF_CONFIG_SMALL("Microsoft Video 1"),
360
        .props     = AV_CODEC_PROP_LOSSY,
361
    },
362
    {
363
        .id        = AV_CODEC_ID_IDCIN,
364
        .type      = AVMEDIA_TYPE_VIDEO,
365
        .name      = "idcin",
366
        .long_name = NULL_IF_CONFIG_SMALL("id Quake II CIN video"),
367
        .props     = AV_CODEC_PROP_LOSSY,
368
    },
369
    {
370
        .id        = AV_CODEC_ID_8BPS,
371
        .type      = AVMEDIA_TYPE_VIDEO,
372
        .name      = "8bps",
373
        .long_name = NULL_IF_CONFIG_SMALL("QuickTime 8BPS video"),
374
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
375
    },
376
    {
377
        .id        = AV_CODEC_ID_SMC,
378
        .type      = AVMEDIA_TYPE_VIDEO,
379
        .name      = "smc",
380
        .long_name = NULL_IF_CONFIG_SMALL("QuickTime Graphics (SMC)"),
381
        .props     = AV_CODEC_PROP_LOSSY,
382
    },
383
    {
384
        .id        = AV_CODEC_ID_FLIC,
385
        .type      = AVMEDIA_TYPE_VIDEO,
386
        .name      = "flic",
387
        .long_name = NULL_IF_CONFIG_SMALL("Autodesk Animator Flic video"),
388
        .props     = AV_CODEC_PROP_LOSSLESS,
389
    },
390
    {
391
        .id        = AV_CODEC_ID_TRUEMOTION1,
392
        .type      = AVMEDIA_TYPE_VIDEO,
393
        .name      = "truemotion1",
394
        .long_name = NULL_IF_CONFIG_SMALL("Duck TrueMotion 1.0"),
395
        .props     = AV_CODEC_PROP_LOSSY,
396
    },
397
    {
398
        .id        = AV_CODEC_ID_VMDVIDEO,
399
        .type      = AVMEDIA_TYPE_VIDEO,
400
        .name      = "vmdvideo",
401
        .long_name = NULL_IF_CONFIG_SMALL("Sierra VMD video"),
402
        .props     = AV_CODEC_PROP_LOSSY,
403
    },
404
    {
405
        .id        = AV_CODEC_ID_MSZH,
406
        .type      = AVMEDIA_TYPE_VIDEO,
407
        .name      = "mszh",
408
        .long_name = NULL_IF_CONFIG_SMALL("LCL (LossLess Codec Library) MSZH"),
409
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
410
    },
411
    {
412
        .id        = AV_CODEC_ID_ZLIB,
413
        .type      = AVMEDIA_TYPE_VIDEO,
414
        .name      = "zlib",
415
        .long_name = NULL_IF_CONFIG_SMALL("LCL (LossLess Codec Library) ZLIB"),
416
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
417
    },
418
    {
419
        .id        = AV_CODEC_ID_QTRLE,
420
        .type      = AVMEDIA_TYPE_VIDEO,
421
        .name      = "qtrle",
422
        .long_name = NULL_IF_CONFIG_SMALL("QuickTime Animation (RLE) video"),
423
        .props     = AV_CODEC_PROP_LOSSLESS,
424
    },
425
    {
426
        .id        = AV_CODEC_ID_TSCC,
427
        .type      = AVMEDIA_TYPE_VIDEO,
428
        .name      = "tscc",
429
        .long_name = NULL_IF_CONFIG_SMALL("TechSmith Screen Capture Codec"),
430
        .props     = AV_CODEC_PROP_LOSSLESS,
431
    },
432
    {
433
        .id        = AV_CODEC_ID_ULTI,
434
        .type      = AVMEDIA_TYPE_VIDEO,
435
        .name      = "ulti",
436
        .long_name = NULL_IF_CONFIG_SMALL("IBM UltiMotion"),
437
        .props     = AV_CODEC_PROP_LOSSY,
438
    },
439
    {
440
        .id        = AV_CODEC_ID_QDRAW,
441
        .type      = AVMEDIA_TYPE_VIDEO,
442
        .name      = "qdraw",
443
        .long_name = NULL_IF_CONFIG_SMALL("Apple QuickDraw"),
444
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
445
    },
446
    {
447
        .id        = AV_CODEC_ID_VIXL,
448
        .type      = AVMEDIA_TYPE_VIDEO,
449
        .name      = "vixl",
450
        .long_name = NULL_IF_CONFIG_SMALL("Miro VideoXL"),
451
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
452
    },
453
    {
454
        .id        = AV_CODEC_ID_QPEG,
455
        .type      = AVMEDIA_TYPE_VIDEO,
456
        .name      = "qpeg",
457
        .long_name = NULL_IF_CONFIG_SMALL("Q-team QPEG"),
458
        .props     = AV_CODEC_PROP_LOSSY,
459
    },
460
    {
461
        .id        = AV_CODEC_ID_PNG,
462
        .type      = AVMEDIA_TYPE_VIDEO,
463
        .name      = "png",
464
        .long_name = NULL_IF_CONFIG_SMALL("PNG (Portable Network Graphics) image"),
465
        .props     = AV_CODEC_PROP_LOSSLESS,
466
        .mime_types= MT("image/png"),
467
    },
468
    {
469
        .id        = AV_CODEC_ID_PPM,
470
        .type      = AVMEDIA_TYPE_VIDEO,
471
        .name      = "ppm",
472
        .long_name = NULL_IF_CONFIG_SMALL("PPM (Portable PixelMap) image"),
473
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
474
    },
475
    {
476
        .id        = AV_CODEC_ID_PBM,
477
        .type      = AVMEDIA_TYPE_VIDEO,
478
        .name      = "pbm",
479
        .long_name = NULL_IF_CONFIG_SMALL("PBM (Portable BitMap) image"),
480
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
481
    },
482
    {
483
        .id        = AV_CODEC_ID_PGM,
484
        .type      = AVMEDIA_TYPE_VIDEO,
485
        .name      = "pgm",
486
        .long_name = NULL_IF_CONFIG_SMALL("PGM (Portable GrayMap) image"),
487
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
488
    },
489
    {
490
        .id        = AV_CODEC_ID_PGMYUV,
491
        .type      = AVMEDIA_TYPE_VIDEO,
492
        .name      = "pgmyuv",
493
        .long_name = NULL_IF_CONFIG_SMALL("PGMYUV (Portable GrayMap YUV) image"),
494
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
495
    },
496
    {
497
        .id        = AV_CODEC_ID_PAM,
498
        .type      = AVMEDIA_TYPE_VIDEO,
499
        .name      = "pam",
500
        .long_name = NULL_IF_CONFIG_SMALL("PAM (Portable AnyMap) image"),
501
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
502
        .mime_types= MT("image/x-portable-pixmap"),
503
    },
504
    {
505
        .id        = AV_CODEC_ID_FFVHUFF,
506
        .type      = AVMEDIA_TYPE_VIDEO,
507
        .name      = "ffvhuff",
508
        .long_name = NULL_IF_CONFIG_SMALL("Huffyuv FFmpeg variant"),
509
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
510
    },
511
    {
512
        .id        = AV_CODEC_ID_RV30,
513
        .type      = AVMEDIA_TYPE_VIDEO,
514
        .name      = "rv30",
515
        .long_name = NULL_IF_CONFIG_SMALL("RealVideo 3.0"),
516
        .props     = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
517
    },
518
    {
519
        .id        = AV_CODEC_ID_RV40,
520
        .type      = AVMEDIA_TYPE_VIDEO,
521
        .name      = "rv40",
522
        .long_name = NULL_IF_CONFIG_SMALL("RealVideo 4.0"),
523
        .props     = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
524
    },
525
    {
526
        .id        = AV_CODEC_ID_VC1,
527
        .type      = AVMEDIA_TYPE_VIDEO,
528
        .name      = "vc1",
529
        .long_name = NULL_IF_CONFIG_SMALL("SMPTE VC-1"),
530
        .props     = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
531
        .profiles  = NULL_IF_CONFIG_SMALL(ff_vc1_profiles),
532
    },
533
    {
534
        .id        = AV_CODEC_ID_WMV3,
535
        .type      = AVMEDIA_TYPE_VIDEO,
536
        .name      = "wmv3",
537
        .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 9"),
538
        .props     = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
539
        .profiles  = NULL_IF_CONFIG_SMALL(ff_vc1_profiles),
540
    },
541
    {
542
        .id        = AV_CODEC_ID_LOCO,
543
        .type      = AVMEDIA_TYPE_VIDEO,
544
        .name      = "loco",
545
        .long_name = NULL_IF_CONFIG_SMALL("LOCO"),
546
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
547
    },
548
    {
549
        .id        = AV_CODEC_ID_WNV1,
550
        .type      = AVMEDIA_TYPE_VIDEO,
551
        .name      = "wnv1",
552
        .long_name = NULL_IF_CONFIG_SMALL("Winnov WNV1"),
553
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
554
    },
555
    {
556
        .id        = AV_CODEC_ID_AASC,
557
        .type      = AVMEDIA_TYPE_VIDEO,
558
        .name      = "aasc",
559
        .long_name = NULL_IF_CONFIG_SMALL("Autodesk RLE"),
560
        .props     = AV_CODEC_PROP_LOSSLESS,
561
    },
562
    {
563
        .id        = AV_CODEC_ID_INDEO2,
564
        .type      = AVMEDIA_TYPE_VIDEO,
565
        .name      = "indeo2",
566
        .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo 2"),
567
        .props     = AV_CODEC_PROP_LOSSY,
568
    },
569
    {
570
        .id        = AV_CODEC_ID_FRAPS,
571
        .type      = AVMEDIA_TYPE_VIDEO,
572
        .name      = "fraps",
573
        .long_name = NULL_IF_CONFIG_SMALL("Fraps"),
574
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
575
    },
576
    {
577
        .id        = AV_CODEC_ID_TRUEMOTION2,
578
        .type      = AVMEDIA_TYPE_VIDEO,
579
        .name      = "truemotion2",
580
        .long_name = NULL_IF_CONFIG_SMALL("Duck TrueMotion 2.0"),
581
        .props     = AV_CODEC_PROP_LOSSY,
582
    },
583
    {
584
        .id        = AV_CODEC_ID_BMP,
585
        .type      = AVMEDIA_TYPE_VIDEO,
586
        .name      = "bmp",
587
        .long_name = NULL_IF_CONFIG_SMALL("BMP (Windows and OS/2 bitmap)"),
588
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
589
        .mime_types= MT("image/x-ms-bmp"),
590
    },
591
    {
592
        .id        = AV_CODEC_ID_CSCD,
593
        .type      = AVMEDIA_TYPE_VIDEO,
594
        .name      = "cscd",
595
        .long_name = NULL_IF_CONFIG_SMALL("CamStudio"),
596
        .props     = AV_CODEC_PROP_LOSSLESS,
597
    },
598
    {
599
        .id        = AV_CODEC_ID_MMVIDEO,
600
        .type      = AVMEDIA_TYPE_VIDEO,
601
        .name      = "mmvideo",
602
        .long_name = NULL_IF_CONFIG_SMALL("American Laser Games MM Video"),
603
        .props     = AV_CODEC_PROP_LOSSY,
604
    },
605
    {
606
        .id        = AV_CODEC_ID_ZMBV,
607
        .type      = AVMEDIA_TYPE_VIDEO,
608
        .name      = "zmbv",
609
        .long_name = NULL_IF_CONFIG_SMALL("Zip Motion Blocks Video"),
610
        .props     = AV_CODEC_PROP_LOSSLESS,
611
    },
612
    {
613
        .id        = AV_CODEC_ID_AVS,
614
        .type      = AVMEDIA_TYPE_VIDEO,
615
        .name      = "avs",
616
        .long_name = NULL_IF_CONFIG_SMALL("AVS (Audio Video Standard) video"),
617
        .props     = AV_CODEC_PROP_LOSSY,
618
    },
619
    {
620
        .id        = AV_CODEC_ID_SMACKVIDEO,
621
        .type      = AVMEDIA_TYPE_VIDEO,
622
        .name      = "smackvideo",
623
        .long_name = NULL_IF_CONFIG_SMALL("Smacker video"),
624
        .props     = AV_CODEC_PROP_LOSSY,
625
    },
626
    {
627
        .id        = AV_CODEC_ID_NUV,
628
        .type      = AVMEDIA_TYPE_VIDEO,
629
        .name      = "nuv",
630
        .long_name = NULL_IF_CONFIG_SMALL("NuppelVideo/RTJPEG"),
631
        .props     = AV_CODEC_PROP_LOSSY,
632
    },
633
    {
634
        .id        = AV_CODEC_ID_KMVC,
635
        .type      = AVMEDIA_TYPE_VIDEO,
636
        .name      = "kmvc",
637
        .long_name = NULL_IF_CONFIG_SMALL("Karl Morton's video codec"),
638
        .props     = AV_CODEC_PROP_LOSSY,
639
    },
640
    {
641
        .id        = AV_CODEC_ID_FLASHSV,
642
        .type      = AVMEDIA_TYPE_VIDEO,
643
        .name      = "flashsv",
644
        .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v1"),
645
        .props     = AV_CODEC_PROP_LOSSLESS,
646
    },
647
    {
648
        .id        = AV_CODEC_ID_CAVS,
649
        .type      = AVMEDIA_TYPE_VIDEO,
650
        .name      = "cavs",
651
        .long_name = NULL_IF_CONFIG_SMALL("Chinese AVS (Audio Video Standard) (AVS1-P2, JiZhun profile)"),
652
        .props     = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
653
    },
654
    {
655
        .id        = AV_CODEC_ID_JPEG2000,
656
        .type      = AVMEDIA_TYPE_VIDEO,
657
        .name      = "jpeg2000",
658
        .long_name = NULL_IF_CONFIG_SMALL("JPEG 2000"),
659
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY |
660
                     AV_CODEC_PROP_LOSSLESS,
661
        .mime_types= MT("image/jp2"),
662
        .profiles  = NULL_IF_CONFIG_SMALL(ff_jpeg2000_profiles),
663
    },
664
    {
665
        .id        = AV_CODEC_ID_VMNC,
666
        .type      = AVMEDIA_TYPE_VIDEO,
667
        .name      = "vmnc",
668
        .long_name = NULL_IF_CONFIG_SMALL("VMware Screen Codec / VMware Video"),
669
        .props     = AV_CODEC_PROP_LOSSLESS,
670
    },
671
    {
672
        .id        = AV_CODEC_ID_VP5,
673
        .type      = AVMEDIA_TYPE_VIDEO,
674
        .name      = "vp5",
675
        .long_name = NULL_IF_CONFIG_SMALL("On2 VP5"),
676
        .props     = AV_CODEC_PROP_LOSSY,
677
    },
678
    {
679
        .id        = AV_CODEC_ID_VP6,
680
        .type      = AVMEDIA_TYPE_VIDEO,
681
        .name      = "vp6",
682
        .long_name = NULL_IF_CONFIG_SMALL("On2 VP6"),
683
        .props     = AV_CODEC_PROP_LOSSY,
684
    },
685
    {
686
        .id        = AV_CODEC_ID_VP6F,
687
        .type      = AVMEDIA_TYPE_VIDEO,
688
        .name      = "vp6f",
689
        .long_name = NULL_IF_CONFIG_SMALL("On2 VP6 (Flash version)"),
690
        .props     = AV_CODEC_PROP_LOSSY,
691
    },
692
    {
693
        .id        = AV_CODEC_ID_TARGA,
694
        .type      = AVMEDIA_TYPE_VIDEO,
695
        .name      = "targa",
696
        .long_name = NULL_IF_CONFIG_SMALL("Truevision Targa image"),
697
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
698
        .mime_types= MT("image/x-targa", "image/x-tga"),
699
    },
700
    {
701
        .id        = AV_CODEC_ID_DSICINVIDEO,
702
        .type      = AVMEDIA_TYPE_VIDEO,
703
        .name      = "dsicinvideo",
704
        .long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN video"),
705
        .props     = AV_CODEC_PROP_LOSSY,
706
    },
707
    {
708
        .id        = AV_CODEC_ID_TIERTEXSEQVIDEO,
709
        .type      = AVMEDIA_TYPE_VIDEO,
710
        .name      = "tiertexseqvideo",
711
        .long_name = NULL_IF_CONFIG_SMALL("Tiertex Limited SEQ video"),
712
        .props     = AV_CODEC_PROP_LOSSY,
713
    },
714
    {
715
        .id        = AV_CODEC_ID_TIFF,
716
        .type      = AVMEDIA_TYPE_VIDEO,
717
        .name      = "tiff",
718
        .long_name = NULL_IF_CONFIG_SMALL("TIFF image"),
719
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
720
        .mime_types= MT("image/tiff"),
721
    },
722
    {
723
        .id        = AV_CODEC_ID_GIF,
724
        .type      = AVMEDIA_TYPE_VIDEO,
725
        .name      = "gif",
726
        .long_name = NULL_IF_CONFIG_SMALL("CompuServe GIF (Graphics Interchange Format)"),
727
        .props     = AV_CODEC_PROP_LOSSLESS,
728
        .mime_types= MT("image/gif"),
729
    },
730
    {
731
        .id        = AV_CODEC_ID_DXA,
732
        .type      = AVMEDIA_TYPE_VIDEO,
733
        .name      = "dxa",
734
        .long_name = NULL_IF_CONFIG_SMALL("Feeble Files/ScummVM DXA"),
735
        .props     = AV_CODEC_PROP_LOSSLESS,
736
    },
737
    {
738
        .id        = AV_CODEC_ID_DNXHD,
739
        .type      = AVMEDIA_TYPE_VIDEO,
740
        .name      = "dnxhd",
741
        .long_name = NULL_IF_CONFIG_SMALL("VC3/DNxHD"),
742
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
743
        .profiles  = NULL_IF_CONFIG_SMALL(ff_dnxhd_profiles),
744
    },
745
    {
746
        .id        = AV_CODEC_ID_THP,
747
        .type      = AVMEDIA_TYPE_VIDEO,
748
        .name      = "thp",
749
        .long_name = NULL_IF_CONFIG_SMALL("Nintendo Gamecube THP video"),
750
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
751
    },
752
    {
753
        .id        = AV_CODEC_ID_SGI,
754
        .type      = AVMEDIA_TYPE_VIDEO,
755
        .name      = "sgi",
756
        .long_name = NULL_IF_CONFIG_SMALL("SGI image"),
757
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
758
    },
759
    {
760
        .id        = AV_CODEC_ID_C93,
761
        .type      = AVMEDIA_TYPE_VIDEO,
762
        .name      = "c93",
763
        .long_name = NULL_IF_CONFIG_SMALL("Interplay C93"),
764
        .props     = AV_CODEC_PROP_LOSSY,
765
    },
766
    {
767
        .id        = AV_CODEC_ID_BETHSOFTVID,
768
        .type      = AVMEDIA_TYPE_VIDEO,
769
        .name      = "bethsoftvid",
770
        .long_name = NULL_IF_CONFIG_SMALL("Bethesda VID video"),
771
        .props     = AV_CODEC_PROP_LOSSY,
772
    },
773
    {
774
        .id        = AV_CODEC_ID_PTX,
775
        .type      = AVMEDIA_TYPE_VIDEO,
776
        .name      = "ptx",
777
        .long_name = NULL_IF_CONFIG_SMALL("V.Flash PTX image"),
778
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
779
    },
780
    {
781
        .id        = AV_CODEC_ID_TXD,
782
        .type      = AVMEDIA_TYPE_VIDEO,
783
        .name      = "txd",
784
        .long_name = NULL_IF_CONFIG_SMALL("Renderware TXD (TeXture Dictionary) image"),
785
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
786
    },
787
    {
788
        .id        = AV_CODEC_ID_VP6A,
789
        .type      = AVMEDIA_TYPE_VIDEO,
790
        .name      = "vp6a",
791
        .long_name = NULL_IF_CONFIG_SMALL("On2 VP6 (Flash version, with alpha channel)"),
792
        .props     = AV_CODEC_PROP_LOSSY,
793
    },
794
    {
795
        .id        = AV_CODEC_ID_AMV,
796
        .type      = AVMEDIA_TYPE_VIDEO,
797
        .name      = "amv",
798
        .long_name = NULL_IF_CONFIG_SMALL("AMV Video"),
799
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
800
    },
801
    {
802
        .id        = AV_CODEC_ID_VB,
803
        .type      = AVMEDIA_TYPE_VIDEO,
804
        .name      = "vb",
805
        .long_name = NULL_IF_CONFIG_SMALL("Beam Software VB"),
806
        .props     = AV_CODEC_PROP_LOSSY,
807
    },
808
    {
809
        .id        = AV_CODEC_ID_PCX,
810
        .type      = AVMEDIA_TYPE_VIDEO,
811
        .name      = "pcx",
812
        .long_name = NULL_IF_CONFIG_SMALL("PC Paintbrush PCX image"),
813
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
814
        .mime_types= MT("image/x-pcx"),
815
    },
816
    {
817
        .id        = AV_CODEC_ID_SUNRAST,
818
        .type      = AVMEDIA_TYPE_VIDEO,
819
        .name      = "sunrast",
820
        .long_name = NULL_IF_CONFIG_SMALL("Sun Rasterfile image"),
821
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
822
    },
823
    {
824
        .id        = AV_CODEC_ID_INDEO4,
825
        .type      = AVMEDIA_TYPE_VIDEO,
826
        .name      = "indeo4",
827
        .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo Video Interactive 4"),
828
        .props     = AV_CODEC_PROP_LOSSY,
829
    },
830
    {
831
        .id        = AV_CODEC_ID_INDEO5,
832
        .type      = AVMEDIA_TYPE_VIDEO,
833
        .name      = "indeo5",
834
        .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo Video Interactive 5"),
835
        .props     = AV_CODEC_PROP_LOSSY,
836
    },
837
    {
838
        .id        = AV_CODEC_ID_MIMIC,
839
        .type      = AVMEDIA_TYPE_VIDEO,
840
        .name      = "mimic",
841
        .long_name = NULL_IF_CONFIG_SMALL("Mimic"),
842
        .props     = AV_CODEC_PROP_LOSSY,
843
    },
844
    {
845
        .id        = AV_CODEC_ID_RL2,
846
        .type      = AVMEDIA_TYPE_VIDEO,
847
        .name      = "rl2",
848
        .long_name = NULL_IF_CONFIG_SMALL("RL2 video"),
849
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
850
    },
851
    {
852
        .id        = AV_CODEC_ID_ESCAPE124,
853
        .type      = AVMEDIA_TYPE_VIDEO,
854
        .name      = "escape124",
855
        .long_name = NULL_IF_CONFIG_SMALL("Escape 124"),
856
        .props     = AV_CODEC_PROP_LOSSY,
857
    },
858
    {
859
        .id        = AV_CODEC_ID_DIRAC,
860
        .type      = AVMEDIA_TYPE_VIDEO,
861
        .name      = "dirac",
862
        .long_name = NULL_IF_CONFIG_SMALL("Dirac"),
863
        .props     = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS | AV_CODEC_PROP_REORDER,
864
    },
865
    {
866
        .id        = AV_CODEC_ID_BFI,
867
        .type      = AVMEDIA_TYPE_VIDEO,
868
        .name      = "bfi",
869
        .long_name = NULL_IF_CONFIG_SMALL("Brute Force & Ignorance"),
870
        .props     = AV_CODEC_PROP_LOSSY,
871
    },
872
    {
873
        .id        = AV_CODEC_ID_CMV,
874
        .type      = AVMEDIA_TYPE_VIDEO,
875
        .name      = "cmv",
876
        .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts CMV video"),
877
        .props     = AV_CODEC_PROP_LOSSY,
878
    },
879
    {
880
        .id        = AV_CODEC_ID_MOTIONPIXELS,
881
        .type      = AVMEDIA_TYPE_VIDEO,
882
        .name      = "motionpixels",
883
        .long_name = NULL_IF_CONFIG_SMALL("Motion Pixels video"),
884
        .props     = AV_CODEC_PROP_LOSSY,
885
    },
886
    {
887
        .id        = AV_CODEC_ID_TGV,
888
        .type      = AVMEDIA_TYPE_VIDEO,
889
        .name      = "tgv",
890
        .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts TGV video"),
891
        .props     = AV_CODEC_PROP_LOSSY,
892
    },
893
    {
894
        .id        = AV_CODEC_ID_TGQ,
895
        .type      = AVMEDIA_TYPE_VIDEO,
896
        .name      = "tgq",
897
        .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts TGQ video"),
898
        .props     = AV_CODEC_PROP_LOSSY,
899
    },
900
    {
901
        .id        = AV_CODEC_ID_TQI,
902
        .type      = AVMEDIA_TYPE_VIDEO,
903
        .name      = "tqi",
904
        .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts TQI video"),
905
        .props     = AV_CODEC_PROP_LOSSY,
906
    },
907
    {
908
        .id        = AV_CODEC_ID_AURA,
909
        .type      = AVMEDIA_TYPE_VIDEO,
910
        .name      = "aura",
911
        .long_name = NULL_IF_CONFIG_SMALL("Auravision AURA"),
912
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
913
    },
914
    {
915
        .id        = AV_CODEC_ID_AURA2,
916
        .type      = AVMEDIA_TYPE_VIDEO,
917
        .name      = "aura2",
918
        .long_name = NULL_IF_CONFIG_SMALL("Auravision Aura 2"),
919
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
920
    },
921
    {
922
        .id        = AV_CODEC_ID_V210X,
923
        .type      = AVMEDIA_TYPE_VIDEO,
924
        .name      = "v210x",
925
        .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
926
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
927
    },
928
    {
929
        .id        = AV_CODEC_ID_TMV,
930
        .type      = AVMEDIA_TYPE_VIDEO,
931
        .name      = "tmv",
932
        .long_name = NULL_IF_CONFIG_SMALL("8088flex TMV"),
933
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
934
    },
935
    {
936
        .id        = AV_CODEC_ID_V210,
937
        .type      = AVMEDIA_TYPE_VIDEO,
938
        .name      = "v210",
939
        .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
940
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
941
    },
942
    {
943
        .id        = AV_CODEC_ID_DPX,
944
        .type      = AVMEDIA_TYPE_VIDEO,
945
        .name      = "dpx",
946
        .long_name = NULL_IF_CONFIG_SMALL("DPX (Digital Picture Exchange) image"),
947
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
948
    },
949
    {
950
        .id        = AV_CODEC_ID_MAD,
951
        .type      = AVMEDIA_TYPE_VIDEO,
952
        .name      = "mad",
953
        .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts Madcow Video"),
954
        .props     = AV_CODEC_PROP_LOSSY,
955
    },
956
    {
957
        .id        = AV_CODEC_ID_FRWU,
958
        .type      = AVMEDIA_TYPE_VIDEO,
959
        .name      = "frwu",
960
        .long_name = NULL_IF_CONFIG_SMALL("Forward Uncompressed"),
961
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
962
    },
963
    {
964
        .id        = AV_CODEC_ID_FLASHSV2,
965
        .type      = AVMEDIA_TYPE_VIDEO,
966
        .name      = "flashsv2",
967
        .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v2"),
968
        .props     = AV_CODEC_PROP_LOSSY,
969
    },
970
    {
971
        .id        = AV_CODEC_ID_CDGRAPHICS,
972
        .type      = AVMEDIA_TYPE_VIDEO,
973
        .name      = "cdgraphics",
974
        .long_name = NULL_IF_CONFIG_SMALL("CD Graphics video"),
975
        .props     = AV_CODEC_PROP_LOSSY,
976
    },
977
    {
978
        .id        = AV_CODEC_ID_R210,
979
        .type      = AVMEDIA_TYPE_VIDEO,
980
        .name      = "r210",
981
        .long_name = NULL_IF_CONFIG_SMALL("Uncompressed RGB 10-bit"),
982
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
983
    },
984
    {
985
        .id        = AV_CODEC_ID_ANM,
986
        .type      = AVMEDIA_TYPE_VIDEO,
987
        .name      = "anm",
988
        .long_name = NULL_IF_CONFIG_SMALL("Deluxe Paint Animation"),
989
        .props     = AV_CODEC_PROP_LOSSY,
990
    },
991
    {
992
        .id        = AV_CODEC_ID_BINKVIDEO,
993
        .type      = AVMEDIA_TYPE_VIDEO,
994
        .name      = "binkvideo",
995
        .long_name = NULL_IF_CONFIG_SMALL("Bink video"),
996
        .props     = AV_CODEC_PROP_LOSSY,
997
    },
998
    {
999
        .id        = AV_CODEC_ID_IFF_ILBM,
1000
        .type      = AVMEDIA_TYPE_VIDEO,
1001
        .name      = "iff_ilbm",
1002
        .long_name = NULL_IF_CONFIG_SMALL("IFF ACBM/ANIM/DEEP/ILBM/PBM/RGB8/RGBN"),
1003
        .props     = AV_CODEC_PROP_LOSSY,
1004
    },
1005
    {
1006
        .id        = AV_CODEC_ID_KGV1,
1007
        .type      = AVMEDIA_TYPE_VIDEO,
1008
        .name      = "kgv1",
1009
        .long_name = NULL_IF_CONFIG_SMALL("Kega Game Video"),
1010
        .props     = AV_CODEC_PROP_LOSSY,
1011
    },
1012
    {
1013
        .id        = AV_CODEC_ID_YOP,
1014
        .type      = AVMEDIA_TYPE_VIDEO,
1015
        .name      = "yop",
1016
        .long_name = NULL_IF_CONFIG_SMALL("Psygnosis YOP Video"),
1017
        .props     = AV_CODEC_PROP_LOSSY,
1018
    },
1019
    {
1020
        .id        = AV_CODEC_ID_VP8,
1021
        .type      = AVMEDIA_TYPE_VIDEO,
1022
        .name      = "vp8",
1023
        .long_name = NULL_IF_CONFIG_SMALL("On2 VP8"),
1024
        .props     = AV_CODEC_PROP_LOSSY,
1025
    },
1026
    {
1027
        .id        = AV_CODEC_ID_PICTOR,
1028
        .type      = AVMEDIA_TYPE_VIDEO,
1029
        .name      = "pictor",
1030
        .long_name = NULL_IF_CONFIG_SMALL("Pictor/PC Paint"),
1031
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1032
    },
1033
    {
1034
        .id        = AV_CODEC_ID_ANSI,
1035
        .type      = AVMEDIA_TYPE_VIDEO,
1036
        .name      = "ansi",
1037
        .long_name = NULL_IF_CONFIG_SMALL("ASCII/ANSI art"),
1038
        .props     = AV_CODEC_PROP_LOSSY,
1039
    },
1040
    {
1041
        .id        = AV_CODEC_ID_A64_MULTI,
1042
        .type      = AVMEDIA_TYPE_VIDEO,
1043
        .name      = "a64_multi",
1044
        .long_name = NULL_IF_CONFIG_SMALL("Multicolor charset for Commodore 64"),
1045
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1046
    },
1047
    {
1048
        .id        = AV_CODEC_ID_A64_MULTI5,
1049
        .type      = AVMEDIA_TYPE_VIDEO,
1050
        .name      = "a64_multi5",
1051
        .long_name = NULL_IF_CONFIG_SMALL("Multicolor charset for Commodore 64, extended with 5th color (colram)"),
1052
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1053
    },
1054
    {
1055
        .id        = AV_CODEC_ID_R10K,
1056
        .type      = AVMEDIA_TYPE_VIDEO,
1057
        .name      = "r10k",
1058
        .long_name = NULL_IF_CONFIG_SMALL("AJA Kona 10-bit RGB Codec"),
1059
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1060
    },
1061
    {
1062
        .id        = AV_CODEC_ID_MXPEG,
1063
        .type      = AVMEDIA_TYPE_VIDEO,
1064
        .name      = "mxpeg",
1065
        .long_name = NULL_IF_CONFIG_SMALL("Mobotix MxPEG video"),
1066
        .props     = AV_CODEC_PROP_LOSSY,
1067
    },
1068
    {
1069
        .id        = AV_CODEC_ID_LAGARITH,
1070
        .type      = AVMEDIA_TYPE_VIDEO,
1071
        .name      = "lagarith",
1072
        .long_name = NULL_IF_CONFIG_SMALL("Lagarith lossless"),
1073
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1074
    },
1075
    {
1076
        .id        = AV_CODEC_ID_PRORES,
1077
        .type      = AVMEDIA_TYPE_VIDEO,
1078
        .name      = "prores",
1079
        .long_name = NULL_IF_CONFIG_SMALL("Apple ProRes (iCodec Pro)"),
1080
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1081
        .profiles  = NULL_IF_CONFIG_SMALL(ff_prores_profiles),
1082
    },
1083
    {
1084
        .id        = AV_CODEC_ID_JV,
1085
        .type      = AVMEDIA_TYPE_VIDEO,
1086
        .name      = "jv",
1087
        .long_name = NULL_IF_CONFIG_SMALL("Bitmap Brothers JV video"),
1088
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1089
    },
1090
    {
1091
        .id        = AV_CODEC_ID_DFA,
1092
        .type      = AVMEDIA_TYPE_VIDEO,
1093
        .name      = "dfa",
1094
        .long_name = NULL_IF_CONFIG_SMALL("Chronomaster DFA"),
1095
        .props     = AV_CODEC_PROP_LOSSY,
1096
    },
1097
    {
1098
        .id        = AV_CODEC_ID_WMV3IMAGE,
1099
        .type      = AVMEDIA_TYPE_VIDEO,
1100
        .name      = "wmv3image",
1101
        .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 9 Image"),
1102
        .props     = AV_CODEC_PROP_LOSSY,
1103
    },
1104
    {
1105
        .id        = AV_CODEC_ID_VC1IMAGE,
1106
        .type      = AVMEDIA_TYPE_VIDEO,
1107
        .name      = "vc1image",
1108
        .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 9 Image v2"),
1109
        .props     = AV_CODEC_PROP_LOSSY,
1110
    },
1111
    {
1112
        .id        = AV_CODEC_ID_UTVIDEO,
1113
        .type      = AVMEDIA_TYPE_VIDEO,
1114
        .name      = "utvideo",
1115
        .long_name = NULL_IF_CONFIG_SMALL("Ut Video"),
1116
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1117
    },
1118
    {
1119
        .id        = AV_CODEC_ID_BMV_VIDEO,
1120
        .type      = AVMEDIA_TYPE_VIDEO,
1121
        .name      = "bmv_video",
1122
        .long_name = NULL_IF_CONFIG_SMALL("Discworld II BMV video"),
1123
        .props     = AV_CODEC_PROP_LOSSLESS,
1124
    },
1125
    {
1126
        .id        = AV_CODEC_ID_VBLE,
1127
        .type      = AVMEDIA_TYPE_VIDEO,
1128
        .name      = "vble",
1129
        .long_name = NULL_IF_CONFIG_SMALL("VBLE Lossless Codec"),
1130
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1131
    },
1132
    {
1133
        .id        = AV_CODEC_ID_DXTORY,
1134
        .type      = AVMEDIA_TYPE_VIDEO,
1135
        .name      = "dxtory",
1136
        .long_name = NULL_IF_CONFIG_SMALL("Dxtory"),
1137
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1138
    },
1139
    {
1140
        .id        = AV_CODEC_ID_V410,
1141
        .type      = AVMEDIA_TYPE_VIDEO,
1142
        .name      = "v410",
1143
        .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:4:4 10-bit"),
1144
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1145
    },
1146
    {
1147
        .id        = AV_CODEC_ID_XWD,
1148
        .type      = AVMEDIA_TYPE_VIDEO,
1149
        .name      = "xwd",
1150
        .long_name = NULL_IF_CONFIG_SMALL("XWD (X Window Dump) image"),
1151
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1152
        .mime_types= MT("image/x-xwindowdump"),
1153
    },
1154
    {
1155
        .id        = AV_CODEC_ID_CDXL,
1156
        .type      = AVMEDIA_TYPE_VIDEO,
1157
        .name      = "cdxl",
1158
        .long_name = NULL_IF_CONFIG_SMALL("Commodore CDXL video"),
1159
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1160
    },
1161
    {
1162
        .id        = AV_CODEC_ID_XBM,
1163
        .type      = AVMEDIA_TYPE_VIDEO,
1164
        .name      = "xbm",
1165
        .long_name = NULL_IF_CONFIG_SMALL("XBM (X BitMap) image"),
1166
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1167
        .mime_types= MT("image/x-xbitmap"),
1168
    },
1169
    {
1170
        .id        = AV_CODEC_ID_ZEROCODEC,
1171
        .type      = AVMEDIA_TYPE_VIDEO,
1172
        .name      = "zerocodec",
1173
        .long_name = NULL_IF_CONFIG_SMALL("ZeroCodec Lossless Video"),
1174
        .props     = AV_CODEC_PROP_LOSSLESS,
1175
    },
1176
    {
1177
        .id        = AV_CODEC_ID_MSS1,
1178
        .type      = AVMEDIA_TYPE_VIDEO,
1179
        .name      = "mss1",
1180
        .long_name = NULL_IF_CONFIG_SMALL("MS Screen 1"),
1181
        .props     = AV_CODEC_PROP_LOSSY,
1182
    },
1183
    {
1184
        .id        = AV_CODEC_ID_MSA1,
1185
        .type      = AVMEDIA_TYPE_VIDEO,
1186
        .name      = "msa1",
1187
        .long_name = NULL_IF_CONFIG_SMALL("MS ATC Screen"),
1188
        .props     = AV_CODEC_PROP_LOSSY,
1189
    },
1190
    {
1191
        .id        = AV_CODEC_ID_TSCC2,
1192
        .type      = AVMEDIA_TYPE_VIDEO,
1193
        .name      = "tscc2",
1194
        .long_name = NULL_IF_CONFIG_SMALL("TechSmith Screen Codec 2"),
1195
        .props     = AV_CODEC_PROP_LOSSY,
1196
    },
1197
    {
1198
        .id        = AV_CODEC_ID_MTS2,
1199
        .type      = AVMEDIA_TYPE_VIDEO,
1200
        .name      = "mts2",
1201
        .long_name = NULL_IF_CONFIG_SMALL("MS Expression Encoder Screen"),
1202
        .props     = AV_CODEC_PROP_LOSSY,
1203
    },
1204
    {
1205
        .id        = AV_CODEC_ID_CLLC,
1206
        .type      = AVMEDIA_TYPE_VIDEO,
1207
        .name      = "cllc",
1208
        .long_name = NULL_IF_CONFIG_SMALL("Canopus Lossless Codec"),
1209
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1210
    },
1211
    {
1212
        .id        = AV_CODEC_ID_MSS2,
1213
        .type      = AVMEDIA_TYPE_VIDEO,
1214
        .name      = "mss2",
1215
        .long_name = NULL_IF_CONFIG_SMALL("MS Windows Media Video V9 Screen"),
1216
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1217
    },
1218
    {
1219
        .id        = AV_CODEC_ID_VP9,
1220
        .type      = AVMEDIA_TYPE_VIDEO,
1221
        .name      = "vp9",
1222
        .long_name = NULL_IF_CONFIG_SMALL("Google VP9"),
1223
        .props     = AV_CODEC_PROP_LOSSY,
1224
        .profiles  = NULL_IF_CONFIG_SMALL(ff_vp9_profiles),
1225
    },
1226
    {
1227
        .id        = AV_CODEC_ID_AIC,
1228
        .type      = AVMEDIA_TYPE_VIDEO,
1229
        .name      = "aic",
1230
        .long_name = NULL_IF_CONFIG_SMALL("Apple Intermediate Codec"),
1231
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1232
    },
1233
    {
1234
        .id        = AV_CODEC_ID_ESCAPE130,
1235
        .type      = AVMEDIA_TYPE_VIDEO,
1236
        .name      = "escape130",
1237
        .long_name = NULL_IF_CONFIG_SMALL("Escape 130"),
1238
        .props     = AV_CODEC_PROP_LOSSY,
1239
    },
1240
    {
1241
        .id        = AV_CODEC_ID_G2M,
1242
        .type      = AVMEDIA_TYPE_VIDEO,
1243
        .name      = "g2m",
1244
        .long_name = NULL_IF_CONFIG_SMALL("Go2Meeting"),
1245
        .props     = AV_CODEC_PROP_LOSSY,
1246
    },
1247
    {
1248
        .id        = AV_CODEC_ID_WEBP,
1249
        .type      = AVMEDIA_TYPE_VIDEO,
1250
        .name      = "webp",
1251
        .long_name = NULL_IF_CONFIG_SMALL("WebP"),
1252
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY |
1253
                     AV_CODEC_PROP_LOSSLESS,
1254
        .mime_types= MT("image/webp"),
1255
    },
1256
    {
1257
        .id        = AV_CODEC_ID_HNM4_VIDEO,
1258
        .type      = AVMEDIA_TYPE_VIDEO,
1259
        .name      = "hnm4video",
1260
        .long_name = NULL_IF_CONFIG_SMALL("HNM 4 video"),
1261
        .props     = AV_CODEC_PROP_LOSSY,
1262
    },
1263
    {
1264
        .id        = AV_CODEC_ID_HEVC,
1265
        .type      = AVMEDIA_TYPE_VIDEO,
1266
        .name      = "hevc",
1267
        .long_name = NULL_IF_CONFIG_SMALL("H.265 / HEVC (High Efficiency Video Coding)"),
1268
        .props     = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
1269
        .profiles  = NULL_IF_CONFIG_SMALL(ff_hevc_profiles),
1270
    },
1271
    {
1272
        .id        = AV_CODEC_ID_FIC,
1273
        .type      = AVMEDIA_TYPE_VIDEO,
1274
        .name      = "fic",
1275
        .long_name = NULL_IF_CONFIG_SMALL("Mirillis FIC"),
1276
        .props     = AV_CODEC_PROP_LOSSY,
1277
    },
1278
    {
1279
        .id        = AV_CODEC_ID_ALIAS_PIX,
1280
        .type      = AVMEDIA_TYPE_VIDEO,
1281
        .name      = "alias_pix",
1282
        .long_name = NULL_IF_CONFIG_SMALL("Alias/Wavefront PIX image"),
1283
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1284
    },
1285
    {
1286
        .id        = AV_CODEC_ID_BRENDER_PIX,
1287
        .type      = AVMEDIA_TYPE_VIDEO,
1288
        .name      = "brender_pix",
1289
        .long_name = NULL_IF_CONFIG_SMALL("BRender PIX image"),
1290
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1291
    },
1292
    {
1293
        .id        = AV_CODEC_ID_PAF_VIDEO,
1294
        .type      = AVMEDIA_TYPE_VIDEO,
1295
        .name      = "paf_video",
1296
        .long_name = NULL_IF_CONFIG_SMALL("Amazing Studio Packed Animation File Video"),
1297
        .props     = AV_CODEC_PROP_LOSSY,
1298
    },
1299
    {
1300
        .id        = AV_CODEC_ID_EXR,
1301
        .type      = AVMEDIA_TYPE_VIDEO,
1302
        .name      = "exr",
1303
        .long_name = NULL_IF_CONFIG_SMALL("OpenEXR image"),
1304
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY |
1305
                     AV_CODEC_PROP_LOSSLESS,
1306
    },
1307
    {
1308
        .id        = AV_CODEC_ID_VP7,
1309
        .type      = AVMEDIA_TYPE_VIDEO,
1310
        .name      = "vp7",
1311
        .long_name = NULL_IF_CONFIG_SMALL("On2 VP7"),
1312
        .props     = AV_CODEC_PROP_LOSSY,
1313
    },
1314
    {
1315
        .id        = AV_CODEC_ID_SANM,
1316
        .type      = AVMEDIA_TYPE_VIDEO,
1317
        .name      = "sanm",
1318
        .long_name = NULL_IF_CONFIG_SMALL("LucasArts SANM/SMUSH video"),
1319
        .props     = AV_CODEC_PROP_LOSSY,
1320
    },
1321
    {
1322
        .id        = AV_CODEC_ID_SGIRLE,
1323
        .type      = AVMEDIA_TYPE_VIDEO,
1324
        .name      = "sgirle",
1325
        .long_name = NULL_IF_CONFIG_SMALL("SGI RLE 8-bit"),
1326
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1327
    },
1328
    {
1329
        .id        = AV_CODEC_ID_MVC1,
1330
        .type      = AVMEDIA_TYPE_VIDEO,
1331
        .name      = "mvc1",
1332
        .long_name = NULL_IF_CONFIG_SMALL("Silicon Graphics Motion Video Compressor 1"),
1333
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1334
    },
1335
    {
1336
        .id        = AV_CODEC_ID_MVC2,
1337
        .type      = AVMEDIA_TYPE_VIDEO,
1338
        .name      = "mvc2",
1339
        .long_name = NULL_IF_CONFIG_SMALL("Silicon Graphics Motion Video Compressor 2"),
1340
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1341
    },
1342
    {
1343
        .id        = AV_CODEC_ID_HQX,
1344
        .type      = AVMEDIA_TYPE_VIDEO,
1345
        .name      = "hqx",
1346
        .long_name = NULL_IF_CONFIG_SMALL("Canopus HQX"),
1347
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1348
    },
1349
    {
1350
        .id        = AV_CODEC_ID_TDSC,
1351
        .type      = AVMEDIA_TYPE_VIDEO,
1352
        .name      = "tdsc",
1353
        .long_name = NULL_IF_CONFIG_SMALL("TDSC"),
1354
        .props     = AV_CODEC_PROP_LOSSY,
1355
    },
1356
    {
1357
        .id        = AV_CODEC_ID_HQ_HQA,
1358
        .type      = AVMEDIA_TYPE_VIDEO,
1359
        .name      = "hq_hqa",
1360
        .long_name = NULL_IF_CONFIG_SMALL("Canopus HQ/HQA"),
1361
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1362
    },
1363
    {
1364
        .id        = AV_CODEC_ID_HAP,
1365
        .type      = AVMEDIA_TYPE_VIDEO,
1366
        .name      = "hap",
1367
        .long_name = NULL_IF_CONFIG_SMALL("Vidvox Hap"),
1368
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1369
    },
1370
    {
1371
        .id        = AV_CODEC_ID_DDS,
1372
        .type      = AVMEDIA_TYPE_VIDEO,
1373
        .name      = "dds",
1374
        .long_name = NULL_IF_CONFIG_SMALL("DirectDraw Surface image decoder"),
1375
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY |
1376
                     AV_CODEC_PROP_LOSSLESS,
1377
    },
1378
    {
1379
        .id        = AV_CODEC_ID_DXV,
1380
        .type      = AVMEDIA_TYPE_VIDEO,
1381
        .name      = "dxv",
1382
        .long_name = NULL_IF_CONFIG_SMALL("Resolume DXV"),
1383
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1384
    },
1385
    {
1386
        .id        = AV_CODEC_ID_SCREENPRESSO,
1387
        .type      = AVMEDIA_TYPE_VIDEO,
1388
        .name      = "screenpresso",
1389
        .long_name = NULL_IF_CONFIG_SMALL("Screenpresso"),
1390
        .props     = AV_CODEC_PROP_LOSSLESS,
1391
    },
1392
    {
1393
        .id        = AV_CODEC_ID_RSCC,
1394
        .type      = AVMEDIA_TYPE_VIDEO,
1395
        .name      = "rscc",
1396
        .long_name = NULL_IF_CONFIG_SMALL("innoHeim/Rsupport Screen Capture Codec"),
1397
        .props     = AV_CODEC_PROP_LOSSLESS,
1398
    },
1399
    {
1400
        .id        = AV_CODEC_ID_AVS2,
1401
        .type      = AVMEDIA_TYPE_VIDEO,
1402
        .name      = "avs2",
1403
        .long_name = NULL_IF_CONFIG_SMALL("AVS2-P2/IEEE1857.4"),
1404
        .props     = AV_CODEC_PROP_LOSSY,
1405
    },
1406
    {
1407
        .id        = AV_CODEC_ID_Y41P,
1408
        .type      = AVMEDIA_TYPE_VIDEO,
1409
        .name      = "y41p",
1410
        .long_name = NULL_IF_CONFIG_SMALL("Uncompressed YUV 4:1:1 12-bit"),
1411
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1412
    },
1413
    {
1414
        .id        = AV_CODEC_ID_AVRP,
1415
        .type      = AVMEDIA_TYPE_VIDEO,
1416
        .name      = "avrp",
1417
        .long_name = NULL_IF_CONFIG_SMALL("Avid 1:1 10-bit RGB Packer"),
1418
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1419
    },
1420
    {
1421
        .id        = AV_CODEC_ID_012V,
1422
        .type      = AVMEDIA_TYPE_VIDEO,
1423
        .name      = "012v",
1424
        .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
1425
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1426
    },
1427
    {
1428
        .id        = AV_CODEC_ID_AVUI,
1429
        .type      = AVMEDIA_TYPE_VIDEO,
1430
        .name      = "avui",
1431
        .long_name = NULL_IF_CONFIG_SMALL("Avid Meridien Uncompressed"),
1432
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1433
    },
1434
    {
1435
        .id        = AV_CODEC_ID_AYUV,
1436
        .type      = AVMEDIA_TYPE_VIDEO,
1437
        .name      = "ayuv",
1438
        .long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed MS 4:4:4:4"),
1439
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1440
    },
1441
    {
1442
        .id        = AV_CODEC_ID_TARGA_Y216,
1443
        .type      = AVMEDIA_TYPE_VIDEO,
1444
        .name      = "targa_y216",
1445
        .long_name = NULL_IF_CONFIG_SMALL("Pinnacle TARGA CineWave YUV16"),
1446
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1447
    },
1448
    {
1449
        .id        = AV_CODEC_ID_V308,
1450
        .type      = AVMEDIA_TYPE_VIDEO,
1451
        .name      = "v308",
1452
        .long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed 4:4:4"),
1453
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1454
    },
1455
    {
1456
        .id        = AV_CODEC_ID_V408,
1457
        .type      = AVMEDIA_TYPE_VIDEO,
1458
        .name      = "v408",
1459
        .long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed QT 4:4:4:4"),
1460
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1461
    },
1462
    {
1463
        .id        = AV_CODEC_ID_YUV4,
1464
        .type      = AVMEDIA_TYPE_VIDEO,
1465
        .name      = "yuv4",
1466
        .long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed 4:2:0"),
1467
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1468
    },
1469
    {
1470
        .id        = AV_CODEC_ID_AVRN,
1471
        .type      = AVMEDIA_TYPE_VIDEO,
1472
        .name      = "avrn",
1473
        .long_name = NULL_IF_CONFIG_SMALL("Avid AVI Codec"),
1474
    },
1475
    {
1476
        .id        = AV_CODEC_ID_CPIA,
1477
        .type      = AVMEDIA_TYPE_VIDEO,
1478
        .name      = "cpia",
1479
        .long_name = NULL_IF_CONFIG_SMALL("CPiA video format"),
1480
    },
1481
    {
1482
        .id        = AV_CODEC_ID_XFACE,
1483
        .type      = AVMEDIA_TYPE_VIDEO,
1484
        .name      = "xface",
1485
        .long_name = NULL_IF_CONFIG_SMALL("X-face image"),
1486
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1487
    },
1488
    {
1489
        .id        = AV_CODEC_ID_SNOW,
1490
        .type      = AVMEDIA_TYPE_VIDEO,
1491
        .name      = "snow",
1492
        .long_name = NULL_IF_CONFIG_SMALL("Snow"),
1493
        .props     = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS,
1494
    },
1495
    {
1496
        .id        = AV_CODEC_ID_SMVJPEG,
1497
        .type      = AVMEDIA_TYPE_VIDEO,
1498
        .name      = "smvjpeg",
1499
        .long_name = NULL_IF_CONFIG_SMALL("Sigmatel Motion Video"),
1500
    },
1501
    {
1502
        .id        = AV_CODEC_ID_APNG,
1503
        .type      = AVMEDIA_TYPE_VIDEO,
1504
        .name      = "apng",
1505
        .long_name = NULL_IF_CONFIG_SMALL("APNG (Animated Portable Network Graphics) image"),
1506
        .props     = AV_CODEC_PROP_LOSSLESS,
1507
        .mime_types= MT("image/png"),
1508
    },
1509
    {
1510
        .id        = AV_CODEC_ID_DAALA,
1511
        .type      = AVMEDIA_TYPE_VIDEO,
1512
        .name      = "daala",
1513
        .long_name = NULL_IF_CONFIG_SMALL("Daala"),
1514
        .props     = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS,
1515
    },
1516
    {
1517
        .id        = AV_CODEC_ID_CFHD,
1518
        .type      = AVMEDIA_TYPE_VIDEO,
1519
        .name      = "cfhd",
1520
        .long_name = NULL_IF_CONFIG_SMALL("Cineform HD"),
1521
        .props     = AV_CODEC_PROP_LOSSY,
1522
    },
1523
    {
1524
        .id        = AV_CODEC_ID_TRUEMOTION2RT,
1525
        .type      = AVMEDIA_TYPE_VIDEO,
1526
        .name      = "truemotion2rt",
1527
        .long_name = NULL_IF_CONFIG_SMALL("Duck TrueMotion 2.0 Real Time"),
1528
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1529
    },
1530
    {
1531
        .id        = AV_CODEC_ID_M101,
1532
        .type      = AVMEDIA_TYPE_VIDEO,
1533
        .name      = "m101",
1534
        .long_name = NULL_IF_CONFIG_SMALL("Matrox Uncompressed SD"),
1535
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1536
    },
1537
    {
1538
        .id        = AV_CODEC_ID_MAGICYUV,
1539
        .type      = AVMEDIA_TYPE_VIDEO,
1540
        .name      = "magicyuv",
1541
        .long_name = NULL_IF_CONFIG_SMALL("MagicYUV video"),
1542
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1543
    },
1544
    {
1545
        .id        = AV_CODEC_ID_SHEERVIDEO,
1546
        .type      = AVMEDIA_TYPE_VIDEO,
1547
        .name      = "sheervideo",
1548
        .long_name = NULL_IF_CONFIG_SMALL("BitJazz SheerVideo"),
1549
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1550
    },
1551
    {
1552
        .id        = AV_CODEC_ID_YLC,
1553
        .type      = AVMEDIA_TYPE_VIDEO,
1554
        .name      = "ylc",
1555
        .long_name = NULL_IF_CONFIG_SMALL("YUY2 Lossless Codec"),
1556
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1557
    },
1558
    {
1559
        .id        = AV_CODEC_ID_PSD,
1560
        .type      = AVMEDIA_TYPE_VIDEO,
1561
        .name      = "psd",
1562
        .long_name = NULL_IF_CONFIG_SMALL("Photoshop PSD file"),
1563
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1564
    },
1565
    {
1566
        .id        = AV_CODEC_ID_PIXLET,
1567
        .type      = AVMEDIA_TYPE_VIDEO,
1568
        .name      = "pixlet",
1569
        .long_name = NULL_IF_CONFIG_SMALL("Apple Pixlet"),
1570
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1571
    },
1572
    {
1573
        .id        = AV_CODEC_ID_SPEEDHQ,
1574
        .type      = AVMEDIA_TYPE_VIDEO,
1575
        .name      = "speedhq",
1576
        .long_name = NULL_IF_CONFIG_SMALL("NewTek SpeedHQ"),
1577
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1578
    },
1579
    {
1580
        .id        = AV_CODEC_ID_FMVC,
1581
        .type      = AVMEDIA_TYPE_VIDEO,
1582
        .name      = "fmvc",
1583
        .long_name = NULL_IF_CONFIG_SMALL("FM Screen Capture Codec"),
1584
        .props     = AV_CODEC_PROP_LOSSLESS,
1585
    },
1586
    {
1587
        .id        = AV_CODEC_ID_SCPR,
1588
        .type      = AVMEDIA_TYPE_VIDEO,
1589
        .name      = "scpr",
1590
        .long_name = NULL_IF_CONFIG_SMALL("ScreenPressor"),
1591
        .props     = AV_CODEC_PROP_LOSSLESS | AV_CODEC_PROP_LOSSY,
1592
    },
1593
    {
1594
        .id        = AV_CODEC_ID_CLEARVIDEO,
1595
        .type      = AVMEDIA_TYPE_VIDEO,
1596
        .name      = "clearvideo",
1597
        .long_name = NULL_IF_CONFIG_SMALL("Iterated Systems ClearVideo"),
1598
        .props     = AV_CODEC_PROP_LOSSY,
1599
    },
1600
    {
1601
        .id        = AV_CODEC_ID_XPM,
1602
        .type      = AVMEDIA_TYPE_VIDEO,
1603
        .name      = "xpm",
1604
        .long_name = NULL_IF_CONFIG_SMALL("XPM (X PixMap) image"),
1605
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1606
        .mime_types= MT("image/x-xpixmap"),
1607
    },
1608
    {
1609
        .id        = AV_CODEC_ID_AV1,
1610
        .type      = AVMEDIA_TYPE_VIDEO,
1611
        .name      = "av1",
1612
        .long_name = NULL_IF_CONFIG_SMALL("Alliance for Open Media AV1"),
1613
        .props     = AV_CODEC_PROP_LOSSY,
1614
        .profiles  = NULL_IF_CONFIG_SMALL(ff_av1_profiles),
1615
    },
1616
    {
1617
        .id        = AV_CODEC_ID_BITPACKED,
1618
        .type      = AVMEDIA_TYPE_VIDEO,
1619
        .name      = "bitpacked",
1620
        .long_name = NULL_IF_CONFIG_SMALL("Bitpacked"),
1621
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1622
    },
1623
    {
1624
        .id        = AV_CODEC_ID_MSCC,
1625
        .type      = AVMEDIA_TYPE_VIDEO,
1626
        .name      = "mscc",
1627
        .long_name = NULL_IF_CONFIG_SMALL("Mandsoft Screen Capture Codec"),
1628
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1629
    },
1630
    {
1631
        .id        = AV_CODEC_ID_SRGC,
1632
        .type      = AVMEDIA_TYPE_VIDEO,
1633
        .name      = "srgc",
1634
        .long_name = NULL_IF_CONFIG_SMALL("Screen Recorder Gold Codec"),
1635
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1636
    },
1637
    {
1638
        .id        = AV_CODEC_ID_SVG,
1639
        .type      = AVMEDIA_TYPE_VIDEO,
1640
        .name      = "svg",
1641
        .long_name = NULL_IF_CONFIG_SMALL("Scalable Vector Graphics"),
1642
        .props     = AV_CODEC_PROP_LOSSLESS,
1643
        .mime_types= MT("image/svg+xml"),
1644
    },
1645
    {
1646
        .id        = AV_CODEC_ID_GDV,
1647
        .type      = AVMEDIA_TYPE_VIDEO,
1648
        .name      = "gdv",
1649
        .long_name = NULL_IF_CONFIG_SMALL("Gremlin Digital Video"),
1650
        .props     = AV_CODEC_PROP_LOSSY,
1651
    },
1652
    {
1653
        .id        = AV_CODEC_ID_FITS,
1654
        .type      = AVMEDIA_TYPE_VIDEO,
1655
        .name      = "fits",
1656
        .long_name = NULL_IF_CONFIG_SMALL("FITS (Flexible Image Transport System)"),
1657
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1658
    },
1659
    {
1660
        .id        = AV_CODEC_ID_IMM4,
1661
        .type      = AVMEDIA_TYPE_VIDEO,
1662
        .name      = "imm4",
1663
        .long_name = NULL_IF_CONFIG_SMALL("Infinity IMM4"),
1664
        .props     = AV_CODEC_PROP_LOSSY,
1665
    },
1666
    {
1667
        .id        = AV_CODEC_ID_PROSUMER,
1668
        .type      = AVMEDIA_TYPE_VIDEO,
1669
        .name      = "prosumer",
1670
        .long_name = NULL_IF_CONFIG_SMALL("Brooktree ProSumer Video"),
1671
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1672
    },
1673
    {
1674
        .id        = AV_CODEC_ID_MWSC,
1675
        .type      = AVMEDIA_TYPE_VIDEO,
1676
        .name      = "mwsc",
1677
        .long_name = NULL_IF_CONFIG_SMALL("MatchWare Screen Capture Codec"),
1678
        .props     = AV_CODEC_PROP_LOSSLESS,
1679
    },
1680
    {
1681
        .id        = AV_CODEC_ID_WCMV,
1682
        .type      = AVMEDIA_TYPE_VIDEO,
1683
        .name      = "wcmv",
1684
        .long_name = NULL_IF_CONFIG_SMALL("WinCAM Motion Video"),
1685
        .props     = AV_CODEC_PROP_LOSSLESS,
1686
    },
1687
    {
1688
        .id        = AV_CODEC_ID_RASC,
1689
        .type      = AVMEDIA_TYPE_VIDEO,
1690
        .name      = "rasc",
1691
        .long_name = NULL_IF_CONFIG_SMALL("RemotelyAnywhere Screen Capture"),
1692
        .props     = AV_CODEC_PROP_LOSSY,
1693
    },
1694
    {
1695
        .id        = AV_CODEC_ID_HYMT,
1696
        .type      = AVMEDIA_TYPE_VIDEO,
1697
        .name      = "hymt",
1698
        .long_name = NULL_IF_CONFIG_SMALL("HuffYUV MT"),
1699
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1700
    },
1701
    {
1702
        .id        = AV_CODEC_ID_ARBC,
1703
        .type      = AVMEDIA_TYPE_VIDEO,
1704
        .name      = "arbc",
1705
        .long_name = NULL_IF_CONFIG_SMALL("Gryphon's Anim Compressor"),
1706
        .props     = AV_CODEC_PROP_LOSSY,
1707
    },
1708
    {
1709
        .id        = AV_CODEC_ID_AGM,
1710
        .type      = AVMEDIA_TYPE_VIDEO,
1711
        .name      = "agm",
1712
        .long_name = NULL_IF_CONFIG_SMALL("Amuse Graphics Movie"),
1713
        .props     = AV_CODEC_PROP_LOSSY,
1714
    },
1715
    {
1716
        .id        = AV_CODEC_ID_LSCR,
1717
        .type      = AVMEDIA_TYPE_VIDEO,
1718
        .name      = "lscr",
1719
        .long_name = NULL_IF_CONFIG_SMALL("LEAD Screen Capture"),
1720
        .props     = AV_CODEC_PROP_LOSSY,
1721
    },
1722
    {
1723
        .id        = AV_CODEC_ID_VP4,
1724
        .type      = AVMEDIA_TYPE_VIDEO,
1725
        .name      = "vp4",
1726
        .long_name = NULL_IF_CONFIG_SMALL("On2 VP4"),
1727
        .props     = AV_CODEC_PROP_LOSSY,
1728
    },
1729
    {
1730
        .id        = AV_CODEC_ID_IMM5,
1731
        .type      = AVMEDIA_TYPE_VIDEO,
1732
        .name      = "imm5",
1733
        .long_name = NULL_IF_CONFIG_SMALL("Infinity IMM5"),
1734
        .props     = AV_CODEC_PROP_LOSSY,
1735
    },
1736
1737
    /* various PCM "codecs" */
1738
    {
1739
        .id        = AV_CODEC_ID_PCM_S16LE,
1740
        .type      = AVMEDIA_TYPE_AUDIO,
1741
        .name      = "pcm_s16le",
1742
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 16-bit little-endian"),
1743
        .props     = AV_CODEC_PROP_LOSSLESS,
1744
    },
1745
    {
1746
        .id        = AV_CODEC_ID_PCM_S16BE,
1747
        .type      = AVMEDIA_TYPE_AUDIO,
1748
        .name      = "pcm_s16be",
1749
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 16-bit big-endian"),
1750
        .props     = AV_CODEC_PROP_LOSSLESS,
1751
    },
1752
    {
1753
        .id        = AV_CODEC_ID_PCM_U16LE,
1754
        .type      = AVMEDIA_TYPE_AUDIO,
1755
        .name      = "pcm_u16le",
1756
        .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 16-bit little-endian"),
1757
        .props     = AV_CODEC_PROP_LOSSLESS,
1758
    },
1759
    {
1760
        .id        = AV_CODEC_ID_PCM_U16BE,
1761
        .type      = AVMEDIA_TYPE_AUDIO,
1762
        .name      = "pcm_u16be",
1763
        .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 16-bit big-endian"),
1764
        .props     = AV_CODEC_PROP_LOSSLESS,
1765
    },
1766
    {
1767
        .id        = AV_CODEC_ID_PCM_S8,
1768
        .type      = AVMEDIA_TYPE_AUDIO,
1769
        .name      = "pcm_s8",
1770
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 8-bit"),
1771
        .props     = AV_CODEC_PROP_LOSSLESS,
1772
    },
1773
    {
1774
        .id        = AV_CODEC_ID_PCM_U8,
1775
        .type      = AVMEDIA_TYPE_AUDIO,
1776
        .name      = "pcm_u8",
1777
        .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 8-bit"),
1778
        .props     = AV_CODEC_PROP_LOSSLESS,
1779
    },
1780
    {
1781
        .id        = AV_CODEC_ID_PCM_MULAW,
1782
        .type      = AVMEDIA_TYPE_AUDIO,
1783
        .name      = "pcm_mulaw",
1784
        .long_name = NULL_IF_CONFIG_SMALL("PCM mu-law / G.711 mu-law"),
1785
        .props     = AV_CODEC_PROP_LOSSY,
1786
    },
1787
    {
1788
        .id        = AV_CODEC_ID_PCM_ALAW,
1789
        .type      = AVMEDIA_TYPE_AUDIO,
1790
        .name      = "pcm_alaw",
1791
        .long_name = NULL_IF_CONFIG_SMALL("PCM A-law / G.711 A-law"),
1792
        .props     = AV_CODEC_PROP_LOSSY,
1793
    },
1794
    {
1795
        .id        = AV_CODEC_ID_PCM_S32LE,
1796
        .type      = AVMEDIA_TYPE_AUDIO,
1797
        .name      = "pcm_s32le",
1798
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 32-bit little-endian"),
1799
        .props     = AV_CODEC_PROP_LOSSLESS,
1800
    },
1801
    {
1802
        .id        = AV_CODEC_ID_PCM_S32BE,
1803
        .type      = AVMEDIA_TYPE_AUDIO,
1804
        .name      = "pcm_s32be",
1805
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 32-bit big-endian"),
1806
        .props     = AV_CODEC_PROP_LOSSLESS,
1807
    },
1808
    {
1809
        .id        = AV_CODEC_ID_PCM_U32LE,
1810
        .type      = AVMEDIA_TYPE_AUDIO,
1811
        .name      = "pcm_u32le",
1812
        .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 32-bit little-endian"),
1813
        .props     = AV_CODEC_PROP_LOSSLESS,
1814
    },
1815
    {
1816
        .id        = AV_CODEC_ID_PCM_U32BE,
1817
        .type      = AVMEDIA_TYPE_AUDIO,
1818
        .name      = "pcm_u32be",
1819
        .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 32-bit big-endian"),
1820
        .props     = AV_CODEC_PROP_LOSSLESS,
1821
    },
1822
    {
1823
        .id        = AV_CODEC_ID_PCM_S24LE,
1824
        .type      = AVMEDIA_TYPE_AUDIO,
1825
        .name      = "pcm_s24le",
1826
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 24-bit little-endian"),
1827
        .props     = AV_CODEC_PROP_LOSSLESS,
1828
    },
1829
    {
1830
        .id        = AV_CODEC_ID_PCM_S24BE,
1831
        .type      = AVMEDIA_TYPE_AUDIO,
1832
        .name      = "pcm_s24be",
1833
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 24-bit big-endian"),
1834
        .props     = AV_CODEC_PROP_LOSSLESS,
1835
    },
1836
    {
1837
        .id        = AV_CODEC_ID_PCM_U24LE,
1838
        .type      = AVMEDIA_TYPE_AUDIO,
1839
        .name      = "pcm_u24le",
1840
        .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 24-bit little-endian"),
1841
        .props     = AV_CODEC_PROP_LOSSLESS,
1842
    },
1843
    {
1844
        .id        = AV_CODEC_ID_PCM_U24BE,
1845
        .type      = AVMEDIA_TYPE_AUDIO,
1846
        .name      = "pcm_u24be",
1847
        .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 24-bit big-endian"),
1848
        .props     = AV_CODEC_PROP_LOSSLESS,
1849
    },
1850
    {
1851
        .id        = AV_CODEC_ID_PCM_S24DAUD,
1852
        .type      = AVMEDIA_TYPE_AUDIO,
1853
        .name      = "pcm_s24daud",
1854
        .long_name = NULL_IF_CONFIG_SMALL("PCM D-Cinema audio signed 24-bit"),
1855
        .props     = AV_CODEC_PROP_LOSSLESS,
1856
    },
1857
    {
1858
        .id        = AV_CODEC_ID_PCM_ZORK,
1859
        .type      = AVMEDIA_TYPE_AUDIO,
1860
        .name      = "pcm_zork",
1861
        .long_name = NULL_IF_CONFIG_SMALL("PCM Zork"),
1862
        .props     = AV_CODEC_PROP_LOSSY,
1863
    },
1864
    {
1865
        .id        = AV_CODEC_ID_PCM_S16LE_PLANAR,
1866
        .type      = AVMEDIA_TYPE_AUDIO,
1867
        .name      = "pcm_s16le_planar",
1868
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 16-bit little-endian planar"),
1869
        .props     = AV_CODEC_PROP_LOSSLESS,
1870
    },
1871
    {
1872
        .id        = AV_CODEC_ID_PCM_DVD,
1873
        .type      = AVMEDIA_TYPE_AUDIO,
1874
        .name      = "pcm_dvd",
1875
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 20|24-bit big-endian"),
1876
        .props     = AV_CODEC_PROP_LOSSLESS,
1877
    },
1878
    {
1879
        .id        = AV_CODEC_ID_PCM_F32BE,
1880
        .type      = AVMEDIA_TYPE_AUDIO,
1881
        .name      = "pcm_f32be",
1882
        .long_name = NULL_IF_CONFIG_SMALL("PCM 32-bit floating point big-endian"),
1883
        .props     = AV_CODEC_PROP_LOSSLESS,
1884
    },
1885
    {
1886
        .id        = AV_CODEC_ID_PCM_F32LE,
1887
        .type      = AVMEDIA_TYPE_AUDIO,
1888
        .name      = "pcm_f32le",
1889
        .long_name = NULL_IF_CONFIG_SMALL("PCM 32-bit floating point little-endian"),
1890
        .props     = AV_CODEC_PROP_LOSSLESS,
1891
    },
1892
    {
1893
        .id        = AV_CODEC_ID_PCM_F64BE,
1894
        .type      = AVMEDIA_TYPE_AUDIO,
1895
        .name      = "pcm_f64be",
1896
        .long_name = NULL_IF_CONFIG_SMALL("PCM 64-bit floating point big-endian"),
1897
        .props     = AV_CODEC_PROP_LOSSLESS,
1898
    },
1899
    {
1900
        .id        = AV_CODEC_ID_PCM_F64LE,
1901
        .type      = AVMEDIA_TYPE_AUDIO,
1902
        .name      = "pcm_f64le",
1903
        .long_name = NULL_IF_CONFIG_SMALL("PCM 64-bit floating point little-endian"),
1904
        .props     = AV_CODEC_PROP_LOSSLESS,
1905
    },
1906
    {
1907
        .id        = AV_CODEC_ID_PCM_BLURAY,
1908
        .type      = AVMEDIA_TYPE_AUDIO,
1909
        .name      = "pcm_bluray",
1910
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 16|20|24-bit big-endian for Blu-ray media"),
1911
        .props     = AV_CODEC_PROP_LOSSLESS,
1912
    },
1913
    {
1914
        .id        = AV_CODEC_ID_PCM_LXF,
1915
        .type      = AVMEDIA_TYPE_AUDIO,
1916
        .name      = "pcm_lxf",
1917
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 20-bit little-endian planar"),
1918
        .props     = AV_CODEC_PROP_LOSSLESS,
1919
    },
1920
    {
1921
        .id        = AV_CODEC_ID_S302M,
1922
        .type      = AVMEDIA_TYPE_AUDIO,
1923
        .name      = "s302m",
1924
        .long_name = NULL_IF_CONFIG_SMALL("SMPTE 302M"),
1925
        .props     = AV_CODEC_PROP_LOSSLESS,
1926
    },
1927
    {
1928
        .id        = AV_CODEC_ID_PCM_S8_PLANAR,
1929
        .type      = AVMEDIA_TYPE_AUDIO,
1930
        .name      = "pcm_s8_planar",
1931
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 8-bit planar"),
1932
        .props     = AV_CODEC_PROP_LOSSLESS,
1933
    },
1934
    {
1935
        .id        = AV_CODEC_ID_PCM_S24LE_PLANAR,
1936
        .type      = AVMEDIA_TYPE_AUDIO,
1937
        .name      = "pcm_s24le_planar",
1938
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 24-bit little-endian planar"),
1939
        .props     = AV_CODEC_PROP_LOSSLESS,
1940
    },
1941
    {
1942
        .id        = AV_CODEC_ID_PCM_S32LE_PLANAR,
1943
        .type      = AVMEDIA_TYPE_AUDIO,
1944
        .name      = "pcm_s32le_planar",
1945
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 32-bit little-endian planar"),
1946
        .props     = AV_CODEC_PROP_LOSSLESS,
1947
    },
1948
    {
1949
        .id        = AV_CODEC_ID_PCM_S16BE_PLANAR,
1950
        .type      = AVMEDIA_TYPE_AUDIO,
1951
        .name      = "pcm_s16be_planar",
1952
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 16-bit big-endian planar"),
1953
        .props     = AV_CODEC_PROP_LOSSLESS,
1954
    },
1955
    {
1956
        .id        = AV_CODEC_ID_PCM_S64LE,
1957
        .type      = AVMEDIA_TYPE_AUDIO,
1958
        .name      = "pcm_s64le",
1959
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 64-bit little-endian"),
1960
        .props     = AV_CODEC_PROP_LOSSLESS,
1961
    },
1962
    {
1963
        .id        = AV_CODEC_ID_PCM_S64BE,
1964
        .type      = AVMEDIA_TYPE_AUDIO,
1965
        .name      = "pcm_s64be",
1966
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 64-bit big-endian"),
1967
        .props     = AV_CODEC_PROP_LOSSLESS,
1968
    },
1969
    {
1970
        .id        = AV_CODEC_ID_PCM_F16LE,
1971
        .type      = AVMEDIA_TYPE_AUDIO,
1972
        .name      = "pcm_f16le",
1973
        .long_name = NULL_IF_CONFIG_SMALL("PCM 16.8 floating point little-endian"),
1974
        .props     = AV_CODEC_PROP_LOSSLESS,
1975
    },
1976
    {
1977
        .id        = AV_CODEC_ID_PCM_F24LE,
1978
        .type      = AVMEDIA_TYPE_AUDIO,
1979
        .name      = "pcm_f24le",
1980
        .long_name = NULL_IF_CONFIG_SMALL("PCM 24.0 floating point little-endian"),
1981
        .props     = AV_CODEC_PROP_LOSSLESS,
1982
    },
1983
    {
1984
        .id        = AV_CODEC_ID_PCM_VIDC,
1985
        .type      = AVMEDIA_TYPE_AUDIO,
1986
        .name      = "pcm_vidc",
1987
        .long_name = NULL_IF_CONFIG_SMALL("PCM Archimedes VIDC"),
1988
        .props     = AV_CODEC_PROP_LOSSY,
1989
    },
1990
1991
    /* various ADPCM codecs */
1992
    {
1993
        .id        = AV_CODEC_ID_ADPCM_IMA_QT,
1994
        .type      = AVMEDIA_TYPE_AUDIO,
1995
        .name      = "adpcm_ima_qt",
1996
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA QuickTime"),
1997
        .props     = AV_CODEC_PROP_LOSSY,
1998
    },
1999
    {
2000
        .id        = AV_CODEC_ID_ADPCM_IMA_WAV,
2001
        .type      = AVMEDIA_TYPE_AUDIO,
2002
        .name      = "adpcm_ima_wav",
2003
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA WAV"),
2004
        .props     = AV_CODEC_PROP_LOSSY,
2005
    },
2006
    {
2007
        .id        = AV_CODEC_ID_ADPCM_IMA_DK3,
2008
        .type      = AVMEDIA_TYPE_AUDIO,
2009
        .name      = "adpcm_ima_dk3",
2010
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Duck DK3"),
2011
        .props     = AV_CODEC_PROP_LOSSY,
2012
    },
2013
    {
2014
        .id        = AV_CODEC_ID_ADPCM_IMA_DK4,
2015
        .type      = AVMEDIA_TYPE_AUDIO,
2016
        .name      = "adpcm_ima_dk4",
2017
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Duck DK4"),
2018
        .props     = AV_CODEC_PROP_LOSSY,
2019
    },
2020
    {
2021
        .id        = AV_CODEC_ID_ADPCM_IMA_WS,
2022
        .type      = AVMEDIA_TYPE_AUDIO,
2023
        .name      = "adpcm_ima_ws",
2024
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Westwood"),
2025
        .props     = AV_CODEC_PROP_LOSSY,
2026
    },
2027
    {
2028
        .id        = AV_CODEC_ID_ADPCM_IMA_SMJPEG,
2029
        .type      = AVMEDIA_TYPE_AUDIO,
2030
        .name      = "adpcm_ima_smjpeg",
2031
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Loki SDL MJPEG"),
2032
        .props     = AV_CODEC_PROP_LOSSY,
2033
    },
2034
    {
2035
        .id        = AV_CODEC_ID_ADPCM_MS,
2036
        .type      = AVMEDIA_TYPE_AUDIO,
2037
        .name      = "adpcm_ms",
2038
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Microsoft"),
2039
        .props     = AV_CODEC_PROP_LOSSY,
2040
    },
2041
    {
2042
        .id        = AV_CODEC_ID_ADPCM_4XM,
2043
        .type      = AVMEDIA_TYPE_AUDIO,
2044
        .name      = "adpcm_4xm",
2045
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM 4X Movie"),
2046
        .props     = AV_CODEC_PROP_LOSSY,
2047
    },
2048
    {
2049
        .id        = AV_CODEC_ID_ADPCM_XA,
2050
        .type      = AVMEDIA_TYPE_AUDIO,
2051
        .name      = "adpcm_xa",
2052
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM CDROM XA"),
2053
        .props     = AV_CODEC_PROP_LOSSY,
2054
    },
2055
    {
2056
        .id        = AV_CODEC_ID_ADPCM_ADX,
2057
        .type      = AVMEDIA_TYPE_AUDIO,
2058
        .name      = "adpcm_adx",
2059
        .long_name = NULL_IF_CONFIG_SMALL("SEGA CRI ADX ADPCM"),
2060
        .props     = AV_CODEC_PROP_LOSSY,
2061
    },
2062
    {
2063
        .id        = AV_CODEC_ID_ADPCM_EA,
2064
        .type      = AVMEDIA_TYPE_AUDIO,
2065
        .name      = "adpcm_ea",
2066
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Electronic Arts"),
2067
        .props     = AV_CODEC_PROP_LOSSY,
2068
    },
2069
    {
2070
        .id        = AV_CODEC_ID_ADPCM_G726,
2071
        .type      = AVMEDIA_TYPE_AUDIO,
2072
        .name      = "adpcm_g726",
2073
        .long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM"),
2074
        .props     = AV_CODEC_PROP_LOSSY,
2075
    },
2076
    {
2077
        .id        = AV_CODEC_ID_ADPCM_CT,
2078
        .type      = AVMEDIA_TYPE_AUDIO,
2079
        .name      = "adpcm_ct",
2080
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Creative Technology"),
2081
        .props     = AV_CODEC_PROP_LOSSY,
2082
    },
2083
    {
2084
        .id        = AV_CODEC_ID_ADPCM_SWF,
2085
        .type      = AVMEDIA_TYPE_AUDIO,
2086
        .name      = "adpcm_swf",
2087
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Shockwave Flash"),
2088
        .props     = AV_CODEC_PROP_LOSSY,
2089
    },
2090
    {
2091
        .id        = AV_CODEC_ID_ADPCM_YAMAHA,
2092
        .type      = AVMEDIA_TYPE_AUDIO,
2093
        .name      = "adpcm_yamaha",
2094
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Yamaha"),
2095
        .props     = AV_CODEC_PROP_LOSSY,
2096
    },
2097
    {
2098
        .id        = AV_CODEC_ID_ADPCM_SBPRO_4,
2099
        .type      = AVMEDIA_TYPE_AUDIO,
2100
        .name      = "adpcm_sbpro_4",
2101
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Sound Blaster Pro 4-bit"),
2102
        .props     = AV_CODEC_PROP_LOSSY,
2103
    },
2104
    {
2105
        .id        = AV_CODEC_ID_ADPCM_SBPRO_3,
2106
        .type      = AVMEDIA_TYPE_AUDIO,
2107
        .name      = "adpcm_sbpro_3",
2108
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Sound Blaster Pro 2.6-bit"),
2109
        .props     = AV_CODEC_PROP_LOSSY,
2110
    },
2111
    {
2112
        .id        = AV_CODEC_ID_ADPCM_SBPRO_2,
2113
        .type      = AVMEDIA_TYPE_AUDIO,
2114
        .name      = "adpcm_sbpro_2",
2115
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Sound Blaster Pro 2-bit"),
2116
        .props     = AV_CODEC_PROP_LOSSY,
2117
    },
2118
    {
2119
        .id        = AV_CODEC_ID_ADPCM_THP,
2120
        .type      = AVMEDIA_TYPE_AUDIO,
2121
        .name      = "adpcm_thp",
2122
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Nintendo THP"),
2123
        .props     = AV_CODEC_PROP_LOSSY,
2124
    },
2125
    {
2126
        .id        = AV_CODEC_ID_ADPCM_IMA_AMV,
2127
        .type      = AVMEDIA_TYPE_AUDIO,
2128
        .name      = "adpcm_ima_amv",
2129
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA AMV"),
2130
        .props     = AV_CODEC_PROP_LOSSY,
2131
    },
2132
    {
2133
        .id        = AV_CODEC_ID_ADPCM_EA_R1,
2134
        .type      = AVMEDIA_TYPE_AUDIO,
2135
        .name      = "adpcm_ea_r1",
2136
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Electronic Arts R1"),
2137
        .props     = AV_CODEC_PROP_LOSSY,
2138
    },
2139
    {
2140
        .id        = AV_CODEC_ID_ADPCM_EA_R3,
2141
        .type      = AVMEDIA_TYPE_AUDIO,
2142
        .name      = "adpcm_ea_r3",
2143
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Electronic Arts R3"),
2144
        .props     = AV_CODEC_PROP_LOSSY,
2145
    },
2146
    {
2147
        .id        = AV_CODEC_ID_ADPCM_EA_R2,
2148
        .type      = AVMEDIA_TYPE_AUDIO,
2149
        .name      = "adpcm_ea_r2",
2150
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Electronic Arts R2"),
2151
        .props     = AV_CODEC_PROP_LOSSY,
2152
    },
2153
    {
2154
        .id        = AV_CODEC_ID_ADPCM_IMA_EA_SEAD,
2155
        .type      = AVMEDIA_TYPE_AUDIO,
2156
        .name      = "adpcm_ima_ea_sead",
2157
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Electronic Arts SEAD"),
2158
        .props     = AV_CODEC_PROP_LOSSY,
2159
    },
2160
    {
2161
        .id        = AV_CODEC_ID_ADPCM_IMA_EA_EACS,
2162
        .type      = AVMEDIA_TYPE_AUDIO,
2163
        .name      = "adpcm_ima_ea_eacs",
2164
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Electronic Arts EACS"),
2165
        .props     = AV_CODEC_PROP_LOSSY,
2166
    },
2167
    {
2168
        .id        = AV_CODEC_ID_ADPCM_EA_XAS,
2169
        .type      = AVMEDIA_TYPE_AUDIO,
2170
        .name      = "adpcm_ea_xas",
2171
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Electronic Arts XAS"),
2172
        .props     = AV_CODEC_PROP_LOSSY,
2173
    },
2174
    {
2175
        .id        = AV_CODEC_ID_ADPCM_EA_MAXIS_XA,
2176
        .type      = AVMEDIA_TYPE_AUDIO,
2177
        .name      = "adpcm_ea_maxis_xa",
2178
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Electronic Arts Maxis CDROM XA"),
2179
        .props     = AV_CODEC_PROP_LOSSY,
2180
    },
2181
    {
2182
        .id        = AV_CODEC_ID_ADPCM_IMA_ISS,
2183
        .type      = AVMEDIA_TYPE_AUDIO,
2184
        .name      = "adpcm_ima_iss",
2185
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Funcom ISS"),
2186
        .props     = AV_CODEC_PROP_LOSSY,
2187
    },
2188
    {
2189
        .id        = AV_CODEC_ID_ADPCM_G722,
2190
        .type      = AVMEDIA_TYPE_AUDIO,
2191
        .name      = "adpcm_g722",
2192
        .long_name = NULL_IF_CONFIG_SMALL("G.722 ADPCM"),
2193
        .props     = AV_CODEC_PROP_LOSSY,
2194
    },
2195
    {
2196
        .id        = AV_CODEC_ID_ADPCM_IMA_APC,
2197
        .type      = AVMEDIA_TYPE_AUDIO,
2198
        .name      = "adpcm_ima_apc",
2199
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA CRYO APC"),
2200
        .props     = AV_CODEC_PROP_LOSSY,
2201
    },
2202
    {
2203
        .id        = AV_CODEC_ID_ADPCM_VIMA,
2204
        .type      = AVMEDIA_TYPE_AUDIO,
2205
        .name      = "adpcm_vima",
2206
        .long_name = NULL_IF_CONFIG_SMALL("LucasArts VIMA audio"),
2207
        .props     = AV_CODEC_PROP_LOSSY,
2208
    },
2209
    {
2210
        .id        = AV_CODEC_ID_ADPCM_AFC,
2211
        .type      = AVMEDIA_TYPE_AUDIO,
2212
        .name      = "adpcm_afc",
2213
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Nintendo Gamecube AFC"),
2214
        .props     = AV_CODEC_PROP_LOSSY,
2215
    },
2216
    {
2217
        .id        = AV_CODEC_ID_ADPCM_IMA_OKI,
2218
        .type      = AVMEDIA_TYPE_AUDIO,
2219
        .name      = "adpcm_ima_oki",
2220
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Dialogic OKI"),
2221
        .props     = AV_CODEC_PROP_LOSSY,
2222
    },
2223
    {
2224
        .id        = AV_CODEC_ID_ADPCM_DTK,
2225
        .type      = AVMEDIA_TYPE_AUDIO,
2226
        .name      = "adpcm_dtk",
2227
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Nintendo Gamecube DTK"),
2228
        .props     = AV_CODEC_PROP_LOSSY,
2229
    },
2230
    {
2231
        .id        = AV_CODEC_ID_ADPCM_IMA_RAD,
2232
        .type      = AVMEDIA_TYPE_AUDIO,
2233
        .name      = "adpcm_ima_rad",
2234
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Radical"),
2235
        .props     = AV_CODEC_PROP_LOSSY,
2236
    },
2237
    {
2238
        .id        = AV_CODEC_ID_ADPCM_G726LE,
2239
        .type      = AVMEDIA_TYPE_AUDIO,
2240
        .name      = "adpcm_g726le",
2241
        .long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM little-endian"),
2242
        .props     = AV_CODEC_PROP_LOSSY,
2243
    },
2244
    {
2245
        .id        = AV_CODEC_ID_ADPCM_THP_LE,
2246
        .type      = AVMEDIA_TYPE_AUDIO,
2247
        .name      = "adpcm_thp_le",
2248
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Nintendo THP (Little-Endian)"),
2249
        .props     = AV_CODEC_PROP_LOSSY,
2250
    },
2251
    {
2252
        .id        = AV_CODEC_ID_ADPCM_PSX,
2253
        .type      = AVMEDIA_TYPE_AUDIO,
2254
        .name      = "adpcm_psx",
2255
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Playstation"),
2256
        .props     = AV_CODEC_PROP_LOSSY,
2257
    },
2258
    {
2259
        .id        = AV_CODEC_ID_ADPCM_AICA,
2260
        .type      = AVMEDIA_TYPE_AUDIO,
2261
        .name      = "adpcm_aica",
2262
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Yamaha AICA"),
2263
        .props     = AV_CODEC_PROP_LOSSY,
2264
    },
2265
    {
2266
        .id        = AV_CODEC_ID_ADPCM_IMA_DAT4,
2267
        .type      = AVMEDIA_TYPE_AUDIO,
2268
        .name      = "adpcm_ima_dat4",
2269
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Eurocom DAT4"),
2270
        .props     = AV_CODEC_PROP_LOSSY,
2271
    },
2272
    {
2273
        .id        = AV_CODEC_ID_ADPCM_MTAF,
2274
        .type      = AVMEDIA_TYPE_AUDIO,
2275
        .name      = "adpcm_mtaf",
2276
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM MTAF"),
2277
        .props     = AV_CODEC_PROP_LOSSY,
2278
    },
2279
    {
2280
        .id        = AV_CODEC_ID_ADPCM_AGM,
2281
        .type      = AVMEDIA_TYPE_AUDIO,
2282
        .name      = "adpcm_agm",
2283
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM AmuseGraphics Movie AGM"),
2284
        .props     = AV_CODEC_PROP_LOSSY,
2285
    },
2286
2287
    /* AMR */
2288
    {
2289
        .id        = AV_CODEC_ID_AMR_NB,
2290
        .type      = AVMEDIA_TYPE_AUDIO,
2291
        .name      = "amr_nb",
2292
        .long_name = NULL_IF_CONFIG_SMALL("AMR-NB (Adaptive Multi-Rate NarrowBand)"),
2293
        .props     = AV_CODEC_PROP_LOSSY,
2294
    },
2295
    {
2296
        .id        = AV_CODEC_ID_AMR_WB,
2297
        .type      = AVMEDIA_TYPE_AUDIO,
2298
        .name      = "amr_wb",
2299
        .long_name = NULL_IF_CONFIG_SMALL("AMR-WB (Adaptive Multi-Rate WideBand)"),
2300
        .props     = AV_CODEC_PROP_LOSSY,
2301
    },
2302
2303
    /* RealAudio codecs*/
2304
    {
2305
        .id        = AV_CODEC_ID_RA_144,
2306
        .type      = AVMEDIA_TYPE_AUDIO,
2307
        .name      = "ra_144",
2308
        .long_name = NULL_IF_CONFIG_SMALL("RealAudio 1.0 (14.4K)"),
2309
        .props     = AV_CODEC_PROP_LOSSY,
2310
    },
2311
    {
2312
        .id        = AV_CODEC_ID_RA_288,
2313
        .type      = AVMEDIA_TYPE_AUDIO,
2314
        .name      = "ra_288",
2315
        .long_name = NULL_IF_CONFIG_SMALL("RealAudio 2.0 (28.8K)"),
2316
        .props     = AV_CODEC_PROP_LOSSY,
2317
    },
2318
2319
    /* various DPCM codecs */
2320
    {
2321
        .id        = AV_CODEC_ID_ROQ_DPCM,
2322
        .type      = AVMEDIA_TYPE_AUDIO,
2323
        .name      = "roq_dpcm",
2324
        .long_name = NULL_IF_CONFIG_SMALL("DPCM id RoQ"),
2325
        .props     = AV_CODEC_PROP_LOSSY,
2326
    },
2327
    {
2328
        .id        = AV_CODEC_ID_INTERPLAY_DPCM,
2329
        .type      = AVMEDIA_TYPE_AUDIO,
2330
        .name      = "interplay_dpcm",
2331
        .long_name = NULL_IF_CONFIG_SMALL("DPCM Interplay"),
2332
        .props     = AV_CODEC_PROP_LOSSY,
2333
    },
2334
    {
2335
        .id        = AV_CODEC_ID_XAN_DPCM,
2336
        .type      = AVMEDIA_TYPE_AUDIO,
2337
        .name      = "xan_dpcm",
2338
        .long_name = NULL_IF_CONFIG_SMALL("DPCM Xan"),
2339
        .props     = AV_CODEC_PROP_LOSSY,
2340
    },
2341
    {
2342
        .id        = AV_CODEC_ID_SOL_DPCM,
2343
        .type      = AVMEDIA_TYPE_AUDIO,
2344
        .name      = "sol_dpcm",
2345
        .long_name = NULL_IF_CONFIG_SMALL("DPCM Sol"),
2346
        .props     = AV_CODEC_PROP_LOSSY,
2347
    },
2348
    {
2349
        .id        = AV_CODEC_ID_SDX2_DPCM,
2350
        .type      = AVMEDIA_TYPE_AUDIO,
2351
        .name      = "sdx2_dpcm",
2352
        .long_name = NULL_IF_CONFIG_SMALL("DPCM Squareroot-Delta-Exact"),
2353
        .props     = AV_CODEC_PROP_LOSSY,
2354
    },
2355
    {
2356
        .id        = AV_CODEC_ID_GREMLIN_DPCM,
2357
        .type      = AVMEDIA_TYPE_AUDIO,
2358
        .name      = "gremlin_dpcm",
2359
        .long_name = NULL_IF_CONFIG_SMALL("DPCM Gremlin"),
2360
        .props     = AV_CODEC_PROP_LOSSY,
2361
    },
2362
2363
    /* audio codecs */
2364
    {
2365
        .id        = AV_CODEC_ID_MP2,
2366
        .type      = AVMEDIA_TYPE_AUDIO,
2367
        .name      = "mp2",
2368
        .long_name = NULL_IF_CONFIG_SMALL("MP2 (MPEG audio layer 2)"),
2369
        .props     = AV_CODEC_PROP_LOSSY,
2370
    },
2371
    {
2372
        .id        = AV_CODEC_ID_MP3,
2373
        .type      = AVMEDIA_TYPE_AUDIO,
2374
        .name      = "mp3",
2375
        .long_name = NULL_IF_CONFIG_SMALL("MP3 (MPEG audio layer 3)"),
2376
        .props     = AV_CODEC_PROP_LOSSY,
2377
    },
2378
    {
2379
        .id        = AV_CODEC_ID_AAC,
2380
        .type      = AVMEDIA_TYPE_AUDIO,
2381
        .name      = "aac",
2382
        .long_name = NULL_IF_CONFIG_SMALL("AAC (Advanced Audio Coding)"),
2383
        .props     = AV_CODEC_PROP_LOSSY,
2384
        .profiles  = NULL_IF_CONFIG_SMALL(ff_aac_profiles),
2385
    },
2386
    {
2387
        .id        = AV_CODEC_ID_AC3,
2388
        .type      = AVMEDIA_TYPE_AUDIO,
2389
        .name      = "ac3",
2390
        .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"),
2391
        .props     = AV_CODEC_PROP_LOSSY,
2392
    },
2393
    {
2394
        .id        = AV_CODEC_ID_DTS,
2395
        .type      = AVMEDIA_TYPE_AUDIO,
2396
        .name      = "dts",
2397
        .long_name = NULL_IF_CONFIG_SMALL("DCA (DTS Coherent Acoustics)"),
2398
        .props     = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS,
2399
        .profiles  = NULL_IF_CONFIG_SMALL(ff_dca_profiles),
2400
    },
2401
    {
2402
        .id        = AV_CODEC_ID_VORBIS,
2403
        .type      = AVMEDIA_TYPE_AUDIO,
2404
        .name      = "vorbis",
2405
        .long_name = NULL_IF_CONFIG_SMALL("Vorbis"),
2406
        .props     = AV_CODEC_PROP_LOSSY,
2407
    },
2408
    {
2409
        .id        = AV_CODEC_ID_DVAUDIO,
2410
        .type      = AVMEDIA_TYPE_AUDIO,
2411
        .name      = "dvaudio",
2412
        .long_name = NULL_IF_CONFIG_SMALL("DV audio"),
2413
        .props     = AV_CODEC_PROP_LOSSY,
2414
    },
2415
    {
2416
        .id        = AV_CODEC_ID_WMAV1,
2417
        .type      = AVMEDIA_TYPE_AUDIO,
2418
        .name      = "wmav1",
2419
        .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 1"),
2420
        .props     = AV_CODEC_PROP_LOSSY,
2421
    },
2422
    {
2423
        .id        = AV_CODEC_ID_WMAV2,
2424
        .type      = AVMEDIA_TYPE_AUDIO,
2425
        .name      = "wmav2",
2426
        .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 2"),
2427
        .props     = AV_CODEC_PROP_LOSSY,
2428
    },
2429
    {
2430
        .id        = AV_CODEC_ID_MACE3,
2431
        .type      = AVMEDIA_TYPE_AUDIO,
2432
        .name      = "mace3",
2433
        .long_name = NULL_IF_CONFIG_SMALL("MACE (Macintosh Audio Compression/Expansion) 3:1"),
2434
        .props     = AV_CODEC_PROP_LOSSY,
2435
    },
2436
    {
2437
        .id        = AV_CODEC_ID_MACE6,
2438
        .type      = AVMEDIA_TYPE_AUDIO,
2439
        .name      = "mace6",
2440
        .long_name = NULL_IF_CONFIG_SMALL("MACE (Macintosh Audio Compression/Expansion) 6:1"),
2441
        .props     = AV_CODEC_PROP_LOSSY,
2442
    },
2443
    {
2444
        .id        = AV_CODEC_ID_VMDAUDIO,
2445
        .type      = AVMEDIA_TYPE_AUDIO,
2446
        .name      = "vmdaudio",
2447
        .long_name = NULL_IF_CONFIG_SMALL("Sierra VMD audio"),
2448
        .props     = AV_CODEC_PROP_LOSSY,
2449
    },
2450
    {
2451
        .id        = AV_CODEC_ID_FLAC,
2452
        .type      = AVMEDIA_TYPE_AUDIO,
2453
        .name      = "flac",
2454
        .long_name = NULL_IF_CONFIG_SMALL("FLAC (Free Lossless Audio Codec)"),
2455
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
2456
    },
2457
    {
2458
        .id        = AV_CODEC_ID_MP3ADU,
2459
        .type      = AVMEDIA_TYPE_AUDIO,
2460
        .name      = "mp3adu",
2461
        .long_name = NULL_IF_CONFIG_SMALL("ADU (Application Data Unit) MP3 (MPEG audio layer 3)"),
2462
        .props     = AV_CODEC_PROP_LOSSY,
2463
    },
2464
    {
2465
        .id        = AV_CODEC_ID_MP3ON4,
2466
        .type      = AVMEDIA_TYPE_AUDIO,
2467
        .name      = "mp3on4",
2468
        .long_name = NULL_IF_CONFIG_SMALL("MP3onMP4"),
2469
        .props     = AV_CODEC_PROP_LOSSY,
2470
    },
2471
    {
2472
        .id        = AV_CODEC_ID_SHORTEN,
2473
        .type      = AVMEDIA_TYPE_AUDIO,
2474
        .name      = "shorten",
2475
        .long_name = NULL_IF_CONFIG_SMALL("Shorten"),
2476
        .props     = AV_CODEC_PROP_LOSSLESS,
2477
    },
2478
    {
2479
        .id        = AV_CODEC_ID_ALAC,
2480
        .type      = AVMEDIA_TYPE_AUDIO,
2481
        .name      = "alac",
2482
        .long_name = NULL_IF_CONFIG_SMALL("ALAC (Apple Lossless Audio Codec)"),
2483
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
2484
    },
2485
    {
2486
        .id        = AV_CODEC_ID_WESTWOOD_SND1,
2487
        .type      = AVMEDIA_TYPE_AUDIO,
2488
        .name      = "westwood_snd1",
2489
        .long_name = NULL_IF_CONFIG_SMALL("Westwood Audio (SND1)"),
2490
        .props     = AV_CODEC_PROP_LOSSY,
2491
    },
2492
    {
2493
        .id        = AV_CODEC_ID_GSM,
2494
        .type      = AVMEDIA_TYPE_AUDIO,
2495
        .name      = "gsm",
2496
        .long_name = NULL_IF_CONFIG_SMALL("GSM"),
2497
        .props     = AV_CODEC_PROP_LOSSY,
2498
    },
2499
    {
2500
        .id        = AV_CODEC_ID_QDM2,
2501
        .type      = AVMEDIA_TYPE_AUDIO,
2502
        .name      = "qdm2",
2503
        .long_name = NULL_IF_CONFIG_SMALL("QDesign Music Codec 2"),
2504
        .props     = AV_CODEC_PROP_LOSSY,
2505
    },
2506
    {
2507
        .id        = AV_CODEC_ID_COOK,
2508
        .type      = AVMEDIA_TYPE_AUDIO,
2509
        .name      = "cook",
2510
        .long_name = NULL_IF_CONFIG_SMALL("Cook / Cooker / Gecko (RealAudio G2)"),
2511
        .props     = AV_CODEC_PROP_LOSSY,
2512
    },
2513
    {
2514
        .id        = AV_CODEC_ID_TRUESPEECH,
2515
        .type      = AVMEDIA_TYPE_AUDIO,
2516
        .name      = "truespeech",
2517
        .long_name = NULL_IF_CONFIG_SMALL("DSP Group TrueSpeech"),
2518
        .props     = AV_CODEC_PROP_LOSSY,
2519
    },
2520
    {
2521
        .id        = AV_CODEC_ID_TTA,
2522
        .type      = AVMEDIA_TYPE_AUDIO,
2523
        .name      = "tta",
2524
        .long_name = NULL_IF_CONFIG_SMALL("TTA (True Audio)"),
2525
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
2526
    },
2527
    {
2528
        .id        = AV_CODEC_ID_SMACKAUDIO,
2529
        .type      = AVMEDIA_TYPE_AUDIO,
2530
        .name      = "smackaudio",
2531
        .long_name = NULL_IF_CONFIG_SMALL("Smacker audio"),
2532
        .props     = AV_CODEC_PROP_LOSSY,
2533
    },
2534
    {
2535
        .id        = AV_CODEC_ID_QCELP,
2536
        .type      = AVMEDIA_TYPE_AUDIO,
2537
        .name      = "qcelp",
2538
        .long_name = NULL_IF_CONFIG_SMALL("QCELP / PureVoice"),
2539
        .props     = AV_CODEC_PROP_LOSSY,
2540
    },
2541
    {
2542
        .id        = AV_CODEC_ID_WAVPACK,
2543
        .type      = AVMEDIA_TYPE_AUDIO,
2544
        .name      = "wavpack",
2545
        .long_name = NULL_IF_CONFIG_SMALL("WavPack"),
2546
        .props     = AV_CODEC_PROP_INTRA_ONLY |
2547
                     AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS,
2548
    },
2549
    {
2550
        .id        = AV_CODEC_ID_DSICINAUDIO,
2551
        .type      = AVMEDIA_TYPE_AUDIO,
2552
        .name      = "dsicinaudio",
2553
        .long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN audio"),
2554
        .props     = AV_CODEC_PROP_LOSSY,
2555
    },
2556
    {
2557
        .id        = AV_CODEC_ID_IMC,
2558
        .type      = AVMEDIA_TYPE_AUDIO,
2559
        .name      = "imc",
2560
        .long_name = NULL_IF_CONFIG_SMALL("IMC (Intel Music Coder)"),
2561
        .props     = AV_CODEC_PROP_LOSSY,
2562
    },
2563
    {
2564
        .id        = AV_CODEC_ID_MUSEPACK7,
2565
        .type      = AVMEDIA_TYPE_AUDIO,
2566
        .name      = "musepack7",
2567
        .long_name = NULL_IF_CONFIG_SMALL("Musepack SV7"),
2568
        .props     = AV_CODEC_PROP_LOSSY,
2569
    },
2570
    {
2571
        .id        = AV_CODEC_ID_MLP,
2572
        .type      = AVMEDIA_TYPE_AUDIO,
2573
        .name      = "mlp",
2574
        .long_name = NULL_IF_CONFIG_SMALL("MLP (Meridian Lossless Packing)"),
2575
        .props     = AV_CODEC_PROP_LOSSLESS,
2576
    },
2577
    {
2578
        .id        = AV_CODEC_ID_GSM_MS,
2579
        .type      = AVMEDIA_TYPE_AUDIO,
2580
        .name      = "gsm_ms",
2581
        .long_name = NULL_IF_CONFIG_SMALL("GSM Microsoft variant"),
2582
        .props     = AV_CODEC_PROP_LOSSY,
2583
    },
2584
    {
2585
        .id        = AV_CODEC_ID_ATRAC3,
2586
        .type      = AVMEDIA_TYPE_AUDIO,
2587
        .name      = "atrac3",
2588
        .long_name = NULL_IF_CONFIG_SMALL("ATRAC3 (Adaptive TRansform Acoustic Coding 3)"),
2589
        .props     = AV_CODEC_PROP_LOSSY,
2590
    },
2591
    {
2592
        .id        = AV_CODEC_ID_APE,
2593
        .type      = AVMEDIA_TYPE_AUDIO,
2594
        .name      = "ape",
2595
        .long_name = NULL_IF_CONFIG_SMALL("Monkey's Audio"),
2596
        .props     = AV_CODEC_PROP_LOSSLESS,
2597
    },
2598
    {
2599
        .id        = AV_CODEC_ID_NELLYMOSER,
2600
        .type      = AVMEDIA_TYPE_AUDIO,
2601
        .name      = "nellymoser",
2602
        .long_name = NULL_IF_CONFIG_SMALL("Nellymoser Asao"),
2603
        .props     = AV_CODEC_PROP_LOSSY,
2604
    },
2605
    {
2606
        .id        = AV_CODEC_ID_MUSEPACK8,
2607
        .type      = AVMEDIA_TYPE_AUDIO,
2608
        .name      = "musepack8",
2609
        .long_name = NULL_IF_CONFIG_SMALL("Musepack SV8"),
2610
        .props     = AV_CODEC_PROP_LOSSY,
2611
    },
2612
    {
2613
        .id        = AV_CODEC_ID_SPEEX,
2614
        .type      = AVMEDIA_TYPE_AUDIO,
2615
        .name      = "speex",
2616
        .long_name = NULL_IF_CONFIG_SMALL("Speex"),
2617
        .props     = AV_CODEC_PROP_LOSSY,
2618
    },
2619
    {
2620
        .id        = AV_CODEC_ID_WMAVOICE,
2621
        .type      = AVMEDIA_TYPE_AUDIO,
2622
        .name      = "wmavoice",
2623
        .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio Voice"),
2624
        .props     = AV_CODEC_PROP_LOSSY,
2625
    },
2626
    {
2627
        .id        = AV_CODEC_ID_WMAPRO,
2628
        .type      = AVMEDIA_TYPE_AUDIO,
2629
        .name      = "wmapro",
2630
        .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 9 Professional"),
2631
        .props     = AV_CODEC_PROP_LOSSY,
2632
    },
2633
    {
2634
        .id        = AV_CODEC_ID_WMALOSSLESS,
2635
        .type      = AVMEDIA_TYPE_AUDIO,
2636
        .name      = "wmalossless",
2637
        .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio Lossless"),
2638
        .props     = AV_CODEC_PROP_LOSSLESS,
2639
    },
2640
    {
2641
        .id        = AV_CODEC_ID_ATRAC3P,
2642
        .type      = AVMEDIA_TYPE_AUDIO,
2643
        .name      = "atrac3p",
2644
        .long_name = NULL_IF_CONFIG_SMALL("ATRAC3+ (Adaptive TRansform Acoustic Coding 3+)"),
2645
        .props     = AV_CODEC_PROP_LOSSY,
2646
    },
2647
    {
2648
        .id        = AV_CODEC_ID_EAC3,
2649
        .type      = AVMEDIA_TYPE_AUDIO,
2650
        .name      = "eac3",
2651
        .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52B (AC-3, E-AC-3)"),
2652
        .props     = AV_CODEC_PROP_LOSSY,
2653
    },
2654
    {
2655
        .id        = AV_CODEC_ID_SIPR,
2656
        .type      = AVMEDIA_TYPE_AUDIO,
2657
        .name      = "sipr",
2658
        .long_name = NULL_IF_CONFIG_SMALL("RealAudio SIPR / ACELP.NET"),
2659
        .props     = AV_CODEC_PROP_LOSSY,
2660
    },
2661
    {
2662
        .id        = AV_CODEC_ID_MP1,
2663
        .type      = AVMEDIA_TYPE_AUDIO,
2664
        .name      = "mp1",
2665
        .long_name = NULL_IF_CONFIG_SMALL("MP1 (MPEG audio layer 1)"),
2666
        .props     = AV_CODEC_PROP_LOSSY,
2667
    },
2668
    {
2669
        .id        = AV_CODEC_ID_TWINVQ,
2670
        .type      = AVMEDIA_TYPE_AUDIO,
2671
        .name      = "twinvq",
2672
        .long_name = NULL_IF_CONFIG_SMALL("VQF TwinVQ"),
2673
        .props     = AV_CODEC_PROP_LOSSY,
2674
    },
2675
    {
2676
        .id        = AV_CODEC_ID_TRUEHD,
2677
        .type      = AVMEDIA_TYPE_AUDIO,
2678
        .name      = "truehd",
2679
        .long_name = NULL_IF_CONFIG_SMALL("TrueHD"),
2680
        .props     = AV_CODEC_PROP_LOSSLESS,
2681
    },
2682
    {
2683
        .id        = AV_CODEC_ID_MP4ALS,
2684
        .type      = AVMEDIA_TYPE_AUDIO,
2685
        .name      = "mp4als",
2686
        .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 Audio Lossless Coding (ALS)"),
2687
        .props     = AV_CODEC_PROP_LOSSLESS,
2688
    },
2689
    {
2690
        .id        = AV_CODEC_ID_ATRAC1,
2691
        .type      = AVMEDIA_TYPE_AUDIO,
2692
        .name      = "atrac1",
2693
        .long_name = NULL_IF_CONFIG_SMALL("ATRAC1 (Adaptive TRansform Acoustic Coding)"),
2694
        .props     = AV_CODEC_PROP_LOSSY,
2695
    },
2696
    {
2697
        .id        = AV_CODEC_ID_BINKAUDIO_RDFT,
2698
        .type      = AVMEDIA_TYPE_AUDIO,
2699
        .name      = "binkaudio_rdft",
2700
        .long_name = NULL_IF_CONFIG_SMALL("Bink Audio (RDFT)"),
2701
        .props     = AV_CODEC_PROP_LOSSY,
2702
    },
2703
    {
2704
        .id        = AV_CODEC_ID_BINKAUDIO_DCT,
2705
        .type      = AVMEDIA_TYPE_AUDIO,
2706
        .name      = "binkaudio_dct",
2707
        .long_name = NULL_IF_CONFIG_SMALL("Bink Audio (DCT)"),
2708
        .props     = AV_CODEC_PROP_LOSSY,
2709
    },
2710
    {
2711
        .id        = AV_CODEC_ID_AAC_LATM,
2712
        .type      = AVMEDIA_TYPE_AUDIO,
2713
        .name      = "aac_latm",
2714
        .long_name = NULL_IF_CONFIG_SMALL("AAC LATM (Advanced Audio Coding LATM syntax)"),
2715
        .props     = AV_CODEC_PROP_LOSSY,
2716
        .profiles  = NULL_IF_CONFIG_SMALL(ff_aac_profiles),
2717
    },
2718
    {
2719
        .id        = AV_CODEC_ID_QDMC,
2720
        .type      = AVMEDIA_TYPE_AUDIO,
2721
        .name      = "qdmc",
2722
        .long_name = NULL_IF_CONFIG_SMALL("QDesign Music"),
2723
        .props     = AV_CODEC_PROP_LOSSY,
2724
    },
2725
    {
2726
        .id        = AV_CODEC_ID_CELT,
2727
        .type      = AVMEDIA_TYPE_AUDIO,
2728
        .name      = "celt",
2729
        .long_name = NULL_IF_CONFIG_SMALL("Constrained Energy Lapped Transform (CELT)"),
2730
        .props     = AV_CODEC_PROP_LOSSY,
2731
    },
2732
    {
2733
        .id        = AV_CODEC_ID_G723_1,
2734
        .type      = AVMEDIA_TYPE_AUDIO,
2735
        .name      = "g723_1",
2736
        .long_name = NULL_IF_CONFIG_SMALL("G.723.1"),
2737
        .props     = AV_CODEC_PROP_LOSSY,
2738
    },
2739
    {
2740
        .id        = AV_CODEC_ID_G729,
2741
        .type      = AVMEDIA_TYPE_AUDIO,
2742
        .name      = "g729",
2743
        .long_name = NULL_IF_CONFIG_SMALL("G.729"),
2744
        .props     = AV_CODEC_PROP_LOSSY,
2745
    },
2746
    {
2747
        .id        = AV_CODEC_ID_8SVX_EXP,
2748
        .type      = AVMEDIA_TYPE_AUDIO,
2749
        .name      = "8svx_exp",
2750
        .long_name = NULL_IF_CONFIG_SMALL("8SVX exponential"),
2751
        .props     = AV_CODEC_PROP_LOSSY,
2752
    },
2753
    {
2754
        .id        = AV_CODEC_ID_8SVX_FIB,
2755
        .type      = AVMEDIA_TYPE_AUDIO,
2756
        .name      = "8svx_fib",
2757
        .long_name = NULL_IF_CONFIG_SMALL("8SVX fibonacci"),
2758
        .props     = AV_CODEC_PROP_LOSSY,
2759
    },
2760
    {
2761
        .id        = AV_CODEC_ID_BMV_AUDIO,
2762
        .type      = AVMEDIA_TYPE_AUDIO,
2763
        .name      = "bmv_audio",
2764
        .long_name = NULL_IF_CONFIG_SMALL("Discworld II BMV audio"),
2765
        .props     = AV_CODEC_PROP_LOSSY,
2766
    },
2767
    {
2768
        .id        = AV_CODEC_ID_RALF,
2769
        .type      = AVMEDIA_TYPE_AUDIO,
2770
        .name      = "ralf",
2771
        .long_name = NULL_IF_CONFIG_SMALL("RealAudio Lossless"),
2772
        .props     = AV_CODEC_PROP_LOSSLESS,
2773
    },
2774
    {
2775
        .id        = AV_CODEC_ID_IAC,
2776
        .type      = AVMEDIA_TYPE_AUDIO,
2777
        .name      = "iac",
2778
        .long_name = NULL_IF_CONFIG_SMALL("IAC (Indeo Audio Coder)"),
2779
        .props     = AV_CODEC_PROP_LOSSY,
2780
    },
2781
    {
2782
        .id        = AV_CODEC_ID_ILBC,
2783
        .type      = AVMEDIA_TYPE_AUDIO,
2784
        .name      = "ilbc",
2785
        .long_name = NULL_IF_CONFIG_SMALL("iLBC (Internet Low Bitrate Codec)"),
2786
        .props     = AV_CODEC_PROP_LOSSY,
2787
    },
2788
    {
2789
        .id        = AV_CODEC_ID_OPUS,
2790
        .type      = AVMEDIA_TYPE_AUDIO,
2791
        .name      = "opus",
2792
        .long_name = NULL_IF_CONFIG_SMALL("Opus (Opus Interactive Audio Codec)"),
2793
        .props     = AV_CODEC_PROP_LOSSY,
2794
    },
2795
    {
2796
        .id        = AV_CODEC_ID_COMFORT_NOISE,
2797
        .type      = AVMEDIA_TYPE_AUDIO,
2798
        .name      = "comfortnoise",
2799
        .long_name = NULL_IF_CONFIG_SMALL("RFC 3389 Comfort Noise"),
2800
        .props     = AV_CODEC_PROP_LOSSY,
2801
    },
2802
    {
2803
        .id        = AV_CODEC_ID_TAK,
2804
        .type      = AVMEDIA_TYPE_AUDIO,
2805
        .name      = "tak",
2806
        .long_name = NULL_IF_CONFIG_SMALL("TAK (Tom's lossless Audio Kompressor)"),
2807
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
2808
    },
2809
    {
2810
        .id        = AV_CODEC_ID_METASOUND,
2811
        .type      = AVMEDIA_TYPE_AUDIO,
2812
        .name      = "metasound",
2813
        .long_name = NULL_IF_CONFIG_SMALL("Voxware MetaSound"),
2814
        .props     = AV_CODEC_PROP_LOSSY,
2815
    },
2816
    {
2817
        .id        = AV_CODEC_ID_PAF_AUDIO,
2818
        .type      = AVMEDIA_TYPE_AUDIO,
2819
        .name      = "paf_audio",
2820
        .long_name = NULL_IF_CONFIG_SMALL("Amazing Studio Packed Animation File Audio"),
2821
        .props     = AV_CODEC_PROP_LOSSY,
2822
    },
2823
    {
2824
        .id        = AV_CODEC_ID_ON2AVC,
2825
        .type      = AVMEDIA_TYPE_AUDIO,
2826
        .name      = "avc",
2827
        .long_name = NULL_IF_CONFIG_SMALL("On2 Audio for Video Codec"),
2828
        .props     = AV_CODEC_PROP_LOSSY,
2829
    },
2830
    {
2831
        .id        = AV_CODEC_ID_DSS_SP,
2832
        .type      = AVMEDIA_TYPE_AUDIO,
2833
        .name      = "dss_sp",
2834
        .long_name = NULL_IF_CONFIG_SMALL("Digital Speech Standard - Standard Play mode (DSS SP)"),
2835
        .props     = AV_CODEC_PROP_LOSSY,
2836
    },
2837
    {
2838
        .id        = AV_CODEC_ID_CODEC2,
2839
        .type      = AVMEDIA_TYPE_AUDIO,
2840
        .name      = "codec2",
2841
        .long_name = NULL_IF_CONFIG_SMALL("codec2 (very low bitrate speech codec)"),
2842
        .props     = AV_CODEC_PROP_LOSSY,
2843
    },
2844
    {
2845
        .id        = AV_CODEC_ID_FFWAVESYNTH,
2846
        .type      = AVMEDIA_TYPE_AUDIO,
2847
        .name      = "wavesynth",
2848
        .long_name = NULL_IF_CONFIG_SMALL("Wave synthesis pseudo-codec"),
2849
    },
2850
    {
2851
        .id        = AV_CODEC_ID_SONIC,
2852
        .type      = AVMEDIA_TYPE_AUDIO,
2853
        .name      = "sonic",
2854
        .long_name = NULL_IF_CONFIG_SMALL("Sonic"),
2855
    },
2856
    {
2857
        .id        = AV_CODEC_ID_SONIC_LS,
2858
        .type      = AVMEDIA_TYPE_AUDIO,
2859
        .name      = "sonicls",
2860
        .long_name = NULL_IF_CONFIG_SMALL("Sonic lossless"),
2861
    },
2862
    {
2863
        .id        = AV_CODEC_ID_EVRC,
2864
        .type      = AVMEDIA_TYPE_AUDIO,
2865
        .name      = "evrc",
2866
        .long_name = NULL_IF_CONFIG_SMALL("EVRC (Enhanced Variable Rate Codec)"),
2867
        .props     = AV_CODEC_PROP_LOSSY,
2868
    },
2869
    {
2870
        .id        = AV_CODEC_ID_SMV,
2871
        .type      = AVMEDIA_TYPE_AUDIO,
2872
        .name      = "smv",
2873
        .long_name = NULL_IF_CONFIG_SMALL("SMV (Selectable Mode Vocoder)"),
2874
        .props     = AV_CODEC_PROP_LOSSY,
2875
    },
2876
    {
2877
        .id        = AV_CODEC_ID_DSD_LSBF,
2878
        .type      = AVMEDIA_TYPE_AUDIO,
2879
        .name      = "dsd_lsbf",
2880
        .long_name = NULL_IF_CONFIG_SMALL("DSD (Direct Stream Digital), least significant bit first"),
2881
        .props     = AV_CODEC_PROP_LOSSY,
2882
    },
2883
    {
2884
        .id        = AV_CODEC_ID_DSD_MSBF,
2885
        .type      = AVMEDIA_TYPE_AUDIO,
2886
        .name      = "dsd_msbf",
2887
        .long_name = NULL_IF_CONFIG_SMALL("DSD (Direct Stream Digital), most significant bit first"),
2888
        .props     = AV_CODEC_PROP_LOSSY,
2889
    },
2890
    {
2891
        .id        = AV_CODEC_ID_DSD_LSBF_PLANAR,
2892
        .type      = AVMEDIA_TYPE_AUDIO,
2893
        .name      = "dsd_lsbf_planar",
2894
        .long_name = NULL_IF_CONFIG_SMALL("DSD (Direct Stream Digital), least significant bit first, planar"),
2895
        .props     = AV_CODEC_PROP_LOSSY,
2896
    },
2897
    {
2898
        .id        = AV_CODEC_ID_DSD_MSBF_PLANAR,
2899
        .type      = AVMEDIA_TYPE_AUDIO,
2900
        .name      = "dsd_msbf_planar",
2901
        .long_name = NULL_IF_CONFIG_SMALL("DSD (Direct Stream Digital), most significant bit first, planar"),
2902
        .props     = AV_CODEC_PROP_LOSSY,
2903
    },
2904
    {
2905
        .id        = AV_CODEC_ID_4GV,
2906
        .type      = AVMEDIA_TYPE_AUDIO,
2907
        .name      = "4gv",
2908
        .long_name = NULL_IF_CONFIG_SMALL("4GV (Fourth Generation Vocoder)"),
2909
        .props     = AV_CODEC_PROP_LOSSY,
2910
    },
2911
    {
2912
        .id        = AV_CODEC_ID_INTERPLAY_ACM,
2913
        .type      = AVMEDIA_TYPE_AUDIO,
2914
        .name      = "interplayacm",
2915
        .long_name = NULL_IF_CONFIG_SMALL("Interplay ACM"),
2916
        .props     = AV_CODEC_PROP_LOSSY,
2917
    },
2918
    {
2919
        .id        = AV_CODEC_ID_XMA1,
2920
        .type      = AVMEDIA_TYPE_AUDIO,
2921
        .name      = "xma1",
2922
        .long_name = NULL_IF_CONFIG_SMALL("Xbox Media Audio 1"),
2923
        .props     = AV_CODEC_PROP_LOSSY,
2924
    },
2925
    {
2926
        .id        = AV_CODEC_ID_XMA2,
2927
        .type      = AVMEDIA_TYPE_AUDIO,
2928
        .name      = "xma2",
2929
        .long_name = NULL_IF_CONFIG_SMALL("Xbox Media Audio 2"),
2930
        .props     = AV_CODEC_PROP_LOSSY,
2931
    },
2932
    {
2933
        .id        = AV_CODEC_ID_DST,
2934
        .type      = AVMEDIA_TYPE_AUDIO,
2935
        .name      = "dst",
2936
        .long_name = NULL_IF_CONFIG_SMALL("DST (Direct Stream Transfer)"),
2937
        .props     = AV_CODEC_PROP_LOSSLESS,
2938
    },
2939
    {
2940
        .id        = AV_CODEC_ID_ATRAC3AL,
2941
        .type      = AVMEDIA_TYPE_AUDIO,
2942
        .name      = "atrac3al",
2943
        .long_name = NULL_IF_CONFIG_SMALL("ATRAC3 AL (Adaptive TRansform Acoustic Coding 3 Advanced Lossless)"),
2944
        .props     = AV_CODEC_PROP_LOSSLESS,
2945
    },
2946
    {
2947
        .id        = AV_CODEC_ID_ATRAC3PAL,
2948
        .type      = AVMEDIA_TYPE_AUDIO,
2949
        .name      = "atrac3pal",
2950
        .long_name = NULL_IF_CONFIG_SMALL("ATRAC3+ AL (Adaptive TRansform Acoustic Coding 3+ Advanced Lossless)"),
2951
        .props     = AV_CODEC_PROP_LOSSLESS,
2952
    },
2953
    {
2954
        .id        = AV_CODEC_ID_DOLBY_E,
2955
        .type      = AVMEDIA_TYPE_AUDIO,
2956
        .name      = "dolby_e",
2957
        .long_name = NULL_IF_CONFIG_SMALL("Dolby E"),
2958
        .props     = AV_CODEC_PROP_LOSSY,
2959
    },
2960
    {
2961
        .id        = AV_CODEC_ID_APTX,
2962
        .type      = AVMEDIA_TYPE_AUDIO,
2963
        .name      = "aptx",
2964
        .long_name = NULL_IF_CONFIG_SMALL("aptX (Audio Processing Technology for Bluetooth)"),
2965
        .props     = AV_CODEC_PROP_LOSSY,
2966
    },
2967
    {
2968
        .id        = AV_CODEC_ID_APTX_HD,
2969
        .type      = AVMEDIA_TYPE_AUDIO,
2970
        .name      = "aptx_hd",
2971
        .long_name = NULL_IF_CONFIG_SMALL("aptX HD (Audio Processing Technology for Bluetooth)"),
2972
        .props     = AV_CODEC_PROP_LOSSY,
2973
    },
2974
    {
2975
        .id        = AV_CODEC_ID_SBC,
2976
        .type      = AVMEDIA_TYPE_AUDIO,
2977
        .name      = "sbc",
2978
        .long_name = NULL_IF_CONFIG_SMALL("SBC (low-complexity subband codec)"),
2979
        .props     = AV_CODEC_PROP_LOSSY,
2980
    },
2981
    {
2982
        .id        = AV_CODEC_ID_ATRAC9,
2983
        .type      = AVMEDIA_TYPE_AUDIO,
2984
        .name      = "atrac9",
2985
        .long_name = NULL_IF_CONFIG_SMALL("ATRAC9 (Adaptive TRansform Acoustic Coding 9)"),
2986
        .props     = AV_CODEC_PROP_LOSSY,
2987
    },
2988
    {
2989
        .id        = AV_CODEC_ID_HCOM,
2990
        .type      = AVMEDIA_TYPE_AUDIO,
2991
        .name      = "hcom",
2992
        .long_name = NULL_IF_CONFIG_SMALL("HCOM Audio"),
2993
        .props     = AV_CODEC_PROP_LOSSY,
2994
    },
2995
    {
2996
        .id        = AV_CODEC_ID_ACELP_KELVIN,
2997
        .type      = AVMEDIA_TYPE_AUDIO,
2998
        .name      = "acelp.kelvin",
2999
        .long_name = NULL_IF_CONFIG_SMALL("Sipro ACELP.KELVIN"),
3000
        .props     = AV_CODEC_PROP_LOSSY,
3001
    },
3002
3003
    /* subtitle codecs */
3004
    {
3005
        .id        = AV_CODEC_ID_DVD_SUBTITLE,
3006
        .type      = AVMEDIA_TYPE_SUBTITLE,
3007
        .name      = "dvd_subtitle",
3008
        .long_name = NULL_IF_CONFIG_SMALL("DVD subtitles"),
3009
        .props     = AV_CODEC_PROP_BITMAP_SUB,
3010
    },
3011
    {
3012
        .id        = AV_CODEC_ID_DVB_SUBTITLE,
3013
        .type      = AVMEDIA_TYPE_SUBTITLE,
3014
        .name      = "dvb_subtitle",
3015
        .long_name = NULL_IF_CONFIG_SMALL("DVB subtitles"),
3016
        .props     = AV_CODEC_PROP_BITMAP_SUB,
3017
    },
3018
    {
3019
        .id        = AV_CODEC_ID_TEXT,
3020
        .type      = AVMEDIA_TYPE_SUBTITLE,
3021
        .name      = "text",
3022
        .long_name = NULL_IF_CONFIG_SMALL("raw UTF-8 text"),
3023
        .props     = AV_CODEC_PROP_TEXT_SUB,
3024
    },
3025
    {
3026
        .id        = AV_CODEC_ID_XSUB,
3027
        .type      = AVMEDIA_TYPE_SUBTITLE,
3028
        .name      = "xsub",
3029
        .long_name = NULL_IF_CONFIG_SMALL("XSUB"),
3030
        .props     = AV_CODEC_PROP_BITMAP_SUB,
3031
    },
3032
    {
3033
        .id        = AV_CODEC_ID_SSA,
3034
        .type      = AVMEDIA_TYPE_SUBTITLE,
3035
        .name      = "ssa",
3036
        .long_name = NULL_IF_CONFIG_SMALL("SSA (SubStation Alpha) subtitle"),
3037
        .props     = AV_CODEC_PROP_TEXT_SUB,
3038
    },
3039
    {
3040
        .id        = AV_CODEC_ID_MOV_TEXT,
3041
        .type      = AVMEDIA_TYPE_SUBTITLE,
3042
        .name      = "mov_text",
3043
        .long_name = NULL_IF_CONFIG_SMALL("MOV text"),
3044
        .props     = AV_CODEC_PROP_TEXT_SUB,
3045
    },
3046
    {
3047
        .id        = AV_CODEC_ID_HDMV_PGS_SUBTITLE,
3048
        .type      = AVMEDIA_TYPE_SUBTITLE,
3049
        .name      = "hdmv_pgs_subtitle",
3050
        .long_name = NULL_IF_CONFIG_SMALL("HDMV Presentation Graphic Stream subtitles"),
3051
        .props     = AV_CODEC_PROP_BITMAP_SUB,
3052
    },
3053
    {
3054
        .id        = AV_CODEC_ID_DVB_TELETEXT,
3055
        .type      = AVMEDIA_TYPE_SUBTITLE,
3056
        .name      = "dvb_teletext",
3057
        .long_name = NULL_IF_CONFIG_SMALL("DVB teletext"),
3058
    },
3059
    {
3060
        .id        = AV_CODEC_ID_SRT,
3061
        .type      = AVMEDIA_TYPE_SUBTITLE,
3062
        .name      = "srt",
3063
        .long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle with embedded timing"),
3064
        .props     = AV_CODEC_PROP_TEXT_SUB,
3065
    },
3066
    {
3067
        .id        = AV_CODEC_ID_MICRODVD,
3068
        .type      = AVMEDIA_TYPE_SUBTITLE,
3069
        .name      = "microdvd",
3070
        .long_name = NULL_IF_CONFIG_SMALL("MicroDVD subtitle"),
3071
        .props     = AV_CODEC_PROP_TEXT_SUB,
3072
    },
3073
    {
3074
        .id        = AV_CODEC_ID_EIA_608,
3075
        .type      = AVMEDIA_TYPE_SUBTITLE,
3076
        .name      = "eia_608",
3077
        .long_name = NULL_IF_CONFIG_SMALL("EIA-608 closed captions"),
3078
        .props     = AV_CODEC_PROP_TEXT_SUB,
3079
    },
3080
    {
3081
        .id        = AV_CODEC_ID_JACOSUB,
3082
        .type      = AVMEDIA_TYPE_SUBTITLE,
3083
        .name      = "jacosub",
3084
        .long_name = NULL_IF_CONFIG_SMALL("JACOsub subtitle"),
3085
        .props     = AV_CODEC_PROP_TEXT_SUB,
3086
    },
3087
    {
3088
        .id        = AV_CODEC_ID_SAMI,
3089
        .type      = AVMEDIA_TYPE_SUBTITLE,
3090
        .name      = "sami",
3091
        .long_name = NULL_IF_CONFIG_SMALL("SAMI subtitle"),
3092
        .props     = AV_CODEC_PROP_TEXT_SUB,
3093
    },
3094
    {
3095
        .id        = AV_CODEC_ID_REALTEXT,
3096
        .type      = AVMEDIA_TYPE_SUBTITLE,
3097
        .name      = "realtext",
3098
        .long_name = NULL_IF_CONFIG_SMALL("RealText subtitle"),
3099
        .props     = AV_CODEC_PROP_TEXT_SUB,
3100
    },
3101
    {
3102
        .id        = AV_CODEC_ID_STL,
3103
        .type      = AVMEDIA_TYPE_SUBTITLE,
3104
        .name      = "stl",
3105
        .long_name = NULL_IF_CONFIG_SMALL("Spruce subtitle format"),
3106
        .props     = AV_CODEC_PROP_TEXT_SUB,
3107
    },
3108
    {
3109
        .id        = AV_CODEC_ID_SUBVIEWER1,
3110
        .type      = AVMEDIA_TYPE_SUBTITLE,
3111
        .name      = "subviewer1",
3112
        .long_name = NULL_IF_CONFIG_SMALL("SubViewer v1 subtitle"),
3113
        .props     = AV_CODEC_PROP_TEXT_SUB,
3114
    },
3115
    {
3116
        .id        = AV_CODEC_ID_SUBVIEWER,
3117
        .type      = AVMEDIA_TYPE_SUBTITLE,
3118
        .name      = "subviewer",
3119
        .long_name = NULL_IF_CONFIG_SMALL("SubViewer subtitle"),
3120
        .props     = AV_CODEC_PROP_TEXT_SUB,
3121
    },
3122
    {
3123
        .id        = AV_CODEC_ID_SUBRIP,
3124
        .type      = AVMEDIA_TYPE_SUBTITLE,
3125
        .name      = "subrip",
3126
        .long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle"),
3127
        .props     = AV_CODEC_PROP_TEXT_SUB,
3128
    },
3129
    {
3130
        .id        = AV_CODEC_ID_WEBVTT,
3131
        .type      = AVMEDIA_TYPE_SUBTITLE,
3132
        .name      = "webvtt",
3133
        .long_name = NULL_IF_CONFIG_SMALL("WebVTT subtitle"),
3134
        .props     = AV_CODEC_PROP_TEXT_SUB,
3135
    },
3136
    {
3137
        .id        = AV_CODEC_ID_MPL2,
3138
        .type      = AVMEDIA_TYPE_SUBTITLE,
3139
        .name      = "mpl2",
3140
        .long_name = NULL_IF_CONFIG_SMALL("MPL2 subtitle"),
3141
        .props     = AV_CODEC_PROP_TEXT_SUB,
3142
    },
3143
    {
3144
        .id        = AV_CODEC_ID_VPLAYER,
3145
        .type      = AVMEDIA_TYPE_SUBTITLE,
3146
        .name      = "vplayer",
3147
        .long_name = NULL_IF_CONFIG_SMALL("VPlayer subtitle"),
3148
        .props     = AV_CODEC_PROP_TEXT_SUB,
3149
    },
3150
    {
3151
        .id        = AV_CODEC_ID_PJS,
3152
        .type      = AVMEDIA_TYPE_SUBTITLE,
3153
        .name      = "pjs",
3154
        .long_name = NULL_IF_CONFIG_SMALL("PJS (Phoenix Japanimation Society) subtitle"),
3155
        .props     = AV_CODEC_PROP_TEXT_SUB,
3156
    },
3157
    {
3158
        .id        = AV_CODEC_ID_ASS,
3159
        .type      = AVMEDIA_TYPE_SUBTITLE,
3160
        .name      = "ass",
3161
        .long_name = NULL_IF_CONFIG_SMALL("ASS (Advanced SSA) subtitle"),
3162
        .props     = AV_CODEC_PROP_TEXT_SUB,
3163
    },
3164
    {
3165
        .id        = AV_CODEC_ID_HDMV_TEXT_SUBTITLE,
3166
        .type      = AVMEDIA_TYPE_SUBTITLE,
3167
        .name      = "hdmv_text_subtitle",
3168
        .long_name = NULL_IF_CONFIG_SMALL("HDMV Text subtitle"),
3169
        .props     = AV_CODEC_PROP_TEXT_SUB,
3170
    },
3171
    {
3172
        .id        = AV_CODEC_ID_TTML,
3173
        .type      = AVMEDIA_TYPE_SUBTITLE,
3174
        .name      = "ttml",
3175
        .long_name = NULL_IF_CONFIG_SMALL("Timed Text Markup Language"),
3176
        .props     = AV_CODEC_PROP_TEXT_SUB,
3177
    },
3178
    {
3179
        .id        = AV_CODEC_ID_ARIB_CAPTION,
3180
        .type      = AVMEDIA_TYPE_SUBTITLE,
3181
        .name      = "arib_caption",
3182
        .long_name = NULL_IF_CONFIG_SMALL("ARIB STD-B24 caption"),
3183
        .props     = AV_CODEC_PROP_TEXT_SUB,
3184
        .profiles  = NULL_IF_CONFIG_SMALL(ff_arib_caption_profiles),
3185
    },
3186
3187
    /* other kind of codecs and pseudo-codecs */
3188
    {
3189
        .id        = AV_CODEC_ID_TTF,
3190
        .type      = AVMEDIA_TYPE_DATA,
3191
        .name      = "ttf",
3192
        .long_name = NULL_IF_CONFIG_SMALL("TrueType font"),
3193
        .mime_types= MT("application/x-truetype-font", "application/x-font"),
3194
    },
3195
    {
3196
        .id        = AV_CODEC_ID_SCTE_35,
3197
        .type      = AVMEDIA_TYPE_DATA,
3198
        .name      = "scte_35",
3199
        .long_name = NULL_IF_CONFIG_SMALL("SCTE 35 Message Queue"),
3200
    },
3201
    {
3202
        .id        = AV_CODEC_ID_EPG,
3203
        .type      = AVMEDIA_TYPE_DATA,
3204
        .name      = "epg",
3205
        .long_name = NULL_IF_CONFIG_SMALL("Electronic Program Guide"),
3206
    },
3207
    {
3208
        .id        = AV_CODEC_ID_BINTEXT,
3209
        .type      = AVMEDIA_TYPE_VIDEO,
3210
        .name      = "bintext",
3211
        .long_name = NULL_IF_CONFIG_SMALL("Binary text"),
3212
        .props     = AV_CODEC_PROP_INTRA_ONLY,
3213
    },
3214
    {
3215
        .id        = AV_CODEC_ID_XBIN,
3216
        .type      = AVMEDIA_TYPE_VIDEO,
3217
        .name      = "xbin",
3218
        .long_name = NULL_IF_CONFIG_SMALL("eXtended BINary text"),
3219
        .props     = AV_CODEC_PROP_INTRA_ONLY,
3220
    },
3221
    {
3222
        .id        = AV_CODEC_ID_IDF,
3223
        .type      = AVMEDIA_TYPE_VIDEO,
3224
        .name      = "idf",
3225
        .long_name = NULL_IF_CONFIG_SMALL("iCEDraw text"),
3226
        .props     = AV_CODEC_PROP_INTRA_ONLY,
3227
    },
3228
    {
3229
        .id        = AV_CODEC_ID_OTF,
3230
        .type      = AVMEDIA_TYPE_DATA,
3231
        .name      = "otf",
3232
        .long_name = NULL_IF_CONFIG_SMALL("OpenType font"),
3233
        .mime_types= MT("application/vnd.ms-opentype"),
3234
    },
3235
    {
3236
        .id        = AV_CODEC_ID_SMPTE_KLV,
3237
        .type      = AVMEDIA_TYPE_DATA,
3238
        .name      = "klv",
3239
        .long_name = NULL_IF_CONFIG_SMALL("SMPTE 336M Key-Length-Value (KLV) metadata"),
3240
    },
3241
    {
3242
        .id        = AV_CODEC_ID_DVD_NAV,
3243
        .type      = AVMEDIA_TYPE_DATA,
3244
        .name      = "dvd_nav_packet",
3245
        .long_name = NULL_IF_CONFIG_SMALL("DVD Nav packet"),
3246
    },
3247
    {
3248
        .id        = AV_CODEC_ID_TIMED_ID3,
3249
        .type      = AVMEDIA_TYPE_DATA,
3250
        .name      = "timed_id3",
3251
        .long_name = NULL_IF_CONFIG_SMALL("timed ID3 metadata"),
3252
    },
3253
    {
3254
        .id        = AV_CODEC_ID_BIN_DATA,
3255
        .type      = AVMEDIA_TYPE_DATA,
3256
        .name      = "bin_data",
3257
        .long_name = NULL_IF_CONFIG_SMALL("binary data"),
3258
        .mime_types= MT("application/octet-stream"),
3259
    },
3260
    {
3261
        .id        = AV_CODEC_ID_WRAPPED_AVFRAME,
3262
        .type      = AVMEDIA_TYPE_VIDEO,
3263
        .name      = "wrapped_avframe",
3264
        .long_name = NULL_IF_CONFIG_SMALL("AVFrame to AVPacket passthrough"),
3265
        .props     = AV_CODEC_PROP_LOSSLESS,
3266
    },
3267
};
3268
3269
4944804
static int descriptor_compare(const void *key, const void *member)
3270
{
3271
4944804
    enum AVCodecID id = *(const enum AVCodecID *) key;
3272
4944804
    const AVCodecDescriptor *desc = member;
3273
3274
4944804
    return id - desc->id;
3275
}
3276
3277
587371
const AVCodecDescriptor *avcodec_descriptor_get(enum AVCodecID id)
3278
{
3279
587371
    return bsearch(&id, codec_descriptors, FF_ARRAY_ELEMS(codec_descriptors),
3280
                   sizeof(codec_descriptors[0]), descriptor_compare);
3281
}
3282
3283
104674
const AVCodecDescriptor *avcodec_descriptor_next(const AVCodecDescriptor *prev)
3284
{
3285
104674
    if (!prev)
3286
458
        return &codec_descriptors[0];
3287
104216
    if (prev - codec_descriptors < FF_ARRAY_ELEMS(codec_descriptors) - 1)
3288
104215
        return prev + 1;
3289
1
    return NULL;
3290
}
3291
3292
457
const AVCodecDescriptor *avcodec_descriptor_get_by_name(const char *name)
3293
{
3294
457
    const AVCodecDescriptor *desc = NULL;
3295
3296
104217
    while ((desc = avcodec_descriptor_next(desc)))
3297
104217
        if (!strcmp(desc->name, name))
3298
457
            return desc;
3299
    return NULL;
3300
}
3301
3302
1
enum AVMediaType avcodec_get_type(enum AVCodecID codec_id)
3303
{
3304
1
    const AVCodecDescriptor *desc = avcodec_descriptor_get(codec_id);
3305
1
    return desc ? desc->type : AVMEDIA_TYPE_UNKNOWN;
3306
}