2002-06-11 13:41:41 +00:00
|
|
|
/*
|
|
|
|
* Utils for libavcodec
|
|
|
|
* Copyright (c) 2002 Fabrice Bellard.
|
|
|
|
*
|
2006-10-07 15:30:46 +00:00
|
|
|
* This file is part of FFmpeg.
|
|
|
|
*
|
|
|
|
* FFmpeg is free software; you can redistribute it and/or
|
2002-06-11 13:41:41 +00:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
2006-10-07 15:30:46 +00:00
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
2002-06-11 13:41:41 +00:00
|
|
|
*
|
2006-10-07 15:30:46 +00:00
|
|
|
* FFmpeg is distributed in the hope that it will be useful,
|
2002-06-11 13:41:41 +00:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2006-10-07 15:30:46 +00:00
|
|
|
* License along with FFmpeg; if not, write to the Free Software
|
2006-01-12 22:43:26 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
2002-06-11 13:41:41 +00:00
|
|
|
*/
|
2003-03-06 11:32:04 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @file allcodecs.c
|
|
|
|
* Utils for libavcodec.
|
|
|
|
*/
|
|
|
|
|
2002-06-11 13:41:41 +00:00
|
|
|
#include "avcodec.h"
|
|
|
|
|
|
|
|
/* If you do not call this function, then you can select exactly which
|
|
|
|
formats you want to support */
|
|
|
|
|
|
|
|
/**
|
2005-12-17 18:14:38 +00:00
|
|
|
* simple call to register all the codecs.
|
2002-06-11 13:41:41 +00:00
|
|
|
*/
|
|
|
|
void avcodec_register_all(void)
|
|
|
|
{
|
|
|
|
static int inited = 0;
|
2005-12-17 18:14:38 +00:00
|
|
|
|
2002-06-11 13:41:41 +00:00
|
|
|
if (inited != 0)
|
2005-12-22 01:10:11 +00:00
|
|
|
return;
|
2002-06-11 13:41:41 +00:00
|
|
|
inited = 1;
|
|
|
|
|
|
|
|
/* encoders */
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_AC3_ENCODER
|
2002-06-11 13:41:41 +00:00
|
|
|
register_avcodec(&ac3_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_AC3_ENCODER
|
|
|
|
#ifdef CONFIG_MP2_ENCODER
|
2002-06-11 13:41:41 +00:00
|
|
|
register_avcodec(&mp2_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MP2_ENCODER
|
2002-06-11 13:41:41 +00:00
|
|
|
#ifdef CONFIG_MP3LAME
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_MP3LAME_ENCODER
|
2002-06-11 13:41:41 +00:00
|
|
|
register_avcodec(&mp3lame_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MP3LAME_ENCODER
|
2002-09-01 18:07:56 +00:00
|
|
|
#endif
|
2005-02-24 15:18:02 +00:00
|
|
|
#ifdef CONFIG_LIBVORBIS
|
2006-10-02 06:18:02 +00:00
|
|
|
#if (defined CONFIG_OGGVORBIS_ENCODER && !defined CONFIG_VORBIS_ENCODER)
|
2002-09-01 18:07:56 +00:00
|
|
|
register_avcodec(&oggvorbis_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_OGGVORBIS_ENCODER
|
2005-05-17 19:02:43 +00:00
|
|
|
#if (defined CONFIG_OGGVORBIS_DECODER && !defined CONFIG_VORBIS_DECODER)
|
2002-11-22 07:27:13 +00:00
|
|
|
register_avcodec(&oggvorbis_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_OGGVORBIS_DECODER
|
2003-10-04 09:53:34 +00:00
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_FAAC
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_FAAC_ENCODER
|
2003-10-04 09:53:34 +00:00
|
|
|
register_avcodec(&faac_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_FAAC_ENCODER
|
2004-07-16 19:48:30 +00:00
|
|
|
#endif
|
2006-06-24 10:20:15 +00:00
|
|
|
#ifdef CONFIG_FLAC_ENCODER
|
|
|
|
register_avcodec(&flac_encoder);
|
|
|
|
#endif
|
2004-07-16 19:48:30 +00:00
|
|
|
#ifdef CONFIG_XVID
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_XVID_ENCODER
|
2004-07-16 19:48:30 +00:00
|
|
|
register_avcodec(&xvid_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_XVID_ENCODER
|
2002-06-11 13:41:41 +00:00
|
|
|
#endif
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_MPEG1VIDEO_ENCODER
|
2002-06-11 13:41:41 +00:00
|
|
|
register_avcodec(&mpeg1video_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MPEG1VIDEO_ENCODER
|
|
|
|
#ifdef CONFIG_H264_ENCODER
|
2003-04-04 14:42:28 +00:00
|
|
|
// register_avcodec(&h264_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_H264_ENCODER
|
|
|
|
#ifdef CONFIG_MPEG2VIDEO_ENCODER
|
2003-08-25 22:47:32 +00:00
|
|
|
register_avcodec(&mpeg2video_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MPEG2VIDEO_ENCODER
|
|
|
|
#ifdef CONFIG_H261_ENCODER
|
2004-10-28 10:12:57 +00:00
|
|
|
register_avcodec(&h261_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_H261_ENCODER
|
|
|
|
#ifdef CONFIG_H263_ENCODER
|
2002-06-11 13:41:41 +00:00
|
|
|
register_avcodec(&h263_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_H263_ENCODER
|
|
|
|
#ifdef CONFIG_H263P_ENCODER
|
2002-06-11 13:41:41 +00:00
|
|
|
register_avcodec(&h263p_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_H263P_ENCODER
|
|
|
|
#ifdef CONFIG_FLV_ENCODER
|
2003-07-10 16:25:30 +00:00
|
|
|
register_avcodec(&flv_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_FLV_ENCODER
|
|
|
|
#ifdef CONFIG_RV10_ENCODER
|
2002-06-11 13:41:41 +00:00
|
|
|
register_avcodec(&rv10_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_RV10_ENCODER
|
|
|
|
#ifdef CONFIG_RV20_ENCODER
|
2004-12-07 13:14:37 +00:00
|
|
|
register_avcodec(&rv20_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_RV20_ENCODER
|
|
|
|
#ifdef CONFIG_MPEG4_ENCODER
|
2002-06-11 13:41:41 +00:00
|
|
|
register_avcodec(&mpeg4_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MPEG4_ENCODER
|
|
|
|
#ifdef CONFIG_MSMPEG4V1_ENCODER
|
2002-06-11 13:41:41 +00:00
|
|
|
register_avcodec(&msmpeg4v1_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MSMPEG4V1_ENCODER
|
|
|
|
#ifdef CONFIG_MSMPEG4V2_ENCODER
|
2002-06-11 13:41:41 +00:00
|
|
|
register_avcodec(&msmpeg4v2_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MSMPEG4V2_ENCODER
|
|
|
|
#ifdef CONFIG_MSMPEG4V3_ENCODER
|
2002-06-11 13:41:41 +00:00
|
|
|
register_avcodec(&msmpeg4v3_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MSMPEG4V3_ENCODER
|
|
|
|
#ifdef CONFIG_WMV1_ENCODER
|
2002-06-18 00:50:20 +00:00
|
|
|
register_avcodec(&wmv1_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_WMV1_ENCODER
|
|
|
|
#ifdef CONFIG_WMV2_ENCODER
|
2002-12-27 23:51:46 +00:00
|
|
|
register_avcodec(&wmv2_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_WMV2_ENCODER
|
|
|
|
#ifdef CONFIG_SVQ1_ENCODER
|
2004-05-07 03:10:11 +00:00
|
|
|
register_avcodec(&svq1_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_SVQ1_ENCODER
|
|
|
|
#ifdef CONFIG_MJPEG_ENCODER
|
2003-01-29 12:00:11 +00:00
|
|
|
register_avcodec(&mjpeg_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MJPEG_ENCODER
|
|
|
|
#ifdef CONFIG_LJPEG_ENCODER
|
2003-06-17 22:48:51 +00:00
|
|
|
register_avcodec(&ljpeg_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_LJPEG_ENCODER
|
2005-12-18 13:17:44 +00:00
|
|
|
#ifdef CONFIG_JPEGLS_ENCODER
|
|
|
|
register_avcodec(&jpegls_encoder);
|
|
|
|
#endif //CONFIG_JPEGLS_ENCODER
|
2004-11-11 10:33:11 +00:00
|
|
|
#ifdef CONFIG_ZLIB
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_PNG_ENCODER
|
2004-11-09 23:31:46 +00:00
|
|
|
register_avcodec(&png_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_PNG_ENCODER
|
2004-11-11 10:33:11 +00:00
|
|
|
#endif
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_PPM_ENCODER
|
2004-11-11 18:09:28 +00:00
|
|
|
register_avcodec(&ppm_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_PPM_ENCODER
|
|
|
|
#ifdef CONFIG_PGM_ENCODER
|
2004-11-11 18:09:28 +00:00
|
|
|
register_avcodec(&pgm_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_PGM_ENCODER
|
|
|
|
#ifdef CONFIG_PGMYUV_ENCODER
|
2004-11-11 18:09:28 +00:00
|
|
|
register_avcodec(&pgmyuv_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_PGMYUV_ENCODER
|
|
|
|
#ifdef CONFIG_PBM_ENCODER
|
2004-11-11 18:09:28 +00:00
|
|
|
register_avcodec(&pbm_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_PBM_ENCODER
|
|
|
|
#ifdef CONFIG_PAM_ENCODER
|
2004-11-11 18:09:28 +00:00
|
|
|
register_avcodec(&pam_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_PAM_ENCODER
|
|
|
|
#ifdef CONFIG_HUFFYUV_ENCODER
|
2002-11-14 19:20:04 +00:00
|
|
|
register_avcodec(&huffyuv_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_HUFFYUV_ENCODER
|
|
|
|
#ifdef CONFIG_FFVHUFF_ENCODER
|
2004-11-28 18:29:38 +00:00
|
|
|
register_avcodec(&ffvhuff_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_FFVHUFF_ENCODER
|
|
|
|
#ifdef CONFIG_ASV1_ENCODER
|
2003-05-19 13:30:59 +00:00
|
|
|
register_avcodec(&asv1_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_ASV1_ENCODER
|
|
|
|
#ifdef CONFIG_ASV2_ENCODER
|
2003-09-01 12:26:39 +00:00
|
|
|
register_avcodec(&asv2_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_ASV2_ENCODER
|
|
|
|
#ifdef CONFIG_FFV1_ENCODER
|
2003-06-09 02:24:51 +00:00
|
|
|
register_avcodec(&ffv1_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_FFV1_ENCODER
|
|
|
|
#ifdef CONFIG_SNOW_ENCODER
|
2004-07-25 23:36:44 +00:00
|
|
|
register_avcodec(&snow_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_SNOW_ENCODER
|
|
|
|
#ifdef CONFIG_ZLIB_ENCODER
|
2004-01-12 22:14:45 +00:00
|
|
|
register_avcodec(&zlib_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_ZLIB_ENCODER
|
|
|
|
#ifdef CONFIG_DVVIDEO_ENCODER
|
2004-03-14 23:45:42 +00:00
|
|
|
register_avcodec(&dvvideo_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_DVVIDEO_ENCODER
|
|
|
|
#ifdef CONFIG_SONIC_ENCODER
|
2004-08-21 19:19:35 +00:00
|
|
|
register_avcodec(&sonic_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_SONIC_ENCODER
|
|
|
|
#ifdef CONFIG_SONIC_LS_ENCODER
|
2004-08-21 19:19:35 +00:00
|
|
|
register_avcodec(&sonic_ls_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_SONIC_LS_ENCODER
|
2005-03-09 03:04:56 +00:00
|
|
|
#ifdef CONFIG_X264
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_X264_ENCODER
|
2005-03-09 03:04:56 +00:00
|
|
|
register_avcodec(&x264_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_X264_ENCODER
|
2005-03-09 03:04:56 +00:00
|
|
|
#endif
|
2005-05-22 23:39:11 +00:00
|
|
|
#ifdef CONFIG_LIBGSM
|
|
|
|
register_avcodec(&libgsm_encoder);
|
|
|
|
#endif //CONFIG_LIBGSM
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_RAWVIDEO_ENCODER
|
2003-05-07 19:01:45 +00:00
|
|
|
register_avcodec(&rawvideo_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_RAWVIDEO_ENCODER
|
2002-06-11 13:41:41 +00:00
|
|
|
|
|
|
|
/* decoders */
|
2006-10-22 15:05:03 +00:00
|
|
|
#ifdef CONFIG_GIF_DECODER
|
|
|
|
register_avcodec(&gif_decoder);
|
|
|
|
#endif
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_H263_DECODER
|
2002-06-11 13:41:41 +00:00
|
|
|
register_avcodec(&h263_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_H263_DECODER
|
|
|
|
#ifdef CONFIG_H261_DECODER
|
2004-05-30 20:37:15 +00:00
|
|
|
register_avcodec(&h261_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_H261_DECODER
|
|
|
|
#ifdef CONFIG_MPEG4_DECODER
|
2002-06-11 13:41:41 +00:00
|
|
|
register_avcodec(&mpeg4_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MPEG4_DECODER
|
|
|
|
#ifdef CONFIG_MSMPEG4V1_DECODER
|
2002-06-11 13:41:41 +00:00
|
|
|
register_avcodec(&msmpeg4v1_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MSMPEG4V1_DECODER
|
|
|
|
#ifdef CONFIG_MSMPEG4V2_DECODER
|
2002-06-11 13:41:41 +00:00
|
|
|
register_avcodec(&msmpeg4v2_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MSMPEG4V2_DECODER
|
|
|
|
#ifdef CONFIG_MSMPEG4V3_DECODER
|
2002-06-11 13:41:41 +00:00
|
|
|
register_avcodec(&msmpeg4v3_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MSMPEG4V3_DECODER
|
|
|
|
#ifdef CONFIG_WMV1_DECODER
|
2002-06-11 13:41:41 +00:00
|
|
|
register_avcodec(&wmv1_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_WMV1_DECODER
|
|
|
|
#ifdef CONFIG_WMV2_DECODER
|
2002-12-27 23:51:46 +00:00
|
|
|
register_avcodec(&wmv2_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_WMV2_DECODER
|
2006-06-27 02:55:54 +00:00
|
|
|
#ifdef CONFIG_VC1_DECODER
|
|
|
|
register_avcodec(&vc1_decoder);
|
|
|
|
#endif //CONFIG_VC1_DECODER
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_WMV3_DECODER
|
2005-01-22 18:00:36 +00:00
|
|
|
register_avcodec(&wmv3_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_WMV3_DECODER
|
|
|
|
#ifdef CONFIG_H263I_DECODER
|
2002-06-11 13:41:41 +00:00
|
|
|
register_avcodec(&h263i_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_H263I_DECODER
|
|
|
|
#ifdef CONFIG_FLV_DECODER
|
2003-07-10 16:25:30 +00:00
|
|
|
register_avcodec(&flv_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_FLV_DECODER
|
|
|
|
#ifdef CONFIG_RV10_DECODER
|
2002-06-11 13:41:41 +00:00
|
|
|
register_avcodec(&rv10_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_RV10_DECODER
|
|
|
|
#ifdef CONFIG_RV20_DECODER
|
2003-11-30 14:35:35 +00:00
|
|
|
register_avcodec(&rv20_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_RV20_DECODER
|
|
|
|
#ifdef CONFIG_SVQ1_DECODER
|
2002-07-09 16:08:43 +00:00
|
|
|
register_avcodec(&svq1_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_SVQ1_DECODER
|
|
|
|
#ifdef CONFIG_SVQ3_DECODER
|
2003-05-09 22:16:14 +00:00
|
|
|
register_avcodec(&svq3_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_SVQ3_DECODER
|
|
|
|
#ifdef CONFIG_WMAV1_DECODER
|
2003-01-29 12:00:11 +00:00
|
|
|
register_avcodec(&wmav1_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_WMAV1_DECODER
|
|
|
|
#ifdef CONFIG_WMAV2_DECODER
|
2003-01-29 12:00:11 +00:00
|
|
|
register_avcodec(&wmav2_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_WMAV2_DECODER
|
|
|
|
#ifdef CONFIG_INDEO2_DECODER
|
2005-04-20 09:42:47 +00:00
|
|
|
register_avcodec(&indeo2_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_INDEO2_DECODER
|
|
|
|
#ifdef CONFIG_INDEO3_DECODER
|
2003-04-15 10:12:38 +00:00
|
|
|
register_avcodec(&indeo3_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_INDEO3_DECODER
|
|
|
|
#ifdef CONFIG_TSCC_DECODER
|
2004-09-16 03:31:41 +00:00
|
|
|
register_avcodec(&tscc_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_TSCC_DECODER
|
2006-01-09 15:41:39 +00:00
|
|
|
#ifdef CONFIG_CSCD_DECODER
|
|
|
|
register_avcodec(&cscd_decoder);
|
|
|
|
#endif //CONFIG_CSCD_DECODER
|
2006-03-27 22:22:50 +00:00
|
|
|
#ifdef CONFIG_NUV_DECODER
|
|
|
|
register_avcodec(&nuv_decoder);
|
|
|
|
#endif //CONFIG_NUV_DECODER
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_ULTI_DECODER
|
2004-09-16 03:31:41 +00:00
|
|
|
register_avcodec(&ulti_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_ULTI_DECODER
|
|
|
|
#ifdef CONFIG_QDRAW_DECODER
|
2004-09-28 03:09:49 +00:00
|
|
|
register_avcodec(&qdraw_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_QDRAW_DECODER
|
|
|
|
#ifdef CONFIG_XL_DECODER
|
2004-10-27 04:30:48 +00:00
|
|
|
register_avcodec(&xl_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_XL_DECODER
|
|
|
|
#ifdef CONFIG_QPEG_DECODER
|
2004-11-17 03:45:53 +00:00
|
|
|
register_avcodec(&qpeg_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_QPEG_DECODER
|
|
|
|
#ifdef CONFIG_LOCO_DECODER
|
2005-03-01 02:24:58 +00:00
|
|
|
register_avcodec(&loco_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_LOCO_DECODER
|
2006-04-07 16:59:57 +00:00
|
|
|
#ifdef CONFIG_KMVC_DECODER
|
|
|
|
register_avcodec(&kmvc_decoder);
|
|
|
|
#endif //CONFIG_KMVC_DECODER
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_WNV1_DECODER
|
2005-03-26 20:32:55 +00:00
|
|
|
register_avcodec(&wnv1_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_WNV1_DECODER
|
|
|
|
#ifdef CONFIG_AASC_DECODER
|
2005-04-03 05:02:08 +00:00
|
|
|
register_avcodec(&aasc_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_AASC_DECODER
|
2005-05-17 22:47:34 +00:00
|
|
|
#ifdef CONFIG_FRAPS_DECODER
|
|
|
|
register_avcodec(&fraps_decoder);
|
|
|
|
#endif //CONFIG_FRAPS_DECODER
|
2003-05-12 10:55:19 +00:00
|
|
|
#ifdef CONFIG_FAAD
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_AAC_DECODER
|
2003-05-12 10:55:19 +00:00
|
|
|
register_avcodec(&aac_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_AAC_DECODER
|
|
|
|
#ifdef CONFIG_MPEG4AAC_DECODER
|
2003-05-12 10:55:19 +00:00
|
|
|
register_avcodec(&mpeg4aac_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MPEG4AAC_DECODER
|
2003-01-29 12:00:11 +00:00
|
|
|
#endif
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_MPEG1VIDEO_DECODER
|
2003-08-26 07:42:25 +00:00
|
|
|
register_avcodec(&mpeg1video_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MPEG1VIDEO_DECODER
|
|
|
|
#ifdef CONFIG_MPEG2VIDEO_DECODER
|
2003-08-26 07:42:25 +00:00
|
|
|
register_avcodec(&mpeg2video_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MPEG2VIDEO_DECODER
|
|
|
|
#ifdef CONFIG_MPEGVIDEO_DECODER
|
2003-11-12 01:19:36 +00:00
|
|
|
register_avcodec(&mpegvideo_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MPEGVIDEO_DECODER
|
2003-07-26 01:28:49 +00:00
|
|
|
#ifdef HAVE_XVMC
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_MPEG_XVMC_DECODER
|
2003-07-26 01:28:49 +00:00
|
|
|
register_avcodec(&mpeg_xvmc_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MPEG_XVMC_DECODER
|
2003-07-26 01:28:49 +00:00
|
|
|
#endif
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_DVVIDEO_DECODER
|
2002-10-04 07:16:50 +00:00
|
|
|
register_avcodec(&dvvideo_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_DVVIDEO_DECODER
|
|
|
|
#ifdef CONFIG_MJPEG_DECODER
|
2002-06-11 13:41:41 +00:00
|
|
|
register_avcodec(&mjpeg_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MJPEG_DECODER
|
|
|
|
#ifdef CONFIG_MJPEGB_DECODER
|
2002-11-20 15:18:11 +00:00
|
|
|
register_avcodec(&mjpegb_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MJPEGB_DECODER
|
|
|
|
#ifdef CONFIG_SP5X_DECODER
|
2003-10-11 21:49:10 +00:00
|
|
|
register_avcodec(&sp5x_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_SP5X_DECODER
|
2004-11-11 10:33:11 +00:00
|
|
|
#ifdef CONFIG_ZLIB
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_PNG_DECODER
|
2004-11-09 23:31:46 +00:00
|
|
|
register_avcodec(&png_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_PNG_DECODER
|
2004-11-11 10:33:11 +00:00
|
|
|
#endif
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_MP2_DECODER
|
2002-06-11 13:41:41 +00:00
|
|
|
register_avcodec(&mp2_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MP2_DECODER
|
|
|
|
#ifdef CONFIG_MP3_DECODER
|
2002-06-11 13:41:41 +00:00
|
|
|
register_avcodec(&mp3_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MP3_DECODER
|
|
|
|
#ifdef CONFIG_MP3ADU_DECODER
|
2005-01-15 14:59:47 +00:00
|
|
|
register_avcodec(&mp3adu_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MP3ADU_DECODER
|
|
|
|
#ifdef CONFIG_MP3ON4_DECODER
|
2005-02-15 20:58:32 +00:00
|
|
|
register_avcodec(&mp3on4_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MP3ON4_DECODER
|
|
|
|
#ifdef CONFIG_MACE3_DECODER
|
2002-11-02 10:39:22 +00:00
|
|
|
register_avcodec(&mace3_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MACE3_DECODER
|
|
|
|
#ifdef CONFIG_MACE6_DECODER
|
2002-11-02 10:39:22 +00:00
|
|
|
register_avcodec(&mace6_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MACE6_DECODER
|
|
|
|
#ifdef CONFIG_HUFFYUV_DECODER
|
2002-11-14 19:20:04 +00:00
|
|
|
register_avcodec(&huffyuv_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_HUFFYUV_DECODER
|
|
|
|
#ifdef CONFIG_FFVHUFF_DECODER
|
2004-11-28 18:29:38 +00:00
|
|
|
register_avcodec(&ffvhuff_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_FFVHUFF_DECODER
|
|
|
|
#ifdef CONFIG_FFV1_DECODER
|
2003-06-09 02:24:51 +00:00
|
|
|
register_avcodec(&ffv1_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_FFV1_DECODER
|
|
|
|
#ifdef CONFIG_SNOW_DECODER
|
2004-07-25 23:36:44 +00:00
|
|
|
register_avcodec(&snow_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_SNOW_DECODER
|
|
|
|
#ifdef CONFIG_CYUV_DECODER
|
2003-02-09 16:58:47 +00:00
|
|
|
register_avcodec(&cyuv_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_CYUV_DECODER
|
|
|
|
#ifdef CONFIG_H264_DECODER
|
2003-04-04 14:42:28 +00:00
|
|
|
register_avcodec(&h264_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_H264_DECODER
|
|
|
|
#ifdef CONFIG_VP3_DECODER
|
2003-05-05 02:54:15 +00:00
|
|
|
register_avcodec(&vp3_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_VP3_DECODER
|
2006-07-31 20:56:15 +00:00
|
|
|
#ifdef CONFIG_THEORA_DECODER
|
2003-10-11 17:44:21 +00:00
|
|
|
register_avcodec(&theora_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_THEORA_DECODER
|
2006-09-09 17:19:37 +00:00
|
|
|
#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
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_ASV1_DECODER
|
2003-05-19 13:30:59 +00:00
|
|
|
register_avcodec(&asv1_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_ASV1_DECODER
|
|
|
|
#ifdef CONFIG_ASV2_DECODER
|
2003-09-01 08:10:01 +00:00
|
|
|
register_avcodec(&asv2_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_ASV2_DECODER
|
|
|
|
#ifdef CONFIG_VCR1_DECODER
|
2003-07-24 12:18:46 +00:00
|
|
|
register_avcodec(&vcr1_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_VCR1_DECODER
|
|
|
|
#ifdef CONFIG_CLJR_DECODER
|
2003-07-27 20:20:31 +00:00
|
|
|
register_avcodec(&cljr_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_CLJR_DECODER
|
|
|
|
#ifdef CONFIG_FOURXM_DECODER
|
2003-06-01 00:56:05 +00:00
|
|
|
register_avcodec(&fourxm_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_FOURXM_DECODER
|
|
|
|
#ifdef CONFIG_MDEC_DECODER
|
2003-08-22 14:59:04 +00:00
|
|
|
register_avcodec(&mdec_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MDEC_DECODER
|
|
|
|
#ifdef CONFIG_ROQ_DECODER
|
2003-09-02 04:32:02 +00:00
|
|
|
register_avcodec(&roq_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_ROQ_DECODER
|
|
|
|
#ifdef CONFIG_INTERPLAY_VIDEO_DECODER
|
2003-09-02 04:32:02 +00:00
|
|
|
register_avcodec(&interplay_video_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_INTERPLAY_VIDEO_DECODER
|
|
|
|
#ifdef CONFIG_XAN_WC3_DECODER
|
2003-09-08 04:10:59 +00:00
|
|
|
register_avcodec(&xan_wc3_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_XAN_WC3_DECODER
|
|
|
|
#ifdef CONFIG_RPZA_DECODER
|
2003-10-01 04:39:38 +00:00
|
|
|
register_avcodec(&rpza_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_RPZA_DECODER
|
|
|
|
#ifdef CONFIG_CINEPAK_DECODER
|
2003-10-01 04:39:38 +00:00
|
|
|
register_avcodec(&cinepak_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_CINEPAK_DECODER
|
|
|
|
#ifdef CONFIG_MSRLE_DECODER
|
2003-10-01 04:39:38 +00:00
|
|
|
register_avcodec(&msrle_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MSRLE_DECODER
|
|
|
|
#ifdef CONFIG_MSVIDEO1_DECODER
|
2003-10-01 04:39:38 +00:00
|
|
|
register_avcodec(&msvideo1_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MSVIDEO1_DECODER
|
|
|
|
#ifdef CONFIG_VQA_DECODER
|
2003-10-02 05:20:07 +00:00
|
|
|
register_avcodec(&vqa_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_VQA_DECODER
|
|
|
|
#ifdef CONFIG_IDCIN_DECODER
|
2003-10-03 05:43:03 +00:00
|
|
|
register_avcodec(&idcin_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_IDCIN_DECODER
|
|
|
|
#ifdef CONFIG_EIGHTBPS_DECODER
|
2003-11-07 22:39:18 +00:00
|
|
|
register_avcodec(&eightbps_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_EIGHTBPS_DECODER
|
|
|
|
#ifdef CONFIG_SMC_DECODER
|
2003-11-10 03:14:04 +00:00
|
|
|
register_avcodec(&smc_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_SMC_DECODER
|
|
|
|
#ifdef CONFIG_FLIC_DECODER
|
2003-11-14 05:42:14 +00:00
|
|
|
register_avcodec(&flic_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_FLIC_DECODER
|
|
|
|
#ifdef CONFIG_TRUEMOTION1_DECODER
|
2003-12-03 04:22:15 +00:00
|
|
|
register_avcodec(&truemotion1_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_TRUEMOTION1_DECODER
|
2005-10-13 04:31:55 +00:00
|
|
|
#ifdef CONFIG_TRUEMOTION2_DECODER
|
|
|
|
register_avcodec(&truemotion2_decoder);
|
|
|
|
#endif //CONFIG_TRUEMOTION2_DECODER
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_VMDVIDEO_DECODER
|
2004-01-02 04:45:06 +00:00
|
|
|
register_avcodec(&vmdvideo_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_VMDVIDEO_DECODER
|
|
|
|
#ifdef CONFIG_VMDAUDIO_DECODER
|
2004-01-02 04:45:06 +00:00
|
|
|
register_avcodec(&vmdaudio_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_VMDAUDIO_DECODER
|
|
|
|
#ifdef CONFIG_MSZH_DECODER
|
2004-01-12 22:14:45 +00:00
|
|
|
register_avcodec(&mszh_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_MSZH_DECODER
|
|
|
|
#ifdef CONFIG_ZLIB_DECODER
|
2004-01-12 22:14:45 +00:00
|
|
|
register_avcodec(&zlib_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_ZLIB_DECODER
|
2006-02-12 08:53:29 +00:00
|
|
|
#ifdef CONFIG_ZMBV_DECODER
|
|
|
|
register_avcodec(&zmbv_decoder);
|
|
|
|
#endif //CONFIG_ZMBV_DECODER
|
2006-03-21 17:27:47 +00:00
|
|
|
#ifdef CONFIG_SMACKER_DECODER
|
|
|
|
register_avcodec(&smacker_decoder);
|
|
|
|
#endif //CONFIG_SMACKER_DECODER
|
|
|
|
#ifdef CONFIG_SMACKAUD_DECODER
|
|
|
|
register_avcodec(&smackaud_decoder);
|
|
|
|
#endif //CONFIG_SMACKAUD_DECODER
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_SONIC_DECODER
|
2004-08-21 19:19:35 +00:00
|
|
|
register_avcodec(&sonic_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_SONIC_DECODER
|
2002-06-11 13:41:41 +00:00
|
|
|
#ifdef CONFIG_AC3
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_AC3_DECODER
|
2002-06-11 13:41:41 +00:00
|
|
|
register_avcodec(&ac3_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_AC3_DECODER
|
2004-07-14 01:32:14 +00:00
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_DTS
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_DTS_DECODER
|
2004-07-14 01:32:14 +00:00
|
|
|
register_avcodec(&dts_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_DTS_DECODER
|
2002-06-11 13:41:41 +00:00
|
|
|
#endif
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_RA_144_DECODER
|
2003-06-13 08:31:40 +00:00
|
|
|
register_avcodec(&ra_144_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_RA_144_DECODER
|
|
|
|
#ifdef CONFIG_RA_288_DECODER
|
2003-06-13 08:31:40 +00:00
|
|
|
register_avcodec(&ra_288_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_RA_288_DECODER
|
|
|
|
#ifdef CONFIG_ROQ_DPCM_DECODER
|
2003-09-02 04:32:02 +00:00
|
|
|
register_avcodec(&roq_dpcm_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_ROQ_DPCM_DECODER
|
|
|
|
#ifdef CONFIG_INTERPLAY_DPCM_DECODER
|
2003-09-02 04:32:02 +00:00
|
|
|
register_avcodec(&interplay_dpcm_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_INTERPLAY_DPCM_DECODER
|
|
|
|
#ifdef CONFIG_XAN_DPCM_DECODER
|
2003-09-08 04:10:59 +00:00
|
|
|
register_avcodec(&xan_dpcm_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_XAN_DPCM_DECODER
|
|
|
|
#ifdef CONFIG_SOL_DPCM_DECODER
|
2004-09-28 03:09:49 +00:00
|
|
|
register_avcodec(&sol_dpcm_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_SOL_DPCM_DECODER
|
|
|
|
#ifdef CONFIG_QTRLE_DECODER
|
2004-02-05 05:22:44 +00:00
|
|
|
register_avcodec(&qtrle_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_QTRLE_DECODER
|
|
|
|
#ifdef CONFIG_FLAC_DECODER
|
2004-02-18 01:49:30 +00:00
|
|
|
register_avcodec(&flac_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_FLAC_DECODER
|
|
|
|
#ifdef CONFIG_SHORTEN_DECODER
|
2005-02-26 03:36:04 +00:00
|
|
|
register_avcodec(&shorten_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_SHORTEN_DECODER
|
|
|
|
#ifdef CONFIG_ALAC_DECODER
|
2005-03-06 00:43:55 +00:00
|
|
|
register_avcodec(&alac_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_ALAC_DECODER
|
|
|
|
#ifdef CONFIG_WS_SND1_DECODER
|
2005-03-28 18:05:25 +00:00
|
|
|
register_avcodec(&ws_snd1_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_WS_SND1_DECODER
|
2005-05-17 19:02:43 +00:00
|
|
|
#ifdef CONFIG_VORBIS_DECODER
|
|
|
|
register_avcodec(&vorbis_decoder);
|
|
|
|
#endif
|
2006-10-02 06:18:02 +00:00
|
|
|
#ifdef CONFIG_VORBIS_ENCODER
|
|
|
|
register_avcodec(&vorbis_encoder);
|
|
|
|
#endif
|
2005-05-22 23:39:11 +00:00
|
|
|
#ifdef CONFIG_LIBGSM
|
|
|
|
register_avcodec(&libgsm_decoder);
|
|
|
|
#endif //CONFIG_LIBGSM
|
2005-10-18 20:16:43 +00:00
|
|
|
#ifdef CONFIG_QDM2_DECODER
|
|
|
|
register_avcodec(&qdm2_decoder);
|
|
|
|
#endif //CONFIG_QDM2_DECODER
|
2005-12-09 16:08:18 +00:00
|
|
|
#ifdef CONFIG_COOK_DECODER
|
|
|
|
register_avcodec(&cook_decoder);
|
|
|
|
#endif //CONFIG_COOK_DECODER
|
2006-01-03 02:30:38 +00:00
|
|
|
#ifdef CONFIG_TRUESPEECH_DECODER
|
|
|
|
register_avcodec(&truespeech_decoder);
|
|
|
|
#endif //CONFIG_TRUESPEECH_DECODER
|
2006-02-12 02:15:19 +00:00
|
|
|
#ifdef CONFIG_TTA_DECODER
|
|
|
|
register_avcodec(&tta_decoder);
|
|
|
|
#endif //CONFIG_TTA_DECODER
|
2006-02-17 03:17:42 +00:00
|
|
|
#ifdef CONFIG_AVS_DECODER
|
|
|
|
register_avcodec(&avs_decoder);
|
|
|
|
#endif //CONFIG_AVS_DECODER
|
2006-07-03 00:16:45 +00:00
|
|
|
#ifdef CONFIG_CAVS_DECODER
|
|
|
|
register_avcodec(&cavs_decoder);
|
|
|
|
#endif //CONFIG_CAVS_DECODER
|
2005-10-26 12:51:10 +00:00
|
|
|
#ifdef CONFIG_RAWVIDEO_DECODER
|
|
|
|
register_avcodec(&rawvideo_decoder);
|
|
|
|
#endif //CONFIG_RAWVIDEO_DECODER
|
2006-06-01 07:31:59 +00:00
|
|
|
#ifdef CONFIG_FLASHSV_DECODER
|
|
|
|
register_avcodec(&flashsv_decoder);
|
|
|
|
#endif //CONFIG_FLASHSV_DECODER
|
2006-09-05 04:37:14 +00:00
|
|
|
#ifdef CONFIG_VMNC_DECODER
|
|
|
|
register_avcodec(&vmnc_decoder);
|
|
|
|
#endif //CONFIG_VMNC_DECODER
|
2006-09-26 03:41:51 +00:00
|
|
|
#ifdef CONFIG_WAVPACK_DECODER
|
|
|
|
register_avcodec(&wavpack_decoder);
|
|
|
|
#endif //CONFIG_WAVPACK_DECODER
|
2006-10-11 04:15:04 +00:00
|
|
|
#ifdef CONFIG_TARGA_DECODER
|
|
|
|
register_avcodec(&targa_decoder);
|
|
|
|
#endif //CONFIG_TARGA_DECODER
|
2006-10-11 16:57:00 +00:00
|
|
|
#ifdef CONFIG_DSICINVIDEO_DECODER
|
|
|
|
register_avcodec(&dsicinvideo_decoder);
|
|
|
|
#endif //CONFIG_DSICINVIDEO_DECODER
|
|
|
|
#ifdef CONFIG_DSICINAUDIO_DECODER
|
|
|
|
register_avcodec(&dsicinaudio_decoder);
|
|
|
|
#endif //CONFIG_DSICINAUDIO_DECODER
|
2006-10-12 12:02:58 +00:00
|
|
|
#ifdef CONFIG_TIERTEXSEQVIDEO_DECODER
|
|
|
|
register_avcodec(&tiertexseqvideo_decoder);
|
|
|
|
#endif //CONFIG_TIERTEXSEQVIDEO_DECODER
|
2006-10-13 10:48:29 +00:00
|
|
|
#ifdef CONFIG_TIFF_DECODER
|
|
|
|
register_avcodec(&tiff_decoder);
|
|
|
|
#endif //CONFIG_TIFF_DECODER
|
2002-06-11 13:41:41 +00:00
|
|
|
|
2006-07-12 16:49:14 +00:00
|
|
|
#if defined(CONFIG_AMR_NB) || defined(CONFIG_AMR_NB_FIXED)
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_AMR_NB_DECODER
|
2003-05-14 11:40:16 +00:00
|
|
|
register_avcodec(&amr_nb_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_AMR_NB_DECODER
|
|
|
|
#ifdef CONFIG_AMR_NB_ENCODER
|
2003-06-05 14:30:52 +00:00
|
|
|
register_avcodec(&amr_nb_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_AMR_NB_ENCODER
|
2006-07-12 16:49:14 +00:00
|
|
|
#endif /* CONFIG_AMR_NB || CONFIG_AMR_NB_FIXED */
|
2003-09-28 20:34:11 +00:00
|
|
|
|
2006-07-12 16:49:14 +00:00
|
|
|
#ifdef CONFIG_AMR_WB
|
2005-05-02 19:26:18 +00:00
|
|
|
#ifdef CONFIG_AMR_WB_DECODER
|
2003-09-28 20:34:11 +00:00
|
|
|
register_avcodec(&amr_wb_decoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_AMR_WB_DECODER
|
|
|
|
#ifdef CONFIG_AMR_WB_ENCODER
|
2003-09-28 20:34:11 +00:00
|
|
|
register_avcodec(&amr_wb_encoder);
|
2005-05-02 19:26:18 +00:00
|
|
|
#endif //CONFIG_AMR_WB_ENCODER
|
2006-07-12 16:49:14 +00:00
|
|
|
#endif /* CONFIG_AMR_WB */
|
2003-09-28 20:34:11 +00:00
|
|
|
|
2005-11-30 01:40:50 +00:00
|
|
|
#ifdef CONFIG_BMP_DECODER
|
|
|
|
register_avcodec(&bmp_decoder);
|
|
|
|
#endif
|
|
|
|
|
2006-02-12 06:49:40 +00:00
|
|
|
#if CONFIG_MMVIDEO_DECODER
|
|
|
|
register_avcodec(&mmvideo_decoder);
|
|
|
|
#endif //CONFIG_MMVIDEO_DECODER
|
|
|
|
|
2002-06-11 13:41:41 +00:00
|
|
|
/* pcm codecs */
|
2006-07-09 01:08:13 +00:00
|
|
|
#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_S32BE_DECODER
|
|
|
|
register_avcodec(&pcm_s32be_decoder);
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_PCM_S32BE_ENCODER
|
|
|
|
register_avcodec(&pcm_s32be_encoder);
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_PCM_U32LE_DECODER
|
|
|
|
register_avcodec(&pcm_u32le_decoder);
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_PCM_U32LE_ENCODER
|
|
|
|
register_avcodec(&pcm_u32le_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_S24LE_DECODER
|
|
|
|
register_avcodec(&pcm_s24le_decoder);
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_PCM_S24LE_ENCODER
|
|
|
|
register_avcodec(&pcm_s24le_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_U24LE_DECODER
|
|
|
|
register_avcodec(&pcm_u24le_decoder);
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_PCM_U24LE_ENCODER
|
|
|
|
register_avcodec(&pcm_u24le_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_S24DAUD_DECODER
|
|
|
|
register_avcodec(&pcm_s24daud_decoder);
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_PCM_S24DAUD_ENCODER
|
|
|
|
register_avcodec(&pcm_s24daud_encoder);
|
|
|
|
#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_S16BE_DECODER
|
|
|
|
register_avcodec(&pcm_s16be_decoder);
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_PCM_S16BE_ENCODER
|
|
|
|
register_avcodec(&pcm_s16be_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_U16BE_DECODER
|
|
|
|
register_avcodec(&pcm_u16be_decoder);
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_PCM_U16BE_ENCODER
|
|
|
|
register_avcodec(&pcm_u16be_encoder);
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_PCM_S8_DECODER
|
|
|
|
register_avcodec(&pcm_s8_decoder);
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_PCM_S8_ENCODER
|
|
|
|
register_avcodec(&pcm_s8_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_ALAW_DECODER
|
|
|
|
register_avcodec(&pcm_alaw_decoder);
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_PCM_ALAW_ENCODER
|
|
|
|
register_avcodec(&pcm_alaw_encoder);
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_PCM_MULAW_DECODER
|
|
|
|
register_avcodec(&pcm_mulaw_decoder);
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_PCM_MULAW_ENCODER
|
|
|
|
register_avcodec(&pcm_mulaw_encoder);
|
2003-10-15 03:20:40 +00:00
|
|
|
#endif
|
|
|
|
|
2006-07-09 01:08:13 +00:00
|
|
|
/* adpcm codecs */
|
|
|
|
#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_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_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_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_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_MS_DECODER
|
|
|
|
register_avcodec(&adpcm_ms_decoder);
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_ADPCM_MS_ENCODER
|
|
|
|
register_avcodec(&adpcm_ms_encoder);
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_ADPCM_4XM_DECODER
|
|
|
|
register_avcodec(&adpcm_4xm_decoder);
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_ADPCM_4XM_ENCODER
|
|
|
|
register_avcodec(&adpcm_4xm_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_ADX_DECODER
|
|
|
|
register_avcodec(&adpcm_adx_decoder);
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_ADPCM_ADX_ENCODER
|
|
|
|
register_avcodec(&adpcm_adx_encoder);
|
|
|
|
#endif
|
|
|
|
#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_CT_DECODER
|
|
|
|
register_avcodec(&adpcm_ct_decoder);
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_ADPCM_CT_ENCODER
|
|
|
|
register_avcodec(&adpcm_ct_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_YAMAHA_DECODER
|
|
|
|
register_avcodec(&adpcm_yamaha_decoder);
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_ADPCM_YAMAHA_ENCODER
|
|
|
|
register_avcodec(&adpcm_yamaha_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_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_2_DECODER
|
|
|
|
register_avcodec(&adpcm_sbpro_2_decoder);
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_ADPCM_SBPRO_2_ENCODER
|
|
|
|
register_avcodec(&adpcm_sbpro_2_encoder);
|
|
|
|
#endif
|
2003-11-10 15:29:20 +00:00
|
|
|
|
2005-10-26 12:51:10 +00:00
|
|
|
/* subtitles */
|
2005-11-21 20:03:35 +00:00
|
|
|
#ifdef CONFIG_DVDSUB_DECODER
|
|
|
|
register_avcodec(&dvdsub_decoder);
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_DVDSUB_ENCODER
|
2005-11-14 22:17:29 +00:00
|
|
|
register_avcodec(&dvdsub_encoder);
|
2005-10-26 12:51:10 +00:00
|
|
|
#endif
|
|
|
|
|
2005-11-21 20:03:35 +00:00
|
|
|
#ifdef CONFIG_DVBSUB_DECODER
|
2005-07-17 00:28:12 +00:00
|
|
|
register_avcodec(&dvbsub_decoder);
|
2005-10-26 12:51:10 +00:00
|
|
|
#endif
|
2005-11-21 20:03:35 +00:00
|
|
|
#ifdef CONFIG_DVBSUB_ENCODER
|
|
|
|
register_avcodec(&dvbsub_encoder);
|
|
|
|
#endif
|
2005-06-03 13:59:38 +00:00
|
|
|
|
2005-12-17 18:14:38 +00:00
|
|
|
/* parsers */
|
2006-07-09 12:02:15 +00:00
|
|
|
#ifdef CONFIG_MPEGVIDEO_PARSER
|
2003-11-10 15:29:20 +00:00
|
|
|
av_register_codec_parser(&mpegvideo_parser);
|
2006-07-09 12:02:15 +00:00
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_MPEG4VIDEO_PARSER
|
2003-11-10 15:29:20 +00:00
|
|
|
av_register_codec_parser(&mpeg4video_parser);
|
2006-07-09 12:02:15 +00:00
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_CAVSVIDEO_PARSER
|
2006-07-03 00:16:45 +00:00
|
|
|
av_register_codec_parser(&cavsvideo_parser);
|
2006-07-07 11:08:58 +00:00
|
|
|
#endif
|
2006-07-09 12:02:15 +00:00
|
|
|
#ifdef CONFIG_H261_PARSER
|
2004-05-30 20:37:15 +00:00
|
|
|
av_register_codec_parser(&h261_parser);
|
2005-05-02 22:14:42 +00:00
|
|
|
#endif
|
2006-07-09 12:02:15 +00:00
|
|
|
#ifdef CONFIG_H263_PARSER
|
2003-11-10 15:29:20 +00:00
|
|
|
av_register_codec_parser(&h263_parser);
|
2006-07-09 12:02:15 +00:00
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_H264_PARSER
|
2003-11-10 15:29:20 +00:00
|
|
|
av_register_codec_parser(&h264_parser);
|
2005-05-02 22:14:42 +00:00
|
|
|
#endif
|
2006-07-09 12:02:15 +00:00
|
|
|
#ifdef CONFIG_MJPEG_PARSER
|
2004-10-24 22:37:29 +00:00
|
|
|
av_register_codec_parser(&mjpeg_parser);
|
2006-07-09 12:02:15 +00:00
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_PNM_PARSER
|
2004-11-12 22:55:29 +00:00
|
|
|
av_register_codec_parser(&pnm_parser);
|
2006-07-09 12:02:15 +00:00
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_MPEGAUDIO_PARSER
|
2003-11-10 15:29:20 +00:00
|
|
|
av_register_codec_parser(&mpegaudio_parser);
|
2006-07-09 12:02:15 +00:00
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_AC3_PARSER
|
2003-11-10 15:29:20 +00:00
|
|
|
av_register_codec_parser(&ac3_parser);
|
2006-07-09 12:02:15 +00:00
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_DVDSUB_PARSER
|
2005-06-03 13:59:38 +00:00
|
|
|
av_register_codec_parser(&dvdsub_parser);
|
2005-11-21 20:03:35 +00:00
|
|
|
#endif
|
2006-07-09 12:02:15 +00:00
|
|
|
#ifdef CONFIG_DVBSUB_PARSER
|
2005-07-17 00:28:12 +00:00
|
|
|
av_register_codec_parser(&dvbsub_parser);
|
2005-11-21 20:03:35 +00:00
|
|
|
#endif
|
2006-07-09 12:02:15 +00:00
|
|
|
#ifdef CONFIG_AAC_PARSER
|
2006-02-08 00:50:22 +00:00
|
|
|
av_register_codec_parser(&aac_parser);
|
2006-07-09 12:02:15 +00:00
|
|
|
#endif
|
2006-07-06 15:04:46 +00:00
|
|
|
|
|
|
|
av_register_bitstream_filter(&dump_extradata_bsf);
|
|
|
|
av_register_bitstream_filter(&remove_extradata_bsf);
|
2006-07-06 15:28:17 +00:00
|
|
|
av_register_bitstream_filter(&noise_bsf);
|
2002-06-11 13:41:41 +00:00
|
|
|
}
|
|
|
|
|