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