GCC Code Coverage Report
Directory: ../../../ffmpeg/ Exec Total Coverage
File: src/libavcodec/codec_desc.c Lines: 20 21 95.2 %
Date: 2020-09-25 23:16:12 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_Y41P,
1417
        .type      = AVMEDIA_TYPE_VIDEO,
1418
        .name      = "y41p",
1419
        .long_name = NULL_IF_CONFIG_SMALL("Uncompressed YUV 4:1:1 12-bit"),
1420
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1421
    },
1422
    {
1423
        .id        = AV_CODEC_ID_AVRP,
1424
        .type      = AVMEDIA_TYPE_VIDEO,
1425
        .name      = "avrp",
1426
        .long_name = NULL_IF_CONFIG_SMALL("Avid 1:1 10-bit RGB Packer"),
1427
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1428
    },
1429
    {
1430
        .id        = AV_CODEC_ID_012V,
1431
        .type      = AVMEDIA_TYPE_VIDEO,
1432
        .name      = "012v",
1433
        .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
1434
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1435
    },
1436
    {
1437
        .id        = AV_CODEC_ID_AVUI,
1438
        .type      = AVMEDIA_TYPE_VIDEO,
1439
        .name      = "avui",
1440
        .long_name = NULL_IF_CONFIG_SMALL("Avid Meridien Uncompressed"),
1441
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1442
    },
1443
    {
1444
        .id        = AV_CODEC_ID_AYUV,
1445
        .type      = AVMEDIA_TYPE_VIDEO,
1446
        .name      = "ayuv",
1447
        .long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed MS 4:4:4:4"),
1448
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1449
    },
1450
    {
1451
        .id        = AV_CODEC_ID_TARGA_Y216,
1452
        .type      = AVMEDIA_TYPE_VIDEO,
1453
        .name      = "targa_y216",
1454
        .long_name = NULL_IF_CONFIG_SMALL("Pinnacle TARGA CineWave YUV16"),
1455
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1456
    },
1457
    {
1458
        .id        = AV_CODEC_ID_V308,
1459
        .type      = AVMEDIA_TYPE_VIDEO,
1460
        .name      = "v308",
1461
        .long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed 4:4:4"),
1462
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1463
    },
1464
    {
1465
        .id        = AV_CODEC_ID_V408,
1466
        .type      = AVMEDIA_TYPE_VIDEO,
1467
        .name      = "v408",
1468
        .long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed QT 4:4:4:4"),
1469
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1470
    },
1471
    {
1472
        .id        = AV_CODEC_ID_YUV4,
1473
        .type      = AVMEDIA_TYPE_VIDEO,
1474
        .name      = "yuv4",
1475
        .long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed 4:2:0"),
1476
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1477
    },
1478
    {
1479
        .id        = AV_CODEC_ID_AVRN,
1480
        .type      = AVMEDIA_TYPE_VIDEO,
1481
        .name      = "avrn",
1482
        .long_name = NULL_IF_CONFIG_SMALL("Avid AVI Codec"),
1483
    },
1484
    {
1485
        .id        = AV_CODEC_ID_CPIA,
1486
        .type      = AVMEDIA_TYPE_VIDEO,
1487
        .name      = "cpia",
1488
        .long_name = NULL_IF_CONFIG_SMALL("CPiA video format"),
1489
    },
1490
    {
1491
        .id        = AV_CODEC_ID_XFACE,
1492
        .type      = AVMEDIA_TYPE_VIDEO,
1493
        .name      = "xface",
1494
        .long_name = NULL_IF_CONFIG_SMALL("X-face image"),
1495
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1496
    },
1497
    {
1498
        .id        = AV_CODEC_ID_SNOW,
1499
        .type      = AVMEDIA_TYPE_VIDEO,
1500
        .name      = "snow",
1501
        .long_name = NULL_IF_CONFIG_SMALL("Snow"),
1502
        .props     = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS,
1503
    },
1504
    {
1505
        .id        = AV_CODEC_ID_SMVJPEG,
1506
        .type      = AVMEDIA_TYPE_VIDEO,
1507
        .name      = "smvjpeg",
1508
        .long_name = NULL_IF_CONFIG_SMALL("Sigmatel Motion Video"),
1509
    },
1510
    {
1511
        .id        = AV_CODEC_ID_APNG,
1512
        .type      = AVMEDIA_TYPE_VIDEO,
1513
        .name      = "apng",
1514
        .long_name = NULL_IF_CONFIG_SMALL("APNG (Animated Portable Network Graphics) image"),
1515
        .props     = AV_CODEC_PROP_LOSSLESS,
1516
        .mime_types= MT("image/png"),
1517
    },
1518
    {
1519
        .id        = AV_CODEC_ID_DAALA,
1520
        .type      = AVMEDIA_TYPE_VIDEO,
1521
        .name      = "daala",
1522
        .long_name = NULL_IF_CONFIG_SMALL("Daala"),
1523
        .props     = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS,
1524
    },
1525
    {
1526
        .id        = AV_CODEC_ID_CFHD,
1527
        .type      = AVMEDIA_TYPE_VIDEO,
1528
        .name      = "cfhd",
1529
        .long_name = NULL_IF_CONFIG_SMALL("GoPro CineForm HD"),
1530
        .props     = AV_CODEC_PROP_LOSSY,
1531
    },
1532
    {
1533
        .id        = AV_CODEC_ID_TRUEMOTION2RT,
1534
        .type      = AVMEDIA_TYPE_VIDEO,
1535
        .name      = "truemotion2rt",
1536
        .long_name = NULL_IF_CONFIG_SMALL("Duck TrueMotion 2.0 Real Time"),
1537
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1538
    },
1539
    {
1540
        .id        = AV_CODEC_ID_M101,
1541
        .type      = AVMEDIA_TYPE_VIDEO,
1542
        .name      = "m101",
1543
        .long_name = NULL_IF_CONFIG_SMALL("Matrox Uncompressed SD"),
1544
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1545
    },
1546
    {
1547
        .id        = AV_CODEC_ID_MAGICYUV,
1548
        .type      = AVMEDIA_TYPE_VIDEO,
1549
        .name      = "magicyuv",
1550
        .long_name = NULL_IF_CONFIG_SMALL("MagicYUV video"),
1551
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1552
    },
1553
    {
1554
        .id        = AV_CODEC_ID_SHEERVIDEO,
1555
        .type      = AVMEDIA_TYPE_VIDEO,
1556
        .name      = "sheervideo",
1557
        .long_name = NULL_IF_CONFIG_SMALL("BitJazz SheerVideo"),
1558
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1559
    },
1560
    {
1561
        .id        = AV_CODEC_ID_YLC,
1562
        .type      = AVMEDIA_TYPE_VIDEO,
1563
        .name      = "ylc",
1564
        .long_name = NULL_IF_CONFIG_SMALL("YUY2 Lossless Codec"),
1565
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1566
    },
1567
    {
1568
        .id        = AV_CODEC_ID_PSD,
1569
        .type      = AVMEDIA_TYPE_VIDEO,
1570
        .name      = "psd",
1571
        .long_name = NULL_IF_CONFIG_SMALL("Photoshop PSD file"),
1572
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1573
    },
1574
    {
1575
        .id        = AV_CODEC_ID_PIXLET,
1576
        .type      = AVMEDIA_TYPE_VIDEO,
1577
        .name      = "pixlet",
1578
        .long_name = NULL_IF_CONFIG_SMALL("Apple Pixlet"),
1579
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1580
    },
1581
    {
1582
        .id        = AV_CODEC_ID_SPEEDHQ,
1583
        .type      = AVMEDIA_TYPE_VIDEO,
1584
        .name      = "speedhq",
1585
        .long_name = NULL_IF_CONFIG_SMALL("NewTek SpeedHQ"),
1586
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1587
    },
1588
    {
1589
        .id        = AV_CODEC_ID_FMVC,
1590
        .type      = AVMEDIA_TYPE_VIDEO,
1591
        .name      = "fmvc",
1592
        .long_name = NULL_IF_CONFIG_SMALL("FM Screen Capture Codec"),
1593
        .props     = AV_CODEC_PROP_LOSSLESS,
1594
    },
1595
    {
1596
        .id        = AV_CODEC_ID_SCPR,
1597
        .type      = AVMEDIA_TYPE_VIDEO,
1598
        .name      = "scpr",
1599
        .long_name = NULL_IF_CONFIG_SMALL("ScreenPressor"),
1600
        .props     = AV_CODEC_PROP_LOSSLESS | AV_CODEC_PROP_LOSSY,
1601
    },
1602
    {
1603
        .id        = AV_CODEC_ID_CLEARVIDEO,
1604
        .type      = AVMEDIA_TYPE_VIDEO,
1605
        .name      = "clearvideo",
1606
        .long_name = NULL_IF_CONFIG_SMALL("Iterated Systems ClearVideo"),
1607
        .props     = AV_CODEC_PROP_LOSSY,
1608
    },
1609
    {
1610
        .id        = AV_CODEC_ID_XPM,
1611
        .type      = AVMEDIA_TYPE_VIDEO,
1612
        .name      = "xpm",
1613
        .long_name = NULL_IF_CONFIG_SMALL("XPM (X PixMap) image"),
1614
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1615
        .mime_types= MT("image/x-xpixmap"),
1616
    },
1617
    {
1618
        .id        = AV_CODEC_ID_AV1,
1619
        .type      = AVMEDIA_TYPE_VIDEO,
1620
        .name      = "av1",
1621
        .long_name = NULL_IF_CONFIG_SMALL("Alliance for Open Media AV1"),
1622
        .props     = AV_CODEC_PROP_LOSSY,
1623
        .profiles  = NULL_IF_CONFIG_SMALL(ff_av1_profiles),
1624
    },
1625
    {
1626
        .id        = AV_CODEC_ID_BITPACKED,
1627
        .type      = AVMEDIA_TYPE_VIDEO,
1628
        .name      = "bitpacked",
1629
        .long_name = NULL_IF_CONFIG_SMALL("Bitpacked"),
1630
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1631
    },
1632
    {
1633
        .id        = AV_CODEC_ID_MSCC,
1634
        .type      = AVMEDIA_TYPE_VIDEO,
1635
        .name      = "mscc",
1636
        .long_name = NULL_IF_CONFIG_SMALL("Mandsoft Screen Capture Codec"),
1637
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1638
    },
1639
    {
1640
        .id        = AV_CODEC_ID_SRGC,
1641
        .type      = AVMEDIA_TYPE_VIDEO,
1642
        .name      = "srgc",
1643
        .long_name = NULL_IF_CONFIG_SMALL("Screen Recorder Gold Codec"),
1644
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1645
    },
1646
    {
1647
        .id        = AV_CODEC_ID_SVG,
1648
        .type      = AVMEDIA_TYPE_VIDEO,
1649
        .name      = "svg",
1650
        .long_name = NULL_IF_CONFIG_SMALL("Scalable Vector Graphics"),
1651
        .props     = AV_CODEC_PROP_LOSSLESS,
1652
        .mime_types= MT("image/svg+xml"),
1653
    },
1654
    {
1655
        .id        = AV_CODEC_ID_GDV,
1656
        .type      = AVMEDIA_TYPE_VIDEO,
1657
        .name      = "gdv",
1658
        .long_name = NULL_IF_CONFIG_SMALL("Gremlin Digital Video"),
1659
        .props     = AV_CODEC_PROP_LOSSY,
1660
    },
1661
    {
1662
        .id        = AV_CODEC_ID_FITS,
1663
        .type      = AVMEDIA_TYPE_VIDEO,
1664
        .name      = "fits",
1665
        .long_name = NULL_IF_CONFIG_SMALL("FITS (Flexible Image Transport System)"),
1666
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1667
    },
