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