allcodecs.c 24.6 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/*
 * Utils for libavcodec
 * Copyright (c) 2002 Fabrice Bellard.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * 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
 */
Michael Niedermayer's avatar
Michael Niedermayer committed
19 20 21 22 23 24

/**
 * @file allcodecs.c
 * Utils for libavcodec.
 */

25 26 27 28 29 30
#include "avcodec.h"

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

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

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

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

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

547
#if defined(CONFIG_AMR_NB) || defined(CONFIG_AMR_NB_FIXED)
548
#ifdef CONFIG_AMR_NB_DECODER
549
    register_avcodec(&amr_nb_decoder);
550 551
#endif //CONFIG_AMR_NB_DECODER
#ifdef CONFIG_AMR_NB_ENCODER
Zdenek Kabelac's avatar
Zdenek Kabelac committed
552
    register_avcodec(&amr_nb_encoder);
553
#endif //CONFIG_AMR_NB_ENCODER
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 560
#endif //CONFIG_AMR_WB_DECODER
#ifdef CONFIG_AMR_WB_ENCODER
561
    register_avcodec(&amr_wb_encoder);
562
#endif //CONFIG_AMR_WB_ENCODER
563
#endif /* CONFIG_AMR_WB */
564

Måns Rullgård's avatar
Måns Rullgård committed
565 566 567 568
#ifdef CONFIG_BMP_DECODER
    register_avcodec(&bmp_decoder);
#endif

569 570 571 572
#if CONFIG_MMVIDEO_DECODER
    register_avcodec(&mmvideo_decoder);
#endif //CONFIG_MMVIDEO_DECODER

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

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

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

795
#ifdef CONFIG_DVBSUB_DECODER
796
    register_avcodec(&dvbsub_decoder);
797
#endif
798 799 800
#ifdef CONFIG_DVBSUB_ENCODER
    register_avcodec(&dvbsub_encoder);
#endif
Fabrice Bellard's avatar
Fabrice Bellard committed
801

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