1668
    {
1669
        .id        = AV_CODEC_ID_IMM4,
1670
        .type      = AVMEDIA_TYPE_VIDEO,
1671
        .name      = "imm4",
1672
        .long_name = NULL_IF_CONFIG_SMALL("Infinity IMM4"),
1673
        .props     = AV_CODEC_PROP_LOSSY,
1674
    },
1675
    {
1676
        .id        = AV_CODEC_ID_PROSUMER,
1677
        .type      = AVMEDIA_TYPE_VIDEO,
1678
        .name      = "prosumer",
1679
        .long_name = NULL_IF_CONFIG_SMALL("Brooktree ProSumer Video"),
1680
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1681
    },
1682
    {
1683
        .id        = AV_CODEC_ID_MWSC,
1684
        .type      = AVMEDIA_TYPE_VIDEO,
1685
        .name      = "mwsc",
1686
        .long_name = NULL_IF_CONFIG_SMALL("MatchWare Screen Capture Codec"),
1687
        .props     = AV_CODEC_PROP_LOSSLESS,
1688
    },
1689
    {
1690
        .id        = AV_CODEC_ID_WCMV,
1691
        .type      = AVMEDIA_TYPE_VIDEO,
1692
        .name      = "wcmv",
1693
        .long_name = NULL_IF_CONFIG_SMALL("WinCAM Motion Video"),
1694
        .props     = AV_CODEC_PROP_LOSSLESS,
1695
    },
1696
    {
1697
        .id        = AV_CODEC_ID_RASC,
1698
        .type      = AVMEDIA_TYPE_VIDEO,
1699
        .name      = "rasc",
1700
        .long_name = NULL_IF_CONFIG_SMALL("RemotelyAnywhere Screen Capture"),
1701
        .props     = AV_CODEC_PROP_LOSSY,
1702
    },
1703
    {
1704
        .id        = AV_CODEC_ID_HYMT,
1705
        .type      = AVMEDIA_TYPE_VIDEO,
1706
        .name      = "hymt",
1707
        .long_name = NULL_IF_CONFIG_SMALL("HuffYUV MT"),
1708
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1709
    },
1710
    {
1711
        .id        = AV_CODEC_ID_ARBC,
1712
        .type      = AVMEDIA_TYPE_VIDEO,
1713
        .name      = "arbc",
1714
        .long_name = NULL_IF_CONFIG_SMALL("Gryphon's Anim Compressor"),
1715
        .props     = AV_CODEC_PROP_LOSSY,
1716
    },
1717
    {
1718
        .id        = AV_CODEC_ID_AGM,
1719
        .type      = AVMEDIA_TYPE_VIDEO,
1720
        .name      = "agm",
1721
        .long_name = NULL_IF_CONFIG_SMALL("Amuse Graphics Movie"),
1722
        .props     = AV_CODEC_PROP_LOSSY,
1723
    },
1724
    {
1725
        .id        = AV_CODEC_ID_LSCR,
1726
        .type      = AVMEDIA_TYPE_VIDEO,
1727
        .name      = "lscr",
1728
        .long_name = NULL_IF_CONFIG_SMALL("LEAD Screen Capture"),
1729
        .props     = AV_CODEC_PROP_LOSSY,
1730
    },
1731
    {
1732
        .id        = AV_CODEC_ID_VP4,
1733
        .type      = AVMEDIA_TYPE_VIDEO,
1734
        .name      = "vp4",
1735
        .long_name = NULL_IF_CONFIG_SMALL("On2 VP4"),
1736
        .props     = AV_CODEC_PROP_LOSSY,
1737
    },
1738
    {
1739
        .id        = AV_CODEC_ID_IMM5,
1740
        .type      = AVMEDIA_TYPE_VIDEO,
1741
        .name      = "imm5",
1742
        .long_name = NULL_IF_CONFIG_SMALL("Infinity IMM5"),
1743
        .props     = AV_CODEC_PROP_LOSSY,
1744
    },
1745
    {
1746
        .id        = AV_CODEC_ID_MVDV,
1747
        .type      = AVMEDIA_TYPE_VIDEO,
1748
        .name      = "mvdv",
1749
        .long_name = NULL_IF_CONFIG_SMALL("MidiVid VQ"),
1750
        .props     = AV_CODEC_PROP_LOSSY,
1751
    },
1752
    {
1753
        .id        = AV_CODEC_ID_MVHA,
1754
        .type      = AVMEDIA_TYPE_VIDEO,
1755
        .name      = "mvha",
1756
        .long_name = NULL_IF_CONFIG_SMALL("MidiVid Archive Codec"),
1757
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1758
    },
1759
    {
1760
        .id        = AV_CODEC_ID_CDTOONS,
1761
        .type      = AVMEDIA_TYPE_VIDEO,
1762
        .name      = "cdtoons",
1763
        .long_name = NULL_IF_CONFIG_SMALL("CDToons video"),
1764
        .props     = AV_CODEC_PROP_LOSSLESS,
1765
    },
1766
    {
1767
        .id        = AV_CODEC_ID_MV30,
1768
        .type      = AVMEDIA_TYPE_VIDEO,
1769
        .name      = "mv30",
1770
        .long_name = NULL_IF_CONFIG_SMALL("MidiVid 3.0"),
1771
        .props     = AV_CODEC_PROP_LOSSY,
1772
    },
1773
    {
1774
        .id        = AV_CODEC_ID_NOTCHLC,
1775
        .type      = AVMEDIA_TYPE_VIDEO,
1776
        .name      = "notchlc",
1777
        .long_name = NULL_IF_CONFIG_SMALL("NotchLC"),
1778
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1779
    },
1780
    {
1781
        .id        = AV_CODEC_ID_PFM,
1782
        .type      = AVMEDIA_TYPE_VIDEO,
1783
        .name      = "pfm",
1784
        .long_name = NULL_IF_CONFIG_SMALL("PFM (Portable FloatMap) image"),
1785
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1786
    },
1787
    {
1788
        .id        = AV_CODEC_ID_MOBICLIP,
1789
        .type      = AVMEDIA_TYPE_VIDEO,
1790
        .name      = "mobiclip",
1791
        .long_name = NULL_IF_CONFIG_SMALL("MobiClip Video"),
1792
        .props     = AV_CODEC_PROP_LOSSY,
1793
    },
1794
    {
1795
        .id        = AV_CODEC_ID_PHOTOCD,
1796
        .type      = AVMEDIA_TYPE_VIDEO,
1797
        .name      = "photocd",
1798
        .long_name = NULL_IF_CONFIG_SMALL("Kodak Photo CD"),
1799
        .props     = AV_CODEC_PROP_LOSSY,
1800
    },
1801
    {
1802
        .id        = AV_CODEC_ID_IPU,
1803
        .type      = AVMEDIA_TYPE_VIDEO,
1804
        .name      = "ipu",
1805
        .long_name = NULL_IF_CONFIG_SMALL("IPU Video"),
1806
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1807
    },
1808
1809
    /* various PCM "codecs" */
1810
    {
1811
        .id        = AV_CODEC_ID_PCM_S16LE,
1812
        .type      = AVMEDIA_TYPE_AUDIO,
1813
        .name      = "pcm_s16le",
1814
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 16-bit little-endian"),
1815
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1816
    },
1817
    {
1818
        .id        = AV_CODEC_ID_PCM_S16BE,
1819
        .type      = AVMEDIA_TYPE_AUDIO,
1820
        .name      = "pcm_s16be",
1821
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 16-bit big-endian"),
1822
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1823
    },
1824
    {
1825
        .id        = AV_CODEC_ID_PCM_U16LE,
1826
        .type      = AVMEDIA_TYPE_AUDIO,
1827
        .name      = "pcm_u16le",
1828
        .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 16-bit little-endian"),
1829
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1830
    },
1831
    {
1832
        .id        = AV_CODEC_ID_PCM_U16BE,
1833
        .type      = AVMEDIA_TYPE_AUDIO,
1834
        .name      = "pcm_u16be",
1835
        .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 16-bit big-endian"),
1836
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1837
    },
1838
    {
1839
        .id        = AV_CODEC_ID_PCM_S8,
1840
        .type      = AVMEDIA_TYPE_AUDIO,
1841
        .name      = "pcm_s8",
1842
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 8-bit"),
1843
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1844
    },
1845
    {
1846
        .id        = AV_CODEC_ID_PCM_U8,
1847
        .type      = AVMEDIA_TYPE_AUDIO,
1848
        .name      = "pcm_u8",
1849
        .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 8-bit"),
1850
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1851
    },
1852
    {
1853
        .id        = AV_CODEC_ID_PCM_MULAW,
1854
        .type      = AVMEDIA_TYPE_AUDIO,
1855
        .name      = "pcm_mulaw",
1856
        .long_name = NULL_IF_CONFIG_SMALL("PCM mu-law / G.711 mu-law"),
1857
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1858
    },
1859
    {
1860
        .id        = AV_CODEC_ID_PCM_ALAW,
1861
        .type      = AVMEDIA_TYPE_AUDIO,
1862
        .name      = "pcm_alaw",
1863
        .long_name = NULL_IF_CONFIG_SMALL("PCM A-law / G.711 A-law"),
1864
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
1865
    },
1866
    {
1867
        .id        = AV_CODEC_ID_PCM_S32LE,
1868
        .type      = AVMEDIA_TYPE_AUDIO,
1869
        .name      = "pcm_s32le",
1870
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 32-bit little-endian"),
1871
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1872
    },
1873
    {
1874
        .id        = AV_CODEC_ID_PCM_S32BE,
1875
        .type      = AVMEDIA_TYPE_AUDIO,
1876
        .name      = "pcm_s32be",
1877
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 32-bit big-endian"),
1878
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1879
    },
1880
    {
1881
        .id        = AV_CODEC_ID_PCM_U32LE,
1882
        .type      = AVMEDIA_TYPE_AUDIO,
1883
        .name      = "pcm_u32le",
1884
        .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 32-bit little-endian"),
1885
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1886
    },
1887
    {
1888
        .id        = AV_CODEC_ID_PCM_U32BE,
1889
        .type      = AVMEDIA_TYPE_AUDIO,
1890
        .name      = "pcm_u32be",
1891
        .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 32-bit big-endian"),
1892
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1893
    },
1894
    {
1895
        .id        = AV_CODEC_ID_PCM_S24LE,
1896
        .type      = AVMEDIA_TYPE_AUDIO,
1897
        .name      = "pcm_s24le",
1898
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 24-bit little-endian"),
1899
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1900
    },
1901
    {
1902
        .id        = AV_CODEC_ID_PCM_S24BE,
1903
        .type      = AVMEDIA_TYPE_AUDIO,
1904
        .name      = "pcm_s24be",
1905
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 24-bit big-endian"),
1906
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1907
    },
1908
    {
1909
        .id        = AV_CODEC_ID_PCM_U24LE,
1910
        .type      = AVMEDIA_TYPE_AUDIO,
1911
        .name      = "pcm_u24le",
1912
        .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 24-bit little-endian"),
1913
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1914
    },
1915
    {
1916
        .id        = AV_CODEC_ID_PCM_U24BE,
1917
        .type      = AVMEDIA_TYPE_AUDIO,
1918
        .name      = "pcm_u24be",
1919
        .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 24-bit big-endian"),
1920
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1921
    },
1922
    {
1923
        .id        = AV_CODEC_ID_PCM_S24DAUD,
1924
        .type      = AVMEDIA_TYPE_AUDIO,
1925
        .name      = "pcm_s24daud",
1926
        .long_name = NULL_IF_CONFIG_SMALL("PCM D-Cinema audio signed 24-bit"),
1927
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1928
    },
