bf8b052930f79443800adefd07ab28974ff8b543
[ffmpeg.git] / libavcodec / allcodecs.c
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_AC3_ENCODER
43     register_avcodec(&ac3_encoder);
44 #endif //CONFIG_AC3_ENCODER
45 #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
53 #ifdef CONFIG_LIBVORBIS
54 #ifdef CONFIG_OGGVORBIS_ENCODER
55     register_avcodec(&oggvorbis_encoder);
56 #endif //CONFIG_OGGVORBIS_ENCODER
57 #if (defined CONFIG_OGGVORBIS_DECODER && !defined CONFIG_VORBIS_DECODER)
58     register_avcodec(&oggvorbis_decoder);
59 #endif //CONFIG_OGGVORBIS_DECODER
60 #endif
61 #ifdef CONFIG_FAAC
62 #ifdef CONFIG_FAAC_ENCODER
63     register_avcodec(&faac_encoder);
64 #endif //CONFIG_FAAC_ENCODER
65 #endif
66 #ifdef CONFIG_FLAC_ENCODER
67     register_avcodec(&flac_encoder);
68 #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 #endif //CONFIG_MPEG1VIDEO_ENCODER
77 #ifdef CONFIG_H264_ENCODER
78 //    register_avcodec(&h264_encoder);
79 #endif //CONFIG_H264_ENCODER
80 #ifdef CONFIG_MPEG2VIDEO_ENCODER
81     register_avcodec(&mpeg2video_encoder);
82 #endif //CONFIG_MPEG2VIDEO_ENCODER
83 #ifdef CONFIG_H261_ENCODER
84     register_avcodec(&h261_encoder);
85 #endif //CONFIG_H261_ENCODER
86 #ifdef CONFIG_H263_ENCODER
87     register_avcodec(&h263_encoder);
88 #endif //CONFIG_H263_ENCODER
89 #ifdef CONFIG_H263P_ENCODER
90     register_avcodec(&h263p_encoder);
91 #endif //CONFIG_H263P_ENCODER
92 #ifdef CONFIG_FLV_ENCODER
93     register_avcodec(&flv_encoder);
94 #endif //CONFIG_FLV_ENCODER
95 #ifdef CONFIG_RV10_ENCODER
96     register_avcodec(&rv10_encoder);
97 #endif //CONFIG_RV10_ENCODER
98 #ifdef CONFIG_RV20_ENCODER
99     register_avcodec(&rv20_encoder);
100 #endif //CONFIG_RV20_ENCODER
101 #ifdef CONFIG_MPEG4_ENCODER
102     register_avcodec(&mpeg4_encoder);
103 #endif //CONFIG_MPEG4_ENCODER
104 #ifdef CONFIG_MSMPEG4V1_ENCODER
105     register_avcodec(&msmpeg4v1_encoder);
106 #endif //CONFIG_MSMPEG4V1_ENCODER
107 #ifdef CONFIG_MSMPEG4V2_ENCODER
108     register_avcodec(&msmpeg4v2_encoder);
109 #endif //CONFIG_MSMPEG4V2_ENCODER
110 #ifdef CONFIG_MSMPEG4V3_ENCODER
111     register_avcodec(&msmpeg4v3_encoder);
112 #endif //CONFIG_MSMPEG4V3_ENCODER
113 #ifdef CONFIG_WMV1_ENCODER
114     register_avcodec(&wmv1_encoder);
115 #endif //CONFIG_WMV1_ENCODER
116 #ifdef CONFIG_WMV2_ENCODER
117     register_avcodec(&wmv2_encoder);
118 #endif //CONFIG_WMV2_ENCODER
119 #ifdef CONFIG_SVQ1_ENCODER
120     register_avcodec(&svq1_encoder);
121 #endif //CONFIG_SVQ1_ENCODER
122 #ifdef CONFIG_MJPEG_ENCODER
123     register_avcodec(&mjpeg_encoder);
124 #endif //CONFIG_MJPEG_ENCODER
125 #ifdef CONFIG_LJPEG_ENCODER
126     register_avcodec(&ljpeg_encoder);
127 #endif //CONFIG_LJPEG_ENCODER
128 #ifdef CONFIG_JPEGLS_ENCODER
129     register_avcodec(&jpegls_encoder);
130 #endif //CONFIG_JPEGLS_ENCODER
131 #ifdef CONFIG_ZLIB
132 #ifdef CONFIG_PNG_ENCODER
133     register_avcodec(&png_encoder);
134 #endif //CONFIG_PNG_ENCODER
135 #endif
136 #ifdef CONFIG_PPM_ENCODER
137     register_avcodec(&ppm_encoder);
138 #endif //CONFIG_PPM_ENCODER
139 #ifdef CONFIG_PGM_ENCODER
140     register_avcodec(&pgm_encoder);
141 #endif //CONFIG_PGM_ENCODER
142 #ifdef CONFIG_PGMYUV_ENCODER
143     register_avcodec(&pgmyuv_encoder);
144 #endif //CONFIG_PGMYUV_ENCODER
145 #ifdef CONFIG_PBM_ENCODER
146     register_avcodec(&pbm_encoder);
147 #endif //CONFIG_PBM_ENCODER
148 #ifdef CONFIG_PAM_ENCODER
149     register_avcodec(&pam_encoder);
150 #endif //CONFIG_PAM_ENCODER
151 #ifdef CONFIG_HUFFYUV_ENCODER
152     register_avcodec(&huffyuv_encoder);
153 #endif //CONFIG_HUFFYUV_ENCODER
154 #ifdef CONFIG_FFVHUFF_ENCODER
155     register_avcodec(&ffvhuff_encoder);
156 #endif //CONFIG_FFVHUFF_ENCODER
157 #ifdef CONFIG_ASV1_ENCODER
158     register_avcodec(&asv1_encoder);
159 #endif //CONFIG_ASV1_ENCODER
160 #ifdef CONFIG_ASV2_ENCODER
161     register_avcodec(&asv2_encoder);
162 #endif //CONFIG_ASV2_ENCODER
163 #ifdef CONFIG_FFV1_ENCODER
164     register_avcodec(&ffv1_encoder);
165 #endif //CONFIG_FFV1_ENCODER
166 #ifdef CONFIG_SNOW_ENCODER
167     register_avcodec(&snow_encoder);
168 #endif //CONFIG_SNOW_ENCODER
169 #ifdef CONFIG_ZLIB_ENCODER
170     register_avcodec(&zlib_encoder);
171 #endif //CONFIG_ZLIB_ENCODER
172 #ifdef CONFIG_DVVIDEO_ENCODER
173     register_avcodec(&dvvideo_encoder);
174 #endif //CONFIG_DVVIDEO_ENCODER
175 #ifdef CONFIG_SONIC_ENCODER
176     register_avcodec(&sonic_encoder);
177 #endif //CONFIG_SONIC_ENCODER
178 #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 #ifdef CONFIG_LIBGSM
187     register_avcodec(&libgsm_encoder);
188 #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 #endif //CONFIG_H263_DECODER
197 #ifdef CONFIG_H261_DECODER
198     register_avcodec(&h261_decoder);
199 #endif //CONFIG_H261_DECODER
200 #ifdef CONFIG_MPEG4_DECODER
201     register_avcodec(&mpeg4_decoder);
202 #endif //CONFIG_MPEG4_DECODER
203 #ifdef CONFIG_MSMPEG4V1_DECODER
204     register_avcodec(&msmpeg4v1_decoder);
205 #endif //CONFIG_MSMPEG4V1_DECODER
206 #ifdef CONFIG_MSMPEG4V2_DECODER
207     register_avcodec(&msmpeg4v2_decoder);
208 #endif //CONFIG_MSMPEG4V2_DECODER
209 #ifdef CONFIG_MSMPEG4V3_DECODER
210     register_avcodec(&msmpeg4v3_decoder);
211 #endif //CONFIG_MSMPEG4V3_DECODER
212 #ifdef CONFIG_WMV1_DECODER
213     register_avcodec(&wmv1_decoder);
214 #endif //CONFIG_WMV1_DECODER
215 #ifdef CONFIG_WMV2_DECODER
216     register_avcodec(&wmv2_decoder);
217 #endif //CONFIG_WMV2_DECODER
218 #ifdef CONFIG_VC1_DECODER
219     register_avcodec(&vc1_decoder);
220 #endif //CONFIG_VC1_DECODER
221 #ifdef CONFIG_WMV3_DECODER
222     register_avcodec(&wmv3_decoder);
223 #endif //CONFIG_WMV3_DECODER
224 #ifdef CONFIG_H263I_DECODER
225     register_avcodec(&h263i_decoder);
226 #endif //CONFIG_H263I_DECODER
227 #ifdef CONFIG_FLV_DECODER
228     register_avcodec(&flv_decoder);
229 #endif //CONFIG_FLV_DECODER
230 #ifdef CONFIG_RV10_DECODER
231     register_avcodec(&rv10_decoder);
232 #endif //CONFIG_RV10_DECODER
233 #ifdef CONFIG_RV20_DECODER
234     register_avcodec(&rv20_decoder);
235 #endif //CONFIG_RV20_DECODER
236 #ifdef CONFIG_SVQ1_DECODER
237     register_avcodec(&svq1_decoder);
238 #endif //CONFIG_SVQ1_DECODER
239 #ifdef CONFIG_SVQ3_DECODER
240     register_avcodec(&svq3_decoder);
241 #endif //CONFIG_SVQ3_DECODER
242 #ifdef CONFIG_WMAV1_DECODER
243     register_avcodec(&wmav1_decoder);
244 #endif //CONFIG_WMAV1_DECODER
245 #ifdef CONFIG_WMAV2_DECODER
246     register_avcodec(&wmav2_decoder);
247 #endif //CONFIG_WMAV2_DECODER
248 #ifdef CONFIG_INDEO2_DECODER
249     register_avcodec(&indeo2_decoder);
250 #endif //CONFIG_INDEO2_DECODER
251 #ifdef CONFIG_INDEO3_DECODER
252     register_avcodec(&indeo3_decoder);
253 #endif //CONFIG_INDEO3_DECODER
254 #ifdef CONFIG_TSCC_DECODER
255     register_avcodec(&tscc_decoder);
256 #endif //CONFIG_TSCC_DECODER
257 #ifdef CONFIG_CSCD_DECODER
258     register_avcodec(&cscd_decoder);
259 #endif //CONFIG_CSCD_DECODER
260 #ifdef CONFIG_NUV_DECODER
261     register_avcodec(&nuv_decoder);
262 #endif //CONFIG_NUV_DECODER
263 #ifdef CONFIG_ULTI_DECODER
264     register_avcodec(&ulti_decoder);
265 #endif //CONFIG_ULTI_DECODER
266 #ifdef CONFIG_QDRAW_DECODER
267     register_avcodec(&qdraw_decoder);
268 #endif //CONFIG_QDRAW_DECODER
269 #ifdef CONFIG_XL_DECODER
270     register_avcodec(&xl_decoder);
271 #endif //CONFIG_XL_DECODER
272 #ifdef CONFIG_QPEG_DECODER
273     register_avcodec(&qpeg_decoder);
274 #endif //CONFIG_QPEG_DECODER
275 #ifdef CONFIG_LOCO_DECODER
276     register_avcodec(&loco_decoder);
277 #endif //CONFIG_LOCO_DECODER
278 #ifdef CONFIG_KMVC_DECODER
279     register_avcodec(&kmvc_decoder);
280 #endif //CONFIG_KMVC_DECODER
281 #ifdef CONFIG_WNV1_DECODER
282     register_avcodec(&wnv1_decoder);
283 #endif //CONFIG_WNV1_DECODER
284 #ifdef CONFIG_AASC_DECODER
285     register_avcodec(&aasc_decoder);
286 #endif //CONFIG_AASC_DECODER
287 #ifdef CONFIG_FRAPS_DECODER
288     register_avcodec(&fraps_decoder);
289 #endif //CONFIG_FRAPS_DECODER
290 #ifdef CONFIG_FAAD
291 #ifdef CONFIG_AAC_DECODER
292     register_avcodec(&aac_decoder);
293 #endif //CONFIG_AAC_DECODER
294 #ifdef CONFIG_MPEG4AAC_DECODER
295     register_avcodec(&mpeg4aac_decoder);
296 #endif //CONFIG_MPEG4AAC_DECODER
297 #endif
298 #ifdef CONFIG_MPEG1VIDEO_DECODER
299     register_avcodec(&mpeg1video_decoder);
300 #endif //CONFIG_MPEG1VIDEO_DECODER
301 #ifdef CONFIG_MPEG2VIDEO_DECODER
302     register_avcodec(&mpeg2video_decoder);
303 #endif //CONFIG_MPEG2VIDEO_DECODER
304 #ifdef CONFIG_MPEGVIDEO_DECODER
305     register_avcodec(&mpegvideo_decoder);
306 #endif //CONFIG_MPEGVIDEO_DECODER
307 #ifdef HAVE_XVMC
308 #ifdef CONFIG_MPEG_XVMC_DECODER
309     register_avcodec(&mpeg_xvmc_decoder);
310 #endif //CONFIG_MPEG_XVMC_DECODER
311 #endif
312 #ifdef CONFIG_DVVIDEO_DECODER
313     register_avcodec(&dvvideo_decoder);
314 #endif //CONFIG_DVVIDEO_DECODER
315 #ifdef CONFIG_MJPEG_DECODER
316     register_avcodec(&mjpeg_decoder);
317 #endif //CONFIG_MJPEG_DECODER
318 #ifdef CONFIG_MJPEGB_DECODER
319     register_avcodec(&mjpegb_decoder);
320 #endif //CONFIG_MJPEGB_DECODER
321 #ifdef CONFIG_SP5X_DECODER
322     register_avcodec(&sp5x_decoder);
323 #endif //CONFIG_SP5X_DECODER
324 #ifdef CONFIG_ZLIB
325 #ifdef CONFIG_PNG_DECODER
326     register_avcodec(&png_decoder);
327 #endif //CONFIG_PNG_DECODER
328 #endif
329 #ifdef CONFIG_MP2_DECODER
330     register_avcodec(&mp2_decoder);
331 #endif //CONFIG_MP2_DECODER
332 #ifdef CONFIG_MP3_DECODER
333     register_avcodec(&mp3_decoder);
334 #endif //CONFIG_MP3_DECODER
335 #ifdef CONFIG_MP3ADU_DECODER
336     register_avcodec(&mp3adu_decoder);
337 #endif //CONFIG_MP3ADU_DECODER
338 #ifdef CONFIG_MP3ON4_DECODER
339     register_avcodec(&mp3on4_decoder);
340 #endif //CONFIG_MP3ON4_DECODER
341 #ifdef CONFIG_MACE3_DECODER
342     register_avcodec(&mace3_decoder);
343 #endif //CONFIG_MACE3_DECODER
344 #ifdef CONFIG_MACE6_DECODER
345     register_avcodec(&mace6_decoder);
346 #endif //CONFIG_MACE6_DECODER
347 #ifdef CONFIG_HUFFYUV_DECODER
348     register_avcodec(&huffyuv_decoder);
349 #endif //CONFIG_HUFFYUV_DECODER
350 #ifdef CONFIG_FFVHUFF_DECODER
351     register_avcodec(&ffvhuff_decoder);
352 #endif //CONFIG_FFVHUFF_DECODER
353 #ifdef CONFIG_FFV1_DECODER
354     register_avcodec(&ffv1_decoder);
355 #endif //CONFIG_FFV1_DECODER
356 #ifdef CONFIG_SNOW_DECODER
357     register_avcodec(&snow_decoder);
358 #endif //CONFIG_SNOW_DECODER
359 #ifdef CONFIG_CYUV_DECODER
360     register_avcodec(&cyuv_decoder);
361 #endif //CONFIG_CYUV_DECODER
362 #ifdef CONFIG_H264_DECODER
363     register_avcodec(&h264_decoder);
364 #endif //CONFIG_H264_DECODER
365 #ifdef CONFIG_VP3_DECODER
366     register_avcodec(&vp3_decoder);
367 #endif //CONFIG_VP3_DECODER
368 #ifdef CONFIG_THEORA_DECODER
369     register_avcodec(&theora_decoder);
370 #endif //CONFIG_THEORA_DECODER
371 #ifdef CONFIG_VP5_DECODER
372     register_avcodec(&vp5_decoder);
373 #endif //CONFIG_VP5_DECODER
374 #ifdef CONFIG_VP6_DECODER
375     register_avcodec(&vp6_decoder);
376 #endif //CONFIG_VP6_DECODER
377 #ifdef CONFIG_VP6F_DECODER
378     register_avcodec(&vp6f_decoder);
379 #endif //CONFIG_VP6F_DECODER
380 #ifdef CONFIG_ASV1_DECODER
381     register_avcodec(&asv1_decoder);
382 #endif //CONFIG_ASV1_DECODER
383 #ifdef CONFIG_ASV2_DECODER
384     register_avcodec(&asv2_decoder);
385 #endif //CONFIG_ASV2_DECODER
386 #ifdef CONFIG_VCR1_DECODER
387     register_avcodec(&vcr1_decoder);
388 #endif //CONFIG_VCR1_DECODER
389 #ifdef CONFIG_CLJR_DECODER
390     register_avcodec(&cljr_decoder);
391 #endif //CONFIG_CLJR_DECODER
392 #ifdef CONFIG_FOURXM_DECODER
393     register_avcodec(&fourxm_decoder);
394 #endif //CONFIG_FOURXM_DECODER
395 #ifdef CONFIG_MDEC_DECODER
396     register_avcodec(&mdec_decoder);
397 #endif //CONFIG_MDEC_DECODER
398 #ifdef CONFIG_ROQ_DECODER
399     register_avcodec(&roq_decoder);
400 #endif //CONFIG_ROQ_DECODER
401 #ifdef CONFIG_INTERPLAY_VIDEO_DECODER
402     register_avcodec(&interplay_video_decoder);
403 #endif //CONFIG_INTERPLAY_VIDEO_DECODER
404 #ifdef CONFIG_XAN_WC3_DECODER
405     register_avcodec(&xan_wc3_decoder);
406 #endif //CONFIG_XAN_WC3_DECODER
407 #ifdef CONFIG_RPZA_DECODER
408     register_avcodec(&rpza_decoder);
409 #endif //CONFIG_RPZA_DECODER
410 #ifdef CONFIG_CINEPAK_DECODER
411     register_avcodec(&cinepak_decoder);
412 #endif //CONFIG_CINEPAK_DECODER
413 #ifdef CONFIG_MSRLE_DECODER
414     register_avcodec(&msrle_decoder);
415 #endif //CONFIG_MSRLE_DECODER
416 #ifdef CONFIG_MSVIDEO1_DECODER
417     register_avcodec(&msvideo1_decoder);
418 #endif //CONFIG_MSVIDEO1_DECODER
419 #ifdef CONFIG_VQA_DECODER
420     register_avcodec(&vqa_decoder);
421 #endif //CONFIG_VQA_DECODER
422 #ifdef CONFIG_IDCIN_DECODER
423     register_avcodec(&idcin_decoder);
424 #endif //CONFIG_IDCIN_DECODER
425 #ifdef CONFIG_EIGHTBPS_DECODER
426     register_avcodec(&eightbps_decoder);
427 #endif //CONFIG_EIGHTBPS_DECODER
428 #ifdef CONFIG_SMC_DECODER
429     register_avcodec(&smc_decoder);
430 #endif //CONFIG_SMC_DECODER
431 #ifdef CONFIG_FLIC_DECODER
432     register_avcodec(&flic_decoder);
433 #endif //CONFIG_FLIC_DECODER
434 #ifdef CONFIG_TRUEMOTION1_DECODER
435     register_avcodec(&truemotion1_decoder);
436 #endif //CONFIG_TRUEMOTION1_DECODER
437 #ifdef CONFIG_TRUEMOTION2_DECODER
438     register_avcodec(&truemotion2_decoder);
439 #endif //CONFIG_TRUEMOTION2_DECODER
440 #ifdef CONFIG_VMDVIDEO_DECODER
441     register_avcodec(&vmdvideo_decoder);
442 #endif //CONFIG_VMDVIDEO_DECODER
443 #ifdef CONFIG_VMDAUDIO_DECODER
444     register_avcodec(&vmdaudio_decoder);
445 #endif //CONFIG_VMDAUDIO_DECODER
446 #ifdef CONFIG_MSZH_DECODER
447     register_avcodec(&mszh_decoder);
448 #endif //CONFIG_MSZH_DECODER
449 #ifdef CONFIG_ZLIB_DECODER
450     register_avcodec(&zlib_decoder);
451 #endif //CONFIG_ZLIB_DECODER
452 #ifdef CONFIG_ZMBV_DECODER
453     register_avcodec(&zmbv_decoder);
454 #endif //CONFIG_ZMBV_DECODER
455 #ifdef CONFIG_SMACKER_DECODER
456     register_avcodec(&smacker_decoder);
457 #endif //CONFIG_SMACKER_DECODER
458 #ifdef CONFIG_SMACKAUD_DECODER
459     register_avcodec(&smackaud_decoder);
460 #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 #endif
469 #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 #endif //CONFIG_RA_144_DECODER
477 #ifdef CONFIG_RA_288_DECODER
478     register_avcodec(&ra_288_decoder);
479 #endif //CONFIG_RA_288_DECODER
480 #ifdef CONFIG_ROQ_DPCM_DECODER
481     register_avcodec(&roq_dpcm_decoder);
482 #endif //CONFIG_ROQ_DPCM_DECODER
483 #ifdef CONFIG_INTERPLAY_DPCM_DECODER
484     register_avcodec(&interplay_dpcm_decoder);
485 #endif //CONFIG_INTERPLAY_DPCM_DECODER
486 #ifdef CONFIG_XAN_DPCM_DECODER
487     register_avcodec(&xan_dpcm_decoder);
488 #endif //CONFIG_XAN_DPCM_DECODER
489 #ifdef CONFIG_SOL_DPCM_DECODER
490     register_avcodec(&sol_dpcm_decoder);
491 #endif //CONFIG_SOL_DPCM_DECODER
492 #ifdef CONFIG_QTRLE_DECODER
493     register_avcodec(&qtrle_decoder);
494 #endif //CONFIG_QTRLE_DECODER
495 #ifdef CONFIG_FLAC_DECODER
496     register_avcodec(&flac_decoder);
497 #endif //CONFIG_FLAC_DECODER
498 #ifdef CONFIG_SHORTEN_DECODER
499     register_avcodec(&shorten_decoder);
500 #endif //CONFIG_SHORTEN_DECODER
501 #ifdef CONFIG_ALAC_DECODER
502     register_avcodec(&alac_decoder);
503 #endif //CONFIG_ALAC_DECODER
504 #ifdef CONFIG_WS_SND1_DECODER
505     register_avcodec(&ws_snd1_decoder);
506 #endif //CONFIG_WS_SND1_DECODER
507 #ifdef CONFIG_VORBIS_DECODER
508     register_avcodec(&vorbis_decoder);
509 #endif
510 #ifdef CONFIG_LIBGSM
511     register_avcodec(&libgsm_decoder);
512 #endif //CONFIG_LIBGSM
513 #ifdef CONFIG_QDM2_DECODER
514     register_avcodec(&qdm2_decoder);
515 #endif //CONFIG_QDM2_DECODER
516 #ifdef CONFIG_COOK_DECODER
517     register_avcodec(&cook_decoder);
518 #endif //CONFIG_COOK_DECODER
519 #ifdef CONFIG_TRUESPEECH_DECODER
520     register_avcodec(&truespeech_decoder);
521 #endif //CONFIG_TRUESPEECH_DECODER
522 #ifdef CONFIG_TTA_DECODER
523     register_avcodec(&tta_decoder);
524 #endif //CONFIG_TTA_DECODER
525 #ifdef CONFIG_AVS_DECODER
526     register_avcodec(&avs_decoder);
527 #endif //CONFIG_AVS_DECODER
528 #ifdef CONFIG_CAVS_DECODER
529     register_avcodec(&cavs_decoder);
530 #endif //CONFIG_CAVS_DECODER
531 #ifdef CONFIG_RAWVIDEO_DECODER
532     register_avcodec(&rawvideo_decoder);
533 #endif //CONFIG_RAWVIDEO_DECODER
534 #ifdef CONFIG_FLASHSV_DECODER
535     register_avcodec(&flashsv_decoder);
536 #endif //CONFIG_FLASHSV_DECODER
537 #ifdef CONFIG_VMNC_DECODER
538     register_avcodec(&vmnc_decoder);
539 #endif //CONFIG_VMNC_DECODER
540 #ifdef CONFIG_WAVPACK_DECODER
541     register_avcodec(&wavpack_decoder);
542 #endif //CONFIG_WAVPACK_DECODER
543
544 #if defined(CONFIG_AMR_NB) || defined(CONFIG_AMR_NB_FIXED)
545 #ifdef CONFIG_AMR_NB_DECODER
546     register_avcodec(&amr_nb_decoder);
547 #endif //CONFIG_AMR_NB_DECODER
548 #ifdef CONFIG_AMR_NB_ENCODER
549     register_avcodec(&amr_nb_encoder);
550 #endif //CONFIG_AMR_NB_ENCODER
551 #endif /* CONFIG_AMR_NB || CONFIG_AMR_NB_FIXED */
552
553 #ifdef CONFIG_AMR_WB
554 #ifdef CONFIG_AMR_WB_DECODER
555     register_avcodec(&amr_wb_decoder);
556 #endif //CONFIG_AMR_WB_DECODER
557 #ifdef CONFIG_AMR_WB_ENCODER
558     register_avcodec(&amr_wb_encoder);
559 #endif //CONFIG_AMR_WB_ENCODER
560 #endif /* CONFIG_AMR_WB */
561
562 #ifdef CONFIG_BMP_DECODER
563     register_avcodec(&bmp_decoder);
564 #endif
565
566 #if CONFIG_MMVIDEO_DECODER
567     register_avcodec(&mmvideo_decoder);
568 #endif //CONFIG_MMVIDEO_DECODER
569
570     /* pcm codecs */
571 #ifdef CONFIG_PCM_S32LE_DECODER
572     register_avcodec(&pcm_s32le_decoder);
573 #endif
574 #ifdef CONFIG_PCM_S32LE_ENCODER
575     register_avcodec(&pcm_s32le_encoder);
576 #endif
577 #ifdef CONFIG_PCM_S32BE_DECODER
578     register_avcodec(&pcm_s32be_decoder);
579 #endif
580 #ifdef CONFIG_PCM_S32BE_ENCODER
581     register_avcodec(&pcm_s32be_encoder);
582 #endif
583 #ifdef CONFIG_PCM_U32LE_DECODER
584     register_avcodec(&pcm_u32le_decoder);
585 #endif
586 #ifdef CONFIG_PCM_U32LE_ENCODER
587     register_avcodec(&pcm_u32le_encoder);
588 #endif
589 #ifdef CONFIG_PCM_U32BE_DECODER
590     register_avcodec(&pcm_u32be_decoder);
591 #endif
592 #ifdef CONFIG_PCM_U32BE_ENCODER
593     register_avcodec(&pcm_u32be_encoder);
594 #endif
595 #ifdef CONFIG_PCM_S24LE_DECODER
596     register_avcodec(&pcm_s24le_decoder);
597 #endif
598 #ifdef CONFIG_PCM_S24LE_ENCODER
599     register_avcodec(&pcm_s24le_encoder);
600 #endif
601 #ifdef CONFIG_PCM_S24BE_DECODER
602     register_avcodec(&pcm_s24be_decoder);
603 #endif
604 #ifdef CONFIG_PCM_S24BE_ENCODER
605     register_avcodec(&pcm_s24be_encoder);
606 #endif
607 #ifdef CONFIG_PCM_U24LE_DECODER
608     register_avcodec(&pcm_u24le_decoder);
609 #endif
610 #ifdef CONFIG_PCM_U24LE_ENCODER
611     register_avcodec(&pcm_u24le_encoder);
612 #endif
613 #ifdef CONFIG_PCM_U24BE_DECODER
614     register_avcodec(&pcm_u24be_decoder);
615 #endif
616 #ifdef CONFIG_PCM_U24BE_ENCODER
617     register_avcodec(&pcm_u24be_encoder);
618 #endif
619 #ifdef CONFIG_PCM_S24DAUD_DECODER
620     register_avcodec(&pcm_s24daud_decoder);
621 #endif
622 #ifdef CONFIG_PCM_S24DAUD_ENCODER
623     register_avcodec(&pcm_s24daud_encoder);
624 #endif
625 #ifdef CONFIG_PCM_S16LE_DECODER
626     register_avcodec(&pcm_s16le_decoder);
627 #endif
628 #ifdef CONFIG_PCM_S16LE_ENCODER
629     register_avcodec(&pcm_s16le_encoder);
630 #endif
631 #ifdef CONFIG_PCM_S16BE_DECODER
632     register_avcodec(&pcm_s16be_decoder);
633 #endif
634 #ifdef CONFIG_PCM_S16BE_ENCODER
635     register_avcodec(&pcm_s16be_encoder);
636 #endif
637 #ifdef CONFIG_PCM_U16LE_DECODER
638     register_avcodec(&pcm_u16le_decoder);
639 #endif
640 #ifdef CONFIG_PCM_U16LE_ENCODER
641     register_avcodec(&pcm_u16le_encoder);
642 #endif
643 #ifdef CONFIG_PCM_U16BE_DECODER
644     register_avcodec(&pcm_u16be_decoder);
645 #endif
646 #ifdef CONFIG_PCM_U16BE_ENCODER
647     register_avcodec(&pcm_u16be_encoder);
648 #endif
649 #ifdef CONFIG_PCM_S8_DECODER
650     register_avcodec(&pcm_s8_decoder);
651 #endif
652 #ifdef CONFIG_PCM_S8_ENCODER
653     register_avcodec(&pcm_s8_encoder);
654 #endif
655 #ifdef CONFIG_PCM_U8_DECODER
656     register_avcodec(&pcm_u8_decoder);
657 #endif
658 #ifdef CONFIG_PCM_U8_ENCODER
659     register_avcodec(&pcm_u8_encoder);
660 #endif
661 #ifdef CONFIG_PCM_ALAW_DECODER
662     register_avcodec(&pcm_alaw_decoder);
663 #endif
664 #ifdef CONFIG_PCM_ALAW_ENCODER
665     register_avcodec(&pcm_alaw_encoder);
666 #endif
667 #ifdef CONFIG_PCM_MULAW_DECODER
668     register_avcodec(&pcm_mulaw_decoder);
669 #endif
670 #ifdef CONFIG_PCM_MULAW_ENCODER
671     register_avcodec(&pcm_mulaw_encoder);
672 #endif
673
674    /* adpcm codecs */
675 #ifdef CONFIG_ADPCM_IMA_QT_DECODER
676     register_avcodec(&adpcm_ima_qt_decoder);
677 #endif
678 #ifdef CONFIG_ADPCM_IMA_QT_ENCODER
679     register_avcodec(&adpcm_ima_qt_encoder);
680 #endif
681 #ifdef CONFIG_ADPCM_IMA_WAV_DECODER
682     register_avcodec(&adpcm_ima_wav_decoder);
683 #endif
684 #ifdef CONFIG_ADPCM_IMA_WAV_ENCODER
685     register_avcodec(&adpcm_ima_wav_encoder);
686 #endif
687 #ifdef CONFIG_ADPCM_IMA_DK3_DECODER
688     register_avcodec(&adpcm_ima_dk3_decoder);
689 #endif
690 #ifdef CONFIG_ADPCM_IMA_DK3_ENCODER
691     register_avcodec(&adpcm_ima_dk3_encoder);
692 #endif
693 #ifdef CONFIG_ADPCM_IMA_DK4_DECODER
694     register_avcodec(&adpcm_ima_dk4_decoder);
695 #endif
696 #ifdef CONFIG_ADPCM_IMA_DK4_ENCODER
697     register_avcodec(&adpcm_ima_dk4_encoder);
698 #endif
699 #ifdef CONFIG_ADPCM_IMA_WS_DECODER
700     register_avcodec(&adpcm_ima_ws_decoder);
701 #endif
702 #ifdef CONFIG_ADPCM_IMA_WS_ENCODER
703     register_avcodec(&adpcm_ima_ws_encoder);
704 #endif
705 #ifdef CONFIG_ADPCM_IMA_SMJPEG_DECODER
706     register_avcodec(&adpcm_ima_smjpeg_decoder);
707 #endif
708 #ifdef CONFIG_ADPCM_IMA_SMJPEG_ENCODER
709     register_avcodec(&adpcm_ima_smjpeg_encoder);
710 #endif
711 #ifdef CONFIG_ADPCM_MS_DECODER
712     register_avcodec(&adpcm_ms_decoder);
713 #endif
714 #ifdef CONFIG_ADPCM_MS_ENCODER
715     register_avcodec(&adpcm_ms_encoder);
716 #endif
717 #ifdef CONFIG_ADPCM_4XM_DECODER
718     register_avcodec(&adpcm_4xm_decoder);
719 #endif
720 #ifdef CONFIG_ADPCM_4XM_ENCODER
721     register_avcodec(&adpcm_4xm_encoder);
722 #endif
723 #ifdef CONFIG_ADPCM_XA_DECODER
724     register_avcodec(&adpcm_xa_decoder);
725 #endif
726 #ifdef CONFIG_ADPCM_XA_ENCODER
727     register_avcodec(&adpcm_xa_encoder);
728 #endif
729 #ifdef CONFIG_ADPCM_ADX_DECODER
730     register_avcodec(&adpcm_adx_decoder);
731 #endif
732 #ifdef CONFIG_ADPCM_ADX_ENCODER
733     register_avcodec(&adpcm_adx_encoder);
734 #endif
735 #ifdef CONFIG_ADPCM_EA_DECODER
736     register_avcodec(&adpcm_ea_decoder);
737 #endif
738 #ifdef CONFIG_ADPCM_EA_ENCODER
739     register_avcodec(&adpcm_ea_encoder);
740 #endif
741 #ifdef CONFIG_ADPCM_G726_DECODER
742     register_avcodec(&adpcm_g726_decoder);
743 #endif
744 #ifdef CONFIG_ADPCM_G726_ENCODER
745     register_avcodec(&adpcm_g726_encoder);
746 #endif
747 #ifdef CONFIG_ADPCM_CT_DECODER
748     register_avcodec(&adpcm_ct_decoder);
749 #endif
750 #ifdef CONFIG_ADPCM_CT_ENCODER
751     register_avcodec(&adpcm_ct_encoder);
752 #endif
753 #ifdef CONFIG_ADPCM_SWF_DECODER
754     register_avcodec(&adpcm_swf_decoder);
755 #endif
756 #ifdef CONFIG_ADPCM_SWF_ENCODER
757     register_avcodec(&adpcm_swf_encoder);
758 #endif
759 #ifdef CONFIG_ADPCM_YAMAHA_DECODER
760     register_avcodec(&adpcm_yamaha_decoder);
761 #endif
762 #ifdef CONFIG_ADPCM_YAMAHA_ENCODER
763     register_avcodec(&adpcm_yamaha_encoder);
764 #endif
765 #ifdef CONFIG_ADPCM_SBPRO_4_DECODER
766     register_avcodec(&adpcm_sbpro_4_decoder);
767 #endif
768 #ifdef CONFIG_ADPCM_SBPRO_4_ENCODER
769     register_avcodec(&adpcm_sbpro_4_encoder);
770 #endif
771 #ifdef CONFIG_ADPCM_SBPRO_3_DECODER
772     register_avcodec(&adpcm_sbpro_3_decoder);
773 #endif
774 #ifdef CONFIG_ADPCM_SBPRO_3_ENCODER
775     register_avcodec(&adpcm_sbpro_3_encoder);
776 #endif
777 #ifdef CONFIG_ADPCM_SBPRO_2_DECODER
778     register_avcodec(&adpcm_sbpro_2_decoder);
779 #endif
780 #ifdef CONFIG_ADPCM_SBPRO_2_ENCODER
781     register_avcodec(&adpcm_sbpro_2_encoder);
782 #endif
783
784     /* subtitles */
785 #ifdef CONFIG_DVDSUB_DECODER
786     register_avcodec(&dvdsub_decoder);
787 #endif
788 #ifdef CONFIG_DVDSUB_ENCODER
789     register_avcodec(&dvdsub_encoder);
790 #endif
791
792 #ifdef CONFIG_DVBSUB_DECODER
793     register_avcodec(&dvbsub_decoder);
794 #endif
795 #ifdef CONFIG_DVBSUB_ENCODER
796     register_avcodec(&dvbsub_encoder);
797 #endif
798
799     /* parsers */
800 #ifdef CONFIG_MPEGVIDEO_PARSER
801     av_register_codec_parser(&mpegvideo_parser);
802 #endif
803 #ifdef CONFIG_MPEG4VIDEO_PARSER
804     av_register_codec_parser(&mpeg4video_parser);
805 #endif
806 #ifdef CONFIG_CAVSVIDEO_PARSER
807     av_register_codec_parser(&cavsvideo_parser);
808 #endif
809 #ifdef CONFIG_H261_PARSER
810     av_register_codec_parser(&h261_parser);
811 #endif
812 #ifdef CONFIG_H263_PARSER
813     av_register_codec_parser(&h263_parser);
814 #endif
815 #ifdef CONFIG_H264_PARSER
816     av_register_codec_parser(&h264_parser);
817 #endif
818 #ifdef CONFIG_MJPEG_PARSER
819     av_register_codec_parser(&mjpeg_parser);
820 #endif
821 #ifdef CONFIG_PNM_PARSER
822     av_register_codec_parser(&pnm_parser);
823 #endif
824 #ifdef CONFIG_MPEGAUDIO_PARSER
825     av_register_codec_parser(&mpegaudio_parser);
826 #endif
827 #ifdef CONFIG_AC3_PARSER
828     av_register_codec_parser(&ac3_parser);
829 #endif
830 #ifdef CONFIG_DVDSUB_PARSER
831     av_register_codec_parser(&dvdsub_parser);
832 #endif
833 #ifdef CONFIG_DVBSUB_PARSER
834     av_register_codec_parser(&dvbsub_parser);
835 #endif
836 #ifdef CONFIG_AAC_PARSER
837     av_register_codec_parser(&aac_parser);
838 #endif
839
840     av_register_bitstream_filter(&dump_extradata_bsf);
841     av_register_bitstream_filter(&remove_extradata_bsf);
842     av_register_bitstream_filter(&noise_bsf);
843 }
844