rename AMR config variables to CONFIG_AMR*
[libav.git] / libavcodec / allcodecs.c
CommitLineData
771b9a70
FB
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
5509bffa 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
771b9a70 18 */
983e3246
MN
19
20/**
21 * @file allcodecs.c
22 * Utils for libavcodec.
23 */
24
771b9a70
FB
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/**
115329f1 31 * simple call to register all the codecs.
771b9a70
FB
32 */
33void avcodec_register_all(void)
34{
35 static int inited = 0;
115329f1 36
771b9a70 37 if (inited != 0)
bb270c08 38 return;
771b9a70
FB
39 inited = 1;
40
41 /* encoders */
42#ifdef CONFIG_ENCODERS
422f4df8 43#ifdef CONFIG_AC3_ENCODER
771b9a70 44 register_avcodec(&ac3_encoder);
422f4df8
MN
45#endif //CONFIG_AC3_ENCODER
46#ifdef CONFIG_MP2_ENCODER
771b9a70 47 register_avcodec(&mp2_encoder);
422f4df8 48#endif //CONFIG_MP2_ENCODER
771b9a70 49#ifdef CONFIG_MP3LAME
422f4df8 50#ifdef CONFIG_MP3LAME_ENCODER
771b9a70 51 register_avcodec(&mp3lame_encoder);
422f4df8 52#endif //CONFIG_MP3LAME_ENCODER
771b9a70 53#endif
5c5dea3f 54#ifdef CONFIG_LIBVORBIS
422f4df8 55#ifdef CONFIG_OGGVORBIS_ENCODER
81e0d0b4 56 register_avcodec(&oggvorbis_encoder);
422f4df8 57#endif //CONFIG_OGGVORBIS_ENCODER
0bde73d9 58#if (defined CONFIG_OGGVORBIS_DECODER && !defined CONFIG_VORBIS_DECODER)
3aca208a 59 register_avcodec(&oggvorbis_decoder);
422f4df8 60#endif //CONFIG_OGGVORBIS_DECODER
81e0d0b4 61#endif
5c5dea3f 62#ifdef CONFIG_LIBTHEORA
422f4df8 63#ifdef CONFIG_OGGTHEORA_ENCODER
aac064b5 64// register_avcodec(&oggtheora_encoder);
422f4df8
MN
65#endif //CONFIG_OGGTHEORA_ENCODER
66#ifdef CONFIG_OGGTHEORA_DECODER
5c5dea3f 67 register_avcodec(&oggtheora_decoder);
422f4df8 68#endif //CONFIG_OGGTHEORA_DECODER
5c5dea3f 69#endif
29d48296 70#ifdef CONFIG_FAAC
422f4df8 71#ifdef CONFIG_FAAC_ENCODER
29d48296 72 register_avcodec(&faac_encoder);
422f4df8 73#endif //CONFIG_FAAC_ENCODER
29d48296 74#endif
9e96ab03
MN
75#ifdef CONFIG_FLAC_ENCODER
76 register_avcodec(&flac_encoder);
77#endif
1ddadfa9 78#ifdef CONFIG_XVID
422f4df8 79#ifdef CONFIG_XVID_ENCODER
1ddadfa9 80 register_avcodec(&xvid_encoder);
422f4df8 81#endif //CONFIG_XVID_ENCODER
1ddadfa9 82#endif
422f4df8 83#ifdef CONFIG_MPEG1VIDEO_ENCODER
771b9a70 84 register_avcodec(&mpeg1video_encoder);
422f4df8
MN
85#endif //CONFIG_MPEG1VIDEO_ENCODER
86#ifdef CONFIG_H264_ENCODER
0da71265 87// register_avcodec(&h264_encoder);
422f4df8
MN
88#endif //CONFIG_H264_ENCODER
89#ifdef CONFIG_MPEG2VIDEO_ENCODER
029911d1 90 register_avcodec(&mpeg2video_encoder);
422f4df8
MN
91#endif //CONFIG_MPEG2VIDEO_ENCODER
92#ifdef CONFIG_H261_ENCODER
1c3990db 93 register_avcodec(&h261_encoder);
422f4df8
MN
94#endif //CONFIG_H261_ENCODER
95#ifdef CONFIG_H263_ENCODER
771b9a70 96 register_avcodec(&h263_encoder);
422f4df8
MN
97#endif //CONFIG_H263_ENCODER
98#ifdef CONFIG_H263P_ENCODER
771b9a70 99 register_avcodec(&h263p_encoder);
422f4df8
MN
100#endif //CONFIG_H263P_ENCODER
101#ifdef CONFIG_FLV_ENCODER
dde38422 102 register_avcodec(&flv_encoder);
422f4df8
MN
103#endif //CONFIG_FLV_ENCODER
104#ifdef CONFIG_RV10_ENCODER
771b9a70 105 register_avcodec(&rv10_encoder);
422f4df8
MN
106#endif //CONFIG_RV10_ENCODER
107#ifdef CONFIG_RV20_ENCODER
d0271e8a 108 register_avcodec(&rv20_encoder);
422f4df8
MN
109#endif //CONFIG_RV20_ENCODER
110#ifdef CONFIG_MPEG4_ENCODER
771b9a70 111 register_avcodec(&mpeg4_encoder);
422f4df8
MN
112#endif //CONFIG_MPEG4_ENCODER
113#ifdef CONFIG_MSMPEG4V1_ENCODER
771b9a70 114 register_avcodec(&msmpeg4v1_encoder);
422f4df8
MN
115#endif //CONFIG_MSMPEG4V1_ENCODER
116#ifdef CONFIG_MSMPEG4V2_ENCODER
771b9a70 117 register_avcodec(&msmpeg4v2_encoder);
422f4df8
MN
118#endif //CONFIG_MSMPEG4V2_ENCODER
119#ifdef CONFIG_MSMPEG4V3_ENCODER
771b9a70 120 register_avcodec(&msmpeg4v3_encoder);
422f4df8
MN
121#endif //CONFIG_MSMPEG4V3_ENCODER
122#ifdef CONFIG_WMV1_ENCODER
0151a6f5 123 register_avcodec(&wmv1_encoder);
422f4df8
MN
124#endif //CONFIG_WMV1_ENCODER
125#ifdef CONFIG_WMV2_ENCODER
1457ab52 126 register_avcodec(&wmv2_encoder);
422f4df8
MN
127#endif //CONFIG_WMV2_ENCODER
128#ifdef CONFIG_SVQ1_ENCODER
3b64893d 129 register_avcodec(&svq1_encoder);
422f4df8
MN
130#endif //CONFIG_SVQ1_ENCODER
131#ifdef CONFIG_MJPEG_ENCODER
1d0d55da 132 register_avcodec(&mjpeg_encoder);
422f4df8
MN
133#endif //CONFIG_MJPEG_ENCODER
134#ifdef CONFIG_LJPEG_ENCODER
b1e6b355 135 register_avcodec(&ljpeg_encoder);
422f4df8 136#endif //CONFIG_LJPEG_ENCODER
5639729b
MN
137#ifdef CONFIG_JPEGLS_ENCODER
138 register_avcodec(&jpegls_encoder);
139#endif //CONFIG_JPEGLS_ENCODER
6c3890b6 140#ifdef CONFIG_ZLIB
422f4df8 141#ifdef CONFIG_PNG_ENCODER
4eff7cf4 142 register_avcodec(&png_encoder);
422f4df8 143#endif //CONFIG_PNG_ENCODER
6c3890b6 144#endif
422f4df8 145#ifdef CONFIG_PPM_ENCODER
5b6d5596 146 register_avcodec(&ppm_encoder);
422f4df8
MN
147#endif //CONFIG_PPM_ENCODER
148#ifdef CONFIG_PGM_ENCODER
5b6d5596 149 register_avcodec(&pgm_encoder);
422f4df8
MN
150#endif //CONFIG_PGM_ENCODER
151#ifdef CONFIG_PGMYUV_ENCODER
5b6d5596 152 register_avcodec(&pgmyuv_encoder);
422f4df8
MN
153#endif //CONFIG_PGMYUV_ENCODER
154#ifdef CONFIG_PBM_ENCODER
5b6d5596 155 register_avcodec(&pbm_encoder);
422f4df8
MN
156#endif //CONFIG_PBM_ENCODER
157#ifdef CONFIG_PAM_ENCODER
5b6d5596 158 register_avcodec(&pam_encoder);
422f4df8
MN
159#endif //CONFIG_PAM_ENCODER
160#ifdef CONFIG_HUFFYUV_ENCODER
11f18faf 161 register_avcodec(&huffyuv_encoder);
422f4df8
MN
162#endif //CONFIG_HUFFYUV_ENCODER
163#ifdef CONFIG_FFVHUFF_ENCODER
f37b9768 164 register_avcodec(&ffvhuff_encoder);
422f4df8
MN
165#endif //CONFIG_FFVHUFF_ENCODER
166#ifdef CONFIG_ASV1_ENCODER
3d2e8cce 167 register_avcodec(&asv1_encoder);
422f4df8
MN
168#endif //CONFIG_ASV1_ENCODER
169#ifdef CONFIG_ASV2_ENCODER
1149acdc 170 register_avcodec(&asv2_encoder);
422f4df8
MN
171#endif //CONFIG_ASV2_ENCODER
172#ifdef CONFIG_FFV1_ENCODER
5e20f836 173 register_avcodec(&ffv1_encoder);
422f4df8
MN
174#endif //CONFIG_FFV1_ENCODER
175#ifdef CONFIG_SNOW_ENCODER
791e7b83 176 register_avcodec(&snow_encoder);
422f4df8
MN
177#endif //CONFIG_SNOW_ENCODER
178#ifdef CONFIG_ZLIB_ENCODER
a273bbfb 179 register_avcodec(&zlib_encoder);
422f4df8
MN
180#endif //CONFIG_ZLIB_ENCODER
181#ifdef CONFIG_DVVIDEO_ENCODER
6faa4645 182 register_avcodec(&dvvideo_encoder);
422f4df8
MN
183#endif //CONFIG_DVVIDEO_ENCODER
184#ifdef CONFIG_SONIC_ENCODER
54f5fd22 185 register_avcodec(&sonic_encoder);
422f4df8
MN
186#endif //CONFIG_SONIC_ENCODER
187#ifdef CONFIG_SONIC_LS_ENCODER
54f5fd22 188 register_avcodec(&sonic_ls_encoder);
422f4df8 189#endif //CONFIG_SONIC_LS_ENCODER
6662ec29 190#ifdef CONFIG_X264
422f4df8 191#ifdef CONFIG_X264_ENCODER
6662ec29 192 register_avcodec(&x264_encoder);
422f4df8 193#endif //CONFIG_X264_ENCODER
6662ec29 194#endif
bb4c2140
MN
195#ifdef CONFIG_LIBGSM
196 register_avcodec(&libgsm_encoder);
197#endif //CONFIG_LIBGSM
422f4df8 198#ifdef CONFIG_RAWVIDEO_ENCODER
63167088 199 register_avcodec(&rawvideo_encoder);
422f4df8 200#endif //CONFIG_RAWVIDEO_ENCODER
2c5ee47d 201#endif /* CONFIG_ENCODERS */
771b9a70
FB
202
203 /* decoders */
204#ifdef CONFIG_DECODERS
422f4df8 205#ifdef CONFIG_H263_DECODER
771b9a70 206 register_avcodec(&h263_decoder);
422f4df8
MN
207#endif //CONFIG_H263_DECODER
208#ifdef CONFIG_H261_DECODER
c6148de2 209 register_avcodec(&h261_decoder);
422f4df8
MN
210#endif //CONFIG_H261_DECODER
211#ifdef CONFIG_MPEG4_DECODER
771b9a70 212 register_avcodec(&mpeg4_decoder);
422f4df8
MN
213#endif //CONFIG_MPEG4_DECODER
214#ifdef CONFIG_MSMPEG4V1_DECODER
771b9a70 215 register_avcodec(&msmpeg4v1_decoder);
422f4df8
MN
216#endif //CONFIG_MSMPEG4V1_DECODER
217#ifdef CONFIG_MSMPEG4V2_DECODER
771b9a70 218 register_avcodec(&msmpeg4v2_decoder);
422f4df8
MN
219#endif //CONFIG_MSMPEG4V2_DECODER
220#ifdef CONFIG_MSMPEG4V3_DECODER
771b9a70 221 register_avcodec(&msmpeg4v3_decoder);
422f4df8
MN
222#endif //CONFIG_MSMPEG4V3_DECODER
223#ifdef CONFIG_WMV1_DECODER
771b9a70 224 register_avcodec(&wmv1_decoder);
422f4df8
MN
225#endif //CONFIG_WMV1_DECODER
226#ifdef CONFIG_WMV2_DECODER
1457ab52 227 register_avcodec(&wmv2_decoder);
422f4df8 228#endif //CONFIG_WMV2_DECODER
10b9c374
KS
229#ifdef CONFIG_VC1_DECODER
230 register_avcodec(&vc1_decoder);
231#endif //CONFIG_VC1_DECODER
faf824df 232/* Reenable when it stops crashing on every file, causing bug report spam.
422f4df8 233#ifdef CONFIG_WMV3_DECODER
4c12e8be 234 register_avcodec(&wmv3_decoder);
422f4df8 235#endif //CONFIG_WMV3_DECODER
faf824df 236*/
422f4df8 237#ifdef CONFIG_H263I_DECODER
771b9a70 238 register_avcodec(&h263i_decoder);
422f4df8
MN
239#endif //CONFIG_H263I_DECODER
240#ifdef CONFIG_FLV_DECODER
dde38422 241 register_avcodec(&flv_decoder);
422f4df8
MN
242#endif //CONFIG_FLV_DECODER
243#ifdef CONFIG_RV10_DECODER
771b9a70 244 register_avcodec(&rv10_decoder);
422f4df8
MN
245#endif //CONFIG_RV10_DECODER
246#ifdef CONFIG_RV20_DECODER
68b94c35 247 register_avcodec(&rv20_decoder);
422f4df8
MN
248#endif //CONFIG_RV20_DECODER
249#ifdef CONFIG_SVQ1_DECODER
be8ffec9 250 register_avcodec(&svq1_decoder);
422f4df8
MN
251#endif //CONFIG_SVQ1_DECODER
252#ifdef CONFIG_SVQ3_DECODER
8b82a956 253 register_avcodec(&svq3_decoder);
422f4df8
MN
254#endif //CONFIG_SVQ3_DECODER
255#ifdef CONFIG_WMAV1_DECODER
1d0d55da 256 register_avcodec(&wmav1_decoder);
422f4df8
MN
257#endif //CONFIG_WMAV1_DECODER
258#ifdef CONFIG_WMAV2_DECODER
1d0d55da 259 register_avcodec(&wmav2_decoder);
422f4df8
MN
260#endif //CONFIG_WMAV2_DECODER
261#ifdef CONFIG_INDEO2_DECODER
856dbbff 262 register_avcodec(&indeo2_decoder);
422f4df8
MN
263#endif //CONFIG_INDEO2_DECODER
264#ifdef CONFIG_INDEO3_DECODER
deabd4fd 265 register_avcodec(&indeo3_decoder);
422f4df8
MN
266#endif //CONFIG_INDEO3_DECODER
267#ifdef CONFIG_TSCC_DECODER
d0a0bbd2 268 register_avcodec(&tscc_decoder);
422f4df8 269#endif //CONFIG_TSCC_DECODER
e0f80bd7
RD
270#ifdef CONFIG_CSCD_DECODER
271 register_avcodec(&cscd_decoder);
272#endif //CONFIG_CSCD_DECODER
dfca23e3
RD
273#ifdef CONFIG_NUV_DECODER
274 register_avcodec(&nuv_decoder);
275#endif //CONFIG_NUV_DECODER
422f4df8 276#ifdef CONFIG_ULTI_DECODER
d0a0bbd2 277 register_avcodec(&ulti_decoder);
422f4df8
MN
278#endif //CONFIG_ULTI_DECODER
279#ifdef CONFIG_QDRAW_DECODER
d08d7142 280 register_avcodec(&qdraw_decoder);
422f4df8
MN
281#endif //CONFIG_QDRAW_DECODER
282#ifdef CONFIG_XL_DECODER
ab711b3c 283 register_avcodec(&xl_decoder);
422f4df8
MN
284#endif //CONFIG_XL_DECODER
285#ifdef CONFIG_QPEG_DECODER
acfd8f0f 286 register_avcodec(&qpeg_decoder);
422f4df8
MN
287#endif //CONFIG_QPEG_DECODER
288#ifdef CONFIG_LOCO_DECODER
9c7fb608 289 register_avcodec(&loco_decoder);
422f4df8 290#endif //CONFIG_LOCO_DECODER
fd7b1991
KS
291#ifdef CONFIG_KMVC_DECODER
292 register_avcodec(&kmvc_decoder);
293#endif //CONFIG_KMVC_DECODER
422f4df8 294#ifdef CONFIG_WNV1_DECODER
a8a15e9d 295 register_avcodec(&wnv1_decoder);
422f4df8
MN
296#endif //CONFIG_WNV1_DECODER
297#ifdef CONFIG_AASC_DECODER
589f8220 298 register_avcodec(&aasc_decoder);
422f4df8 299#endif //CONFIG_AASC_DECODER
b81f8949
MM
300#ifdef CONFIG_FRAPS_DECODER
301 register_avcodec(&fraps_decoder);
302#endif //CONFIG_FRAPS_DECODER
280bd7b7 303#ifdef CONFIG_FAAD
422f4df8 304#ifdef CONFIG_AAC_DECODER
280bd7b7 305 register_avcodec(&aac_decoder);
422f4df8
MN
306#endif //CONFIG_AAC_DECODER
307#ifdef CONFIG_MPEG4AAC_DECODER
280bd7b7 308 register_avcodec(&mpeg4aac_decoder);
422f4df8 309#endif //CONFIG_MPEG4AAC_DECODER
280bd7b7 310#endif
422f4df8 311#ifdef CONFIG_MPEG1VIDEO_DECODER
922bc38d 312 register_avcodec(&mpeg1video_decoder);
422f4df8
MN
313#endif //CONFIG_MPEG1VIDEO_DECODER
314#ifdef CONFIG_MPEG2VIDEO_DECODER
922bc38d 315 register_avcodec(&mpeg2video_decoder);
422f4df8
MN
316#endif //CONFIG_MPEG2VIDEO_DECODER
317#ifdef CONFIG_MPEGVIDEO_DECODER
c512b303 318 register_avcodec(&mpegvideo_decoder);
422f4df8 319#endif //CONFIG_MPEGVIDEO_DECODER
2e7b4c84 320#ifdef HAVE_XVMC
422f4df8 321#ifdef CONFIG_MPEG_XVMC_DECODER
2e7b4c84 322 register_avcodec(&mpeg_xvmc_decoder);
422f4df8 323#endif //CONFIG_MPEG_XVMC_DECODER
2e7b4c84 324#endif
422f4df8 325#ifdef CONFIG_DVVIDEO_DECODER
020fcc94 326 register_avcodec(&dvvideo_decoder);
422f4df8
MN
327#endif //CONFIG_DVVIDEO_DECODER
328#ifdef CONFIG_MJPEG_DECODER
771b9a70 329 register_avcodec(&mjpeg_decoder);
422f4df8
MN
330#endif //CONFIG_MJPEG_DECODER
331#ifdef CONFIG_MJPEGB_DECODER
b135d9fb 332 register_avcodec(&mjpegb_decoder);
422f4df8
MN
333#endif //CONFIG_MJPEGB_DECODER
334#ifdef CONFIG_SP5X_DECODER
5e83dec4 335 register_avcodec(&sp5x_decoder);
422f4df8 336#endif //CONFIG_SP5X_DECODER
6c3890b6 337#ifdef CONFIG_ZLIB
422f4df8 338#ifdef CONFIG_PNG_DECODER
4eff7cf4 339 register_avcodec(&png_decoder);
422f4df8 340#endif //CONFIG_PNG_DECODER
6c3890b6 341#endif
422f4df8 342#ifdef CONFIG_MP2_DECODER
771b9a70 343 register_avcodec(&mp2_decoder);
422f4df8
MN
344#endif //CONFIG_MP2_DECODER
345#ifdef CONFIG_MP3_DECODER
771b9a70 346 register_avcodec(&mp3_decoder);
422f4df8
MN
347#endif //CONFIG_MP3_DECODER
348#ifdef CONFIG_MP3ADU_DECODER
1ede228a 349 register_avcodec(&mp3adu_decoder);
422f4df8
MN
350#endif //CONFIG_MP3ADU_DECODER
351#ifdef CONFIG_MP3ON4_DECODER
d2a7718d 352 register_avcodec(&mp3on4_decoder);
422f4df8
MN
353#endif //CONFIG_MP3ON4_DECODER
354#ifdef CONFIG_MACE3_DECODER
3f95e843 355 register_avcodec(&mace3_decoder);
422f4df8
MN
356#endif //CONFIG_MACE3_DECODER
357#ifdef CONFIG_MACE6_DECODER
3f95e843 358 register_avcodec(&mace6_decoder);
422f4df8
MN
359#endif //CONFIG_MACE6_DECODER
360#ifdef CONFIG_HUFFYUV_DECODER
11f18faf 361 register_avcodec(&huffyuv_decoder);
422f4df8
MN
362#endif //CONFIG_HUFFYUV_DECODER
363#ifdef CONFIG_FFVHUFF_DECODER
f37b9768 364 register_avcodec(&ffvhuff_decoder);
422f4df8
MN
365#endif //CONFIG_FFVHUFF_DECODER
366#ifdef CONFIG_FFV1_DECODER
5e20f836 367 register_avcodec(&ffv1_decoder);
422f4df8
MN
368#endif //CONFIG_FFV1_DECODER
369#ifdef CONFIG_SNOW_DECODER
791e7b83 370 register_avcodec(&snow_decoder);
422f4df8
MN
371#endif //CONFIG_SNOW_DECODER
372#ifdef CONFIG_CYUV_DECODER
c78f73c8 373 register_avcodec(&cyuv_decoder);
422f4df8
MN
374#endif //CONFIG_CYUV_DECODER
375#ifdef CONFIG_H264_DECODER
0da71265 376 register_avcodec(&h264_decoder);
422f4df8
MN
377#endif //CONFIG_H264_DECODER
378#ifdef CONFIG_VP3_DECODER
d86053a4 379 register_avcodec(&vp3_decoder);
422f4df8 380#endif //CONFIG_VP3_DECODER
aac064b5 381#if (defined CONFIG_THEORA_DECODER && !defined CONFIG_LIBTHEORA)
f44ee2c3 382 register_avcodec(&theora_decoder);
422f4df8
MN
383#endif //CONFIG_THEORA_DECODER
384#ifdef CONFIG_ASV1_DECODER
3d2e8cce 385 register_avcodec(&asv1_decoder);
422f4df8
MN
386#endif //CONFIG_ASV1_DECODER
387#ifdef CONFIG_ASV2_DECODER
9b56edf5 388 register_avcodec(&asv2_decoder);
422f4df8
MN
389#endif //CONFIG_ASV2_DECODER
390#ifdef CONFIG_VCR1_DECODER
be3564ed 391 register_avcodec(&vcr1_decoder);
422f4df8
MN
392#endif //CONFIG_VCR1_DECODER
393#ifdef CONFIG_CLJR_DECODER
3aff069b 394 register_avcodec(&cljr_decoder);
422f4df8
MN
395#endif //CONFIG_CLJR_DECODER
396#ifdef CONFIG_FOURXM_DECODER
8809cfee 397 register_avcodec(&fourxm_decoder);
422f4df8
MN
398#endif //CONFIG_FOURXM_DECODER
399#ifdef CONFIG_MDEC_DECODER
c3bf0288 400 register_avcodec(&mdec_decoder);
422f4df8
MN
401#endif //CONFIG_MDEC_DECODER
402#ifdef CONFIG_ROQ_DECODER
3ef8be2b 403 register_avcodec(&roq_decoder);
422f4df8
MN
404#endif //CONFIG_ROQ_DECODER
405#ifdef CONFIG_INTERPLAY_VIDEO_DECODER
3ef8be2b 406 register_avcodec(&interplay_video_decoder);
422f4df8
MN
407#endif //CONFIG_INTERPLAY_VIDEO_DECODER
408#ifdef CONFIG_XAN_WC3_DECODER
9937e686 409 register_avcodec(&xan_wc3_decoder);
422f4df8
MN
410#endif //CONFIG_XAN_WC3_DECODER
411#ifdef CONFIG_RPZA_DECODER
2fdf638b 412 register_avcodec(&rpza_decoder);
422f4df8
MN
413#endif //CONFIG_RPZA_DECODER
414#ifdef CONFIG_CINEPAK_DECODER
2fdf638b 415 register_avcodec(&cinepak_decoder);
422f4df8
MN
416#endif //CONFIG_CINEPAK_DECODER
417#ifdef CONFIG_MSRLE_DECODER
2fdf638b 418 register_avcodec(&msrle_decoder);
422f4df8
MN
419#endif //CONFIG_MSRLE_DECODER
420#ifdef CONFIG_MSVIDEO1_DECODER
2fdf638b 421 register_avcodec(&msvideo1_decoder);
422f4df8
MN
422#endif //CONFIG_MSVIDEO1_DECODER
423#ifdef CONFIG_VQA_DECODER
6955a882 424 register_avcodec(&vqa_decoder);
422f4df8
MN
425#endif //CONFIG_VQA_DECODER
426#ifdef CONFIG_IDCIN_DECODER
4120a53a 427 register_avcodec(&idcin_decoder);
422f4df8
MN
428#endif //CONFIG_IDCIN_DECODER
429#ifdef CONFIG_EIGHTBPS_DECODER
1dc1ed99 430 register_avcodec(&eightbps_decoder);
422f4df8
MN
431#endif //CONFIG_EIGHTBPS_DECODER
432#ifdef CONFIG_SMC_DECODER
11e29a41 433 register_avcodec(&smc_decoder);
422f4df8
MN
434#endif //CONFIG_SMC_DECODER
435#ifdef CONFIG_FLIC_DECODER
42cad81a 436 register_avcodec(&flic_decoder);
422f4df8
MN
437#endif //CONFIG_FLIC_DECODER
438#ifdef CONFIG_TRUEMOTION1_DECODER
9a4117d5 439 register_avcodec(&truemotion1_decoder);
422f4df8 440#endif //CONFIG_TRUEMOTION1_DECODER
64af6168
MM
441#ifdef CONFIG_TRUEMOTION2_DECODER
442 register_avcodec(&truemotion2_decoder);
443#endif //CONFIG_TRUEMOTION2_DECODER
422f4df8 444#ifdef CONFIG_VMDVIDEO_DECODER
fafa0b75 445 register_avcodec(&vmdvideo_decoder);
422f4df8
MN
446#endif //CONFIG_VMDVIDEO_DECODER
447#ifdef CONFIG_VMDAUDIO_DECODER
fafa0b75 448 register_avcodec(&vmdaudio_decoder);
422f4df8
MN
449#endif //CONFIG_VMDAUDIO_DECODER
450#ifdef CONFIG_MSZH_DECODER
a273bbfb 451 register_avcodec(&mszh_decoder);
422f4df8
MN
452#endif //CONFIG_MSZH_DECODER
453#ifdef CONFIG_ZLIB_DECODER
a273bbfb 454 register_avcodec(&zlib_decoder);
422f4df8 455#endif //CONFIG_ZLIB_DECODER
9c8d8e84
MM
456#ifdef CONFIG_ZMBV_DECODER
457 register_avcodec(&zmbv_decoder);
458#endif //CONFIG_ZMBV_DECODER
348efc18
KS
459#ifdef CONFIG_SMACKER_DECODER
460 register_avcodec(&smacker_decoder);
461#endif //CONFIG_SMACKER_DECODER
462#ifdef CONFIG_SMACKAUD_DECODER
463 register_avcodec(&smackaud_decoder);
464#endif //CONFIG_SMACKAUD_DECODER
422f4df8 465#ifdef CONFIG_SONIC_DECODER
54f5fd22 466 register_avcodec(&sonic_decoder);
422f4df8 467#endif //CONFIG_SONIC_DECODER
771b9a70 468#ifdef CONFIG_AC3
422f4df8 469#ifdef CONFIG_AC3_DECODER
771b9a70 470 register_avcodec(&ac3_decoder);
422f4df8 471#endif //CONFIG_AC3_DECODER
771b9a70 472#endif
23c99253 473#ifdef CONFIG_DTS
422f4df8 474#ifdef CONFIG_DTS_DECODER
23c99253 475 register_avcodec(&dts_decoder);
422f4df8 476#endif //CONFIG_DTS_DECODER
23c99253 477#endif
422f4df8 478#ifdef CONFIG_RA_144_DECODER
b8414bbd 479 register_avcodec(&ra_144_decoder);
422f4df8
MN
480#endif //CONFIG_RA_144_DECODER
481#ifdef CONFIG_RA_288_DECODER
b8414bbd 482 register_avcodec(&ra_288_decoder);
422f4df8
MN
483#endif //CONFIG_RA_288_DECODER
484#ifdef CONFIG_ROQ_DPCM_DECODER
3ef8be2b 485 register_avcodec(&roq_dpcm_decoder);
422f4df8
MN
486#endif //CONFIG_ROQ_DPCM_DECODER
487#ifdef CONFIG_INTERPLAY_DPCM_DECODER
3ef8be2b 488 register_avcodec(&interplay_dpcm_decoder);
422f4df8
MN
489#endif //CONFIG_INTERPLAY_DPCM_DECODER
490#ifdef CONFIG_XAN_DPCM_DECODER
9937e686 491 register_avcodec(&xan_dpcm_decoder);
422f4df8
MN
492#endif //CONFIG_XAN_DPCM_DECODER
493#ifdef CONFIG_SOL_DPCM_DECODER
d08d7142 494 register_avcodec(&sol_dpcm_decoder);
422f4df8
MN
495#endif //CONFIG_SOL_DPCM_DECODER
496#ifdef CONFIG_QTRLE_DECODER
070ed1bc 497 register_avcodec(&qtrle_decoder);
422f4df8
MN
498#endif //CONFIG_QTRLE_DECODER
499#ifdef CONFIG_FLAC_DECODER
ac2570a8 500 register_avcodec(&flac_decoder);
422f4df8
MN
501#endif //CONFIG_FLAC_DECODER
502#ifdef CONFIG_SHORTEN_DECODER
85ad5695 503 register_avcodec(&shorten_decoder);
422f4df8
MN
504#endif //CONFIG_SHORTEN_DECODER
505#ifdef CONFIG_ALAC_DECODER
6d6d7970 506 register_avcodec(&alac_decoder);
422f4df8
MN
507#endif //CONFIG_ALAC_DECODER
508#ifdef CONFIG_WS_SND1_DECODER
034eeaa1 509 register_avcodec(&ws_snd1_decoder);
422f4df8 510#endif //CONFIG_WS_SND1_DECODER
0bde73d9
MN
511#ifdef CONFIG_VORBIS_DECODER
512 register_avcodec(&vorbis_decoder);
513#endif
bb4c2140
MN
514#ifdef CONFIG_LIBGSM
515 register_avcodec(&libgsm_decoder);
516#endif //CONFIG_LIBGSM
d9b1c197
RT
517#ifdef CONFIG_QDM2_DECODER
518 register_avcodec(&qdm2_decoder);
519#endif //CONFIG_QDM2_DECODER
e0f7e329
BL
520#ifdef CONFIG_COOK_DECODER
521 register_avcodec(&cook_decoder);
522#endif //CONFIG_COOK_DECODER
bf3027c8
DB
523#ifdef CONFIG_TRUESPEECH_DECODER
524 register_avcodec(&truespeech_decoder);
525#endif //CONFIG_TRUESPEECH_DECODER
a24c4a2a
AB
526#ifdef CONFIG_TTA_DECODER
527 register_avcodec(&tta_decoder);
528#endif //CONFIG_TTA_DECODER
26376701
MM
529#ifdef CONFIG_AVS_DECODER
530 register_avcodec(&avs_decoder);
531#endif //CONFIG_AVS_DECODER
b482e2d1
MN
532#ifdef CONFIG_CAVS_DECODER
533 register_avcodec(&cavs_decoder);
534#endif //CONFIG_CAVS_DECODER
2c5ee47d
EP
535#ifdef CONFIG_RAWVIDEO_DECODER
536 register_avcodec(&rawvideo_decoder);
537#endif //CONFIG_RAWVIDEO_DECODER
0919e788
BL
538#ifdef CONFIG_FLASHSV_DECODER
539 register_avcodec(&flashsv_decoder);
540#endif //CONFIG_FLASHSV_DECODER
771b9a70
FB
541#endif /* CONFIG_DECODERS */
542
6636b7e8 543#if defined(CONFIG_AMR_NB) || defined(CONFIG_AMR_NB_FIXED)
422f4df8 544#ifdef CONFIG_AMR_NB_DECODER
891f64b3 545 register_avcodec(&amr_nb_decoder);
422f4df8 546#endif //CONFIG_AMR_NB_DECODER
fc384777 547#ifdef CONFIG_ENCODERS
422f4df8 548#ifdef CONFIG_AMR_NB_ENCODER
bc634f6f 549 register_avcodec(&amr_nb_encoder);
422f4df8 550#endif //CONFIG_AMR_NB_ENCODER
fc384777 551#endif //CONFIG_ENCODERS
6636b7e8 552#endif /* CONFIG_AMR_NB || CONFIG_AMR_NB_FIXED */
d663a1fd 553
6636b7e8 554#ifdef CONFIG_AMR_WB
422f4df8 555#ifdef CONFIG_AMR_WB_DECODER
d663a1fd 556 register_avcodec(&amr_wb_decoder);
422f4df8 557#endif //CONFIG_AMR_WB_DECODER
fc384777 558#ifdef CONFIG_ENCODERS
422f4df8 559#ifdef CONFIG_AMR_WB_ENCODER
d663a1fd 560 register_avcodec(&amr_wb_encoder);
422f4df8 561#endif //CONFIG_AMR_WB_ENCODER
fc384777 562#endif //CONFIG_ENCODERS
6636b7e8 563#endif /* CONFIG_AMR_WB */
d663a1fd 564
9fa62f2a
MR
565#ifdef CONFIG_BMP_DECODER
566 register_avcodec(&bmp_decoder);
567#endif
568
4e114829
MM
569#if CONFIG_MMVIDEO_DECODER
570 register_avcodec(&mmvideo_decoder);
571#endif //CONFIG_MMVIDEO_DECODER
572
771b9a70 573 /* pcm codecs */
88e2539b
MR
574#ifdef CONFIG_PCM_S32LE_DECODER
575 register_avcodec(&pcm_s32le_decoder);
576#endif
577#ifdef CONFIG_PCM_S32LE_ENCODER
578 register_avcodec(&pcm_s32le_encoder);
579#endif
580#ifdef CONFIG_PCM_S32BE_DECODER
581 register_avcodec(&pcm_s32be_decoder);
582#endif
583#ifdef CONFIG_PCM_S32BE_ENCODER
584 register_avcodec(&pcm_s32be_encoder);
585#endif
586#ifdef CONFIG_PCM_U32LE_DECODER
587 register_avcodec(&pcm_u32le_decoder);
588#endif
589#ifdef CONFIG_PCM_U32LE_ENCODER
590 register_avcodec(&pcm_u32le_encoder);
591#endif
592#ifdef CONFIG_PCM_U32BE_DECODER
593 register_avcodec(&pcm_u32be_decoder);
594#endif
595#ifdef CONFIG_PCM_U32BE_ENCODER
596 register_avcodec(&pcm_u32be_encoder);
597#endif
598#ifdef CONFIG_PCM_S24LE_DECODER
599 register_avcodec(&pcm_s24le_decoder);
600#endif
601#ifdef CONFIG_PCM_S24LE_ENCODER
602 register_avcodec(&pcm_s24le_encoder);
603#endif
604#ifdef CONFIG_PCM_S24BE_DECODER
605 register_avcodec(&pcm_s24be_decoder);
606#endif
607#ifdef CONFIG_PCM_S24BE_ENCODER
608 register_avcodec(&pcm_s24be_encoder);
609#endif
610#ifdef CONFIG_PCM_U24LE_DECODER
611 register_avcodec(&pcm_u24le_decoder);
612#endif
613#ifdef CONFIG_PCM_U24LE_ENCODER
614 register_avcodec(&pcm_u24le_encoder);
615#endif
616#ifdef CONFIG_PCM_U24BE_DECODER
617 register_avcodec(&pcm_u24be_decoder);
618#endif
619#ifdef CONFIG_PCM_U24BE_ENCODER
620 register_avcodec(&pcm_u24be_encoder);
621#endif
622#ifdef CONFIG_PCM_S24DAUD_DECODER
623 register_avcodec(&pcm_s24daud_decoder);
624#endif
625#ifdef CONFIG_PCM_S24DAUD_ENCODER
626 register_avcodec(&pcm_s24daud_encoder);
627#endif
628#ifdef CONFIG_PCM_S16LE_DECODER
629 register_avcodec(&pcm_s16le_decoder);
630#endif
631#ifdef CONFIG_PCM_S16LE_ENCODER
632 register_avcodec(&pcm_s16le_encoder);
633#endif
634#ifdef CONFIG_PCM_S16BE_DECODER
635 register_avcodec(&pcm_s16be_decoder);
636#endif
637#ifdef CONFIG_PCM_S16BE_ENCODER
638 register_avcodec(&pcm_s16be_encoder);
639#endif
640#ifdef CONFIG_PCM_U16LE_DECODER
641 register_avcodec(&pcm_u16le_decoder);
642#endif
643#ifdef CONFIG_PCM_U16LE_ENCODER
644 register_avcodec(&pcm_u16le_encoder);
645#endif
646#ifdef CONFIG_PCM_U16BE_DECODER
647 register_avcodec(&pcm_u16be_decoder);
648#endif
649#ifdef CONFIG_PCM_U16BE_ENCODER
650 register_avcodec(&pcm_u16be_encoder);
651#endif
652#ifdef CONFIG_PCM_S8_DECODER
653 register_avcodec(&pcm_s8_decoder);
654#endif
655#ifdef CONFIG_PCM_S8_ENCODER
656 register_avcodec(&pcm_s8_encoder);
657#endif
658#ifdef CONFIG_PCM_U8_DECODER
659 register_avcodec(&pcm_u8_decoder);
660#endif
661#ifdef CONFIG_PCM_U8_ENCODER
662 register_avcodec(&pcm_u8_encoder);
663#endif
664#ifdef CONFIG_PCM_ALAW_DECODER
665 register_avcodec(&pcm_alaw_decoder);
666#endif
667#ifdef CONFIG_PCM_ALAW_ENCODER
668 register_avcodec(&pcm_alaw_encoder);
669#endif
670#ifdef CONFIG_PCM_MULAW_DECODER
671 register_avcodec(&pcm_mulaw_decoder);
672#endif
673#ifdef CONFIG_PCM_MULAW_ENCODER
674 register_avcodec(&pcm_mulaw_encoder);
fc384777
MM
675#endif
676
88e2539b
MR
677 /* adpcm codecs */
678#ifdef CONFIG_ADPCM_IMA_QT_DECODER
679 register_avcodec(&adpcm_ima_qt_decoder);
680#endif
681#ifdef CONFIG_ADPCM_IMA_QT_ENCODER
682 register_avcodec(&adpcm_ima_qt_encoder);
683#endif
684#ifdef CONFIG_ADPCM_IMA_WAV_DECODER
685 register_avcodec(&adpcm_ima_wav_decoder);
686#endif
687#ifdef CONFIG_ADPCM_IMA_WAV_ENCODER
688 register_avcodec(&adpcm_ima_wav_encoder);
689#endif
690#ifdef CONFIG_ADPCM_IMA_DK3_DECODER
691 register_avcodec(&adpcm_ima_dk3_decoder);
692#endif
693#ifdef CONFIG_ADPCM_IMA_DK3_ENCODER
694 register_avcodec(&adpcm_ima_dk3_encoder);
695#endif
696#ifdef CONFIG_ADPCM_IMA_DK4_DECODER
697 register_avcodec(&adpcm_ima_dk4_decoder);
698#endif
699#ifdef CONFIG_ADPCM_IMA_DK4_ENCODER
700 register_avcodec(&adpcm_ima_dk4_encoder);
701#endif
702#ifdef CONFIG_ADPCM_IMA_WS_DECODER
703 register_avcodec(&adpcm_ima_ws_decoder);
704#endif
705#ifdef CONFIG_ADPCM_IMA_WS_ENCODER
706 register_avcodec(&adpcm_ima_ws_encoder);
707#endif
708#ifdef CONFIG_ADPCM_IMA_SMJPEG_DECODER
709 register_avcodec(&adpcm_ima_smjpeg_decoder);
710#endif
711#ifdef CONFIG_ADPCM_IMA_SMJPEG_ENCODER
712 register_avcodec(&adpcm_ima_smjpeg_encoder);
713#endif
714#ifdef CONFIG_ADPCM_MS_DECODER
715 register_avcodec(&adpcm_ms_decoder);
716#endif
717#ifdef CONFIG_ADPCM_MS_ENCODER
718 register_avcodec(&adpcm_ms_encoder);
719#endif
720#ifdef CONFIG_ADPCM_4XM_DECODER
721 register_avcodec(&adpcm_4xm_decoder);
722#endif
723#ifdef CONFIG_ADPCM_4XM_ENCODER
724 register_avcodec(&adpcm_4xm_encoder);
725#endif
726#ifdef CONFIG_ADPCM_XA_DECODER
727 register_avcodec(&adpcm_xa_decoder);
728#endif
729#ifdef CONFIG_ADPCM_XA_ENCODER
730 register_avcodec(&adpcm_xa_encoder);
731#endif
732#ifdef CONFIG_ADPCM_ADX_DECODER
733 register_avcodec(&adpcm_adx_decoder);
734#endif
735#ifdef CONFIG_ADPCM_ADX_ENCODER
736 register_avcodec(&adpcm_adx_encoder);
737#endif
738#ifdef CONFIG_ADPCM_EA_DECODER
739 register_avcodec(&adpcm_ea_decoder);
740#endif
741#ifdef CONFIG_ADPCM_EA_ENCODER
742 register_avcodec(&adpcm_ea_encoder);
743#endif
744#ifdef CONFIG_ADPCM_G726_DECODER
745 register_avcodec(&adpcm_g726_decoder);
746#endif
747#ifdef CONFIG_ADPCM_G726_ENCODER
748 register_avcodec(&adpcm_g726_encoder);
749#endif
750#ifdef CONFIG_ADPCM_CT_DECODER
751 register_avcodec(&adpcm_ct_decoder);
752#endif
753#ifdef CONFIG_ADPCM_CT_ENCODER
754 register_avcodec(&adpcm_ct_encoder);
755#endif
756#ifdef CONFIG_ADPCM_SWF_DECODER
757 register_avcodec(&adpcm_swf_decoder);
758#endif
759#ifdef CONFIG_ADPCM_SWF_ENCODER
760 register_avcodec(&adpcm_swf_encoder);
761#endif
762#ifdef CONFIG_ADPCM_YAMAHA_DECODER
763 register_avcodec(&adpcm_yamaha_decoder);
764#endif
765#ifdef CONFIG_ADPCM_YAMAHA_ENCODER
766 register_avcodec(&adpcm_yamaha_encoder);
767#endif
768#ifdef CONFIG_ADPCM_SBPRO_4_DECODER
769 register_avcodec(&adpcm_sbpro_4_decoder);
770#endif
771#ifdef CONFIG_ADPCM_SBPRO_4_ENCODER
772 register_avcodec(&adpcm_sbpro_4_encoder);
773#endif
774#ifdef CONFIG_ADPCM_SBPRO_3_DECODER
775 register_avcodec(&adpcm_sbpro_3_decoder);
776#endif
777#ifdef CONFIG_ADPCM_SBPRO_3_ENCODER
778 register_avcodec(&adpcm_sbpro_3_encoder);
779#endif
780#ifdef CONFIG_ADPCM_SBPRO_2_DECODER
781 register_avcodec(&adpcm_sbpro_2_decoder);
782#endif
783#ifdef CONFIG_ADPCM_SBPRO_2_ENCODER
784 register_avcodec(&adpcm_sbpro_2_encoder);
785#endif
8424cf50 786
2c5ee47d 787 /* subtitles */
348e52c9
GP
788#ifdef CONFIG_DVDSUB_DECODER
789 register_avcodec(&dvdsub_decoder);
790#endif
791#ifdef CONFIG_DVDSUB_ENCODER
689abe56 792 register_avcodec(&dvdsub_encoder);
2c5ee47d
EP
793#endif
794
348e52c9 795#ifdef CONFIG_DVBSUB_DECODER
c6ec28b1 796 register_avcodec(&dvbsub_decoder);
2c5ee47d 797#endif
348e52c9
GP
798#ifdef CONFIG_DVBSUB_ENCODER
799 register_avcodec(&dvbsub_encoder);
800#endif
240c1657 801
115329f1 802 /* parsers */
af9e7d18 803#ifdef CONFIG_MPEGVIDEO_PARSER
8424cf50 804 av_register_codec_parser(&mpegvideo_parser);
af9e7d18
MR
805#endif
806#ifdef CONFIG_MPEG4VIDEO_PARSER
8424cf50 807 av_register_codec_parser(&mpeg4video_parser);
af9e7d18
MR
808#endif
809#ifdef CONFIG_CAVSVIDEO_PARSER
b482e2d1 810 av_register_codec_parser(&cavsvideo_parser);
29c5cdca 811#endif
af9e7d18 812#ifdef CONFIG_H261_PARSER
c6148de2 813 av_register_codec_parser(&h261_parser);
8b975b7c 814#endif
af9e7d18 815#ifdef CONFIG_H263_PARSER
8424cf50 816 av_register_codec_parser(&h263_parser);
af9e7d18
MR
817#endif
818#ifdef CONFIG_H264_PARSER
8424cf50 819 av_register_codec_parser(&h264_parser);
8b975b7c 820#endif
af9e7d18 821#ifdef CONFIG_MJPEG_PARSER
8e6325b9 822 av_register_codec_parser(&mjpeg_parser);
af9e7d18
MR
823#endif
824#ifdef CONFIG_PNM_PARSER
99f06236 825 av_register_codec_parser(&pnm_parser);
af9e7d18
MR
826#endif
827#ifdef CONFIG_MPEGAUDIO_PARSER
8424cf50 828 av_register_codec_parser(&mpegaudio_parser);
af9e7d18
MR
829#endif
830#ifdef CONFIG_AC3_PARSER
8424cf50 831 av_register_codec_parser(&ac3_parser);
af9e7d18
MR
832#endif
833#ifdef CONFIG_DVDSUB_PARSER
240c1657 834 av_register_codec_parser(&dvdsub_parser);
348e52c9 835#endif
af9e7d18 836#ifdef CONFIG_DVBSUB_PARSER
c6ec28b1 837 av_register_codec_parser(&dvbsub_parser);
348e52c9 838#endif
af9e7d18 839#ifdef CONFIG_AAC_PARSER
da46276f 840 av_register_codec_parser(&aac_parser);
af9e7d18 841#endif
748c2fca
MN
842
843 av_register_bitstream_filter(&dump_extradata_bsf);
844 av_register_bitstream_filter(&remove_extradata_bsf);
514e0831 845 av_register_bitstream_filter(&noise_bsf);
771b9a70
FB
846}
847