1929
    {
1930
        .id        = AV_CODEC_ID_PCM_S16LE_PLANAR,
1931
        .type      = AVMEDIA_TYPE_AUDIO,
1932
        .name      = "pcm_s16le_planar",
1933
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 16-bit little-endian planar"),
1934
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1935
    },
1936
    {
1937
        .id        = AV_CODEC_ID_PCM_DVD,
1938
        .type      = AVMEDIA_TYPE_AUDIO,
1939
        .name      = "pcm_dvd",
1940
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 20|24-bit big-endian"),
1941
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1942
    },
1943
    {
1944
        .id        = AV_CODEC_ID_PCM_F32BE,
1945
        .type      = AVMEDIA_TYPE_AUDIO,
1946
        .name      = "pcm_f32be",
1947
        .long_name = NULL_IF_CONFIG_SMALL("PCM 32-bit floating point big-endian"),
1948
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1949
    },
1950
    {
1951
        .id        = AV_CODEC_ID_PCM_F32LE,
1952
        .type      = AVMEDIA_TYPE_AUDIO,
1953
        .name      = "pcm_f32le",
1954
        .long_name = NULL_IF_CONFIG_SMALL("PCM 32-bit floating point little-endian"),
1955
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1956
    },
1957
    {
1958
        .id        = AV_CODEC_ID_PCM_F64BE,
1959
        .type      = AVMEDIA_TYPE_AUDIO,
1960
        .name      = "pcm_f64be",
1961
        .long_name = NULL_IF_CONFIG_SMALL("PCM 64-bit floating point big-endian"),
1962
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1963
    },
1964
    {
1965
        .id        = AV_CODEC_ID_PCM_F64LE,
1966
        .type      = AVMEDIA_TYPE_AUDIO,
1967
        .name      = "pcm_f64le",
1968
        .long_name = NULL_IF_CONFIG_SMALL("PCM 64-bit floating point little-endian"),
1969
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1970
    },
1971
    {
1972
        .id        = AV_CODEC_ID_PCM_BLURAY,
1973
        .type      = AVMEDIA_TYPE_AUDIO,
1974
        .name      = "pcm_bluray",
1975
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 16|20|24-bit big-endian for Blu-ray media"),
1976
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1977
    },
1978
    {
1979
        .id        = AV_CODEC_ID_PCM_LXF,
1980
        .type      = AVMEDIA_TYPE_AUDIO,
1981
        .name      = "pcm_lxf",
1982
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 20-bit little-endian planar"),
1983
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1984
    },
1985
    {
1986
        .id        = AV_CODEC_ID_S302M,
1987
        .type      = AVMEDIA_TYPE_AUDIO,
1988
        .name      = "s302m",
1989
        .long_name = NULL_IF_CONFIG_SMALL("SMPTE 302M"),
1990
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1991
    },
1992
    {
1993
        .id        = AV_CODEC_ID_PCM_S8_PLANAR,
1994
        .type      = AVMEDIA_TYPE_AUDIO,
1995
        .name      = "pcm_s8_planar",
1996
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 8-bit planar"),
1997
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
1998
    },
1999
    {
2000
        .id        = AV_CODEC_ID_PCM_S24LE_PLANAR,
2001
        .type      = AVMEDIA_TYPE_AUDIO,
2002
        .name      = "pcm_s24le_planar",
2003
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 24-bit little-endian planar"),
2004
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
2005
    },
2006
    {
2007
        .id        = AV_CODEC_ID_PCM_S32LE_PLANAR,
2008
        .type      = AVMEDIA_TYPE_AUDIO,
2009
        .name      = "pcm_s32le_planar",
2010
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 32-bit little-endian planar"),
2011
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
2012
    },
2013
    {
2014
        .id        = AV_CODEC_ID_PCM_S16BE_PLANAR,
2015
        .type      = AVMEDIA_TYPE_AUDIO,
2016
        .name      = "pcm_s16be_planar",
2017
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 16-bit big-endian planar"),
2018
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
2019
    },
2020
    {
2021
        .id        = AV_CODEC_ID_PCM_S64LE,
2022
        .type      = AVMEDIA_TYPE_AUDIO,
2023
        .name      = "pcm_s64le",
2024
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 64-bit little-endian"),
2025
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
2026
    },
2027
    {
2028
        .id        = AV_CODEC_ID_PCM_S64BE,
2029
        .type      = AVMEDIA_TYPE_AUDIO,
2030
        .name      = "pcm_s64be",
2031
        .long_name = NULL_IF_CONFIG_SMALL("PCM signed 64-bit big-endian"),
2032
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
2033
    },
2034
    {
2035
        .id        = AV_CODEC_ID_PCM_F16LE,
2036
        .type      = AVMEDIA_TYPE_AUDIO,
2037
        .name      = "pcm_f16le",
2038
        .long_name = NULL_IF_CONFIG_SMALL("PCM 16.8 floating point little-endian"),
2039
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
2040
    },
2041
    {
2042
        .id        = AV_CODEC_ID_PCM_F24LE,
2043
        .type      = AVMEDIA_TYPE_AUDIO,
2044
        .name      = "pcm_f24le",
2045
        .long_name = NULL_IF_CONFIG_SMALL("PCM 24.0 floating point little-endian"),
2046
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
2047
    },
2048
    {
2049
        .id        = AV_CODEC_ID_PCM_VIDC,
2050
        .type      = AVMEDIA_TYPE_AUDIO,
2051
        .name      = "pcm_vidc",
2052
        .long_name = NULL_IF_CONFIG_SMALL("PCM Archimedes VIDC"),
2053
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2054
    },
2055
2056
    /* various ADPCM codecs */
2057
    {
2058
        .id        = AV_CODEC_ID_ADPCM_IMA_QT,
2059
        .type      = AVMEDIA_TYPE_AUDIO,
2060
        .name      = "adpcm_ima_qt",
2061
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA QuickTime"),
2062
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2063
    },
2064
    {
2065
        .id        = AV_CODEC_ID_ADPCM_IMA_WAV,
2066
        .type      = AVMEDIA_TYPE_AUDIO,
2067
        .name      = "adpcm_ima_wav",
2068
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA WAV"),
2069
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2070
    },
2071
    {
2072
        .id        = AV_CODEC_ID_ADPCM_IMA_DK3,
2073
        .type      = AVMEDIA_TYPE_AUDIO,
2074
        .name      = "adpcm_ima_dk3",
2075
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Duck DK3"),
2076
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2077
    },
2078
    {
2079
        .id        = AV_CODEC_ID_ADPCM_IMA_DK4,
2080
        .type      = AVMEDIA_TYPE_AUDIO,
2081
        .name      = "adpcm_ima_dk4",
2082
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Duck DK4"),
2083
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2084
    },
2085
    {
2086
        .id        = AV_CODEC_ID_ADPCM_IMA_WS,
2087
        .type      = AVMEDIA_TYPE_AUDIO,
2088
        .name      = "adpcm_ima_ws",
2089
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Westwood"),
2090
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2091
    },
2092
    {
2093
        .id        = AV_CODEC_ID_ADPCM_IMA_SMJPEG,
2094
        .type      = AVMEDIA_TYPE_AUDIO,
2095
        .name      = "adpcm_ima_smjpeg",
2096
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Loki SDL MJPEG"),
2097
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2098
    },
2099
    {
2100
        .id        = AV_CODEC_ID_ADPCM_MS,
2101
        .type      = AVMEDIA_TYPE_AUDIO,
2102
        .name      = "adpcm_ms",
2103
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Microsoft"),
2104
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2105
    },
2106
    {
2107
        .id        = AV_CODEC_ID_ADPCM_4XM,
2108
        .type      = AVMEDIA_TYPE_AUDIO,
2109
        .name      = "adpcm_4xm",
2110
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM 4X Movie"),
2111
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2112
    },
2113
    {
2114
        .id        = AV_CODEC_ID_ADPCM_XA,
2115
        .type      = AVMEDIA_TYPE_AUDIO,
2116
        .name      = "adpcm_xa",
2117
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM CDROM XA"),
2118
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2119
    },
2120
    {
2121
        .id        = AV_CODEC_ID_ADPCM_ADX,
2122
        .type      = AVMEDIA_TYPE_AUDIO,
2123
        .name      = "adpcm_adx",
2124
        .long_name = NULL_IF_CONFIG_SMALL("SEGA CRI ADX ADPCM"),
2125
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2126
    },
2127
    {
2128
        .id        = AV_CODEC_ID_ADPCM_EA,
2129
        .type      = AVMEDIA_TYPE_AUDIO,
2130
        .name      = "adpcm_ea",
2131
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Electronic Arts"),
2132
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2133
    },
2134
    {
2135
        .id        = AV_CODEC_ID_ADPCM_G726,
2136
        .type      = AVMEDIA_TYPE_AUDIO,
2137
        .name      = "adpcm_g726",
2138
        .long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM"),
2139
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2140
    },
2141
    {
2142
        .id        = AV_CODEC_ID_ADPCM_CT,
2143
        .type      = AVMEDIA_TYPE_AUDIO,
2144
        .name      = "adpcm_ct",
2145
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Creative Technology"),
2146
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2147
    },
2148
    {
2149
        .id        = AV_CODEC_ID_ADPCM_SWF,
2150
        .type      = AVMEDIA_TYPE_AUDIO,
2151
        .name      = "adpcm_swf",
2152
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Shockwave Flash"),
2153
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2154
    },
2155
    {
2156
        .id        = AV_CODEC_ID_ADPCM_YAMAHA,
2157
        .type      = AVMEDIA_TYPE_AUDIO,
2158
        .name      = "adpcm_yamaha",
2159
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Yamaha"),
2160
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2161
    },
2162
    {
2163
        .id        = AV_CODEC_ID_ADPCM_SBPRO_4,
2164
        .type      = AVMEDIA_TYPE_AUDIO,
2165
        .name      = "adpcm_sbpro_4",
2166
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Sound Blaster Pro 4-bit"),
2167
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2168
    },
2169
    {
2170
        .id        = AV_CODEC_ID_ADPCM_SBPRO_3,
2171
        .type      = AVMEDIA_TYPE_AUDIO,
2172
        .name      = "adpcm_sbpro_3",
2173
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Sound Blaster Pro 2.6-bit"),
2174
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2175
    },
2176
    {
2177
        .id        = AV_CODEC_ID_ADPCM_SBPRO_2,
2178
        .type      = AVMEDIA_TYPE_AUDIO,
2179
        .name      = "adpcm_sbpro_2",
2180
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Sound Blaster Pro 2-bit"),
2181
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2182
    },
2183
    {
2184
        .id        = AV_CODEC_ID_ADPCM_THP,
2185
        .type      = AVMEDIA_TYPE_AUDIO,
2186
        .name      = "adpcm_thp",
2187
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Nintendo THP"),
2188
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2189
    },
2190
    {
2191
        .id        = AV_CODEC_ID_ADPCM_IMA_AMV,
2192
        .type      = AVMEDIA_TYPE_AUDIO,
2193
        .name      = "adpcm_ima_amv",
2194
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA AMV"),
2195
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2196
    },
2197
    {
2198
        .id        = AV_CODEC_ID_ADPCM_EA_R1,
2199
        .type      = AVMEDIA_TYPE_AUDIO,
2200
        .name      = "adpcm_ea_r1",
2201
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Electronic Arts R1"),
2202
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2203
    },
2204
    {
2205
        .id        = AV_CODEC_ID_ADPCM_EA_R3,
2206
        .type      = AVMEDIA_TYPE_AUDIO,
2207
        .name      = "adpcm_ea_r3",
2208
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Electronic Arts R3"),
2209
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2210
    },
