Commit 932e3ff9 authored by aurel's avatar aurel

cleanup the #ifdef mess in encoder/decoder/parser registration


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7182 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1cbc32d8
...@@ -823,9 +823,9 @@ for opt do ...@@ -823,9 +823,9 @@ for opt do
FFMPEG_CONFIGURATION="$FFMPEG_CONFIGURATION""$opt " FFMPEG_CONFIGURATION="$FFMPEG_CONFIGURATION""$opt "
done done
ENCODER_LIST=`grep 'register_avcodec(&[a-z0-9_]*_encoder)' "$source_path/libavcodec/allcodecs.c" | sed 's/.*&\(.*\)).*/\1/'` ENCODER_LIST=`sed -n 's/^[^#]*ENC.*, *\(.*\)).*/\1_encoder/p' "$source_path/libavcodec/allcodecs.c"`
DECODER_LIST=`grep 'register_avcodec(&[a-z0-9_]*_decoder)' "$source_path/libavcodec/allcodecs.c" | sed 's/.*&\(.*\)).*/\1/'` DECODER_LIST=`sed -n 's/^[^#]*DEC.*, *\(.*\)).*/\1_decoder/p' "$source_path/libavcodec/allcodecs.c"`
PARSER_LIST=`grep 'av_register_codec_parser(&[a-z]' "$source_path/libavcodec/allcodecs.c" | sed 's/.*&\(.*\)).*/\1/'` PARSER_LIST=`sed -n 's/^[^#]*PARSER.*, *\(.*\)).*/\1_parser/p' "$source_path/libavcodec/allcodecs.c"`
MUXER_LIST=`sed -n 's/^[^#]*_MUX.*, *\(.*\)).*/\1_muxer/p' "$source_path/libavformat/allformats.c"` MUXER_LIST=`sed -n 's/^[^#]*_MUX.*, *\(.*\)).*/\1_muxer/p' "$source_path/libavformat/allformats.c"`
DEMUXER_LIST=`sed -n 's/^[^#]*DEMUX.*, *\(.*\)).*/\1_demuxer/p' "$source_path/libavformat/allformats.c"` DEMUXER_LIST=`sed -n 's/^[^#]*DEMUX.*, *\(.*\)).*/\1_demuxer/p' "$source_path/libavformat/allformats.c"`
......
...@@ -26,6 +26,15 @@ ...@@ -26,6 +26,15 @@
#include "avcodec.h" #include "avcodec.h"
#define REGISTER_ENCODER(X,x) \
if(ENABLE_##X##_ENCODER) register_avcodec(&x##_encoder)
#define REGISTER_DECODER(X,x) \
if(ENABLE_##X##_DECODER) register_avcodec(&x##_decoder)
#define REGISTER_ENCDEC(X,x) REGISTER_ENCODER(X,x); REGISTER_DECODER(X,x)
#define REGISTER_PARSER(X,x) \
if(ENABLE_##X##_PARSER) av_register_codec_parser(&x##_parser)
/* If you do not call this function, then you can select exactly which /* If you do not call this function, then you can select exactly which
formats you want to support */ formats you want to support */
...@@ -40,830 +49,235 @@ void avcodec_register_all(void) ...@@ -40,830 +49,235 @@ void avcodec_register_all(void)
return; return;
inited = 1; inited = 1;
/* encoders */ /* video codecs */
#ifdef CONFIG_AC3_ENCODER REGISTER_DECODER(AASC, aasc);
register_avcodec(&ac3_encoder); REGISTER_ENCDEC (ASV1, asv1);
#endif //CONFIG_AC3_ENCODER REGISTER_ENCDEC (ASV2, asv2);
#if defined(CONFIG_AMR_NB) || defined(CONFIG_AMR_NB_FIXED) REGISTER_DECODER(AVS, avs);
#ifdef CONFIG_AMR_NB_ENCODER REGISTER_DECODER(BMP, bmp);
register_avcodec(&amr_nb_encoder); REGISTER_DECODER(CAVS, cavs);
#endif //CONFIG_AMR_NB_ENCODER REGISTER_DECODER(CINEPAK, cinepak);
#endif /* CONFIG_AMR_NB || CONFIG_AMR_NB_FIXED */ REGISTER_DECODER(CLJR, cljr);
#ifdef CONFIG_AMR_WB REGISTER_DECODER(CSCD, cscd);
#ifdef CONFIG_AMR_WB_ENCODER REGISTER_DECODER(CYUV, cyuv);
register_avcodec(&amr_wb_encoder); REGISTER_DECODER(DSICINVIDEO, dsicinvideo);
#endif //CONFIG_AMR_WB_ENCODER REGISTER_ENCDEC (DVVIDEO, dvvideo);
#endif /* CONFIG_AMR_WB */ REGISTER_DECODER(EIGHTBPS, eightbps);
#ifdef CONFIG_ASV1_ENCODER REGISTER_ENCDEC (FFV1, ffv1);
register_avcodec(&asv1_encoder); REGISTER_ENCDEC (FFVHUFF, ffvhuff);
#endif //CONFIG_ASV1_ENCODER REGISTER_DECODER(FLASHSV, flashsv);
#ifdef CONFIG_ASV2_ENCODER REGISTER_DECODER(FLIC, flic);
register_avcodec(&asv2_encoder); REGISTER_ENCDEC (FLV, flv);
#endif //CONFIG_ASV2_ENCODER REGISTER_DECODER(FOURXM, fourxm);
#ifdef CONFIG_DVVIDEO_ENCODER REGISTER_DECODER(FRAPS, fraps);
register_avcodec(&dvvideo_encoder); REGISTER_ENCDEC (GIF, gif);
#endif //CONFIG_DVVIDEO_ENCODER REGISTER_ENCDEC (H261, h261);
#ifdef CONFIG_FAAC REGISTER_ENCDEC (H263, h263);
#ifdef CONFIG_FAAC_ENCODER REGISTER_DECODER(H263I, h263i);
register_avcodec(&faac_encoder); REGISTER_ENCODER(H263P, h263p);
#endif //CONFIG_FAAC_ENCODER REGISTER_DECODER(H264, h264);
#endif REGISTER_ENCDEC (HUFFYUV, huffyuv);
#ifdef CONFIG_FFV1_ENCODER REGISTER_DECODER(IDCIN, idcin);
register_avcodec(&ffv1_encoder); REGISTER_DECODER(INDEO2, indeo2);
#endif //CONFIG_FFV1_ENCODER REGISTER_DECODER(INDEO3, indeo3);
#ifdef CONFIG_FFVHUFF_ENCODER REGISTER_DECODER(INTERPLAY_VIDEO, interplay_video);
register_avcodec(&ffvhuff_encoder); REGISTER_ENCODER(JPEGLS, jpegls);
#endif //CONFIG_FFVHUFF_ENCODER REGISTER_DECODER(KMVC, kmvc);
#ifdef CONFIG_FLAC_ENCODER REGISTER_ENCODER(LJPEG, ljpeg);
register_avcodec(&flac_encoder); REGISTER_DECODER(LOCO, loco);
#endif REGISTER_DECODER(MDEC, mdec);
#ifdef CONFIG_FLV_ENCODER REGISTER_ENCDEC (MJPEG, mjpeg);
register_avcodec(&flv_encoder); REGISTER_DECODER(MJPEGB, mjpegb);
#endif //CONFIG_FLV_ENCODER REGISTER_DECODER(MMVIDEO, mmvideo);
#ifdef CONFIG_GIF_ENCODER #ifdef HAVE_XVMC
register_avcodec(&gif_encoder); REGISTER_DECODER(MPEG_XVMC, mpeg_xvmc);
#endif #endif
#ifdef CONFIG_H261_ENCODER REGISTER_ENCDEC (MPEG1VIDEO, mpeg1video);
register_avcodec(&h261_encoder); REGISTER_ENCDEC (MPEG2VIDEO, mpeg2video);
#endif //CONFIG_H261_ENCODER REGISTER_ENCDEC (MPEG4, mpeg4);
#ifdef CONFIG_H263_ENCODER REGISTER_DECODER(MPEGVIDEO, mpegvideo);
register_avcodec(&h263_encoder); REGISTER_ENCDEC (MSMPEG4V1, msmpeg4v1);
#endif //CONFIG_H263_ENCODER REGISTER_ENCDEC (MSMPEG4V2, msmpeg4v2);
#ifdef CONFIG_H263P_ENCODER REGISTER_ENCDEC (MSMPEG4V3, msmpeg4v3);
register_avcodec(&h263p_encoder); REGISTER_DECODER(MSRLE, msrle);
#endif //CONFIG_H263P_ENCODER REGISTER_DECODER(MSVIDEO1, msvideo1);
#ifdef CONFIG_H264_ENCODER REGISTER_DECODER(MSZH, mszh);
// register_avcodec(&h264_encoder); REGISTER_DECODER(NUV, nuv);
#endif //CONFIG_H264_ENCODER REGISTER_ENCODER(PAM, pam);
#ifdef CONFIG_HUFFYUV_ENCODER REGISTER_ENCODER(PBM, pbm);
register_avcodec(&huffyuv_encoder); REGISTER_ENCODER(PGM, pgm);
#endif //CONFIG_HUFFYUV_ENCODER REGISTER_ENCODER(PGMYUV, pgmyuv);
#ifdef CONFIG_JPEGLS_ENCODER
register_avcodec(&jpegls_encoder);
#endif //CONFIG_JPEGLS_ENCODER
#ifdef CONFIG_LIBGSM
register_avcodec(&libgsm_encoder);
#endif //CONFIG_LIBGSM
#ifdef CONFIG_LJPEG_ENCODER
register_avcodec(&ljpeg_encoder);
#endif //CONFIG_LJPEG_ENCODER
#ifdef CONFIG_MJPEG_ENCODER
register_avcodec(&mjpeg_encoder);
#endif //CONFIG_MJPEG_ENCODER
#ifdef CONFIG_MP2_ENCODER
register_avcodec(&mp2_encoder);
#endif //CONFIG_MP2_ENCODER
#ifdef CONFIG_MP3LAME
#ifdef CONFIG_MP3LAME_ENCODER
register_avcodec(&mp3lame_encoder);
#endif //CONFIG_MP3LAME_ENCODER
#endif
#ifdef CONFIG_MPEG1VIDEO_ENCODER
register_avcodec(&mpeg1video_encoder);
#endif //CONFIG_MPEG1VIDEO_ENCODER
#ifdef CONFIG_MPEG2VIDEO_ENCODER
register_avcodec(&mpeg2video_encoder);
#endif //CONFIG_MPEG2VIDEO_ENCODER
#ifdef CONFIG_MPEG4_ENCODER
register_avcodec(&mpeg4_encoder);
#endif //CONFIG_MPEG4_ENCODER
#ifdef CONFIG_MSMPEG4V1_ENCODER
register_avcodec(&msmpeg4v1_encoder);
#endif //CONFIG_MSMPEG4V1_ENCODER
#ifdef CONFIG_MSMPEG4V2_ENCODER
register_avcodec(&msmpeg4v2_encoder);
#endif //CONFIG_MSMPEG4V2_ENCODER
#ifdef CONFIG_MSMPEG4V3_ENCODER
register_avcodec(&msmpeg4v3_encoder);
#endif //CONFIG_MSMPEG4V3_ENCODER
#ifdef CONFIG_PAM_ENCODER
register_avcodec(&pam_encoder);
#endif //CONFIG_PAM_ENCODER
#ifdef CONFIG_PBM_ENCODER
register_avcodec(&pbm_encoder);
#endif //CONFIG_PBM_ENCODER
#ifdef CONFIG_PGM_ENCODER
register_avcodec(&pgm_encoder);
#endif //CONFIG_PGM_ENCODER
#ifdef CONFIG_PGMYUV_ENCODER
register_avcodec(&pgmyuv_encoder);
#endif //CONFIG_PGMYUV_ENCODER
#ifdef CONFIG_ZLIB #ifdef CONFIG_ZLIB
#ifdef CONFIG_PNG_ENCODER REGISTER_ENCDEC (PNG, png);
register_avcodec(&png_encoder); #endif
#endif //CONFIG_PNG_ENCODER REGISTER_ENCODER(PPM, ppm);
#endif REGISTER_DECODER(QDRAW, qdraw);
#ifdef CONFIG_PPM_ENCODER REGISTER_DECODER(QPEG, qpeg);
register_avcodec(&ppm_encoder); REGISTER_DECODER(QTRLE, qtrle);
#endif //CONFIG_PPM_ENCODER REGISTER_ENCDEC (RAWVIDEO, rawvideo);
#ifdef CONFIG_LIBVORBIS REGISTER_DECODER(ROQ, roq);
#if (defined CONFIG_OGGVORBIS_ENCODER && !defined CONFIG_VORBIS_ENCODER) REGISTER_DECODER(RPZA, rpza);
register_avcodec(&oggvorbis_encoder); REGISTER_ENCDEC (RV10, rv10);
#endif //CONFIG_OGGVORBIS_ENCODER REGISTER_ENCDEC (RV20, rv20);
#if (defined CONFIG_OGGVORBIS_DECODER && !defined CONFIG_VORBIS_DECODER) REGISTER_DECODER(SMACKER, smacker);
register_avcodec(&oggvorbis_decoder); REGISTER_DECODER(SMC, smc);
#endif //CONFIG_OGGVORBIS_DECODER REGISTER_ENCDEC (SNOW, snow);
#endif REGISTER_DECODER(SP5X, sp5x);
#ifdef CONFIG_RAWVIDEO_ENCODER REGISTER_ENCDEC (SVQ1, svq1);
register_avcodec(&rawvideo_encoder); REGISTER_DECODER(SVQ3, svq3);
#endif //CONFIG_RAWVIDEO_ENCODER REGISTER_DECODER(TARGA, targa);
#ifdef CONFIG_RV10_ENCODER REGISTER_DECODER(THEORA, theora);
register_avcodec(&rv10_encoder); REGISTER_DECODER(TIERTEXSEQVIDEO, tiertexseqvideo);
#endif //CONFIG_RV10_ENCODER REGISTER_DECODER(TIFF, tiff);
#ifdef CONFIG_RV20_ENCODER REGISTER_DECODER(TRUEMOTION1, truemotion1);
register_avcodec(&rv20_encoder); REGISTER_DECODER(TRUEMOTION2, truemotion2);
#endif //CONFIG_RV20_ENCODER REGISTER_DECODER(TSCC, tscc);
#ifdef CONFIG_SNOW_ENCODER REGISTER_DECODER(ULTI, ulti);
register_avcodec(&snow_encoder); REGISTER_DECODER(VC1, vc1);
#endif //CONFIG_SNOW_ENCODER REGISTER_DECODER(VCR1, vcr1);
#ifdef CONFIG_SONIC_ENCODER REGISTER_DECODER(VMDVIDEO, vmdvideo);
register_avcodec(&sonic_encoder); REGISTER_DECODER(VMNC, vmnc);
#endif //CONFIG_SONIC_ENCODER REGISTER_DECODER(VP3, vp3);
#ifdef CONFIG_SONIC_LS_ENCODER REGISTER_DECODER(VP5, vp5);
register_avcodec(&sonic_ls_encoder); REGISTER_DECODER(VP6, vp6);
#endif //CONFIG_SONIC_LS_ENCODER REGISTER_DECODER(VP6F, vp6f);
#ifdef CONFIG_SVQ1_ENCODER REGISTER_DECODER(VQA, vqa);
register_avcodec(&svq1_encoder); REGISTER_ENCDEC (WMV1, wmv1);
#endif //CONFIG_SVQ1_ENCODER REGISTER_ENCDEC (WMV2, wmv2);
#ifdef CONFIG_VORBIS_ENCODER REGISTER_DECODER(WMV3, wmv3);
register_avcodec(&vorbis_encoder); REGISTER_DECODER(WNV1, wnv1);
#endif //CONFIG_VORBIS_ENCODER
#ifdef CONFIG_WMV1_ENCODER
register_avcodec(&wmv1_encoder);
#endif //CONFIG_WMV1_ENCODER
#ifdef CONFIG_WMV2_ENCODER
register_avcodec(&wmv2_encoder);
#endif //CONFIG_WMV2_ENCODER
#ifdef CONFIG_X264 #ifdef CONFIG_X264
#ifdef CONFIG_X264_ENCODER REGISTER_ENCODER(X264, x264);
register_avcodec(&x264_encoder);
#endif //CONFIG_X264_ENCODER
#endif #endif
REGISTER_DECODER(XAN_WC3, xan_wc3);
REGISTER_DECODER(XL, xl);
#ifdef CONFIG_XVID #ifdef CONFIG_XVID
#ifdef CONFIG_XVID_ENCODER REGISTER_ENCODER(XVID, xvid);
register_avcodec(&xvid_encoder);
#endif //CONFIG_XVID_ENCODER
#endif #endif
#ifdef CONFIG_ZLIB_ENCODER REGISTER_ENCDEC (ZLIB, zlib);
register_avcodec(&zlib_encoder); REGISTER_DECODER(ZMBV, zmbv);
#endif //CONFIG_ZLIB_ENCODER
/* decoders */ /* audio codecs */
#ifdef CONFIG_FAAD #ifdef CONFIG_FAAD
#ifdef CONFIG_AAC_DECODER REGISTER_DECODER(AAC, aac);
register_avcodec(&aac_decoder); REGISTER_DECODER(MPEG4AAC, mpeg4aac);
#endif //CONFIG_AAC_DECODER
#ifdef CONFIG_MPEG4AAC_DECODER
register_avcodec(&mpeg4aac_decoder);
#endif //CONFIG_MPEG4AAC_DECODER
#endif #endif
#ifdef CONFIG_AASC_DECODER
register_avcodec(&aasc_decoder);
#endif //CONFIG_AASC_DECODER
#ifdef CONFIG_A52 #ifdef CONFIG_A52
#ifdef CONFIG_AC3_DECODER REGISTER_DECODER(AC3, ac3);
register_avcodec(&ac3_decoder);
#endif //CONFIG_AC3_DECODER
#endif #endif
#ifdef CONFIG_ALAC_DECODER REGISTER_ENCODER(AC3, ac3);
register_avcodec(&alac_decoder); REGISTER_DECODER(ALAC, alac);
#endif //CONFIG_ALAC_DECODER
#if defined(CONFIG_AMR_NB) || defined(CONFIG_AMR_NB_FIXED) #if defined(CONFIG_AMR_NB) || defined(CONFIG_AMR_NB_FIXED)
#ifdef CONFIG_AMR_NB_DECODER REGISTER_ENCDEC (AMR_NB, amr_nb);
register_avcodec(&amr_nb_decoder); #endif
#endif //CONFIG_AMR_NB_DECODER
#endif /* CONFIG_AMR_NB || CONFIG_AMR_NB_FIXED */
#ifdef CONFIG_AMR_WB #ifdef CONFIG_AMR_WB
#ifdef CONFIG_AMR_WB_DECODER REGISTER_ENCDEC (AMR_WB, amr_wb);
register_avcodec(&amr_wb_decoder); #endif
#endif //CONFIG_AMR_WB_DECODER REGISTER_DECODER(COOK, cook);
#endif /* CONFIG_AMR_WB */ REGISTER_DECODER(DSICINAUDIO, dsicinaudio);
#ifdef CONFIG_ASV1_DECODER
register_avcodec(&asv1_decoder);
#endif //CONFIG_ASV1_DECODER
#ifdef CONFIG_ASV2_DECODER
register_avcodec(&asv2_decoder);
#endif //CONFIG_ASV2_DECODER
#ifdef CONFIG_AVS_DECODER
register_avcodec(&avs_decoder);
#endif //CONFIG_AVS_DECODER
#ifdef CONFIG_BMP_DECODER
register_avcodec(&bmp_decoder);
#endif //CONFIG_BMP_DECODER
#ifdef CONFIG_CAVS_DECODER
register_avcodec(&cavs_decoder);
#endif //CONFIG_CAVS_DECODER
#ifdef CONFIG_CINEPAK_DECODER
register_avcodec(&cinepak_decoder);
#endif //CONFIG_CINEPAK_DECODER
#ifdef CONFIG_CLJR_DECODER
register_avcodec(&cljr_decoder);
#endif //CONFIG_CLJR_DECODER
#ifdef CONFIG_COOK_DECODER
register_avcodec(&cook_decoder);
#endif //CONFIG_COOK_DECODER
#ifdef CONFIG_CSCD_DECODER
register_avcodec(&cscd_decoder);
#endif //CONFIG_CSCD_DECODER
#ifdef CONFIG_CYUV_DECODER
register_avcodec(&cyuv_decoder);
#endif //CONFIG_CYUV_DECODER
#ifdef CONFIG_DSICINAUDIO_DECODER
register_avcodec(&dsicinaudio_decoder);
#endif //CONFIG_DSICINAUDIO_DECODER
#ifdef CONFIG_DSICINVIDEO_DECODER
register_avcodec(&dsicinvideo_decoder);
#endif //CONFIG_DSICINVIDEO_DECODER
#ifdef CONFIG_DTS #ifdef CONFIG_DTS
#ifdef CONFIG_DTS_DECODER REGISTER_DECODER(DTS, dts);
register_avcodec(&dts_decoder);
#endif //CONFIG_DTS_DECODER
#endif #endif
#ifdef CONFIG_DVVIDEO_DECODER #ifdef CONFIG_FAAC
register_avcodec(&dvvideo_decoder); REGISTER_ENCODER(FAAC, faac);
#endif //CONFIG_DVVIDEO_DECODER
#ifdef CONFIG_EIGHTBPS_DECODER
register_avcodec(&eightbps_decoder);
#endif //CONFIG_EIGHTBPS_DECODER
#ifdef CONFIG_FFV1_DECODER
register_avcodec(&ffv1_decoder);
#endif //CONFIG_FFV1_DECODER
#ifdef CONFIG_FFVHUFF_DECODER
register_avcodec(&ffvhuff_decoder);
#endif //CONFIG_FFVHUFF_DECODER
#ifdef CONFIG_FLAC_DECODER
register_avcodec(&flac_decoder);
#endif //CONFIG_FLAC_DECODER
#ifdef CONFIG_FLASHSV_DECODER
register_avcodec(&flashsv_decoder);
#endif //CONFIG_FLASHSV_DECODER
#ifdef CONFIG_FLIC_DECODER
register_avcodec(&flic_decoder);
#endif //CONFIG_FLIC_DECODER
#ifdef CONFIG_FLV_DECODER
register_avcodec(&flv_decoder);
#endif //CONFIG_FLV_DECODER
#ifdef CONFIG_FOURXM_DECODER
register_avcodec(&fourxm_decoder);
#endif //CONFIG_FOURXM_DECODER
#ifdef CONFIG_FRAPS_DECODER
register_avcodec(&fraps_decoder);
#endif //CONFIG_FRAPS_DECODER
#ifdef CONFIG_GIF_DECODER
register_avcodec(&gif_decoder);
#endif #endif
#ifdef CONFIG_H261_DECODER REGISTER_ENCDEC (FLAC, flac);
register_avcodec(&h261_decoder); REGISTER_DECODER(IMC, imc);
#endif //CONFIG_H261_DECODER
#ifdef CONFIG_H263_DECODER
register_avcodec(&h263_decoder);
#endif //CONFIG_H263_DECODER
#ifdef CONFIG_H263I_DECODER
register_avcodec(&h263i_decoder);
#endif //CONFIG_H263I_DECODER
#ifdef CONFIG_H264_DECODER
register_avcodec(&h264_decoder);
#endif //CONFIG_H264_DECODER
#ifdef CONFIG_HUFFYUV_DECODER
register_avcodec(&huffyuv_decoder);
#endif //CONFIG_HUFFYUV_DECODER
#ifdef CONFIG_IDCIN_DECODER
register_avcodec(&idcin_decoder);
#endif //CONFIG_IDCIN_DECODER
#ifdef CONFIG_IMC_DECODER
register_avcodec(&imc_decoder);
#endif //CONFIG_IMC_DECODER
#ifdef CONFIG_INDEO2_DECODER
register_avcodec(&indeo2_decoder);
#endif //CONFIG_INDEO2_DECODER
#ifdef CONFIG_INDEO3_DECODER
register_avcodec(&indeo3_decoder);
#endif //CONFIG_INDEO3_DECODER
#ifdef CONFIG_INTERPLAY_DPCM_DECODER
register_avcodec(&interplay_dpcm_decoder);
#endif //CONFIG_INTERPLAY_DPCM_DECODER
#ifdef CONFIG_INTERPLAY_VIDEO_DECODER
register_avcodec(&interplay_video_decoder);
#endif //CONFIG_INTERPLAY_VIDEO_DECODER
#ifdef CONFIG_KMVC_DECODER
register_avcodec(&kmvc_decoder);
#endif //CONFIG_KMVC_DECODER
#ifdef CONFIG_LIBGSM #ifdef CONFIG_LIBGSM
register_avcodec(&libgsm_decoder); REGISTER_ENCDEC (LIBGSM, libgsm);
#endif //CONFIG_LIBGSM
#ifdef CONFIG_LOCO_DECODER
register_avcodec(&loco_decoder);
#endif //CONFIG_LOCO_DECODER
#ifdef CONFIG_MACE3_DECODER
register_avcodec(&mace3_decoder);
#endif //CONFIG_MACE3_DECODER
#ifdef CONFIG_MACE6_DECODER
register_avcodec(&mace6_decoder);
#endif //CONFIG_MACE6_DECODER
#ifdef CONFIG_MDEC_DECODER
register_avcodec(&mdec_decoder);
#endif //CONFIG_MDEC_DECODER
#ifdef CONFIG_MJPEG_DECODER
register_avcodec(&mjpeg_decoder);
#endif //CONFIG_MJPEG_DECODER
#ifdef CONFIG_MJPEGB_DECODER
register_avcodec(&mjpegb_decoder);
#endif //CONFIG_MJPEGB_DECODER
#ifdef CONFIG_MMVIDEO_DECODER
register_avcodec(&mmvideo_decoder);
#endif //CONFIG_MMVIDEO_DECODER
#ifdef CONFIG_MP2_DECODER
register_avcodec(&mp2_decoder);
#endif //CONFIG_MP2_DECODER
#ifdef CONFIG_MP3_DECODER
register_avcodec(&mp3_decoder);
#endif //CONFIG_MP3_DECODER
#ifdef CONFIG_MP3ADU_DECODER
register_avcodec(&mp3adu_decoder);
#endif //CONFIG_MP3ADU_DECODER
#ifdef CONFIG_MP3ON4_DECODER
register_avcodec(&mp3on4_decoder);
#endif //CONFIG_MP3ON4_DECODER
#ifdef HAVE_XVMC
#ifdef CONFIG_MPEG_XVMC_DECODER
register_avcodec(&mpeg_xvmc_decoder);
#endif //CONFIG_MPEG_XVMC_DECODER
#endif #endif
#ifdef CONFIG_MPEG1VIDEO_DECODER REGISTER_DECODER(MACE3, mace3);
register_avcodec(&mpeg1video_decoder); REGISTER_DECODER(MACE6, mace6);
#endif //CONFIG_MPEG1VIDEO_DECODER REGISTER_ENCDEC (MP2, mp2);
#ifdef CONFIG_MPEG2VIDEO_DECODER REGISTER_DECODER(MP3, mp3);
register_avcodec(&mpeg2video_decoder); REGISTER_DECODER(MP3ADU, mp3adu);
#endif //CONFIG_MPEG2VIDEO_DECODER #ifdef CONFIG_MP3LAME
#ifdef CONFIG_MPEG4_DECODER REGISTER_ENCODER(MP3LAME, mp3lame);
register_avcodec(&mpeg4_decoder);
#endif //CONFIG_MPEG4_DECODER
#ifdef CONFIG_MPEGVIDEO_DECODER
register_avcodec(&mpegvideo_decoder);
#endif //CONFIG_MPEGVIDEO_DECODER
#ifdef CONFIG_MSMPEG4V1_DECODER
register_avcodec(&msmpeg4v1_decoder);
#endif //CONFIG_MSMPEG4V1_DECODER
#ifdef CONFIG_MSMPEG4V2_DECODER
register_avcodec(&msmpeg4v2_decoder);
#endif //CONFIG_MSMPEG4V2_DECODER
#ifdef CONFIG_MSMPEG4V3_DECODER
register_avcodec(&msmpeg4v3_decoder);
#endif //CONFIG_MSMPEG4V3_DECODER
#ifdef CONFIG_MSRLE_DECODER
register_avcodec(&msrle_decoder);
#endif //CONFIG_MSRLE_DECODER
#ifdef CONFIG_MSVIDEO1_DECODER
register_avcodec(&msvideo1_decoder);
#endif //CONFIG_MSVIDEO1_DECODER
#ifdef CONFIG_MSZH_DECODER
register_avcodec(&mszh_decoder);
#endif //CONFIG_MSZH_DECODER
#ifdef CONFIG_NUV_DECODER
register_avcodec(&nuv_decoder);
#endif //CONFIG_NUV_DECODER
#ifdef CONFIG_ZLIB
#ifdef CONFIG_PNG_DECODER
register_avcodec(&png_decoder);
#endif //CONFIG_PNG_DECODER
#endif #endif
#ifdef CONFIG_QDM2_DECODER REGISTER_DECODER(MP3ON4, mp3on4);
register_avcodec(&qdm2_decoder); #ifdef CONFIG_LIBVORBIS
#endif //CONFIG_QDM2_DECODER if (!ENABLE_VORBIS_ENCODER) REGISTER_ENCODER(OGGVORBIS, oggvorbis);
#ifdef CONFIG_QDRAW_DECODER if (!ENABLE_VORBIS_DECODER) REGISTER_DECODER(OGGVORBIS, oggvorbis);
register_avcodec(&qdraw_decoder); #endif
#endif //CONFIG_QDRAW_DECODER REGISTER_DECODER(QDM2, qdm2);
#ifdef CONFIG_QPEG_DECODER REGISTER_DECODER(RA_144, ra_144);
register_avcodec(&qpeg_decoder); REGISTER_DECODER(RA_288, ra_288);
#endif //CONFIG_QPEG_DECODER REGISTER_DECODER(SHORTEN, shorten);
#ifdef CONFIG_QTRLE_DECODER REGISTER_DECODER(SMACKAUD, smackaud);
register_avcodec(&qtrle_decoder); REGISTER_ENCDEC (SONIC, sonic);
#endif //CONFIG_QTRLE_DECODER REGISTER_ENCODER(SONIC_LS, sonic_ls);
#ifdef CONFIG_RA_144_DECODER REGISTER_DECODER(TRUESPEECH, truespeech);
register_avcodec(&ra_144_decoder); REGISTER_DECODER(TTA, tta);
#endif //CONFIG_RA_144_DECODER REGISTER_DECODER(VMDAUDIO, vmdaudio);
#ifdef CONFIG_RA_288_DECODER REGISTER_ENCDEC (VORBIS, vorbis);
register_avcodec(&ra_288_decoder); REGISTER_DECODER(WAVPACK, wavpack);
#endif //CONFIG_RA_288_DECODER REGISTER_DECODER(WMAV1, wmav1);
#ifdef CONFIG_RAWVIDEO_DECODER REGISTER_DECODER(WMAV2, wmav2);
register_avcodec(&rawvideo_decoder); REGISTER_DECODER(WS_SND1, ws_snd1);
#endif //CONFIG_RAWVIDEO_DECODER
#ifdef CONFIG_ROQ_DECODER
register_avcodec(&roq_decoder);
#endif //CONFIG_ROQ_DECODER
#ifdef CONFIG_ROQ_DPCM_DECODER
register_avcodec(&roq_dpcm_decoder);
#endif //CONFIG_ROQ_DPCM_DECODER
#ifdef CONFIG_RPZA_DECODER
register_avcodec(&rpza_decoder);
#endif //CONFIG_RPZA_DECODER
#ifdef CONFIG_RV10_DECODER
register_avcodec(&rv10_decoder);
#endif //CONFIG_RV10_DECODER
#ifdef CONFIG_RV20_DECODER
register_avcodec(&rv20_decoder);
#endif //CONFIG_RV20_DECODER
#ifdef CONFIG_SHORTEN_DECODER
register_avcodec(&shorten_decoder);
#endif //CONFIG_SHORTEN_DECODER
#ifdef CONFIG_SMACKAUD_DECODER
register_avcodec(&smackaud_decoder);
#endif //CONFIG_SMACKAUD_DECODER
#ifdef CONFIG_SMACKER_DECODER
register_avcodec(&smacker_decoder);
#endif //CONFIG_SMACKER_DECODER
#ifdef CONFIG_SMC_DECODER
register_avcodec(&smc_decoder);
#endif //CONFIG_SMC_DECODER
#ifdef CONFIG_SNOW_DECODER
register_avcodec(&snow_decoder);
#endif //CONFIG_SNOW_DECODER
#ifdef CONFIG_SOL_DPCM_DECODER
register_avcodec(&sol_dpcm_decoder);
#endif //CONFIG_SOL_DPCM_DECODER
#ifdef CONFIG_SONIC_DECODER
register_avcodec(&sonic_decoder);
#endif //CONFIG_SONIC_DECODER
#ifdef CONFIG_SP5X_DECODER
register_avcodec(&sp5x_decoder);
#endif //CONFIG_SP5X_DECODER
#ifdef CONFIG_SVQ1_DECODER
register_avcodec(&svq1_decoder);
#endif //CONFIG_SVQ1_DECODER
#ifdef CONFIG_SVQ3_DECODER
register_avcodec(&svq3_decoder);
#endif //CONFIG_SVQ3_DECODER
#ifdef CONFIG_TARGA_DECODER
register_avcodec(&targa_decoder);
#endif //CONFIG_TARGA_DECODER
#ifdef CONFIG_THEORA_DECODER
register_avcodec(&theora_decoder);
#endif //CONFIG_THEORA_DECODER
#ifdef CONFIG_TIERTEXSEQVIDEO_DECODER
register_avcodec(&tiertexseqvideo_decoder);
#endif //CONFIG_TIERTEXSEQVIDEO_DECODER
#ifdef CONFIG_TIFF_DECODER
register_avcodec(&tiff_decoder);
#endif //CONFIG_TIFF_DECODER
#ifdef CONFIG_TRUEMOTION1_DECODER
register_avcodec(&truemotion1_decoder);
#endif //CONFIG_TRUEMOTION1_DECODER
#ifdef CONFIG_TRUEMOTION2_DECODER
register_avcodec(&truemotion2_decoder);
#endif //CONFIG_TRUEMOTION2_DECODER
#ifdef CONFIG_TRUESPEECH_DECODER
register_avcodec(&truespeech_decoder);
#endif //CONFIG_TRUESPEECH_DECODER
#ifdef CONFIG_TSCC_DECODER
register_avcodec(&tscc_decoder);
#endif //CONFIG_TSCC_DECODER
#ifdef CONFIG_TTA_DECODER
register_avcodec(&tta_decoder);
#endif //CONFIG_TTA_DECODER
#ifdef CONFIG_ULTI_DECODER
register_avcodec(&ulti_decoder);
#endif //CONFIG_ULTI_DECODER
#ifdef CONFIG_VC1_DECODER
register_avcodec(&vc1_decoder);
#endif //CONFIG_VC1_DECODER
#ifdef CONFIG_VCR1_DECODER
register_avcodec(&vcr1_decoder);
#endif //CONFIG_VCR1_DECODER
#ifdef CONFIG_VMDAUDIO_DECODER
register_avcodec(&vmdaudio_decoder);
#endif //CONFIG_VMDAUDIO_DECODER
#ifdef CONFIG_VMDVIDEO_DECODER
register_avcodec(&vmdvideo_decoder);
#endif //CONFIG_VMDVIDEO_DECODER
#ifdef CONFIG_VMNC_DECODER
register_avcodec(&vmnc_decoder);
#endif //CONFIG_VMNC_DECODER
#ifdef CONFIG_VORBIS_DECODER
register_avcodec(&vorbis_decoder);
#endif //CONFIG_VORBIS_DECODER
#ifdef CONFIG_VP3_DECODER
register_avcodec(&vp3_decoder);
#endif //CONFIG_VP3_DECODER
#ifdef CONFIG_VP5_DECODER
register_avcodec(&vp5_decoder);
#endif //CONFIG_VP5_DECODER
#ifdef CONFIG_VP6_DECODER
register_avcodec(&vp6_decoder);
#endif //CONFIG_VP6_DECODER
#ifdef CONFIG_VP6F_DECODER
register_avcodec(&vp6f_decoder);
#endif //CONFIG_VP6F_DECODER
#ifdef CONFIG_VQA_DECODER
register_avcodec(&vqa_decoder);
#endif //CONFIG_VQA_DECODER
#ifdef CONFIG_WAVPACK_DECODER
register_avcodec(&wavpack_decoder);
#endif //CONFIG_WAVPACK_DECODER
#ifdef CONFIG_WMAV1_DECODER
register_avcodec(&wmav1_decoder);
#endif //CONFIG_WMAV1_DECODER
#ifdef CONFIG_WMAV2_DECODER
register_avcodec(&wmav2_decoder);
#endif //CONFIG_WMAV2_DECODER
#ifdef CONFIG_WMV1_DECODER
register_avcodec(&wmv1_decoder);
#endif //CONFIG_WMV1_DECODER
#ifdef CONFIG_WMV2_DECODER
register_avcodec(&wmv2_decoder);
#endif //CONFIG_WMV2_DECODER
#ifdef CONFIG_WMV3_DECODER
register_avcodec(&wmv3_decoder);
#endif //CONFIG_WMV3_DECODER
#ifdef CONFIG_WNV1_DECODER
register_avcodec(&wnv1_decoder);
#endif //CONFIG_WNV1_DECODER
#ifdef CONFIG_WS_SND1_DECODER
register_avcodec(&ws_snd1_decoder);
#endif //CONFIG_WS_SND1_DECODER
#ifdef CONFIG_XAN_DPCM_DECODER
register_avcodec(&xan_dpcm_decoder);
#endif //CONFIG_XAN_DPCM_DECODER
#ifdef CONFIG_XAN_WC3_DECODER
register_avcodec(&xan_wc3_decoder);
#endif //CONFIG_XAN_WC3_DECODER
#ifdef CONFIG_XL_DECODER
register_avcodec(&xl_decoder);
#endif //CONFIG_XL_DECODER
#ifdef CONFIG_ZLIB_DECODER
register_avcodec(&zlib_decoder);
#endif //CONFIG_ZLIB_DECODER
#ifdef CONFIG_ZMBV_DECODER
register_avcodec(&zmbv_decoder);
#endif //CONFIG_ZMBV_DECODER
/* pcm codecs */ /* pcm codecs */
#ifdef CONFIG_PCM_ALAW_DECODER REGISTER_ENCDEC (PCM_ALAW, pcm_alaw);
register_avcodec(&pcm_alaw_decoder); REGISTER_ENCDEC (PCM_MULAW, pcm_mulaw);
#endif REGISTER_ENCDEC (PCM_S8, pcm_s8);
#ifdef CONFIG_PCM_ALAW_ENCODER REGISTER_ENCDEC (PCM_S16BE, pcm_s16be);
register_avcodec(&pcm_alaw_encoder); REGISTER_ENCDEC (PCM_S16LE, pcm_s16le);
#endif REGISTER_ENCDEC (PCM_S24BE, pcm_s24be);
#ifdef CONFIG_PCM_MULAW_DECODER REGISTER_ENCDEC (PCM_S24DAUD, pcm_s24daud);
register_avcodec(&pcm_mulaw_decoder); REGISTER_ENCDEC (PCM_S24LE, pcm_s24le);
#endif REGISTER_ENCDEC (PCM_S32BE, pcm_s32be);
#ifdef CONFIG_PCM_MULAW_ENCODER REGISTER_ENCDEC (PCM_S32LE, pcm_s32le);
register_avcodec(&pcm_mulaw_encoder); REGISTER_ENCDEC (PCM_U8, pcm_u8);
#endif REGISTER_ENCDEC (PCM_U16BE, pcm_u16be);
#ifdef CONFIG_PCM_S8_DECODER REGISTER_ENCDEC (PCM_U16LE, pcm_u16le);
register_avcodec(&pcm_s8_decoder); REGISTER_ENCDEC (PCM_U24BE, pcm_u24be);
#endif REGISTER_ENCDEC (PCM_U24LE, pcm_u24le);
#ifdef CONFIG_PCM_S8_ENCODER REGISTER_ENCDEC (PCM_U32BE, pcm_u32be);
register_avcodec(&pcm_s8_encoder); REGISTER_ENCDEC (PCM_U32LE, pcm_u32le);
#endif
#ifdef CONFIG_PCM_S16BE_DECODER /* dpcm codecs */
register_avcodec(&pcm_s16be_decoder); REGISTER_DECODER(INTERPLAY_DPCM, interplay_dpcm);
#endif REGISTER_DECODER(ROQ_DPCM, roq_dpcm);
#ifdef CONFIG_PCM_S16BE_ENCODER REGISTER_DECODER(SOL_DPCM, sol_dpcm);
register_avcodec(&pcm_s16be_encoder); REGISTER_DECODER(XAN_DPCM, xan_dpcm);
#endif
#ifdef CONFIG_PCM_S16LE_DECODER
register_avcodec(&pcm_s16le_decoder);
#endif
#ifdef CONFIG_PCM_S16LE_ENCODER
register_avcodec(&pcm_s16le_encoder);
#endif
#ifdef CONFIG_PCM_S24BE_DECODER
register_avcodec(&pcm_s24be_decoder);
#endif
#ifdef CONFIG_PCM_S24BE_ENCODER
register_avcodec(&pcm_s24be_encoder);
#endif
#ifdef CONFIG_PCM_S24DAUD_DECODER
register_avcodec(&pcm_s24daud_decoder);
#endif
#ifdef CONFIG_PCM_S24DAUD_ENCODER
register_avcodec(&pcm_s24daud_encoder);
#endif
#ifdef CONFIG_PCM_S24LE_DECODER
register_avcodec(&pcm_s24le_decoder);
#endif
#ifdef CONFIG_PCM_S24LE_ENCODER
register_avcodec(&pcm_s24le_encoder);
#endif
#ifdef CONFIG_PCM_S32BE_DECODER
register_avcodec(&pcm_s32be_decoder);
#endif
#ifdef CONFIG_PCM_S32BE_ENCODER
register_avcodec(&pcm_s32be_encoder);
#endif
#ifdef CONFIG_PCM_S32LE_DECODER
register_avcodec(&pcm_s32le_decoder);
#endif
#ifdef CONFIG_PCM_S32LE_ENCODER
register_avcodec(&pcm_s32le_encoder);
#endif
#ifdef CONFIG_PCM_U8_DECODER
register_avcodec(&pcm_u8_decoder);
#endif
#ifdef CONFIG_PCM_U8_ENCODER
register_avcodec(&pcm_u8_encoder);
#endif
#ifdef CONFIG_PCM_U16BE_DECODER
register_avcodec(&pcm_u16be_decoder);
#endif
#ifdef CONFIG_PCM_U16BE_ENCODER
register_avcodec(&pcm_u16be_encoder);
#endif
#ifdef CONFIG_PCM_U16LE_DECODER
register_avcodec(&pcm_u16le_decoder);
#endif
#ifdef CONFIG_PCM_U16LE_ENCODER
register_avcodec(&pcm_u16le_encoder);
#endif
#ifdef CONFIG_PCM_U24BE_DECODER
register_avcodec(&pcm_u24be_decoder);
#endif
#ifdef CONFIG_PCM_U24BE_ENCODER
register_avcodec(&pcm_u24be_encoder);
#endif
#ifdef CONFIG_PCM_U24LE_DECODER
register_avcodec(&pcm_u24le_decoder);
#endif
#ifdef CONFIG_PCM_U24LE_ENCODER
register_avcodec(&pcm_u24le_encoder);
#endif
#ifdef CONFIG_PCM_U32BE_DECODER
register_avcodec(&pcm_u32be_decoder);
#endif
#ifdef CONFIG_PCM_U32BE_ENCODER
register_avcodec(&pcm_u32be_encoder);
#endif
#ifdef CONFIG_PCM_U32LE_DECODER
register_avcodec(&pcm_u32le_decoder);
#endif
#ifdef CONFIG_PCM_U32LE_ENCODER
register_avcodec(&pcm_u32le_encoder);
#endif
/* adpcm codecs */ /* adpcm codecs */
#ifdef CONFIG_ADPCM_4XM_DECODER REGISTER_ENCDEC (ADPCM_4XM, adpcm_4xm);
register_avcodec(&adpcm_4xm_decoder); REGISTER_ENCDEC (ADPCM_ADX, adpcm_adx);
#endif REGISTER_ENCDEC (ADPCM_CT, adpcm_ct);
#ifdef CONFIG_ADPCM_4XM_ENCODER REGISTER_ENCDEC (ADPCM_EA, adpcm_ea);
register_avcodec(&adpcm_4xm_encoder); REGISTER_ENCDEC (ADPCM_G726, adpcm_g726);
#endif REGISTER_ENCDEC (ADPCM_IMA_DK3, adpcm_ima_dk3);
#ifdef CONFIG_ADPCM_ADX_DECODER REGISTER_ENCDEC (ADPCM_IMA_DK4, adpcm_ima_dk4);
register_avcodec(&adpcm_adx_decoder); REGISTER_ENCDEC (ADPCM_IMA_QT, adpcm_ima_qt);
#endif REGISTER_ENCDEC (ADPCM_IMA_SMJPEG, adpcm_ima_smjpeg);
#ifdef CONFIG_ADPCM_ADX_ENCODER REGISTER_ENCDEC (ADPCM_IMA_WAV, adpcm_ima_wav);
register_avcodec(&adpcm_adx_encoder); REGISTER_ENCDEC (ADPCM_IMA_WS, adpcm_ima_ws);
#endif REGISTER_ENCDEC (ADPCM_MS, adpcm_ms);
#ifdef CONFIG_ADPCM_CT_DECODER REGISTER_ENCDEC (ADPCM_SBPRO_2, adpcm_sbpro_2);
register_avcodec(&adpcm_ct_decoder); REGISTER_ENCDEC (ADPCM_SBPRO_3, adpcm_sbpro_3);
#endif REGISTER_ENCDEC (ADPCM_SBPRO_4, adpcm_sbpro_4);
#ifdef CONFIG_ADPCM_CT_ENCODER REGISTER_ENCDEC (ADPCM_SWF, adpcm_swf);
register_avcodec(&adpcm_ct_encoder); REGISTER_ENCDEC (ADPCM_XA, adpcm_xa);
#endif REGISTER_ENCDEC (ADPCM_YAMAHA, adpcm_yamaha);
#ifdef CONFIG_ADPCM_EA_DECODER
register_avcodec(&adpcm_ea_decoder);
#endif
#ifdef CONFIG_ADPCM_EA_ENCODER
register_avcodec(&adpcm_ea_encoder);
#endif
#ifdef CONFIG_ADPCM_G726_DECODER
register_avcodec(&adpcm_g726_decoder);
#endif
#ifdef CONFIG_ADPCM_G726_ENCODER
register_avcodec(&adpcm_g726_encoder);
#endif
#ifdef CONFIG_ADPCM_IMA_DK3_DECODER
register_avcodec(&adpcm_ima_dk3_decoder);
#endif
#ifdef CONFIG_ADPCM_IMA_DK3_ENCODER
register_avcodec(&adpcm_ima_dk3_encoder);
#endif
#ifdef CONFIG_ADPCM_IMA_DK4_DECODER
register_avcodec(&adpcm_ima_dk4_decoder);
#endif
#ifdef CONFIG_ADPCM_IMA_DK4_ENCODER
register_avcodec(&adpcm_ima_dk4_encoder);
#endif
#ifdef CONFIG_ADPCM_IMA_QT_DECODER
register_avcodec(&adpcm_ima_qt_decoder);
#endif
#ifdef CONFIG_ADPCM_IMA_QT_ENCODER
register_avcodec(&adpcm_ima_qt_encoder);
#endif
#ifdef CONFIG_ADPCM_IMA_SMJPEG_DECODER
register_avcodec(&adpcm_ima_smjpeg_decoder);
#endif
#ifdef CONFIG_ADPCM_IMA_SMJPEG_ENCODER
register_avcodec(&adpcm_ima_smjpeg_encoder);
#endif
#ifdef CONFIG_ADPCM_IMA_WAV_DECODER
register_avcodec(&adpcm_ima_wav_decoder);
#endif
#ifdef CONFIG_ADPCM_IMA_WAV_ENCODER
register_avcodec(&adpcm_ima_wav_encoder);
#endif
#ifdef CONFIG_ADPCM_IMA_WS_DECODER
register_avcodec(&adpcm_ima_ws_decoder);
#endif
#ifdef CONFIG_ADPCM_IMA_WS_ENCODER
register_avcodec(&adpcm_ima_ws_encoder);
#endif
#ifdef CONFIG_ADPCM_MS_DECODER
register_avcodec(&adpcm_ms_decoder);
#endif
#ifdef CONFIG_ADPCM_MS_ENCODER
register_avcodec(&adpcm_ms_encoder);
#endif
#ifdef CONFIG_ADPCM_SBPRO_2_DECODER
register_avcodec(&adpcm_sbpro_2_decoder);
#endif
#ifdef CONFIG_ADPCM_SBPRO_2_ENCODER
register_avcodec(&adpcm_sbpro_2_encoder);
#endif
#ifdef CONFIG_ADPCM_SBPRO_3_DECODER
register_avcodec(&adpcm_sbpro_3_decoder);
#endif
#ifdef CONFIG_ADPCM_SBPRO_3_ENCODER
register_avcodec(&adpcm_sbpro_3_encoder);
#endif
#ifdef CONFIG_ADPCM_SBPRO_4_DECODER
register_avcodec(&adpcm_sbpro_4_decoder);
#endif
#ifdef CONFIG_ADPCM_SBPRO_4_ENCODER
register_avcodec(&adpcm_sbpro_4_encoder);
#endif
#ifdef CONFIG_ADPCM_SWF_DECODER
register_avcodec(&adpcm_swf_decoder);
#endif
#ifdef CONFIG_ADPCM_SWF_ENCODER
register_avcodec(&adpcm_swf_encoder);
#endif
#ifdef CONFIG_ADPCM_XA_DECODER
register_avcodec(&adpcm_xa_decoder);
#endif
#ifdef CONFIG_ADPCM_XA_ENCODER
register_avcodec(&adpcm_xa_encoder);
#endif
#ifdef CONFIG_ADPCM_YAMAHA_DECODER
register_avcodec(&adpcm_yamaha_decoder);
#endif
#ifdef CONFIG_ADPCM_YAMAHA_ENCODER
register_avcodec(&adpcm_yamaha_encoder);
#endif
/* subtitles */ /* subtitles */
#ifdef CONFIG_DVBSUB_DECODER REGISTER_ENCDEC (DVBSUB, dvbsub);
register_avcodec(&dvbsub_decoder); REGISTER_ENCDEC (DVDSUB, dvdsub);
#endif
#ifdef CONFIG_DVBSUB_ENCODER
register_avcodec(&dvbsub_encoder);
#endif
#ifdef CONFIG_DVDSUB_DECODER
register_avcodec(&dvdsub_decoder);
#endif
#ifdef CONFIG_DVDSUB_ENCODER
register_avcodec(&dvdsub_encoder);
#endif
/* parsers */ /* parsers */
#ifdef CONFIG_AAC_PARSER REGISTER_PARSER (AAC, aac);
av_register_codec_parser(&aac_parser); REGISTER_PARSER (AC3, ac3);
#endif REGISTER_PARSER (CAVSVIDEO, cavsvideo);
#ifdef CONFIG_AC3_PARSER REGISTER_PARSER (DVBSUB, dvbsub);
av_register_codec_parser(&ac3_parser); REGISTER_PARSER (DVDSUB, dvdsub);
#endif REGISTER_PARSER (H261, h261);
#ifdef CONFIG_CAVSVIDEO_PARSER REGISTER_PARSER (H263, h263);
av_register_codec_parser(&cavsvideo_parser); REGISTER_PARSER (H264, h264);
#endif REGISTER_PARSER (MJPEG, mjpeg);
#ifdef CONFIG_DVBSUB_PARSER REGISTER_PARSER (MPEG4VIDEO, mpeg4video);
av_register_codec_parser(&dvbsub_parser); REGISTER_PARSER (MPEGAUDIO, mpegaudio);
#endif REGISTER_PARSER (MPEGVIDEO, mpegvideo);
#ifdef CONFIG_DVDSUB_PARSER REGISTER_PARSER (PNM, pnm);
av_register_codec_parser(&dvdsub_parser);
#endif
#ifdef CONFIG_H261_PARSER
av_register_codec_parser(&h261_parser);
#endif
#ifdef CONFIG_H263_PARSER
av_register_codec_parser(&h263_parser);
#endif
#ifdef CONFIG_H264_PARSER
av_register_codec_parser(&h264_parser);
#endif
#ifdef CONFIG_MJPEG_PARSER
av_register_codec_parser(&mjpeg_parser);
#endif
#ifdef CONFIG_MPEG4VIDEO_PARSER
av_register_codec_parser(&mpeg4video_parser);
#endif
#ifdef CONFIG_MPEGAUDIO_PARSER
av_register_codec_parser(&mpegaudio_parser);
#endif
#ifdef CONFIG_MPEGVIDEO_PARSER
av_register_codec_parser(&mpegvideo_parser);
#endif
#ifdef CONFIG_PNM_PARSER
av_register_codec_parser(&pnm_parser);
#endif
av_register_bitstream_filter(&dump_extradata_bsf); av_register_bitstream_filter(&dump_extradata_bsf);
av_register_bitstream_filter(&remove_extradata_bsf); av_register_bitstream_filter(&remove_extradata_bsf);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment