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