2211
    {
2212
        .id        = AV_CODEC_ID_ADPCM_EA_R2,
2213
        .type      = AVMEDIA_TYPE_AUDIO,
2214
        .name      = "adpcm_ea_r2",
2215
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Electronic Arts R2"),
2216
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2217
    },
2218
    {
2219
        .id        = AV_CODEC_ID_ADPCM_IMA_EA_SEAD,
2220
        .type      = AVMEDIA_TYPE_AUDIO,
2221
        .name      = "adpcm_ima_ea_sead",
2222
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Electronic Arts SEAD"),
2223
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2224
    },
2225
    {
2226
        .id        = AV_CODEC_ID_ADPCM_IMA_EA_EACS,
2227
        .type      = AVMEDIA_TYPE_AUDIO,
2228
        .name      = "adpcm_ima_ea_eacs",
2229
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Electronic Arts EACS"),
2230
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2231
    },
2232
    {
2233
        .id        = AV_CODEC_ID_ADPCM_EA_XAS,
2234
        .type      = AVMEDIA_TYPE_AUDIO,
2235
        .name      = "adpcm_ea_xas",
2236
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Electronic Arts XAS"),
2237
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2238
    },
2239
    {
2240
        .id        = AV_CODEC_ID_ADPCM_EA_MAXIS_XA,
2241
        .type      = AVMEDIA_TYPE_AUDIO,
2242
        .name      = "adpcm_ea_maxis_xa",
2243
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Electronic Arts Maxis CDROM XA"),
2244
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2245
    },
2246
    {
2247
        .id        = AV_CODEC_ID_ADPCM_IMA_ISS,
2248
        .type      = AVMEDIA_TYPE_AUDIO,
2249
        .name      = "adpcm_ima_iss",
2250
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Funcom ISS"),
2251
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2252
    },
2253
    {
2254
        .id        = AV_CODEC_ID_ADPCM_G722,
2255
        .type      = AVMEDIA_TYPE_AUDIO,
2256
        .name      = "adpcm_g722",
2257
        .long_name = NULL_IF_CONFIG_SMALL("G.722 ADPCM"),
2258
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2259
    },
2260
    {
2261
        .id        = AV_CODEC_ID_ADPCM_IMA_APC,
2262
        .type      = AVMEDIA_TYPE_AUDIO,
2263
        .name      = "adpcm_ima_apc",
2264
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA CRYO APC"),
2265
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2266
    },
2267
    {
2268
        .id        = AV_CODEC_ID_ADPCM_VIMA,
2269
        .type      = AVMEDIA_TYPE_AUDIO,
2270
        .name      = "adpcm_vima",
2271
        .long_name = NULL_IF_CONFIG_SMALL("LucasArts VIMA audio"),
2272
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2273
    },
2274
    {
2275
        .id        = AV_CODEC_ID_ADPCM_AFC,
2276
        .type      = AVMEDIA_TYPE_AUDIO,
2277
        .name      = "adpcm_afc",
2278
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Nintendo Gamecube AFC"),
2279
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2280
    },
2281
    {
2282
        .id        = AV_CODEC_ID_ADPCM_IMA_OKI,
2283
        .type      = AVMEDIA_TYPE_AUDIO,
2284
        .name      = "adpcm_ima_oki",
2285
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Dialogic OKI"),
2286
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2287
    },
2288
    {
2289
        .id        = AV_CODEC_ID_ADPCM_DTK,
2290
        .type      = AVMEDIA_TYPE_AUDIO,
2291
        .name      = "adpcm_dtk",
2292
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Nintendo Gamecube DTK"),
2293
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2294
    },
2295
    {
2296
        .id        = AV_CODEC_ID_ADPCM_IMA_RAD,
2297
        .type      = AVMEDIA_TYPE_AUDIO,
2298
        .name      = "adpcm_ima_rad",
2299
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Radical"),
2300
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2301
    },
2302
    {
2303
        .id        = AV_CODEC_ID_ADPCM_G726LE,
2304
        .type      = AVMEDIA_TYPE_AUDIO,
2305
        .name      = "adpcm_g726le",
2306
        .long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM little-endian"),
2307
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2308
    },
2309
    {
2310
        .id        = AV_CODEC_ID_ADPCM_THP_LE,
2311
        .type      = AVMEDIA_TYPE_AUDIO,
2312
        .name      = "adpcm_thp_le",
2313
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Nintendo THP (Little-Endian)"),
2314
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2315
    },
2316
    {
2317
        .id        = AV_CODEC_ID_ADPCM_PSX,
2318
        .type      = AVMEDIA_TYPE_AUDIO,
2319
        .name      = "adpcm_psx",
2320
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Playstation"),
2321
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2322
    },
2323
    {
2324
        .id        = AV_CODEC_ID_ADPCM_AICA,
2325
        .type      = AVMEDIA_TYPE_AUDIO,
2326
        .name      = "adpcm_aica",
2327
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Yamaha AICA"),
2328
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2329
    },
2330
    {
2331
        .id        = AV_CODEC_ID_ADPCM_IMA_DAT4,
2332
        .type      = AVMEDIA_TYPE_AUDIO,
2333
        .name      = "adpcm_ima_dat4",
2334
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Eurocom DAT4"),
2335
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2336
    },
2337
    {
2338
        .id        = AV_CODEC_ID_ADPCM_MTAF,
2339
        .type      = AVMEDIA_TYPE_AUDIO,
2340
        .name      = "adpcm_mtaf",
2341
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM MTAF"),
2342
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2343
    },
2344
    {
2345
        .id        = AV_CODEC_ID_ADPCM_AGM,
2346
        .type      = AVMEDIA_TYPE_AUDIO,
2347
        .name      = "adpcm_agm",
2348
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM AmuseGraphics Movie AGM"),
2349
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2350
    },
2351
    {
2352
        .id        = AV_CODEC_ID_ADPCM_ARGO,
2353
        .type      = AVMEDIA_TYPE_AUDIO,
2354
        .name      = "adpcm_argo",
2355
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Argonaut Games"),
2356
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2357
    },
2358
    {
2359
        .id        = AV_CODEC_ID_ADPCM_IMA_SSI,
2360
        .type      = AVMEDIA_TYPE_AUDIO,
2361
        .name      = "adpcm_ima_ssi",
2362
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Simon & Schuster Interactive"),
2363
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2364
    },
2365
    {
2366
        .id        = AV_CODEC_ID_ADPCM_ZORK,
2367
        .type      = AVMEDIA_TYPE_AUDIO,
2368
        .name      = "adpcm_zork",
2369
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM Zork"),
2370
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2371
    },
2372
    {
2373
        .id        = AV_CODEC_ID_ADPCM_IMA_APM,
2374
        .type      = AVMEDIA_TYPE_AUDIO,
2375
        .name      = "adpcm_ima_apm",
2376
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Ubisoft APM"),
2377
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2378
    },
2379
    {
2380
        .id        = AV_CODEC_ID_ADPCM_IMA_ALP,
2381
        .type      = AVMEDIA_TYPE_AUDIO,
2382
        .name      = "adpcm_ima_alp",
2383
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA High Voltage Software ALP"),
2384
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2385
    },
2386
    {
2387
        .id        = AV_CODEC_ID_ADPCM_IMA_MTF,
2388
        .type      = AVMEDIA_TYPE_AUDIO,
2389
        .name      = "adpcm_ima_mtf",
2390
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Capcom's MT Framework"),
2391
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2392
    },
2393
    {
2394
        .id        = AV_CODEC_ID_ADPCM_IMA_CUNNING,
2395
        .type      = AVMEDIA_TYPE_AUDIO,
2396
        .name      = "adpcm_ima_cunning",
2397
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Cunning Developments"),
2398
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2399
    },
2400
    {
2401
        .id        = AV_CODEC_ID_ADPCM_IMA_MOFLEX,
2402
        .type      = AVMEDIA_TYPE_AUDIO,
2403
        .name      = "adpcm_ima_moflex",
2404
        .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA MobiClip MOFLEX"),
2405
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2406
    },
2407
2408
    /* AMR */
2409
    {
2410
        .id        = AV_CODEC_ID_AMR_NB,
2411
        .type      = AVMEDIA_TYPE_AUDIO,
2412
        .name      = "amr_nb",
2413
        .long_name = NULL_IF_CONFIG_SMALL("AMR-NB (Adaptive Multi-Rate NarrowBand)"),
2414
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2415
    },
2416
    {
2417
        .id        = AV_CODEC_ID_AMR_WB,
2418
        .type      = AVMEDIA_TYPE_AUDIO,
2419
        .name      = "amr_wb",
2420
        .long_name = NULL_IF_CONFIG_SMALL("AMR-WB (Adaptive Multi-Rate WideBand)"),
2421
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2422
    },
2423
2424
    /* RealAudio codecs*/
2425
    {
2426
        .id        = AV_CODEC_ID_RA_144,
2427
        .type      = AVMEDIA_TYPE_AUDIO,
2428
        .name      = "ra_144",
2429
        .long_name = NULL_IF_CONFIG_SMALL("RealAudio 1.0 (14.4K)"),
2430
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2431
    },
2432
    {
2433
        .id        = AV_CODEC_ID_RA_288,
2434
        .type      = AVMEDIA_TYPE_AUDIO,
2435
        .name      = "ra_288",
2436
        .long_name = NULL_IF_CONFIG_SMALL("RealAudio 2.0 (28.8K)"),
2437
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2438
    },
2439
2440
    /* various DPCM codecs */
2441
    {
2442
        .id        = AV_CODEC_ID_ROQ_DPCM,
2443
        .type      = AVMEDIA_TYPE_AUDIO,
2444
        .name      = "roq_dpcm",
2445
        .long_name = NULL_IF_CONFIG_SMALL("DPCM id RoQ"),
2446
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2447
    },
2448
    {
2449
        .id        = AV_CODEC_ID_INTERPLAY_DPCM,
2450
        .type      = AVMEDIA_TYPE_AUDIO,
2451
        .name      = "interplay_dpcm",
2452
        .long_name = NULL_IF_CONFIG_SMALL("DPCM Interplay"),
2453
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2454
    },
2455
    {
2456
        .id        = AV_CODEC_ID_XAN_DPCM,
2457
        .type      = AVMEDIA_TYPE_AUDIO,
2458
        .name      = "xan_dpcm",
2459
        .long_name = NULL_IF_CONFIG_SMALL("DPCM Xan"),
2460
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2461
    },
2462
    {
2463
        .id        = AV_CODEC_ID_SOL_DPCM,
2464
        .type      = AVMEDIA_TYPE_AUDIO,
2465
        .name      = "sol_dpcm",
2466
        .long_name = NULL_IF_CONFIG_SMALL("DPCM Sol"),
2467
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2468
    },
2469
    {
2470
        .id        = AV_CODEC_ID_SDX2_DPCM,
2471
        .type      = AVMEDIA_TYPE_AUDIO,
2472
        .name      = "sdx2_dpcm",
2473
        .long_name = NULL_IF_CONFIG_SMALL("DPCM Squareroot-Delta-Exact"),
2474
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2475
    },
2476
    {
2477
        .id        = AV_CODEC_ID_GREMLIN_DPCM,
2478
        .type      = AVMEDIA_TYPE_AUDIO,
2479
        .name      = "gremlin_dpcm",
2480
        .long_name = NULL_IF_CONFIG_SMALL("DPCM Gremlin"),
2481
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2482
    },
2483
    {
2484
        .id        = AV_CODEC_ID_DERF_DPCM,
2485
        .type      = AVMEDIA_TYPE_AUDIO,
2486
        .name      = "derf_dpcm",
2487
        .long_name = NULL_IF_CONFIG_SMALL("DPCM Xilam DERF"),
2488
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2489
    },
2490
2491
    /* audio codecs */
2492
    {
2493
        .id        = AV_CODEC_ID_MP2,
2494
        .type      = AVMEDIA_TYPE_AUDIO,
2495
        .name      = "mp2",
2496
        .long_name = NULL_IF_CONFIG_SMALL("MP2 (MPEG audio layer 2)"),
2497
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2498
    },
2499
    {
2500
        .id        = AV_CODEC_ID_MP3,
2501
        .type      = AVMEDIA_TYPE_AUDIO,
2502
        .name      = "mp3",
2503
        .long_name = NULL_IF_CONFIG_SMALL("MP3 (MPEG audio layer 3)"),
2504
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2505
    },
2506
    {
2507
        .id        = AV_CODEC_ID_AAC,
2508
        .type      = AVMEDIA_TYPE_AUDIO,
2509
        .name      = "aac",
2510
        .long_name = NULL_IF_CONFIG_SMALL("AAC (Advanced Audio Coding)"),
2511
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2512
        .profiles  = NULL_IF_CONFIG_SMALL(ff_aac_profiles),
2513
    },
2514
    {
2515
        .id        = AV_CODEC_ID_AC3,
2516
        .type      = AVMEDIA_TYPE_AUDIO,
2517
        .name      = "ac3",
2518
        .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"),
2519
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2520
    },
2521
    {
2522
        .id        = AV_CODEC_ID_DTS,
2523
        .type      = AVMEDIA_TYPE_AUDIO,
2524
        .name      = "dts",
2525
        .long_name = NULL_IF_CONFIG_SMALL("DCA (DTS Coherent Acoustics)"),
2526
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS,
2527
        .profiles  = NULL_IF_CONFIG_SMALL(ff_dca_profiles),
2528
    },
2529
    {
2530
        .id        = AV_CODEC_ID_VORBIS,
2531
        .type      = AVMEDIA_TYPE_AUDIO,
2532
        .name      = "vorbis",
2533
        .long_name = NULL_IF_CONFIG_SMALL("Vorbis"),
2534
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2535
    },
2536
    {
2537
        .id        = AV_CODEC_ID_DVAUDIO,
2538
        .type      = AVMEDIA_TYPE_AUDIO,
2539
        .name      = "dvaudio",
2540
        .long_name = NULL_IF_CONFIG_SMALL("DV audio"),
2541
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2542
    },
2543
    {
2544
        .id        = AV_CODEC_ID_WMAV1,
2545
        .type      = AVMEDIA_TYPE_AUDIO,
2546
        .name      = "wmav1",
2547
        .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 1"),
2548
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2549
    },
2550
    {
2551
        .id        = AV_CODEC_ID_WMAV2,
2552
        .type      = AVMEDIA_TYPE_AUDIO,
2553
        .name      = "wmav2",
2554
        .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 2"),
2555
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2556
    },
2557
    {
2558
        .id        = AV_CODEC_ID_MACE3,
2559
        .type      = AVMEDIA_TYPE_AUDIO,
2560
        .name      = "mace3",
2561
        .long_name = NULL_IF_CONFIG_SMALL("MACE (Macintosh Audio Compression/Expansion) 3:1"),
2562
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2563
    },
2564
    {
2565
        .id        = AV_CODEC_ID_MACE6,
2566
        .type      = AVMEDIA_TYPE_AUDIO,
2567
        .name      = "mace6",
2568
        .long_name = NULL_IF_CONFIG_SMALL("MACE (Macintosh Audio Compression/Expansion) 6:1"),
2569
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2570
    },
2571
    {
2572
        .id        = AV_CODEC_ID_VMDAUDIO,
2573
        .type      = AVMEDIA_TYPE_AUDIO,
2574
        .name      = "vmdaudio",
2575
        .long_name = NULL_IF_CONFIG_SMALL("Sierra VMD audio"),
2576
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2577
    },
2578
    {
2579
        .id        = AV_CODEC_ID_FLAC,
2580
        .type      = AVMEDIA_TYPE_AUDIO,
2581
        .name      = "flac",
2582
        .long_name = NULL_IF_CONFIG_SMALL("FLAC (Free Lossless Audio Codec)"),
2583
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
2584
    },
2585
    {
2586
        .id        = AV_CODEC_ID_MP3ADU,
2587
        .type      = AVMEDIA_TYPE_AUDIO,
2588
        .name      = "mp3adu",
2589
        .long_name = NULL_IF_CONFIG_SMALL("ADU (Application Data Unit) MP3 (MPEG audio layer 3)"),
2590
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2591
    },
2592
    {
2593
        .id        = AV_CODEC_ID_MP3ON4,
2594
        .type      = AVMEDIA_TYPE_AUDIO,
2595
        .name      = "mp3on4",
2596
        .long_name = NULL_IF_CONFIG_SMALL("MP3onMP4"),
2597
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2598
    },
2599
    {
2600
        .id        = AV_CODEC_ID_SHORTEN,
2601
        .type      = AVMEDIA_TYPE_AUDIO,
2602
        .name      = "shorten",
2603
        .long_name = NULL_IF_CONFIG_SMALL("Shorten"),
2604
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
2605
    },
2606
    {
2607
        .id        = AV_CODEC_ID_ALAC,
2608
        .type      = AVMEDIA_TYPE_AUDIO,
2609
        .name      = "alac",
2610
        .long_name = NULL_IF_CONFIG_SMALL("ALAC (Apple Lossless Audio Codec)"),
2611
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
2612
    },
2613
    {
2614
        .id        = AV_CODEC_ID_WESTWOOD_SND1,
2615
        .type      = AVMEDIA_TYPE_AUDIO,
2616
        .name      = "westwood_snd1",
2617
        .long_name = NULL_IF_CONFIG_SMALL("Westwood Audio (SND1)"),
2618
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2619
    },
2620
    {
2621
        .id        = AV_CODEC_ID_GSM,
2622
        .type      = AVMEDIA_TYPE_AUDIO,
2623
        .name      = "gsm",
2624
        .long_name = NULL_IF_CONFIG_SMALL("GSM"),
2625
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2626
    },
2627
    {
2628
        .id        = AV_CODEC_ID_QDM2,
2629
        .type      = AVMEDIA_TYPE_AUDIO,
2630
        .name      = "qdm2",
2631
        .long_name = NULL_IF_CONFIG_SMALL("QDesign Music Codec 2"),
2632
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2633
    },
2634
    {
2635
        .id        = AV_CODEC_ID_COOK,
2636
        .type      = AVMEDIA_TYPE_AUDIO,
2637
        .name      = "cook",
2638
        .long_name = NULL_IF_CONFIG_SMALL("Cook / Cooker / Gecko (RealAudio G2)"),
2639
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2640
    },
2641
    {
2642
        .id        = AV_CODEC_ID_TRUESPEECH,
2643
        .type      = AVMEDIA_TYPE_AUDIO,
2644
        .name      = "truespeech",
2645
        .long_name = NULL_IF_CONFIG_SMALL("DSP Group TrueSpeech"),
2646
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2647
    },
2648
    {
2649
        .id        = AV_CODEC_ID_TTA,
2650
        .type      = AVMEDIA_TYPE_AUDIO,
2651
        .name      = "tta",
2652
        .long_name = NULL_IF_CONFIG_SMALL("TTA (True Audio)"),
2653
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
2654
    },
2655
    {
2656
        .id        = AV_CODEC_ID_SMACKAUDIO,
2657
        .type      = AVMEDIA_TYPE_AUDIO,
2658
        .name      = "smackaudio",
2659
        .long_name = NULL_IF_CONFIG_SMALL("Smacker audio"),
2660
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2661
    },
2662
    {
2663
        .id        = AV_CODEC_ID_QCELP,
2664
        .type      = AVMEDIA_TYPE_AUDIO,
2665
        .name      = "qcelp",
2666
        .long_name = NULL_IF_CONFIG_SMALL("QCELP / PureVoice"),
2667
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2668
    },
2669
    {
2670
        .id        = AV_CODEC_ID_WAVPACK,
2671
        .type      = AVMEDIA_TYPE_AUDIO,
2672
        .name      = "wavpack",
2673
        .long_name = NULL_IF_CONFIG_SMALL("WavPack"),
2674
        .props     = AV_CODEC_PROP_INTRA_ONLY |
2675
                     AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS,
2676
    },
2677
    {
2678
        .id        = AV_CODEC_ID_DSICINAUDIO,
2679
        .type      = AVMEDIA_TYPE_AUDIO,
2680
        .name      = "dsicinaudio",
2681
        .long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN audio"),
2682
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2683
    },
2684
    {
2685
        .id        = AV_CODEC_ID_IMC,
2686
        .type      = AVMEDIA_TYPE_AUDIO,
2687
        .name      = "imc",
2688
        .long_name = NULL_IF_CONFIG_SMALL("IMC (Intel Music Coder)"),
2689
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2690
    },
2691
    {
2692
        .id        = AV_CODEC_ID_MUSEPACK7,
2693
        .type      = AVMEDIA_TYPE_AUDIO,
2694
        .name      = "musepack7",
2695
        .long_name = NULL_IF_CONFIG_SMALL("Musepack SV7"),
2696
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2697
    },
2698
    {
2699
        .id        = AV_CODEC_ID_MLP,
2700
        .type      = AVMEDIA_TYPE_AUDIO,
2701
        .name      = "mlp",
2702
        .long_name = NULL_IF_CONFIG_SMALL("MLP (Meridian Lossless Packing)"),
2703
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
2704
    },
2705
    {
2706
        .id        = AV_CODEC_ID_GSM_MS,
2707
        .type      = AVMEDIA_TYPE_AUDIO,
2708
        .name      = "gsm_ms",
2709
        .long_name = NULL_IF_CONFIG_SMALL("GSM Microsoft variant"),
2710
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2711
    },
2712
    {
2713
        .id        = AV_CODEC_ID_ATRAC3,
2714
        .type      = AVMEDIA_TYPE_AUDIO,
2715
        .name      = "atrac3",
2716
        .long_name = NULL_IF_CONFIG_SMALL("ATRAC3 (Adaptive TRansform Acoustic Coding 3)"),
2717
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2718
    },
2719
    {
2720
        .id        = AV_CODEC_ID_APE,
2721
        .type      = AVMEDIA_TYPE_AUDIO,
2722
        .name      = "ape",
2723
        .long_name = NULL_IF_CONFIG_SMALL("Monkey's Audio"),
2724
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
2725
    },
2726
    {
2727
        .id        = AV_CODEC_ID_NELLYMOSER,
2728
        .type      = AVMEDIA_TYPE_AUDIO,
2729
        .name      = "nellymoser",
2730
        .long_name = NULL_IF_CONFIG_SMALL("Nellymoser Asao"),
2731
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2732
    },
2733
    {
2734
        .id        = AV_CODEC_ID_MUSEPACK8,
2735
        .type      = AVMEDIA_TYPE_AUDIO,
2736
        .name      = "musepack8",
2737
        .long_name = NULL_IF_CONFIG_SMALL("Musepack SV8"),
2738
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2739
    },
2740
    {
2741
        .id        = AV_CODEC_ID_SPEEX,
2742
        .type      = AVMEDIA_TYPE_AUDIO,
2743
        .name      = "speex",
2744
        .long_name = NULL_IF_CONFIG_SMALL("Speex"),
2745
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2746
    },
2747
    {
2748
        .id        = AV_CODEC_ID_WMAVOICE,
2749
        .type      = AVMEDIA_TYPE_AUDIO,
2750
        .name      = "wmavoice",
2751
        .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio Voice"),
2752
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2753
    },
