Statistics
| Branch: | Revision:

ffmpeg / libavcodec / allcodecs.c @ 06d392a7

History | View | Annotate | Download (25.2 KB)

1
/*
2
 * Utils for libavcodec
3
 * Copyright (c) 2002 Fabrice Bellard.
4
 *
5
 * This file is part of FFmpeg.
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
/**
23
 * @file allcodecs.c
24
 * Utils for libavcodec.
25
 */
26

    
27
#include "avcodec.h"
28

    
29
/* If you do not call this function, then you can select exactly which
30
   formats you want to support */
31

    
32
/**
33
 * simple call to register all the codecs.
34
 */
35
void avcodec_register_all(void)
36
{
37
    static int inited = 0;
38

    
39
    if (inited != 0)
40
        return;
41
    inited = 1;
42

    
43
    /* encoders */
44
#ifdef CONFIG_AC3_ENCODER
45
    register_avcodec(&ac3_encoder);
46
#endif //CONFIG_AC3_ENCODER
47
#ifdef CONFIG_MP2_ENCODER
48
    register_avcodec(&mp2_encoder);
49
#endif //CONFIG_MP2_ENCODER
50
#ifdef CONFIG_MP3LAME
51
#ifdef CONFIG_MP3LAME_ENCODER
52
    register_avcodec(&mp3lame_encoder);
53
#endif //CONFIG_MP3LAME_ENCODER
54
#endif
55
#ifdef CONFIG_LIBVORBIS
56
#if (defined CONFIG_OGGVORBIS_ENCODER && !defined CONFIG_VORBIS_ENCODER)
57
    register_avcodec(&oggvorbis_encoder);
58
#endif //CONFIG_OGGVORBIS_ENCODER
59
#if (defined CONFIG_OGGVORBIS_DECODER && !defined CONFIG_VORBIS_DECODER)
60
    register_avcodec(&oggvorbis_decoder);
61
#endif //CONFIG_OGGVORBIS_DECODER
62
#endif
63
#ifdef CONFIG_FAAC
64
#ifdef CONFIG_FAAC_ENCODER
65
    register_avcodec(&faac_encoder);
66
#endif //CONFIG_FAAC_ENCODER
67
#endif
68
#ifdef CONFIG_FLAC_ENCODER
69
    register_avcodec(&flac_encoder);
70
#endif
71
#ifdef CONFIG_XVID
72
#ifdef CONFIG_XVID_ENCODER
73
    register_avcodec(&xvid_encoder);
74
#endif //CONFIG_XVID_ENCODER
75
#endif
76
#ifdef CONFIG_MPEG1VIDEO_ENCODER
77
    register_avcodec(&mpeg1video_encoder);
78
#endif //CONFIG_MPEG1VIDEO_ENCODER
79
#ifdef CONFIG_H264_ENCODER
80
//    register_avcodec(&h264_encoder);
81
#endif //CONFIG_H264_ENCODER
82
#ifdef CONFIG_MPEG2VIDEO_ENCODER
83
    register_avcodec(&mpeg2video_encoder);
84
#endif //CONFIG_MPEG2VIDEO_ENCODER
85
#ifdef CONFIG_H261_ENCODER
86
    register_avcodec(&h261_encoder);
87
#endif //CONFIG_H261_ENCODER
88
#ifdef CONFIG_H263_ENCODER
89
    register_avcodec(&h263_encoder);
90
#endif //CONFIG_H263_ENCODER
91
#ifdef CONFIG_H263P_ENCODER
92
    register_avcodec(&h263p_encoder);
93
#endif //CONFIG_H263P_ENCODER
94
#ifdef CONFIG_FLV_ENCODER
95
    register_avcodec(&flv_encoder);
96
#endif //CONFIG_FLV_ENCODER
97
#ifdef CONFIG_RV10_ENCODER
98
    register_avcodec(&rv10_encoder);
99
#endif //CONFIG_RV10_ENCODER
100
#ifdef CONFIG_RV20_ENCODER
101
    register_avcodec(&rv20_encoder);
102
#endif //CONFIG_RV20_ENCODER
103
#ifdef CONFIG_MPEG4_ENCODER
104
    register_avcodec(&mpeg4_encoder);
105
#endif //CONFIG_MPEG4_ENCODER
106
#ifdef CONFIG_MSMPEG4V1_ENCODER
107
    register_avcodec(&msmpeg4v1_encoder);
108
#endif //CONFIG_MSMPEG4V1_ENCODER
109
#ifdef CONFIG_MSMPEG4V2_ENCODER
110
    register_avcodec(&msmpeg4v2_encoder);
111
#endif //CONFIG_MSMPEG4V2_ENCODER
112
#ifdef CONFIG_MSMPEG4V3_ENCODER
113
    register_avcodec(&msmpeg4v3_encoder);
114
#endif //CONFIG_MSMPEG4V3_ENCODER
115
#ifdef CONFIG_WMV1_ENCODER
116
    register_avcodec(&wmv1_encoder);
117
#endif //CONFIG_WMV1_ENCODER
118
#ifdef CONFIG_WMV2_ENCODER
119
    register_avcodec(&wmv2_encoder);
120
#endif //CONFIG_WMV2_ENCODER
121
#ifdef CONFIG_SVQ1_ENCODER
122
    register_avcodec(&svq1_encoder);
123
#endif //CONFIG_SVQ1_ENCODER
124
#ifdef CONFIG_MJPEG_ENCODER
125
    register_avcodec(&mjpeg_encoder);
126
#endif //CONFIG_MJPEG_ENCODER
127
#ifdef CONFIG_LJPEG_ENCODER
128
    register_avcodec(&ljpeg_encoder);
129
#endif //CONFIG_LJPEG_ENCODER
130
#ifdef CONFIG_JPEGLS_ENCODER
131
    register_avcodec(&jpegls_encoder);
132
#endif //CONFIG_JPEGLS_ENCODER
133
#ifdef CONFIG_ZLIB
134
#ifdef CONFIG_PNG_ENCODER
135
    register_avcodec(&png_encoder);
136
#endif //CONFIG_PNG_ENCODER
137
#endif
138
#ifdef CONFIG_PPM_ENCODER
139
    register_avcodec(&ppm_encoder);
140
#endif //CONFIG_PPM_ENCODER
141
#ifdef CONFIG_PGM_ENCODER
142
    register_avcodec(&pgm_encoder);
143
#endif //CONFIG_PGM_ENCODER
144
#ifdef CONFIG_PGMYUV_ENCODER
145
    register_avcodec(&pgmyuv_encoder);
146
#endif //CONFIG_PGMYUV_ENCODER
147
#ifdef CONFIG_PBM_ENCODER
148
    register_avcodec(&pbm_encoder);
149
#endif //CONFIG_PBM_ENCODER
150
#ifdef CONFIG_PAM_ENCODER
151
    register_avcodec(&pam_encoder);
152
#endif //CONFIG_PAM_ENCODER
153
#ifdef CONFIG_HUFFYUV_ENCODER
154
    register_avcodec(&huffyuv_encoder);
155
#endif //CONFIG_HUFFYUV_ENCODER
156
#ifdef CONFIG_FFVHUFF_ENCODER
157
    register_avcodec(&ffvhuff_encoder);
158
#endif //CONFIG_FFVHUFF_ENCODER
159
#ifdef CONFIG_ASV1_ENCODER
160
    register_avcodec(&asv1_encoder);
161
#endif //CONFIG_ASV1_ENCODER
162
#ifdef CONFIG_ASV2_ENCODER
163
    register_avcodec(&asv2_encoder);
164
#endif //CONFIG_ASV2_ENCODER
165
#ifdef CONFIG_FFV1_ENCODER
166
    register_avcodec(&ffv1_encoder);
167
#endif //CONFIG_FFV1_ENCODER
168
#ifdef CONFIG_SNOW_ENCODER
169
    register_avcodec(&snow_encoder);
170
#endif //CONFIG_SNOW_ENCODER
171
#ifdef CONFIG_ZLIB_ENCODER
172
    register_avcodec(&zlib_encoder);
173
#endif //CONFIG_ZLIB_ENCODER
174
#ifdef CONFIG_DVVIDEO_ENCODER
175
    register_avcodec(&dvvideo_encoder);
176
#endif //CONFIG_DVVIDEO_ENCODER
177
#ifdef CONFIG_SONIC_ENCODER
178
    register_avcodec(&sonic_encoder);
179
#endif //CONFIG_SONIC_ENCODER
180
#ifdef CONFIG_SONIC_LS_ENCODER
181
    register_avcodec(&sonic_ls_encoder);
182
#endif //CONFIG_SONIC_LS_ENCODER
183
#ifdef CONFIG_X264
184
#ifdef CONFIG_X264_ENCODER
185
    register_avcodec(&x264_encoder);
186
#endif //CONFIG_X264_ENCODER
187
#endif
188
#ifdef CONFIG_LIBGSM
189
    register_avcodec(&libgsm_encoder);
190
#endif //CONFIG_LIBGSM
191
#ifdef CONFIG_RAWVIDEO_ENCODER
192
    register_avcodec(&rawvideo_encoder);
193
#endif //CONFIG_RAWVIDEO_ENCODER
194

    
195
    /* decoders */
196
#ifdef CONFIG_GIF_DECODER
197
    register_avcodec(&gif_decoder);
198
#endif
199
#ifdef CONFIG_H263_DECODER
200
    register_avcodec(&h263_decoder);
201
#endif //CONFIG_H263_DECODER
202
#ifdef CONFIG_H261_DECODER
203
    register_avcodec(&h261_decoder);
204
#endif //CONFIG_H261_DECODER
205
#ifdef CONFIG_MPEG4_DECODER
206
    register_avcodec(&mpeg4_decoder);
207
#endif //CONFIG_MPEG4_DECODER
208
#ifdef CONFIG_MSMPEG4V1_DECODER
209
    register_avcodec(&msmpeg4v1_decoder);
210
#endif //CONFIG_MSMPEG4V1_DECODER
211
#ifdef CONFIG_MSMPEG4V2_DECODER
212
    register_avcodec(&msmpeg4v2_decoder);
213
#endif //CONFIG_MSMPEG4V2_DECODER
214
#ifdef CONFIG_MSMPEG4V3_DECODER
215
    register_avcodec(&msmpeg4v3_decoder);
216
#endif //CONFIG_MSMPEG4V3_DECODER
217
#ifdef CONFIG_WMV1_DECODER
218
    register_avcodec(&wmv1_decoder);
219
#endif //CONFIG_WMV1_DECODER
220
#ifdef CONFIG_WMV2_DECODER
221
    register_avcodec(&wmv2_decoder);
222
#endif //CONFIG_WMV2_DECODER
223
#ifdef CONFIG_VC1_DECODER
224
    register_avcodec(&vc1_decoder);
225
#endif //CONFIG_VC1_DECODER
226
#ifdef CONFIG_WMV3_DECODER
227
    register_avcodec(&wmv3_decoder);
228
#endif //CONFIG_WMV3_DECODER
229
#ifdef CONFIG_H263I_DECODER
230
    register_avcodec(&h263i_decoder);
231
#endif //CONFIG_H263I_DECODER
232
#ifdef CONFIG_FLV_DECODER
233
    register_avcodec(&flv_decoder);
234
#endif //CONFIG_FLV_DECODER
235
#ifdef CONFIG_RV10_DECODER
236
    register_avcodec(&rv10_decoder);
237
#endif //CONFIG_RV10_DECODER
238
#ifdef CONFIG_RV20_DECODER
239
    register_avcodec(&rv20_decoder);
240
#endif //CONFIG_RV20_DECODER
241
#ifdef CONFIG_SVQ1_DECODER
242
    register_avcodec(&svq1_decoder);
243
#endif //CONFIG_SVQ1_DECODER
244
#ifdef CONFIG_SVQ3_DECODER
245
    register_avcodec(&svq3_decoder);
246
#endif //CONFIG_SVQ3_DECODER
247
#ifdef CONFIG_WMAV1_DECODER
248
    register_avcodec(&wmav1_decoder);
249
#endif //CONFIG_WMAV1_DECODER
250
#ifdef CONFIG_WMAV2_DECODER
251
    register_avcodec(&wmav2_decoder);
252
#endif //CONFIG_WMAV2_DECODER
253
#ifdef CONFIG_INDEO2_DECODER
254
    register_avcodec(&indeo2_decoder);
255
#endif //CONFIG_INDEO2_DECODER
256
#ifdef CONFIG_INDEO3_DECODER
257
    register_avcodec(&indeo3_decoder);
258
#endif //CONFIG_INDEO3_DECODER
259
#ifdef CONFIG_TSCC_DECODER
260
    register_avcodec(&tscc_decoder);
261
#endif //CONFIG_TSCC_DECODER
262
#ifdef CONFIG_CSCD_DECODER
263
    register_avcodec(&cscd_decoder);
264
#endif //CONFIG_CSCD_DECODER
265
#ifdef CONFIG_NUV_DECODER
266
    register_avcodec(&nuv_decoder);
267
#endif //CONFIG_NUV_DECODER
268
#ifdef CONFIG_ULTI_DECODER
269
    register_avcodec(&ulti_decoder);
270
#endif //CONFIG_ULTI_DECODER
271
#ifdef CONFIG_QDRAW_DECODER
272
    register_avcodec(&qdraw_decoder);
273
#endif //CONFIG_QDRAW_DECODER
274
#ifdef CONFIG_XL_DECODER
275
    register_avcodec(&xl_decoder);
276
#endif //CONFIG_XL_DECODER
277
#ifdef CONFIG_QPEG_DECODER
278
    register_avcodec(&qpeg_decoder);
279
#endif //CONFIG_QPEG_DECODER
280
#ifdef CONFIG_LOCO_DECODER
281
    register_avcodec(&loco_decoder);
282
#endif //CONFIG_LOCO_DECODER
283
#ifdef CONFIG_KMVC_DECODER
284
    register_avcodec(&kmvc_decoder);
285
#endif //CONFIG_KMVC_DECODER
286
#ifdef CONFIG_WNV1_DECODER
287
    register_avcodec(&wnv1_decoder);
288
#endif //CONFIG_WNV1_DECODER
289
#ifdef CONFIG_AASC_DECODER
290
    register_avcodec(&aasc_decoder);
291
#endif //CONFIG_AASC_DECODER
292
#ifdef CONFIG_FRAPS_DECODER
293
    register_avcodec(&fraps_decoder);
294
#endif //CONFIG_FRAPS_DECODER
295
#ifdef CONFIG_FAAD
296
#ifdef CONFIG_AAC_DECODER
297
    register_avcodec(&aac_decoder);
298
#endif //CONFIG_AAC_DECODER
299
#ifdef CONFIG_MPEG4AAC_DECODER
300
    register_avcodec(&mpeg4aac_decoder);
301
#endif //CONFIG_MPEG4AAC_DECODER
302
#endif
303
#ifdef CONFIG_MPEG1VIDEO_DECODER
304
    register_avcodec(&mpeg1video_decoder);
305
#endif //CONFIG_MPEG1VIDEO_DECODER
306
#ifdef CONFIG_MPEG2VIDEO_DECODER
307
    register_avcodec(&mpeg2video_decoder);
308
#endif //CONFIG_MPEG2VIDEO_DECODER
309
#ifdef CONFIG_MPEGVIDEO_DECODER
310
    register_avcodec(&mpegvideo_decoder);
311
#endif //CONFIG_MPEGVIDEO_DECODER
312
#ifdef HAVE_XVMC
313
#ifdef CONFIG_MPEG_XVMC_DECODER
314
    register_avcodec(&mpeg_xvmc_decoder);
315
#endif //CONFIG_MPEG_XVMC_DECODER
316
#endif
317
#ifdef CONFIG_DVVIDEO_DECODER
318
    register_avcodec(&dvvideo_decoder);
319
#endif //CONFIG_DVVIDEO_DECODER
320
#ifdef CONFIG_MJPEG_DECODER
321
    register_avcodec(&mjpeg_decoder);
322
#endif //CONFIG_MJPEG_DECODER
323
#ifdef CONFIG_MJPEGB_DECODER
324
    register_avcodec(&mjpegb_decoder);
325
#endif //CONFIG_MJPEGB_DECODER
326
#ifdef CONFIG_SP5X_DECODER
327
    register_avcodec(&sp5x_decoder);
328
#endif //CONFIG_SP5X_DECODER
329
#ifdef CONFIG_ZLIB
330
#ifdef CONFIG_PNG_DECODER
331
    register_avcodec(&png_decoder);
332
#endif //CONFIG_PNG_DECODER
333
#endif
334
#ifdef CONFIG_MP2_DECODER
335
    register_avcodec(&mp2_decoder);
336
#endif //CONFIG_MP2_DECODER
337
#ifdef CONFIG_MP3_DECODER
338
    register_avcodec(&mp3_decoder);
339
#endif //CONFIG_MP3_DECODER
340
#ifdef CONFIG_MP3ADU_DECODER
341
    register_avcodec(&mp3adu_decoder);
342
#endif //CONFIG_MP3ADU_DECODER
343
#ifdef CONFIG_MP3ON4_DECODER
344
    register_avcodec(&mp3on4_decoder);
345
#endif //CONFIG_MP3ON4_DECODER
346
#ifdef CONFIG_MACE3_DECODER
347
    register_avcodec(&mace3_decoder);
348
#endif //CONFIG_MACE3_DECODER
349
#ifdef CONFIG_MACE6_DECODER
350
    register_avcodec(&mace6_decoder);
351
#endif //CONFIG_MACE6_DECODER
352
#ifdef CONFIG_HUFFYUV_DECODER
353
    register_avcodec(&huffyuv_decoder);
354
#endif //CONFIG_HUFFYUV_DECODER
355
#ifdef CONFIG_FFVHUFF_DECODER
356
    register_avcodec(&ffvhuff_decoder);
357
#endif //CONFIG_FFVHUFF_DECODER
358
#ifdef CONFIG_FFV1_DECODER
359
    register_avcodec(&ffv1_decoder);
360
#endif //CONFIG_FFV1_DECODER
361
#ifdef CONFIG_SNOW_DECODER
362
    register_avcodec(&snow_decoder);
363
#endif //CONFIG_SNOW_DECODER
364
#ifdef CONFIG_CYUV_DECODER
365
    register_avcodec(&cyuv_decoder);
366
#endif //CONFIG_CYUV_DECODER
367
#ifdef CONFIG_H264_DECODER
368
    register_avcodec(&h264_decoder);
369
#endif //CONFIG_H264_DECODER
370
#ifdef CONFIG_VP3_DECODER
371
    register_avcodec(&vp3_decoder);
372
#endif //CONFIG_VP3_DECODER
373
#ifdef CONFIG_THEORA_DECODER
374
    register_avcodec(&theora_decoder);
375
#endif //CONFIG_THEORA_DECODER
376
#ifdef CONFIG_VP5_DECODER
377
    register_avcodec(&vp5_decoder);
378
#endif //CONFIG_VP5_DECODER
379
#ifdef CONFIG_VP6_DECODER
380
    register_avcodec(&vp6_decoder);
381
#endif //CONFIG_VP6_DECODER
382
#ifdef CONFIG_VP6F_DECODER
383
    register_avcodec(&vp6f_decoder);
384
#endif //CONFIG_VP6F_DECODER
385
#ifdef CONFIG_ASV1_DECODER
386
    register_avcodec(&asv1_decoder);
387
#endif //CONFIG_ASV1_DECODER
388
#ifdef CONFIG_ASV2_DECODER
389
    register_avcodec(&asv2_decoder);
390
#endif //CONFIG_ASV2_DECODER
391
#ifdef CONFIG_VCR1_DECODER
392
    register_avcodec(&vcr1_decoder);
393
#endif //CONFIG_VCR1_DECODER
394
#ifdef CONFIG_CLJR_DECODER
395
    register_avcodec(&cljr_decoder);
396
#endif //CONFIG_CLJR_DECODER
397
#ifdef CONFIG_FOURXM_DECODER
398
    register_avcodec(&fourxm_decoder);
399
#endif //CONFIG_FOURXM_DECODER
400
#ifdef CONFIG_MDEC_DECODER
401
    register_avcodec(&mdec_decoder);
402
#endif //CONFIG_MDEC_DECODER
403
#ifdef CONFIG_ROQ_DECODER
404
    register_avcodec(&roq_decoder);
405
#endif //CONFIG_ROQ_DECODER
406
#ifdef CONFIG_INTERPLAY_VIDEO_DECODER
407
    register_avcodec(&interplay_video_decoder);
408
#endif //CONFIG_INTERPLAY_VIDEO_DECODER
409
#ifdef CONFIG_XAN_WC3_DECODER
410
    register_avcodec(&xan_wc3_decoder);
411
#endif //CONFIG_XAN_WC3_DECODER
412
#ifdef CONFIG_RPZA_DECODER
413
    register_avcodec(&rpza_decoder);
414
#endif //CONFIG_RPZA_DECODER
415
#ifdef CONFIG_CINEPAK_DECODER
416
    register_avcodec(&cinepak_decoder);
417
#endif //CONFIG_CINEPAK_DECODER
418
#ifdef CONFIG_MSRLE_DECODER
419
    register_avcodec(&msrle_decoder);
420
#endif //CONFIG_MSRLE_DECODER
421
#ifdef CONFIG_MSVIDEO1_DECODER
422
    register_avcodec(&msvideo1_decoder);
423
#endif //CONFIG_MSVIDEO1_DECODER
424
#ifdef CONFIG_VQA_DECODER
425
    register_avcodec(&vqa_decoder);
426
#endif //CONFIG_VQA_DECODER
427
#ifdef CONFIG_IDCIN_DECODER
428
    register_avcodec(&idcin_decoder);
429
#endif //CONFIG_IDCIN_DECODER
430
#ifdef CONFIG_EIGHTBPS_DECODER
431
    register_avcodec(&eightbps_decoder);
432
#endif //CONFIG_EIGHTBPS_DECODER
433
#ifdef CONFIG_SMC_DECODER
434
    register_avcodec(&smc_decoder);
435
#endif //CONFIG_SMC_DECODER
436
#ifdef CONFIG_FLIC_DECODER
437
    register_avcodec(&flic_decoder);
438
#endif //CONFIG_FLIC_DECODER
439
#ifdef CONFIG_TRUEMOTION1_DECODER
440
    register_avcodec(&truemotion1_decoder);
441
#endif //CONFIG_TRUEMOTION1_DECODER
442
#ifdef CONFIG_TRUEMOTION2_DECODER
443
    register_avcodec(&truemotion2_decoder);
444
#endif //CONFIG_TRUEMOTION2_DECODER
445
#ifdef CONFIG_VMDVIDEO_DECODER
446
    register_avcodec(&vmdvideo_decoder);
447
#endif //CONFIG_VMDVIDEO_DECODER
448
#ifdef CONFIG_VMDAUDIO_DECODER
449
    register_avcodec(&vmdaudio_decoder);
450
#endif //CONFIG_VMDAUDIO_DECODER
451
#ifdef CONFIG_MSZH_DECODER
452
    register_avcodec(&mszh_decoder);
453
#endif //CONFIG_MSZH_DECODER
454
#ifdef CONFIG_ZLIB_DECODER
455
    register_avcodec(&zlib_decoder);
456
#endif //CONFIG_ZLIB_DECODER
457
#ifdef CONFIG_ZMBV_DECODER
458
    register_avcodec(&zmbv_decoder);
459
#endif //CONFIG_ZMBV_DECODER
460
#ifdef CONFIG_SMACKER_DECODER
461
    register_avcodec(&smacker_decoder);
462
#endif //CONFIG_SMACKER_DECODER
463
#ifdef CONFIG_SMACKAUD_DECODER
464
    register_avcodec(&smackaud_decoder);
465
#endif //CONFIG_SMACKAUD_DECODER
466
#ifdef CONFIG_SONIC_DECODER
467
    register_avcodec(&sonic_decoder);
468
#endif //CONFIG_SONIC_DECODER
469
#ifdef CONFIG_AC3
470
#ifdef CONFIG_AC3_DECODER
471
    register_avcodec(&ac3_decoder);
472
#endif //CONFIG_AC3_DECODER
473
#endif
474
#ifdef CONFIG_DTS
475
#ifdef CONFIG_DTS_DECODER
476
    register_avcodec(&dts_decoder);
477
#endif //CONFIG_DTS_DECODER
478
#endif
479
#ifdef CONFIG_RA_144_DECODER
480
    register_avcodec(&ra_144_decoder);
481
#endif //CONFIG_RA_144_DECODER
482
#ifdef CONFIG_RA_288_DECODER
483
    register_avcodec(&ra_288_decoder);
484
#endif //CONFIG_RA_288_DECODER
485
#ifdef CONFIG_ROQ_DPCM_DECODER
486
    register_avcodec(&roq_dpcm_decoder);
487
#endif //CONFIG_ROQ_DPCM_DECODER
488
#ifdef CONFIG_INTERPLAY_DPCM_DECODER
489
    register_avcodec(&interplay_dpcm_decoder);
490
#endif //CONFIG_INTERPLAY_DPCM_DECODER
491
#ifdef CONFIG_XAN_DPCM_DECODER
492
    register_avcodec(&xan_dpcm_decoder);
493
#endif //CONFIG_XAN_DPCM_DECODER
494
#ifdef CONFIG_SOL_DPCM_DECODER
495
    register_avcodec(&sol_dpcm_decoder);
496
#endif //CONFIG_SOL_DPCM_DECODER
497
#ifdef CONFIG_QTRLE_DECODER
498
    register_avcodec(&qtrle_decoder);
499
#endif //CONFIG_QTRLE_DECODER
500
#ifdef CONFIG_FLAC_DECODER
501
    register_avcodec(&flac_decoder);
502
#endif //CONFIG_FLAC_DECODER
503
#ifdef CONFIG_SHORTEN_DECODER
504
    register_avcodec(&shorten_decoder);
505
#endif //CONFIG_SHORTEN_DECODER
506
#ifdef CONFIG_ALAC_DECODER
507
    register_avcodec(&alac_decoder);
508
#endif //CONFIG_ALAC_DECODER
509
#ifdef CONFIG_WS_SND1_DECODER
510
    register_avcodec(&ws_snd1_decoder);
511
#endif //CONFIG_WS_SND1_DECODER
512
#ifdef CONFIG_VORBIS_DECODER
513
    register_avcodec(&vorbis_decoder);
514
#endif
515
#ifdef CONFIG_VORBIS_ENCODER
516
    register_avcodec(&vorbis_encoder);
517
#endif
518
#ifdef CONFIG_LIBGSM
519
    register_avcodec(&libgsm_decoder);
520
#endif //CONFIG_LIBGSM
521
#ifdef CONFIG_QDM2_DECODER
522
    register_avcodec(&qdm2_decoder);
523
#endif //CONFIG_QDM2_DECODER
524
#ifdef CONFIG_COOK_DECODER
525
    register_avcodec(&cook_decoder);
526
#endif //CONFIG_COOK_DECODER
527
#ifdef CONFIG_TRUESPEECH_DECODER
528
    register_avcodec(&truespeech_decoder);
529
#endif //CONFIG_TRUESPEECH_DECODER
530
#ifdef CONFIG_TTA_DECODER
531
    register_avcodec(&tta_decoder);
532
#endif //CONFIG_TTA_DECODER
533
#ifdef CONFIG_AVS_DECODER
534
    register_avcodec(&avs_decoder);
535
#endif //CONFIG_AVS_DECODER
536
#ifdef CONFIG_CAVS_DECODER
537
    register_avcodec(&cavs_decoder);
538
#endif //CONFIG_CAVS_DECODER
539
#ifdef CONFIG_RAWVIDEO_DECODER
540
    register_avcodec(&rawvideo_decoder);
541
#endif //CONFIG_RAWVIDEO_DECODER
542
#ifdef CONFIG_FLASHSV_DECODER
543
    register_avcodec(&flashsv_decoder);
544
#endif //CONFIG_FLASHSV_DECODER
545
#ifdef CONFIG_VMNC_DECODER
546
    register_avcodec(&vmnc_decoder);
547
#endif //CONFIG_VMNC_DECODER
548
#ifdef CONFIG_WAVPACK_DECODER
549
    register_avcodec(&wavpack_decoder);
550
#endif //CONFIG_WAVPACK_DECODER
551
#ifdef CONFIG_TARGA_DECODER
552
    register_avcodec(&targa_decoder);
553
#endif //CONFIG_TARGA_DECODER
554
#ifdef CONFIG_DSICINVIDEO_DECODER
555
    register_avcodec(&dsicinvideo_decoder);
556
#endif //CONFIG_DSICINVIDEO_DECODER
557
#ifdef CONFIG_DSICINAUDIO_DECODER
558
    register_avcodec(&dsicinaudio_decoder);
559
#endif //CONFIG_DSICINAUDIO_DECODER
560
#ifdef CONFIG_TIERTEXSEQVIDEO_DECODER
561
    register_avcodec(&tiertexseqvideo_decoder);
562
#endif //CONFIG_TIERTEXSEQVIDEO_DECODER
563
#ifdef CONFIG_TIFF_DECODER
564
    register_avcodec(&tiff_decoder);
565
#endif //CONFIG_TIFF_DECODER
566

    
567
#if defined(CONFIG_AMR_NB) || defined(CONFIG_AMR_NB_FIXED)
568
#ifdef CONFIG_AMR_NB_DECODER
569
    register_avcodec(&amr_nb_decoder);
570
#endif //CONFIG_AMR_NB_DECODER
571
#ifdef CONFIG_AMR_NB_ENCODER
572
    register_avcodec(&amr_nb_encoder);
573
#endif //CONFIG_AMR_NB_ENCODER
574
#endif /* CONFIG_AMR_NB || CONFIG_AMR_NB_FIXED */
575

    
576
#ifdef CONFIG_AMR_WB
577
#ifdef CONFIG_AMR_WB_DECODER
578
    register_avcodec(&amr_wb_decoder);
579
#endif //CONFIG_AMR_WB_DECODER
580
#ifdef CONFIG_AMR_WB_ENCODER
581
    register_avcodec(&amr_wb_encoder);
582
#endif //CONFIG_AMR_WB_ENCODER
583
#endif /* CONFIG_AMR_WB */
584

    
585
#ifdef CONFIG_BMP_DECODER
586
    register_avcodec(&bmp_decoder);
587
#endif
588

    
589
#if CONFIG_MMVIDEO_DECODER
590
    register_avcodec(&mmvideo_decoder);
591
#endif //CONFIG_MMVIDEO_DECODER
592

    
593
    /* pcm codecs */
594
#ifdef CONFIG_PCM_S32LE_DECODER
595
    register_avcodec(&pcm_s32le_decoder);
596
#endif
597
#ifdef CONFIG_PCM_S32LE_ENCODER
598
    register_avcodec(&pcm_s32le_encoder);
599
#endif
600
#ifdef CONFIG_PCM_S32BE_DECODER
601
    register_avcodec(&pcm_s32be_decoder);
602
#endif
603
#ifdef CONFIG_PCM_S32BE_ENCODER
604
    register_avcodec(&pcm_s32be_encoder);
605
#endif
606
#ifdef CONFIG_PCM_U32LE_DECODER
607
    register_avcodec(&pcm_u32le_decoder);
608
#endif
609
#ifdef CONFIG_PCM_U32LE_ENCODER
610
    register_avcodec(&pcm_u32le_encoder);
611
#endif
612
#ifdef CONFIG_PCM_U32BE_DECODER
613
    register_avcodec(&pcm_u32be_decoder);
614
#endif
615
#ifdef CONFIG_PCM_U32BE_ENCODER
616
    register_avcodec(&pcm_u32be_encoder);
617
#endif
618
#ifdef CONFIG_PCM_S24LE_DECODER
619
    register_avcodec(&pcm_s24le_decoder);
620
#endif
621
#ifdef CONFIG_PCM_S24LE_ENCODER
622
    register_avcodec(&pcm_s24le_encoder);
623
#endif
624
#ifdef CONFIG_PCM_S24BE_DECODER
625
    register_avcodec(&pcm_s24be_decoder);
626
#endif
627
#ifdef CONFIG_PCM_S24BE_ENCODER
628
    register_avcodec(&pcm_s24be_encoder);
629
#endif
630
#ifdef CONFIG_PCM_U24LE_DECODER
631
    register_avcodec(&pcm_u24le_decoder);
632
#endif
633
#ifdef CONFIG_PCM_U24LE_ENCODER
634
    register_avcodec(&pcm_u24le_encoder);
635
#endif
636
#ifdef CONFIG_PCM_U24BE_DECODER
637
    register_avcodec(&pcm_u24be_decoder);
638
#endif
639
#ifdef CONFIG_PCM_U24BE_ENCODER
640
    register_avcodec(&pcm_u24be_encoder);
641
#endif
642
#ifdef CONFIG_PCM_S24DAUD_DECODER
643
    register_avcodec(&pcm_s24daud_decoder);
644
#endif
645
#ifdef CONFIG_PCM_S24DAUD_ENCODER
646
    register_avcodec(&pcm_s24daud_encoder);
647
#endif
648
#ifdef CONFIG_PCM_S16LE_DECODER
649
    register_avcodec(&pcm_s16le_decoder);
650
#endif
651
#ifdef CONFIG_PCM_S16LE_ENCODER
652
    register_avcodec(&pcm_s16le_encoder);
653
#endif
654
#ifdef CONFIG_PCM_S16BE_DECODER
655
    register_avcodec(&pcm_s16be_decoder);
656
#endif
657
#ifdef CONFIG_PCM_S16BE_ENCODER
658
    register_avcodec(&pcm_s16be_encoder);
659
#endif
660
#ifdef CONFIG_PCM_U16LE_DECODER
661
    register_avcodec(&pcm_u16le_decoder);
662
#endif
663
#ifdef CONFIG_PCM_U16LE_ENCODER
664
    register_avcodec(&pcm_u16le_encoder);
665
#endif
666
#ifdef CONFIG_PCM_U16BE_DECODER
667
    register_avcodec(&pcm_u16be_decoder);
668
#endif
669
#ifdef CONFIG_PCM_U16BE_ENCODER
670
    register_avcodec(&pcm_u16be_encoder);
671
#endif
672
#ifdef CONFIG_PCM_S8_DECODER
673
    register_avcodec(&pcm_s8_decoder);
674
#endif
675
#ifdef CONFIG_PCM_S8_ENCODER
676
    register_avcodec(&pcm_s8_encoder);
677
#endif
678
#ifdef CONFIG_PCM_U8_DECODER
679
    register_avcodec(&pcm_u8_decoder);
680
#endif
681
#ifdef CONFIG_PCM_U8_ENCODER
682
    register_avcodec(&pcm_u8_encoder);
683
#endif
684
#ifdef CONFIG_PCM_ALAW_DECODER
685
    register_avcodec(&pcm_alaw_decoder);
686
#endif
687
#ifdef CONFIG_PCM_ALAW_ENCODER
688
    register_avcodec(&pcm_alaw_encoder);
689
#endif
690
#ifdef CONFIG_PCM_MULAW_DECODER
691
    register_avcodec(&pcm_mulaw_decoder);
692
#endif
693
#ifdef CONFIG_PCM_MULAW_ENCODER
694
    register_avcodec(&pcm_mulaw_encoder);
695
#endif
696

    
697
   /* adpcm codecs */
698
#ifdef CONFIG_ADPCM_IMA_QT_DECODER
699
    register_avcodec(&adpcm_ima_qt_decoder);
700
#endif
701
#ifdef CONFIG_ADPCM_IMA_QT_ENCODER
702
    register_avcodec(&adpcm_ima_qt_encoder);
703
#endif
704
#ifdef CONFIG_ADPCM_IMA_WAV_DECODER
705
    register_avcodec(&adpcm_ima_wav_decoder);
706
#endif
707
#ifdef CONFIG_ADPCM_IMA_WAV_ENCODER
708
    register_avcodec(&adpcm_ima_wav_encoder);
709
#endif
710
#ifdef CONFIG_ADPCM_IMA_DK3_DECODER
711
    register_avcodec(&adpcm_ima_dk3_decoder);
712
#endif
713
#ifdef CONFIG_ADPCM_IMA_DK3_ENCODER
714
    register_avcodec(&adpcm_ima_dk3_encoder);
715
#endif
716
#ifdef CONFIG_ADPCM_IMA_DK4_DECODER
717
    register_avcodec(&adpcm_ima_dk4_decoder);
718
#endif
719
#ifdef CONFIG_ADPCM_IMA_DK4_ENCODER
720
    register_avcodec(&adpcm_ima_dk4_encoder);
721
#endif
722
#ifdef CONFIG_ADPCM_IMA_WS_DECODER
723
    register_avcodec(&adpcm_ima_ws_decoder);
724
#endif
725
#ifdef CONFIG_ADPCM_IMA_WS_ENCODER
726
    register_avcodec(&adpcm_ima_ws_encoder);
727
#endif
728
#ifdef CONFIG_ADPCM_IMA_SMJPEG_DECODER
729
    register_avcodec(&adpcm_ima_smjpeg_decoder);
730
#endif
731
#ifdef CONFIG_ADPCM_IMA_SMJPEG_ENCODER
732
    register_avcodec(&adpcm_ima_smjpeg_encoder);
733
#endif
734
#ifdef CONFIG_ADPCM_MS_DECODER
735
    register_avcodec(&adpcm_ms_decoder);
736
#endif
737
#ifdef CONFIG_ADPCM_MS_ENCODER
738
    register_avcodec(&adpcm_ms_encoder);
739
#endif
740
#ifdef CONFIG_ADPCM_4XM_DECODER
741
    register_avcodec(&adpcm_4xm_decoder);
742
#endif
743
#ifdef CONFIG_ADPCM_4XM_ENCODER
744
    register_avcodec(&adpcm_4xm_encoder);
745
#endif
746
#ifdef CONFIG_ADPCM_XA_DECODER
747
    register_avcodec(&adpcm_xa_decoder);
748
#endif
749
#ifdef CONFIG_ADPCM_XA_ENCODER
750
    register_avcodec(&adpcm_xa_encoder);
751
#endif
752
#ifdef CONFIG_ADPCM_ADX_DECODER
753
    register_avcodec(&adpcm_adx_decoder);
754
#endif
755
#ifdef CONFIG_ADPCM_ADX_ENCODER
756
    register_avcodec(&adpcm_adx_encoder);
757
#endif
758
#ifdef CONFIG_ADPCM_EA_DECODER
759
    register_avcodec(&adpcm_ea_decoder);
760
#endif
761
#ifdef CONFIG_ADPCM_EA_ENCODER
762
    register_avcodec(&adpcm_ea_encoder);
763
#endif
764
#ifdef CONFIG_ADPCM_G726_DECODER
765
    register_avcodec(&adpcm_g726_decoder);
766
#endif
767
#ifdef CONFIG_ADPCM_G726_ENCODER
768
    register_avcodec(&adpcm_g726_encoder);
769
#endif
770
#ifdef CONFIG_ADPCM_CT_DECODER
771
    register_avcodec(&adpcm_ct_decoder);
772
#endif
773
#ifdef CONFIG_ADPCM_CT_ENCODER
774
    register_avcodec(&adpcm_ct_encoder);
775
#endif
776
#ifdef CONFIG_ADPCM_SWF_DECODER
777
    register_avcodec(&adpcm_swf_decoder);
778
#endif
779
#ifdef CONFIG_ADPCM_SWF_ENCODER
780
    register_avcodec(&adpcm_swf_encoder);
781
#endif
782
#ifdef CONFIG_ADPCM_YAMAHA_DECODER
783
    register_avcodec(&adpcm_yamaha_decoder);
784
#endif
785
#ifdef CONFIG_ADPCM_YAMAHA_ENCODER
786
    register_avcodec(&adpcm_yamaha_encoder);
787
#endif
788
#ifdef CONFIG_ADPCM_SBPRO_4_DECODER
789
    register_avcodec(&adpcm_sbpro_4_decoder);
790
#endif
791
#ifdef CONFIG_ADPCM_SBPRO_4_ENCODER
792
    register_avcodec(&adpcm_sbpro_4_encoder);
793
#endif
794
#ifdef CONFIG_ADPCM_SBPRO_3_DECODER
795
    register_avcodec(&adpcm_sbpro_3_decoder);
796
#endif
797
#ifdef CONFIG_ADPCM_SBPRO_3_ENCODER
798
    register_avcodec(&adpcm_sbpro_3_encoder);
799
#endif
800
#ifdef CONFIG_ADPCM_SBPRO_2_DECODER
801
    register_avcodec(&adpcm_sbpro_2_decoder);
802
#endif
803
#ifdef CONFIG_ADPCM_SBPRO_2_ENCODER
804
    register_avcodec(&adpcm_sbpro_2_encoder);
805
#endif
806

    
807
    /* subtitles */
808
#ifdef CONFIG_DVDSUB_DECODER
809
    register_avcodec(&dvdsub_decoder);
810
#endif
811
#ifdef CONFIG_DVDSUB_ENCODER
812
    register_avcodec(&dvdsub_encoder);
813
#endif
814

    
815
#ifdef CONFIG_DVBSUB_DECODER
816
    register_avcodec(&dvbsub_decoder);
817
#endif
818
#ifdef CONFIG_DVBSUB_ENCODER
819
    register_avcodec(&dvbsub_encoder);
820
#endif
821

    
822
    /* parsers */
823
#ifdef CONFIG_MPEGVIDEO_PARSER
824
    av_register_codec_parser(&mpegvideo_parser);
825
#endif
826
#ifdef CONFIG_MPEG4VIDEO_PARSER
827
    av_register_codec_parser(&mpeg4video_parser);
828
#endif
829
#ifdef CONFIG_CAVSVIDEO_PARSER
830
    av_register_codec_parser(&cavsvideo_parser);
831
#endif
832
#ifdef CONFIG_H261_PARSER
833
    av_register_codec_parser(&h261_parser);
834
#endif
835
#ifdef CONFIG_H263_PARSER
836
    av_register_codec_parser(&h263_parser);
837
#endif
838
#ifdef CONFIG_H264_PARSER
839
    av_register_codec_parser(&h264_parser);
840
#endif
841
#ifdef CONFIG_MJPEG_PARSER
842
    av_register_codec_parser(&mjpeg_parser);
843
#endif
844
#ifdef CONFIG_PNM_PARSER
845
    av_register_codec_parser(&pnm_parser);
846
#endif
847
#ifdef CONFIG_MPEGAUDIO_PARSER
848
    av_register_codec_parser(&mpegaudio_parser);
849
#endif
850
#ifdef CONFIG_AC3_PARSER
851
    av_register_codec_parser(&ac3_parser);
852
#endif
853
#ifdef CONFIG_DVDSUB_PARSER
854
    av_register_codec_parser(&dvdsub_parser);
855
#endif
856
#ifdef CONFIG_DVBSUB_PARSER
857
    av_register_codec_parser(&dvbsub_parser);
858
#endif
859
#ifdef CONFIG_AAC_PARSER
860
    av_register_codec_parser(&aac_parser);
861
#endif
862

    
863
    av_register_bitstream_filter(&dump_extradata_bsf);
864
    av_register_bitstream_filter(&remove_extradata_bsf);
865
    av_register_bitstream_filter(&noise_bsf);
866
}
867