Statistics
| Branch: | Revision:

ffmpeg / libavcodec / allcodecs.c @ 5ce117c3

History | View | Annotate | Download (24.5 KB)

1
/*
2
 * Utils for libavcodec
3
 * Copyright (c) 2002 Fabrice Bellard.
4
 *
5
 * This library is free software; you can redistribute it and/or
6
 * modify it under the terms of the GNU Lesser General Public
7
 * License as published by the Free Software Foundation; either
8
 * version 2 of the License, or (at your option) any later version.
9
 *
10
 * This library is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13
 * Lesser General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU Lesser General Public
16
 * License along with this library; if not, write to the Free Software
17
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
 */
19

    
20
/**
21
 * @file allcodecs.c
22
 * Utils for libavcodec.
23
 */
24

    
25
#include "avcodec.h"
26

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

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

    
37
    if (inited != 0)
38
        return;
39
    inited = 1;
40

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

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

    
545
#if defined(CONFIG_AMR_NB) || defined(CONFIG_AMR_NB_FIXED)
546
#ifdef CONFIG_AMR_NB_DECODER
547
    register_avcodec(&amr_nb_decoder);
548
#endif //CONFIG_AMR_NB_DECODER
549
#ifdef CONFIG_ENCODERS
550
#ifdef CONFIG_AMR_NB_ENCODER
551
    register_avcodec(&amr_nb_encoder);
552
#endif //CONFIG_AMR_NB_ENCODER
553
#endif //CONFIG_ENCODERS
554
#endif /* CONFIG_AMR_NB || CONFIG_AMR_NB_FIXED */
555

    
556
#ifdef CONFIG_AMR_WB
557
#ifdef CONFIG_AMR_WB_DECODER
558
    register_avcodec(&amr_wb_decoder);
559
#endif //CONFIG_AMR_WB_DECODER
560
#ifdef CONFIG_ENCODERS
561
#ifdef CONFIG_AMR_WB_ENCODER
562
    register_avcodec(&amr_wb_encoder);
563
#endif //CONFIG_AMR_WB_ENCODER
564
#endif //CONFIG_ENCODERS
565
#endif /* CONFIG_AMR_WB */
566

    
567
#ifdef CONFIG_BMP_DECODER
568
    register_avcodec(&bmp_decoder);
569
#endif
570

    
571
#if CONFIG_MMVIDEO_DECODER
572
    register_avcodec(&mmvideo_decoder);
573
#endif //CONFIG_MMVIDEO_DECODER
574

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

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

    
789
    /* subtitles */
790
#ifdef CONFIG_DVDSUB_DECODER
791
    register_avcodec(&dvdsub_decoder);
792
#endif
793
#ifdef CONFIG_DVDSUB_ENCODER
794
    register_avcodec(&dvdsub_encoder);
795
#endif
796

    
797
#ifdef CONFIG_DVBSUB_DECODER
798
    register_avcodec(&dvbsub_decoder);
799
#endif
800
#ifdef CONFIG_DVBSUB_ENCODER
801
    register_avcodec(&dvbsub_encoder);
802
#endif
803

    
804
    /* parsers */
805
#ifdef CONFIG_MPEGVIDEO_PARSER
806
    av_register_codec_parser(&mpegvideo_parser);
807
#endif
808
#ifdef CONFIG_MPEG4VIDEO_PARSER
809
    av_register_codec_parser(&mpeg4video_parser);
810
#endif
811
#ifdef CONFIG_CAVSVIDEO_PARSER
812
    av_register_codec_parser(&cavsvideo_parser);
813
#endif
814
#ifdef CONFIG_H261_PARSER
815
    av_register_codec_parser(&h261_parser);
816
#endif
817
#ifdef CONFIG_H263_PARSER
818
    av_register_codec_parser(&h263_parser);
819
#endif
820
#ifdef CONFIG_H264_PARSER
821
    av_register_codec_parser(&h264_parser);
822
#endif
823
#ifdef CONFIG_MJPEG_PARSER
824
    av_register_codec_parser(&mjpeg_parser);
825
#endif
826
#ifdef CONFIG_PNM_PARSER
827
    av_register_codec_parser(&pnm_parser);
828
#endif
829
#ifdef CONFIG_MPEGAUDIO_PARSER
830
    av_register_codec_parser(&mpegaudio_parser);
831
#endif
832
#ifdef CONFIG_AC3_PARSER
833
    av_register_codec_parser(&ac3_parser);
834
#endif
835
#ifdef CONFIG_DVDSUB_PARSER
836
    av_register_codec_parser(&dvdsub_parser);
837
#endif
838
#ifdef CONFIG_DVBSUB_PARSER
839
    av_register_codec_parser(&dvbsub_parser);
840
#endif
841
#ifdef CONFIG_AAC_PARSER
842
    av_register_codec_parser(&aac_parser);
843
#endif
844

    
845
    av_register_bitstream_filter(&dump_extradata_bsf);
846
    av_register_bitstream_filter(&remove_extradata_bsf);
847
    av_register_bitstream_filter(&noise_bsf);
848
}
849