2754
    {
2755
        .id        = AV_CODEC_ID_WMAPRO,
2756
        .type      = AVMEDIA_TYPE_AUDIO,
2757
        .name      = "wmapro",
2758
        .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 9 Professional"),
2759
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2760
    },
2761
    {
2762
        .id        = AV_CODEC_ID_WMALOSSLESS,
2763
        .type      = AVMEDIA_TYPE_AUDIO,
2764
        .name      = "wmalossless",
2765
        .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio Lossless"),
2766
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
2767
    },
2768
    {
2769
        .id        = AV_CODEC_ID_ATRAC3P,
2770
        .type      = AVMEDIA_TYPE_AUDIO,
2771
        .name      = "atrac3p",
2772
        .long_name = NULL_IF_CONFIG_SMALL("ATRAC3+ (Adaptive TRansform Acoustic Coding 3+)"),
2773
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2774
    },
2775
    {
2776
        .id        = AV_CODEC_ID_EAC3,
2777
        .type      = AVMEDIA_TYPE_AUDIO,
2778
        .name      = "eac3",
2779
        .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52B (AC-3, E-AC-3)"),
2780
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2781
    },
2782
    {
2783
        .id        = AV_CODEC_ID_SIPR,
2784
        .type      = AVMEDIA_TYPE_AUDIO,
2785
        .name      = "sipr",
2786
        .long_name = NULL_IF_CONFIG_SMALL("RealAudio SIPR / ACELP.NET"),
2787
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2788
    },
2789
    {
2790
        .id        = AV_CODEC_ID_MP1,
2791
        .type      = AVMEDIA_TYPE_AUDIO,
2792
        .name      = "mp1",
2793
        .long_name = NULL_IF_CONFIG_SMALL("MP1 (MPEG audio layer 1)"),
2794
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2795
    },
2796
    {
2797
        .id        = AV_CODEC_ID_TWINVQ,
2798
        .type      = AVMEDIA_TYPE_AUDIO,
2799
        .name      = "twinvq",
2800
        .long_name = NULL_IF_CONFIG_SMALL("VQF TwinVQ"),
2801
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2802
    },
2803
    {
2804
        .id        = AV_CODEC_ID_TRUEHD,
2805
        .type      = AVMEDIA_TYPE_AUDIO,
2806
        .name      = "truehd",
2807
        .long_name = NULL_IF_CONFIG_SMALL("TrueHD"),
2808
        .props     = AV_CODEC_PROP_LOSSLESS,
2809
    },
2810
    {
2811
        .id        = AV_CODEC_ID_MP4ALS,
2812
        .type      = AVMEDIA_TYPE_AUDIO,
2813
        .name      = "mp4als",
2814
        .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 Audio Lossless Coding (ALS)"),
2815
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
2816
    },
2817
    {
2818
        .id        = AV_CODEC_ID_ATRAC1,
2819
        .type      = AVMEDIA_TYPE_AUDIO,
2820
        .name      = "atrac1",
2821
        .long_name = NULL_IF_CONFIG_SMALL("ATRAC1 (Adaptive TRansform Acoustic Coding)"),
2822
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2823
    },
2824
    {
2825
        .id        = AV_CODEC_ID_BINKAUDIO_RDFT,
2826
        .type      = AVMEDIA_TYPE_AUDIO,
2827
        .name      = "binkaudio_rdft",
2828
        .long_name = NULL_IF_CONFIG_SMALL("Bink Audio (RDFT)"),
2829
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2830
    },
2831
    {
2832
        .id        = AV_CODEC_ID_BINKAUDIO_DCT,
2833
        .type      = AVMEDIA_TYPE_AUDIO,
2834
        .name      = "binkaudio_dct",
2835
        .long_name = NULL_IF_CONFIG_SMALL("Bink Audio (DCT)"),
2836
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2837
    },
2838
    {
2839
        .id        = AV_CODEC_ID_AAC_LATM,
2840
        .type      = AVMEDIA_TYPE_AUDIO,
2841
        .name      = "aac_latm",
2842
        .long_name = NULL_IF_CONFIG_SMALL("AAC LATM (Advanced Audio Coding LATM syntax)"),
2843
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2844
        .profiles  = NULL_IF_CONFIG_SMALL(ff_aac_profiles),
2845
    },
2846
    {
2847
        .id        = AV_CODEC_ID_QDMC,
2848
        .type      = AVMEDIA_TYPE_AUDIO,
2849
        .name      = "qdmc",
2850
        .long_name = NULL_IF_CONFIG_SMALL("QDesign Music"),
2851
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2852
    },
2853
    {
2854
        .id        = AV_CODEC_ID_CELT,
2855
        .type      = AVMEDIA_TYPE_AUDIO,
2856
        .name      = "celt",
2857
        .long_name = NULL_IF_CONFIG_SMALL("Constrained Energy Lapped Transform (CELT)"),
2858
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2859
    },
2860
    {
2861
        .id        = AV_CODEC_ID_G723_1,
2862
        .type      = AVMEDIA_TYPE_AUDIO,
2863
        .name      = "g723_1",
2864
        .long_name = NULL_IF_CONFIG_SMALL("G.723.1"),
2865
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2866
    },
2867
    {
2868
        .id        = AV_CODEC_ID_G729,
2869
        .type      = AVMEDIA_TYPE_AUDIO,
2870
        .name      = "g729",
2871
        .long_name = NULL_IF_CONFIG_SMALL("G.729"),
2872
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2873
    },
2874
    {
2875
        .id        = AV_CODEC_ID_8SVX_EXP,
2876
        .type      = AVMEDIA_TYPE_AUDIO,
2877
        .name      = "8svx_exp",
2878
        .long_name = NULL_IF_CONFIG_SMALL("8SVX exponential"),
2879
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2880
    },
2881
    {
2882
        .id        = AV_CODEC_ID_8SVX_FIB,
2883
        .type      = AVMEDIA_TYPE_AUDIO,
2884
        .name      = "8svx_fib",
2885
        .long_name = NULL_IF_CONFIG_SMALL("8SVX fibonacci"),
2886
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2887
    },
2888
    {
2889
        .id        = AV_CODEC_ID_BMV_AUDIO,
2890
        .type      = AVMEDIA_TYPE_AUDIO,
2891
        .name      = "bmv_audio",
2892
        .long_name = NULL_IF_CONFIG_SMALL("Discworld II BMV audio"),
2893
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2894
    },
2895
    {
2896
        .id        = AV_CODEC_ID_RALF,
2897
        .type      = AVMEDIA_TYPE_AUDIO,
2898
        .name      = "ralf",
2899
        .long_name = NULL_IF_CONFIG_SMALL("RealAudio Lossless"),
2900
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
2901
    },
2902
    {
2903
        .id        = AV_CODEC_ID_IAC,
2904
        .type      = AVMEDIA_TYPE_AUDIO,
2905
        .name      = "iac",
2906
        .long_name = NULL_IF_CONFIG_SMALL("IAC (Indeo Audio Coder)"),
2907
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2908
    },
2909
    {
2910
        .id        = AV_CODEC_ID_ILBC,
2911
        .type      = AVMEDIA_TYPE_AUDIO,
2912
        .name      = "ilbc",
2913
        .long_name = NULL_IF_CONFIG_SMALL("iLBC (Internet Low Bitrate Codec)"),
2914
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2915
    },
2916
    {
2917
        .id        = AV_CODEC_ID_OPUS,
2918
        .type      = AVMEDIA_TYPE_AUDIO,
2919
        .name      = "opus",
2920
        .long_name = NULL_IF_CONFIG_SMALL("Opus (Opus Interactive Audio Codec)"),
2921
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2922
    },
2923
    {
2924
        .id        = AV_CODEC_ID_COMFORT_NOISE,
2925
        .type      = AVMEDIA_TYPE_AUDIO,
2926
        .name      = "comfortnoise",
2927
        .long_name = NULL_IF_CONFIG_SMALL("RFC 3389 Comfort Noise"),
2928
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2929
    },
2930
    {
2931
        .id        = AV_CODEC_ID_TAK,
2932
        .type      = AVMEDIA_TYPE_AUDIO,
2933
        .name      = "tak",
2934
        .long_name = NULL_IF_CONFIG_SMALL("TAK (Tom's lossless Audio Kompressor)"),
2935
        .props     = AV_CODEC_PROP_LOSSLESS,
2936
    },
2937
    {
2938
        .id        = AV_CODEC_ID_METASOUND,
2939
        .type      = AVMEDIA_TYPE_AUDIO,
2940
        .name      = "metasound",
2941
        .long_name = NULL_IF_CONFIG_SMALL("Voxware MetaSound"),
2942
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2943
    },
2944
    {
2945
        .id        = AV_CODEC_ID_PAF_AUDIO,
2946
        .type      = AVMEDIA_TYPE_AUDIO,
2947
        .name      = "paf_audio",
2948
        .long_name = NULL_IF_CONFIG_SMALL("Amazing Studio Packed Animation File Audio"),
2949
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2950
    },
2951
    {
2952
        .id        = AV_CODEC_ID_ON2AVC,
2953
        .type      = AVMEDIA_TYPE_AUDIO,
2954
        .name      = "avc",
2955
        .long_name = NULL_IF_CONFIG_SMALL("On2 Audio for Video Codec"),
2956
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2957
    },
2958
    {
2959
        .id        = AV_CODEC_ID_DSS_SP,
2960
        .type      = AVMEDIA_TYPE_AUDIO,
2961
        .name      = "dss_sp",
2962
        .long_name = NULL_IF_CONFIG_SMALL("Digital Speech Standard - Standard Play mode (DSS SP)"),
2963
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2964
    },
2965
    {
2966
        .id        = AV_CODEC_ID_CODEC2,
2967
        .type      = AVMEDIA_TYPE_AUDIO,
2968
        .name      = "codec2",
2969
        .long_name = NULL_IF_CONFIG_SMALL("codec2 (very low bitrate speech codec)"),
2970
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2971
    },
2972
    {
2973
        .id        = AV_CODEC_ID_FFWAVESYNTH,
2974
        .type      = AVMEDIA_TYPE_AUDIO,
2975
        .name      = "wavesynth",
2976
        .long_name = NULL_IF_CONFIG_SMALL("Wave synthesis pseudo-codec"),
2977
        .props     = AV_CODEC_PROP_INTRA_ONLY,
2978
    },
2979
    {
2980
        .id        = AV_CODEC_ID_SONIC,
2981
        .type      = AVMEDIA_TYPE_AUDIO,
2982
        .name      = "sonic",
2983
        .long_name = NULL_IF_CONFIG_SMALL("Sonic"),
2984
        .props     = AV_CODEC_PROP_INTRA_ONLY,
2985
    },
2986
    {
2987
        .id        = AV_CODEC_ID_SONIC_LS,
2988
        .type      = AVMEDIA_TYPE_AUDIO,
2989
        .name      = "sonicls",
2990
        .long_name = NULL_IF_CONFIG_SMALL("Sonic lossless"),
2991
        .props     = AV_CODEC_PROP_INTRA_ONLY,
2992
    },
2993
    {
2994
        .id        = AV_CODEC_ID_EVRC,
2995
        .type      = AVMEDIA_TYPE_AUDIO,
2996
        .name      = "evrc",
2997
        .long_name = NULL_IF_CONFIG_SMALL("EVRC (Enhanced Variable Rate Codec)"),
2998
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
2999
    },
3000
    {
3001
        .id        = AV_CODEC_ID_SMV,
3002
        .type      = AVMEDIA_TYPE_AUDIO,
3003
        .name      = "smv",
3004
        .long_name = NULL_IF_CONFIG_SMALL("SMV (Selectable Mode Vocoder)"),
3005
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
3006
    },
