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