3007
    {
3008
        .id        = AV_CODEC_ID_DSD_LSBF,
3009
        .type      = AVMEDIA_TYPE_AUDIO,
3010
        .name      = "dsd_lsbf",
3011
        .long_name = NULL_IF_CONFIG_SMALL("DSD (Direct Stream Digital), least significant bit first"),
3012
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
3013
    },
3014
    {
3015
        .id        = AV_CODEC_ID_DSD_MSBF,
3016
        .type      = AVMEDIA_TYPE_AUDIO,
3017
        .name      = "dsd_msbf",
3018
        .long_name = NULL_IF_CONFIG_SMALL("DSD (Direct Stream Digital), most significant bit first"),
3019
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
3020
    },
3021
    {
3022
        .id        = AV_CODEC_ID_DSD_LSBF_PLANAR,
3023
        .type      = AVMEDIA_TYPE_AUDIO,
3024
        .name      = "dsd_lsbf_planar",
3025
        .long_name = NULL_IF_CONFIG_SMALL("DSD (Direct Stream Digital), least significant bit first, planar"),
3026
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
3027
    },
3028
    {
3029
        .id        = AV_CODEC_ID_DSD_MSBF_PLANAR,
3030
        .type      = AVMEDIA_TYPE_AUDIO,
3031
        .name      = "dsd_msbf_planar",
3032
        .long_name = NULL_IF_CONFIG_SMALL("DSD (Direct Stream Digital), most significant bit first, planar"),
3033
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
3034
    },
3035
    {
3036
        .id        = AV_CODEC_ID_4GV,
3037
        .type      = AVMEDIA_TYPE_AUDIO,
3038
        .name      = "4gv",
3039
        .long_name = NULL_IF_CONFIG_SMALL("4GV (Fourth Generation Vocoder)"),
3040
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
3041
    },
3042
    {
3043
        .id        = AV_CODEC_ID_INTERPLAY_ACM,
3044
        .type      = AVMEDIA_TYPE_AUDIO,
3045
        .name      = "interplayacm",
3046
        .long_name = NULL_IF_CONFIG_SMALL("Interplay ACM"),
3047
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
3048
    },
3049
    {
3050
        .id        = AV_CODEC_ID_XMA1,
3051
        .type      = AVMEDIA_TYPE_AUDIO,
3052
        .name      = "xma1",
3053
        .long_name = NULL_IF_CONFIG_SMALL("Xbox Media Audio 1"),
3054
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
3055
    },
3056
    {
3057
        .id        = AV_CODEC_ID_XMA2,
3058
        .type      = AVMEDIA_TYPE_AUDIO,
3059
        .name      = "xma2",
3060
        .long_name = NULL_IF_CONFIG_SMALL("Xbox Media Audio 2"),
3061
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
3062
    },
3063
    {
3064
        .id        = AV_CODEC_ID_DST,
3065
        .type      = AVMEDIA_TYPE_AUDIO,
3066
        .name      = "dst",
3067
        .long_name = NULL_IF_CONFIG_SMALL("DST (Direct Stream Transfer)"),
3068
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
3069
    },
3070
    {
3071
        .id        = AV_CODEC_ID_ATRAC3AL,
3072
        .type      = AVMEDIA_TYPE_AUDIO,
3073
        .name      = "atrac3al",
3074
        .long_name = NULL_IF_CONFIG_SMALL("ATRAC3 AL (Adaptive TRansform Acoustic Coding 3 Advanced Lossless)"),
3075
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
3076
    },
3077
    {
3078
        .id        = AV_CODEC_ID_ATRAC3PAL,
3079
        .type      = AVMEDIA_TYPE_AUDIO,
3080
        .name      = "atrac3pal",
3081
        .long_name = NULL_IF_CONFIG_SMALL("ATRAC3+ AL (Adaptive TRansform Acoustic Coding 3+ Advanced Lossless)"),
3082
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
3083
    },
3084
    {
3085
        .id        = AV_CODEC_ID_DOLBY_E,
3086
        .type      = AVMEDIA_TYPE_AUDIO,
3087
        .name      = "dolby_e",
3088
        .long_name = NULL_IF_CONFIG_SMALL("Dolby E"),
3089
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
3090
    },
3091
    {
3092
        .id        = AV_CODEC_ID_APTX,
3093
        .type      = AVMEDIA_TYPE_AUDIO,
3094
        .name      = "aptx",
3095
        .long_name = NULL_IF_CONFIG_SMALL("aptX (Audio Processing Technology for Bluetooth)"),
3096
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
3097
    },
3098
    {
3099
        .id        = AV_CODEC_ID_APTX_HD,
3100
        .type      = AVMEDIA_TYPE_AUDIO,
3101
        .name      = "aptx_hd",
3102
        .long_name = NULL_IF_CONFIG_SMALL("aptX HD (Audio Processing Technology for Bluetooth)"),
3103
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
3104
    },
3105
    {
3106
        .id        = AV_CODEC_ID_SBC,
3107
        .type      = AVMEDIA_TYPE_AUDIO,
3108
        .name      = "sbc",
3109
        .long_name = NULL_IF_CONFIG_SMALL("SBC (low-complexity subband codec)"),
3110
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
3111
    },
3112
    {
3113
        .id        = AV_CODEC_ID_ATRAC9,
3114
        .type      = AVMEDIA_TYPE_AUDIO,
3115
        .name      = "atrac9",
3116
        .long_name = NULL_IF_CONFIG_SMALL("ATRAC9 (Adaptive TRansform Acoustic Coding 9)"),
3117
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
3118
    },
3119
    {
3120
        .id        = AV_CODEC_ID_HCOM,
3121
        .type      = AVMEDIA_TYPE_AUDIO,
3122
        .name      = "hcom",
3123
        .long_name = NULL_IF_CONFIG_SMALL("HCOM Audio"),
3124
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
3125
    },
3126
    {
3127
        .id        = AV_CODEC_ID_ACELP_KELVIN,
3128
        .type      = AVMEDIA_TYPE_AUDIO,
3129
        .name      = "acelp.kelvin",
3130
        .long_name = NULL_IF_CONFIG_SMALL("Sipro ACELP.KELVIN"),
3131
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
3132
    },
3133
    {
3134
        .id        = AV_CODEC_ID_MPEGH_3D_AUDIO,
3135
        .type      = AVMEDIA_TYPE_AUDIO,
3136
        .name      = "mpegh_3d_audio",
3137
        .long_name = NULL_IF_CONFIG_SMALL("MPEG-H 3D Audio"),
3138
        .props     = AV_CODEC_PROP_LOSSY,
3139
    },
3140
    {
3141
        .id        = AV_CODEC_ID_SIREN,
3142
        .type      = AVMEDIA_TYPE_AUDIO,
3143
        .name      = "siren",
3144
        .long_name = NULL_IF_CONFIG_SMALL("Siren"),
3145
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
3146
    },
3147
    {
3148
        .id        = AV_CODEC_ID_HCA,
3149
        .type      = AVMEDIA_TYPE_AUDIO,
3150
        .name      = "hca",
3151
        .long_name = NULL_IF_CONFIG_SMALL("CRI HCA"),
3152
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
3153
    },
3154
    {
3155
        .id        = AV_CODEC_ID_FASTAUDIO,
3156
        .type      = AVMEDIA_TYPE_AUDIO,
3157
        .name      = "fastaudio",
3158
        .long_name = NULL_IF_CONFIG_SMALL("MobiClip FastAudio"),
3159
        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
3160
    },
3161
3162
    /* subtitle codecs */
3163
    {
3164
        .id        = AV_CODEC_ID_DVD_SUBTITLE,
3165
        .type      = AVMEDIA_TYPE_SUBTITLE,
3166
        .name      = "dvd_subtitle",
3167
        .long_name = NULL_IF_CONFIG_SMALL("DVD subtitles"),
3168
        .props     = AV_CODEC_PROP_BITMAP_SUB,
3169
    },
3170
    {
3171
        .id        = AV_CODEC_ID_DVB_SUBTITLE,
3172
        .type      = AVMEDIA_TYPE_SUBTITLE,
3173
        .name      = "dvb_subtitle",
3174
        .long_name = NULL_IF_CONFIG_SMALL("DVB subtitles"),
3175
        .props     = AV_CODEC_PROP_BITMAP_SUB,
3176
    },
3177
    {
3178
        .id        = AV_CODEC_ID_TEXT,
3179
        .type      = AVMEDIA_TYPE_SUBTITLE,
3180
        .name      = "text",
3181
        .long_name = NULL_IF_CONFIG_SMALL("raw UTF-8 text"),
3182
        .props     = AV_CODEC_PROP_TEXT_SUB,
3183
    },
3184
    {
3185
        .id        = AV_CODEC_ID_XSUB,
3186
        .type      = AVMEDIA_TYPE_SUBTITLE,
3187
        .name      = "xsub",
3188
        .long_name = NULL_IF_CONFIG_SMALL("XSUB"),
3189
        .props     = AV_CODEC_PROP_BITMAP_SUB,
3190
    },
3191
    {
3192
        .id        = AV_CODEC_ID_SSA,
3193
        .type      = AVMEDIA_TYPE_SUBTITLE,
3194
        .name      = "ssa",
3195
        .long_name = NULL_IF_CONFIG_SMALL("SSA (SubStation Alpha) subtitle"),
3196
        .props     = AV_CODEC_PROP_TEXT_SUB,
3197
    },
3198
    {
3199
        .id        = AV_CODEC_ID_MOV_TEXT,
3200
        .type      = AVMEDIA_TYPE_SUBTITLE,
3201
        .name      = "mov_text",
3202
        .long_name = NULL_IF_CONFIG_SMALL("MOV text"),
3203
        .props     = AV_CODEC_PROP_TEXT_SUB,
3204
    },
3205
    {
3206
        .id        = AV_CODEC_ID_HDMV_PGS_SUBTITLE,
3207
        .type      = AVMEDIA_TYPE_SUBTITLE,
3208
        .name      = "hdmv_pgs_subtitle",
3209
        .long_name = NULL_IF_CONFIG_SMALL("HDMV Presentation Graphic Stream subtitles"),
3210
        .props     = AV_CODEC_PROP_BITMAP_SUB,
3211
    },
3212
    {
3213
        .id        = AV_CODEC_ID_DVB_TELETEXT,
3214
        .type      = AVMEDIA_TYPE_SUBTITLE,
3215
        .name      = "dvb_teletext",
3216
        .long_name = NULL_IF_CONFIG_SMALL("DVB teletext"),
3217
    },
3218
    {
3219
        .id        = AV_CODEC_ID_SRT,
3220
        .type      = AVMEDIA_TYPE_SUBTITLE,
3221
        .name      = "srt",
3222
        .long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle with embedded timing"),
3223
        .props     = AV_CODEC_PROP_TEXT_SUB,
3224
    },
3225
    {
3226
        .id        = AV_CODEC_ID_MICRODVD,
3227
        .type      = AVMEDIA_TYPE_SUBTITLE,
3228
        .name      = "microdvd",
3229
        .long_name = NULL_IF_CONFIG_SMALL("MicroDVD subtitle"),
3230
        .props     = AV_CODEC_PROP_TEXT_SUB,
3231
    },
3232
    {
3233
        .id        = AV_CODEC_ID_EIA_608,
3234
        .type      = AVMEDIA_TYPE_SUBTITLE,
3235
        .name      = "eia_608",
3236
        .long_name = NULL_IF_CONFIG_SMALL("EIA-608 closed captions"),
3237
        .props     = AV_CODEC_PROP_TEXT_SUB,
3238
    },
3239
    {
3240
        .id        = AV_CODEC_ID_JACOSUB,
3241
        .type      = AVMEDIA_TYPE_SUBTITLE,
3242
        .name      = "jacosub",
3243
        .long_name = NULL_IF_CONFIG_SMALL("JACOsub subtitle"),
3244
        .props     = AV_CODEC_PROP_TEXT_SUB,
3245
    },
3246
    {
3247
        .id        = AV_CODEC_ID_SAMI,
3248
        .type      = AVMEDIA_TYPE_SUBTITLE,
3249
        .name      = "sami",
3250
        .long_name = NULL_IF_CONFIG_SMALL("SAMI subtitle"),
3251
        .props     = AV_CODEC_PROP_TEXT_SUB,
3252
    },
3253
    {
3254
        .id        = AV_CODEC_ID_REALTEXT,
3255
        .type      = AVMEDIA_TYPE_SUBTITLE,
3256
        .name      = "realtext",
3257
        .long_name = NULL_IF_CONFIG_SMALL("RealText subtitle"),
3258
        .props     = AV_CODEC_PROP_TEXT_SUB,
3259
    },
3260
    {
3261
        .id        = AV_CODEC_ID_STL,
3262
        .type      = AVMEDIA_TYPE_SUBTITLE,
3263
        .name      = "stl",
3264
        .long_name = NULL_IF_CONFIG_SMALL("Spruce subtitle format"),
3265
        .props     = AV_CODEC_PROP_TEXT_SUB,
3266
    },
3267
    {
3268
        .id        = AV_CODEC_ID_SUBVIEWER1,
3269
        .type      = AVMEDIA_TYPE_SUBTITLE,
3270
        .name      = "subviewer1",
3271
        .long_name = NULL_IF_CONFIG_SMALL("SubViewer v1 subtitle"),
3272
        .props     = AV_CODEC_PROP_TEXT_SUB,
3273
    },
3274
    {
3275
        .id        = AV_CODEC_ID_SUBVIEWER,
3276
        .type      = AVMEDIA_TYPE_SUBTITLE,
3277
        .name      = "subviewer",
3278
        .long_name = NULL_IF_CONFIG_SMALL("SubViewer subtitle"),
3279
        .props     = AV_CODEC_PROP_TEXT_SUB,
3280
    },
3281
    {
3282
        .id        = AV_CODEC_ID_SUBRIP,
3283
        .type      = AVMEDIA_TYPE_SUBTITLE,
3284
        .name      = "subrip",
3285
        .long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle"),
3286
        .props     = AV_CODEC_PROP_TEXT_SUB,
3287
    },
3288
    {
3289
        .id        = AV_CODEC_ID_WEBVTT,
3290
        .type      = AVMEDIA_TYPE_SUBTITLE,
3291
        .name      = "webvtt",
3292
        .long_name = NULL_IF_CONFIG_SMALL("WebVTT subtitle"),
3293
        .props     = AV_CODEC_PROP_TEXT_SUB,
3294
    },
3295
    {
3296
        .id        = AV_CODEC_ID_MPL2,
3297
        .type      = AVMEDIA_TYPE_SUBTITLE,
3298
        .name      = "mpl2",
3299
        .long_name = NULL_IF_CONFIG_SMALL("MPL2 subtitle"),
3300
        .props     = AV_CODEC_PROP_TEXT_SUB,
3301
    },
3302
    {
3303
        .id        = AV_CODEC_ID_VPLAYER,
3304
        .type      = AVMEDIA_TYPE_SUBTITLE,
3305
        .name      = "vplayer",
3306
        .long_name = NULL_IF_CONFIG_SMALL("VPlayer subtitle"),
3307
        .props     = AV_CODEC_PROP_TEXT_SUB,
3308
    },
3309
    {
3310
        .id        = AV_CODEC_ID_PJS,
3311
        .type      = AVMEDIA_TYPE_SUBTITLE,
3312
        .name      = "pjs",
3313
        .long_name = NULL_IF_CONFIG_SMALL("PJS (Phoenix Japanimation Society) subtitle"),
3314
        .props     = AV_CODEC_PROP_TEXT_SUB,
3315
    },
3316
    {
3317
        .id        = AV_CODEC_ID_ASS,
3318
        .type      = AVMEDIA_TYPE_SUBTITLE,
3319
        .name      = "ass",
3320
        .long_name = NULL_IF_CONFIG_SMALL("ASS (Advanced SSA) subtitle"),
3321
        .props     = AV_CODEC_PROP_TEXT_SUB,
3322
    },
3323
    {
3324
        .id        = AV_CODEC_ID_HDMV_TEXT_SUBTITLE,
3325
        .type      = AVMEDIA_TYPE_SUBTITLE,
3326
        .name      = "hdmv_text_subtitle",
3327
        .long_name = NULL_IF_CONFIG_SMALL("HDMV Text subtitle"),
3328
        .props     = AV_CODEC_PROP_TEXT_SUB,
3329
    },
3330
    {
3331
        .id        = AV_CODEC_ID_TTML,
3332
        .type      = AVMEDIA_TYPE_SUBTITLE,
3333
        .name      = "ttml",
3334
        .long_name = NULL_IF_CONFIG_SMALL("Timed Text Markup Language"),
3335
        .props     = AV_CODEC_PROP_TEXT_SUB,
3336
    },
3337
    {
3338
        .id        = AV_CODEC_ID_ARIB_CAPTION,
3339
        .type      = AVMEDIA_TYPE_SUBTITLE,
3340
        .name      = "arib_caption",
3341
        .long_name = NULL_IF_CONFIG_SMALL("ARIB STD-B24 caption"),
3342
        .props     = AV_CODEC_PROP_TEXT_SUB,
3343
        .profiles  = NULL_IF_CONFIG_SMALL(ff_arib_caption_profiles),
3344
    },
3345
3346
    /* other kind of codecs and pseudo-codecs */
3347
    {
3348
        .id        = AV_CODEC_ID_TTF,
3349
        .type      = AVMEDIA_TYPE_DATA,
3350
        .name      = "ttf",
3351
        .long_name = NULL_IF_CONFIG_SMALL("TrueType font"),
3352
        .mime_types= MT("application/x-truetype-font", "application/x-font"),
3353
    },
3354
    {
3355
        .id        = AV_CODEC_ID_SCTE_35,
3356
        .type      = AVMEDIA_TYPE_DATA,
3357
        .name      = "scte_35",
3358
        .long_name = NULL_IF_CONFIG_SMALL("SCTE 35 Message Queue"),
3359
    },
3360
    {
3361
        .id        = AV_CODEC_ID_EPG,
3362
        .type      = AVMEDIA_TYPE_DATA,
3363
        .name      = "epg",
3364
        .long_name = NULL_IF_CONFIG_SMALL("Electronic Program Guide"),
3365
    },
3366
    {
3367
        .id        = AV_CODEC_ID_BINTEXT,
3368
        .type      = AVMEDIA_TYPE_VIDEO,
3369
        .name      = "bintext",
3370
        .long_name = NULL_IF_CONFIG_SMALL("Binary text"),
3371
        .props     = AV_CODEC_PROP_INTRA_ONLY,
3372
    },
3373
    {
3374
        .id        = AV_CODEC_ID_XBIN,
3375
        .type      = AVMEDIA_TYPE_VIDEO,
3376
        .name      = "xbin",
3377
        .long_name = NULL_IF_CONFIG_SMALL("eXtended BINary text"),
3378
        .props     = AV_CODEC_PROP_INTRA_ONLY,
3379
    },
3380
    {
3381
        .id        = AV_CODEC_ID_IDF,
3382
        .type      = AVMEDIA_TYPE_VIDEO,
3383
        .name      = "idf",
3384
        .long_name = NULL_IF_CONFIG_SMALL("iCEDraw text"),
3385
        .props     = AV_CODEC_PROP_INTRA_ONLY,
3386
    },
3387
    {
3388
        .id        = AV_CODEC_ID_OTF,
3389
        .type      = AVMEDIA_TYPE_DATA,
3390
        .name      = "otf",
3391
        .long_name = NULL_IF_CONFIG_SMALL("OpenType font"),
3392
        .mime_types= MT("application/vnd.ms-opentype"),
3393
    },
3394
    {
3395
        .id        = AV_CODEC_ID_SMPTE_KLV,
3396
        .type      = AVMEDIA_TYPE_DATA,
3397
        .name      = "klv",
3398
        .long_name = NULL_IF_CONFIG_SMALL("SMPTE 336M Key-Length-Value (KLV) metadata"),
3399
    },
3400
    {
3401
        .id        = AV_CODEC_ID_DVD_NAV,
3402
        .type      = AVMEDIA_TYPE_DATA,
3403
        .name      = "dvd_nav_packet",
3404
        .long_name = NULL_IF_CONFIG_SMALL("DVD Nav packet"),
3405
    },
3406
    {
3407
        .id        = AV_CODEC_ID_TIMED_ID3,
3408
        .type      = AVMEDIA_TYPE_DATA,
3409
        .name      = "timed_id3",
3410
        .long_name = NULL_IF_CONFIG_SMALL("timed ID3 metadata"),
3411
    },
3412
    {
3413
        .id        = AV_CODEC_ID_BIN_DATA,
3414
        .type      = AVMEDIA_TYPE_DATA,
3415
        .name      = "bin_data",
3416
        .long_name = NULL_IF_CONFIG_SMALL("binary data"),
3417
        .mime_types= MT("application/octet-stream"),
3418
    },
3419
    {
3420
        .id        = AV_CODEC_ID_WRAPPED_AVFRAME,
3421
        .type      = AVMEDIA_TYPE_VIDEO,
3422
        .name      = "wrapped_avframe",
3423
        .long_name = NULL_IF_CONFIG_SMALL("AVFrame to AVPacket passthrough"),
3424
        .props     = AV_CODEC_PROP_LOSSLESS,
3425
    },
3426
};
3427
3428
4957201
static int descriptor_compare(const void *key, const void *member)
3429
{
3430
4957201
    enum AVCodecID id = *(const enum AVCodecID *) key;
3431
4957201
    const AVCodecDescriptor *desc = member;
3432
3433
4957201
    return id - desc->id;
3434
}
3435
3436
603062
const AVCodecDescriptor *avcodec_descriptor_get(enum AVCodecID id)
3437
{
3438
603062
    return bsearch(&id, codec_descriptors, FF_ARRAY_ELEMS(codec_descriptors),
3439
                   sizeof(codec_descriptors[0]), descriptor_compare);
3440
}
3441
3442
114981
const AVCodecDescriptor *avcodec_descriptor_next(const AVCodecDescriptor *prev)
3443
{
3444
114981
    if (!prev)
3445
480
        return &codec_descriptors[0];
3446
114501
    if (prev - codec_descriptors < FF_ARRAY_ELEMS(codec_descriptors) - 1)
3447
114500
        return prev + 1;
3448
1
    return NULL;
3449
}
3450
3451
479
const AVCodecDescriptor *avcodec_descriptor_get_by_name(const char *name)
3452
{
3453
479
    const AVCodecDescriptor *desc = NULL;
3454
3455
114502
    while ((desc = avcodec_descriptor_next(desc)))
3456
114502
        if (!strcmp(desc->name, name))
3457
479
            return desc;
3458
    return NULL;
3459
}
3460
3461
1
enum AVMediaType avcodec_get_type(enum AVCodecID codec_id)
3462
{
3463
1
    const AVCodecDescriptor *desc = avcodec_descriptor_get(codec_id);
3464
1
    return desc ? desc->type : AVMEDIA_TYPE_UNKNOWN;
3465
}