2002-06-11 16:41:41 +03:00
|
|
|
/*
|
|
|
|
* Utils for libavcodec
|
|
|
|
* Copyright (c) 2002 Fabrice Bellard.
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* 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
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*/
|
2003-03-06 13:32:04 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @file allcodecs.c
|
|
|
|
* Utils for libavcodec.
|
|
|
|
*/
|
|
|
|
|
2002-06-11 16:41:41 +03:00
|
|
|
#include "avcodec.h"
|
|
|
|
|
|
|
|
/* If you do not call this function, then you can select exactly which
|
|
|
|
formats you want to support */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* simple call to register all the codecs.
|
|
|
|
*/
|
|
|
|
void avcodec_register_all(void)
|
|
|
|
{
|
|
|
|
static int inited = 0;
|
|
|
|
|
|
|
|
if (inited != 0)
|
|
|
|
return;
|
|
|
|
inited = 1;
|
|
|
|
|
|
|
|
/* encoders */
|
|
|
|
#ifdef CONFIG_ENCODERS
|
2005-05-02 22:26:18 +03:00
|
|
|
#ifdef CONFIG_AC3_ENCODER
|
2002-06-11 16:41:41 +03:00
|
|
|
register_avcodec(&ac3_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_AC3_ENCODER
|
|
|
|
#ifdef CONFIG_MP2_ENCODER
|
2002-06-11 16:41:41 +03:00
|
|
|
register_avcodec(&mp2_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MP2_ENCODER
|
2002-06-11 16:41:41 +03:00
|
|
|
#ifdef CONFIG_MP3LAME
|
2005-05-02 22:26:18 +03:00
|
|
|
#ifdef CONFIG_MP3LAME_ENCODER
|
2002-06-11 16:41:41 +03:00
|
|
|
register_avcodec(&mp3lame_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MP3LAME_ENCODER
|
2002-09-01 21:07:56 +03:00
|
|
|
#endif
|
2005-02-24 17:18:02 +02:00
|
|
|
#ifdef CONFIG_LIBVORBIS
|
2005-05-02 22:26:18 +03:00
|
|
|
#ifdef CONFIG_OGGVORBIS_ENCODER
|
2002-09-01 21:07:56 +03:00
|
|
|
register_avcodec(&oggvorbis_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_OGGVORBIS_ENCODER
|
2005-05-17 22:02:43 +03:00
|
|
|
#if (defined CONFIG_OGGVORBIS_DECODER && !defined CONFIG_VORBIS_DECODER)
|
2002-11-22 09:27:13 +02:00
|
|
|
register_avcodec(&oggvorbis_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_OGGVORBIS_DECODER
|
2003-10-04 12:53:34 +03:00
|
|
|
#endif
|
2005-02-24 17:18:02 +02:00
|
|
|
#ifdef CONFIG_LIBTHEORA
|
2005-05-02 22:26:18 +03:00
|
|
|
#ifdef CONFIG_OGGTHEORA_ENCODER
|
2005-05-11 19:42:15 +03:00
|
|
|
// register_avcodec(&oggtheora_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_OGGTHEORA_ENCODER
|
|
|
|
#ifdef CONFIG_OGGTHEORA_DECODER
|
2005-02-24 17:18:02 +02:00
|
|
|
register_avcodec(&oggtheora_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_OGGTHEORA_DECODER
|
2005-02-24 17:18:02 +02:00
|
|
|
#endif
|
2003-10-04 12:53:34 +03:00
|
|
|
#ifdef CONFIG_FAAC
|
2005-05-02 22:26:18 +03:00
|
|
|
#ifdef CONFIG_FAAC_ENCODER
|
2003-10-04 12:53:34 +03:00
|
|
|
register_avcodec(&faac_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_FAAC_ENCODER
|
2004-07-16 22:48:30 +03:00
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_XVID
|
2005-05-02 22:26:18 +03:00
|
|
|
#ifdef CONFIG_XVID_ENCODER
|
2004-07-16 22:48:30 +03:00
|
|
|
register_avcodec(&xvid_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_XVID_ENCODER
|
2002-06-11 16:41:41 +03:00
|
|
|
#endif
|
2005-05-02 22:26:18 +03:00
|
|
|
#ifdef CONFIG_MPEG1VIDEO_ENCODER
|
2002-06-11 16:41:41 +03:00
|
|
|
register_avcodec(&mpeg1video_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MPEG1VIDEO_ENCODER
|
|
|
|
#ifdef CONFIG_H264_ENCODER
|
2003-04-04 17:42:28 +03:00
|
|
|
// register_avcodec(&h264_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_H264_ENCODER
|
|
|
|
#ifdef CONFIG_MPEG2VIDEO_ENCODER
|
2003-08-26 01:47:32 +03:00
|
|
|
register_avcodec(&mpeg2video_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MPEG2VIDEO_ENCODER
|
|
|
|
#ifdef CONFIG_H261_ENCODER
|
2004-10-28 13:12:57 +03:00
|
|
|
register_avcodec(&h261_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_H261_ENCODER
|
|
|
|
#ifdef CONFIG_H263_ENCODER
|
2002-06-11 16:41:41 +03:00
|
|
|
register_avcodec(&h263_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_H263_ENCODER
|
|
|
|
#ifdef CONFIG_H263P_ENCODER
|
2002-06-11 16:41:41 +03:00
|
|
|
register_avcodec(&h263p_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_H263P_ENCODER
|
|
|
|
#ifdef CONFIG_FLV_ENCODER
|
2003-07-10 19:25:30 +03:00
|
|
|
register_avcodec(&flv_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_FLV_ENCODER
|
|
|
|
#ifdef CONFIG_RV10_ENCODER
|
2002-06-11 16:41:41 +03:00
|
|
|
register_avcodec(&rv10_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_RV10_ENCODER
|
|
|
|
#ifdef CONFIG_RV20_ENCODER
|
2004-12-07 15:14:37 +02:00
|
|
|
register_avcodec(&rv20_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_RV20_ENCODER
|
|
|
|
#ifdef CONFIG_MPEG4_ENCODER
|
2002-06-11 16:41:41 +03:00
|
|
|
register_avcodec(&mpeg4_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MPEG4_ENCODER
|
|
|
|
#ifdef CONFIG_MSMPEG4V1_ENCODER
|
2002-06-11 16:41:41 +03:00
|
|
|
register_avcodec(&msmpeg4v1_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MSMPEG4V1_ENCODER
|
|
|
|
#ifdef CONFIG_MSMPEG4V2_ENCODER
|
2002-06-11 16:41:41 +03:00
|
|
|
register_avcodec(&msmpeg4v2_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MSMPEG4V2_ENCODER
|
|
|
|
#ifdef CONFIG_MSMPEG4V3_ENCODER
|
2002-06-11 16:41:41 +03:00
|
|
|
register_avcodec(&msmpeg4v3_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MSMPEG4V3_ENCODER
|
|
|
|
#ifdef CONFIG_WMV1_ENCODER
|
2002-06-18 03:50:20 +03:00
|
|
|
register_avcodec(&wmv1_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_WMV1_ENCODER
|
|
|
|
#ifdef CONFIG_WMV2_ENCODER
|
2002-12-28 01:51:46 +02:00
|
|
|
register_avcodec(&wmv2_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_WMV2_ENCODER
|
|
|
|
#ifdef CONFIG_SVQ1_ENCODER
|
2004-05-07 06:10:11 +03:00
|
|
|
register_avcodec(&svq1_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_SVQ1_ENCODER
|
|
|
|
#ifdef CONFIG_MJPEG_ENCODER
|
2003-01-29 14:00:11 +02:00
|
|
|
register_avcodec(&mjpeg_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MJPEG_ENCODER
|
|
|
|
#ifdef CONFIG_LJPEG_ENCODER
|
2003-06-18 01:48:51 +03:00
|
|
|
register_avcodec(&ljpeg_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_LJPEG_ENCODER
|
2004-11-11 12:33:11 +02:00
|
|
|
#ifdef CONFIG_ZLIB
|
2005-05-02 22:26:18 +03:00
|
|
|
#ifdef CONFIG_PNG_ENCODER
|
2004-11-10 01:31:46 +02:00
|
|
|
register_avcodec(&png_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_PNG_ENCODER
|
2004-11-11 12:33:11 +02:00
|
|
|
#endif
|
2005-05-02 22:26:18 +03:00
|
|
|
#ifdef CONFIG_PPM_ENCODER
|
2004-11-11 20:09:28 +02:00
|
|
|
register_avcodec(&ppm_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_PPM_ENCODER
|
|
|
|
#ifdef CONFIG_PGM_ENCODER
|
2004-11-11 20:09:28 +02:00
|
|
|
register_avcodec(&pgm_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_PGM_ENCODER
|
|
|
|
#ifdef CONFIG_PGMYUV_ENCODER
|
2004-11-11 20:09:28 +02:00
|
|
|
register_avcodec(&pgmyuv_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_PGMYUV_ENCODER
|
|
|
|
#ifdef CONFIG_PBM_ENCODER
|
2004-11-11 20:09:28 +02:00
|
|
|
register_avcodec(&pbm_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_PBM_ENCODER
|
|
|
|
#ifdef CONFIG_PAM_ENCODER
|
2004-11-11 20:09:28 +02:00
|
|
|
register_avcodec(&pam_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_PAM_ENCODER
|
|
|
|
#ifdef CONFIG_HUFFYUV_ENCODER
|
2002-11-14 21:20:04 +02:00
|
|
|
register_avcodec(&huffyuv_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_HUFFYUV_ENCODER
|
|
|
|
#ifdef CONFIG_FFVHUFF_ENCODER
|
2004-11-28 20:29:38 +02:00
|
|
|
register_avcodec(&ffvhuff_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_FFVHUFF_ENCODER
|
|
|
|
#ifdef CONFIG_ASV1_ENCODER
|
2003-05-19 16:30:59 +03:00
|
|
|
register_avcodec(&asv1_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_ASV1_ENCODER
|
|
|
|
#ifdef CONFIG_ASV2_ENCODER
|
2003-09-01 15:26:39 +03:00
|
|
|
register_avcodec(&asv2_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_ASV2_ENCODER
|
|
|
|
#ifdef CONFIG_FFV1_ENCODER
|
2003-06-09 05:24:51 +03:00
|
|
|
register_avcodec(&ffv1_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_FFV1_ENCODER
|
|
|
|
#ifdef CONFIG_SNOW_ENCODER
|
2004-07-26 02:36:44 +03:00
|
|
|
register_avcodec(&snow_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_SNOW_ENCODER
|
|
|
|
#ifdef CONFIG_ZLIB_ENCODER
|
2004-01-13 00:14:45 +02:00
|
|
|
register_avcodec(&zlib_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_ZLIB_ENCODER
|
|
|
|
#ifdef CONFIG_DVVIDEO_ENCODER
|
2004-03-15 01:45:42 +02:00
|
|
|
register_avcodec(&dvvideo_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_DVVIDEO_ENCODER
|
|
|
|
#ifdef CONFIG_SONIC_ENCODER
|
2004-08-21 22:19:35 +03:00
|
|
|
register_avcodec(&sonic_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_SONIC_ENCODER
|
|
|
|
#ifdef CONFIG_SONIC_LS_ENCODER
|
2004-08-21 22:19:35 +03:00
|
|
|
register_avcodec(&sonic_ls_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_SONIC_LS_ENCODER
|
2005-03-09 05:04:56 +02:00
|
|
|
#ifdef CONFIG_X264
|
2005-05-02 22:26:18 +03:00
|
|
|
#ifdef CONFIG_X264_ENCODER
|
2005-03-09 05:04:56 +02:00
|
|
|
register_avcodec(&x264_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_X264_ENCODER
|
2005-03-09 05:04:56 +02:00
|
|
|
#endif
|
2005-05-23 02:39:11 +03:00
|
|
|
#ifdef CONFIG_LIBGSM
|
|
|
|
register_avcodec(&libgsm_encoder);
|
|
|
|
#endif //CONFIG_LIBGSM
|
2002-06-11 16:41:41 +03:00
|
|
|
#endif /* CONFIG_ENCODERS */
|
2005-05-02 22:26:18 +03:00
|
|
|
#ifdef CONFIG_RAWVIDEO_ENCODER
|
2003-05-07 22:01:45 +03:00
|
|
|
register_avcodec(&rawvideo_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_RAWVIDEO_ENCODER
|
|
|
|
#ifdef CONFIG_RAWVIDEO_DECODER
|
2003-05-07 22:01:45 +03:00
|
|
|
register_avcodec(&rawvideo_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_RAWVIDEO_DECODER
|
2002-06-11 16:41:41 +03:00
|
|
|
|
|
|
|
/* decoders */
|
|
|
|
#ifdef CONFIG_DECODERS
|
2005-05-02 22:26:18 +03:00
|
|
|
#ifdef CONFIG_H263_DECODER
|
2002-06-11 16:41:41 +03:00
|
|
|
register_avcodec(&h263_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_H263_DECODER
|
|
|
|
#ifdef CONFIG_H261_DECODER
|
2004-05-30 23:37:15 +03:00
|
|
|
register_avcodec(&h261_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_H261_DECODER
|
|
|
|
#ifdef CONFIG_MPEG4_DECODER
|
2002-06-11 16:41:41 +03:00
|
|
|
register_avcodec(&mpeg4_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MPEG4_DECODER
|
|
|
|
#ifdef CONFIG_MSMPEG4V1_DECODER
|
2002-06-11 16:41:41 +03:00
|
|
|
register_avcodec(&msmpeg4v1_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MSMPEG4V1_DECODER
|
|
|
|
#ifdef CONFIG_MSMPEG4V2_DECODER
|
2002-06-11 16:41:41 +03:00
|
|
|
register_avcodec(&msmpeg4v2_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MSMPEG4V2_DECODER
|
|
|
|
#ifdef CONFIG_MSMPEG4V3_DECODER
|
2002-06-11 16:41:41 +03:00
|
|
|
register_avcodec(&msmpeg4v3_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MSMPEG4V3_DECODER
|
|
|
|
#ifdef CONFIG_WMV1_DECODER
|
2002-06-11 16:41:41 +03:00
|
|
|
register_avcodec(&wmv1_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_WMV1_DECODER
|
|
|
|
#ifdef CONFIG_WMV2_DECODER
|
2002-12-28 01:51:46 +02:00
|
|
|
register_avcodec(&wmv2_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_WMV2_DECODER
|
|
|
|
#ifdef CONFIG_VC9_DECODER
|
2005-01-22 20:00:36 +02:00
|
|
|
register_avcodec(&vc9_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_VC9_DECODER
|
|
|
|
#ifdef CONFIG_WMV3_DECODER
|
2005-01-22 20:00:36 +02:00
|
|
|
register_avcodec(&wmv3_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_WMV3_DECODER
|
|
|
|
#ifdef CONFIG_H263I_DECODER
|
2002-06-11 16:41:41 +03:00
|
|
|
register_avcodec(&h263i_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_H263I_DECODER
|
|
|
|
#ifdef CONFIG_FLV_DECODER
|
2003-07-10 19:25:30 +03:00
|
|
|
register_avcodec(&flv_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_FLV_DECODER
|
|
|
|
#ifdef CONFIG_RV10_DECODER
|
2002-06-11 16:41:41 +03:00
|
|
|
register_avcodec(&rv10_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_RV10_DECODER
|
|
|
|
#ifdef CONFIG_RV20_DECODER
|
2003-11-30 16:35:35 +02:00
|
|
|
register_avcodec(&rv20_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_RV20_DECODER
|
|
|
|
#ifdef CONFIG_SVQ1_DECODER
|
2002-07-09 19:08:43 +03:00
|
|
|
register_avcodec(&svq1_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_SVQ1_DECODER
|
|
|
|
#ifdef CONFIG_SVQ3_DECODER
|
2003-05-10 01:16:14 +03:00
|
|
|
register_avcodec(&svq3_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_SVQ3_DECODER
|
|
|
|
#ifdef CONFIG_WMAV1_DECODER
|
2003-01-29 14:00:11 +02:00
|
|
|
register_avcodec(&wmav1_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_WMAV1_DECODER
|
|
|
|
#ifdef CONFIG_WMAV2_DECODER
|
2003-01-29 14:00:11 +02:00
|
|
|
register_avcodec(&wmav2_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_WMAV2_DECODER
|
|
|
|
#ifdef CONFIG_INDEO2_DECODER
|
2005-04-20 12:42:47 +03:00
|
|
|
register_avcodec(&indeo2_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_INDEO2_DECODER
|
|
|
|
#ifdef CONFIG_INDEO3_DECODER
|
2003-04-15 13:12:38 +03:00
|
|
|
register_avcodec(&indeo3_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_INDEO3_DECODER
|
|
|
|
#ifdef CONFIG_TSCC_DECODER
|
2004-09-16 06:31:41 +03:00
|
|
|
register_avcodec(&tscc_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_TSCC_DECODER
|
|
|
|
#ifdef CONFIG_ULTI_DECODER
|
2004-09-16 06:31:41 +03:00
|
|
|
register_avcodec(&ulti_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_ULTI_DECODER
|
|
|
|
#ifdef CONFIG_QDRAW_DECODER
|
2004-09-28 06:09:49 +03:00
|
|
|
register_avcodec(&qdraw_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_QDRAW_DECODER
|
|
|
|
#ifdef CONFIG_XL_DECODER
|
2004-10-27 07:30:48 +03:00
|
|
|
register_avcodec(&xl_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_XL_DECODER
|
|
|
|
#ifdef CONFIG_QPEG_DECODER
|
2004-11-17 05:45:53 +02:00
|
|
|
register_avcodec(&qpeg_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_QPEG_DECODER
|
|
|
|
#ifdef CONFIG_LOCO_DECODER
|
2005-03-01 04:24:58 +02:00
|
|
|
register_avcodec(&loco_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_LOCO_DECODER
|
|
|
|
#ifdef CONFIG_WNV1_DECODER
|
2005-03-26 22:32:55 +02:00
|
|
|
register_avcodec(&wnv1_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_WNV1_DECODER
|
|
|
|
#ifdef CONFIG_AASC_DECODER
|
2005-04-03 08:02:08 +03:00
|
|
|
register_avcodec(&aasc_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_AASC_DECODER
|
2005-05-18 01:47:34 +03:00
|
|
|
#ifdef CONFIG_FRAPS_DECODER
|
|
|
|
register_avcodec(&fraps_decoder);
|
|
|
|
#endif //CONFIG_FRAPS_DECODER
|
2003-05-12 13:55:19 +03:00
|
|
|
#ifdef CONFIG_FAAD
|
2005-05-02 22:26:18 +03:00
|
|
|
#ifdef CONFIG_AAC_DECODER
|
2003-05-12 13:55:19 +03:00
|
|
|
register_avcodec(&aac_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_AAC_DECODER
|
|
|
|
#ifdef CONFIG_MPEG4AAC_DECODER
|
2003-05-12 13:55:19 +03:00
|
|
|
register_avcodec(&mpeg4aac_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MPEG4AAC_DECODER
|
2003-01-29 14:00:11 +02:00
|
|
|
#endif
|
2005-05-02 22:26:18 +03:00
|
|
|
#ifdef CONFIG_MPEG1VIDEO_DECODER
|
2003-08-26 10:42:25 +03:00
|
|
|
register_avcodec(&mpeg1video_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MPEG1VIDEO_DECODER
|
|
|
|
#ifdef CONFIG_MPEG2VIDEO_DECODER
|
2003-08-26 10:42:25 +03:00
|
|
|
register_avcodec(&mpeg2video_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MPEG2VIDEO_DECODER
|
|
|
|
#ifdef CONFIG_MPEGVIDEO_DECODER
|
2003-11-12 03:19:36 +02:00
|
|
|
register_avcodec(&mpegvideo_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MPEGVIDEO_DECODER
|
2003-07-26 04:28:49 +03:00
|
|
|
#ifdef HAVE_XVMC
|
2005-05-02 22:26:18 +03:00
|
|
|
#ifdef CONFIG_MPEG_XVMC_DECODER
|
2003-07-26 04:28:49 +03:00
|
|
|
register_avcodec(&mpeg_xvmc_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MPEG_XVMC_DECODER
|
2003-07-26 04:28:49 +03:00
|
|
|
#endif
|
2005-05-02 22:26:18 +03:00
|
|
|
#ifdef CONFIG_DVVIDEO_DECODER
|
2002-10-04 10:16:50 +03:00
|
|
|
register_avcodec(&dvvideo_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_DVVIDEO_DECODER
|
|
|
|
#ifdef CONFIG_MJPEG_DECODER
|
2002-06-11 16:41:41 +03:00
|
|
|
register_avcodec(&mjpeg_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MJPEG_DECODER
|
|
|
|
#ifdef CONFIG_MJPEGB_DECODER
|
2002-11-20 17:18:11 +02:00
|
|
|
register_avcodec(&mjpegb_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MJPEGB_DECODER
|
|
|
|
#ifdef CONFIG_SP5X_DECODER
|
2003-10-12 00:49:10 +03:00
|
|
|
register_avcodec(&sp5x_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_SP5X_DECODER
|
2004-11-11 12:33:11 +02:00
|
|
|
#ifdef CONFIG_ZLIB
|
2005-05-02 22:26:18 +03:00
|
|
|
#ifdef CONFIG_PNG_DECODER
|
2004-11-10 01:31:46 +02:00
|
|
|
register_avcodec(&png_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_PNG_DECODER
|
2004-11-11 12:33:11 +02:00
|
|
|
#endif
|
2005-05-02 22:26:18 +03:00
|
|
|
#ifdef CONFIG_MP2_DECODER
|
2002-06-11 16:41:41 +03:00
|
|
|
register_avcodec(&mp2_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MP2_DECODER
|
|
|
|
#ifdef CONFIG_MP3_DECODER
|
2002-06-11 16:41:41 +03:00
|
|
|
register_avcodec(&mp3_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MP3_DECODER
|
|
|
|
#ifdef CONFIG_MP3ADU_DECODER
|
2005-01-15 16:59:47 +02:00
|
|
|
register_avcodec(&mp3adu_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MP3ADU_DECODER
|
|
|
|
#ifdef CONFIG_MP3ON4_DECODER
|
2005-02-15 22:58:32 +02:00
|
|
|
register_avcodec(&mp3on4_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MP3ON4_DECODER
|
|
|
|
#ifdef CONFIG_MACE3_DECODER
|
2002-11-02 12:39:22 +02:00
|
|
|
register_avcodec(&mace3_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MACE3_DECODER
|
|
|
|
#ifdef CONFIG_MACE6_DECODER
|
2002-11-02 12:39:22 +02:00
|
|
|
register_avcodec(&mace6_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MACE6_DECODER
|
|
|
|
#ifdef CONFIG_HUFFYUV_DECODER
|
2002-11-14 21:20:04 +02:00
|
|
|
register_avcodec(&huffyuv_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_HUFFYUV_DECODER
|
|
|
|
#ifdef CONFIG_FFVHUFF_DECODER
|
2004-11-28 20:29:38 +02:00
|
|
|
register_avcodec(&ffvhuff_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_FFVHUFF_DECODER
|
|
|
|
#ifdef CONFIG_FFV1_DECODER
|
2003-06-09 05:24:51 +03:00
|
|
|
register_avcodec(&ffv1_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_FFV1_DECODER
|
|
|
|
#ifdef CONFIG_SNOW_DECODER
|
2004-07-26 02:36:44 +03:00
|
|
|
register_avcodec(&snow_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_SNOW_DECODER
|
|
|
|
#ifdef CONFIG_CYUV_DECODER
|
2003-02-09 18:58:47 +02:00
|
|
|
register_avcodec(&cyuv_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_CYUV_DECODER
|
|
|
|
#ifdef CONFIG_H264_DECODER
|
2003-04-04 17:42:28 +03:00
|
|
|
register_avcodec(&h264_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_H264_DECODER
|
|
|
|
#ifdef CONFIG_VP3_DECODER
|
2003-05-05 05:54:15 +03:00
|
|
|
register_avcodec(&vp3_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_VP3_DECODER
|
2005-05-11 19:42:15 +03:00
|
|
|
#if (defined CONFIG_THEORA_DECODER && !defined CONFIG_LIBTHEORA)
|
2003-10-11 20:44:21 +03:00
|
|
|
register_avcodec(&theora_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_THEORA_DECODER
|
|
|
|
#ifdef CONFIG_ASV1_DECODER
|
2003-05-19 16:30:59 +03:00
|
|
|
register_avcodec(&asv1_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_ASV1_DECODER
|
|
|
|
#ifdef CONFIG_ASV2_DECODER
|
2003-09-01 11:10:01 +03:00
|
|
|
register_avcodec(&asv2_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_ASV2_DECODER
|
|
|
|
#ifdef CONFIG_VCR1_DECODER
|
2003-07-24 15:18:46 +03:00
|
|
|
register_avcodec(&vcr1_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_VCR1_DECODER
|
|
|
|
#ifdef CONFIG_CLJR_DECODER
|
2003-07-27 23:20:31 +03:00
|
|
|
register_avcodec(&cljr_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_CLJR_DECODER
|
|
|
|
#ifdef CONFIG_FOURXM_DECODER
|
2003-06-01 03:56:05 +03:00
|
|
|
register_avcodec(&fourxm_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_FOURXM_DECODER
|
|
|
|
#ifdef CONFIG_MDEC_DECODER
|
2003-08-22 17:59:04 +03:00
|
|
|
register_avcodec(&mdec_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MDEC_DECODER
|
|
|
|
#ifdef CONFIG_ROQ_DECODER
|
2003-09-02 07:32:02 +03:00
|
|
|
register_avcodec(&roq_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_ROQ_DECODER
|
|
|
|
#ifdef CONFIG_INTERPLAY_VIDEO_DECODER
|
2003-09-02 07:32:02 +03:00
|
|
|
register_avcodec(&interplay_video_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_INTERPLAY_VIDEO_DECODER
|
|
|
|
#ifdef CONFIG_XAN_WC3_DECODER
|
2003-09-08 07:10:59 +03:00
|
|
|
register_avcodec(&xan_wc3_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_XAN_WC3_DECODER
|
|
|
|
#ifdef CONFIG_RPZA_DECODER
|
2003-10-01 07:39:38 +03:00
|
|
|
register_avcodec(&rpza_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_RPZA_DECODER
|
|
|
|
#ifdef CONFIG_CINEPAK_DECODER
|
2003-10-01 07:39:38 +03:00
|
|
|
register_avcodec(&cinepak_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_CINEPAK_DECODER
|
|
|
|
#ifdef CONFIG_MSRLE_DECODER
|
2003-10-01 07:39:38 +03:00
|
|
|
register_avcodec(&msrle_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MSRLE_DECODER
|
|
|
|
#ifdef CONFIG_MSVIDEO1_DECODER
|
2003-10-01 07:39:38 +03:00
|
|
|
register_avcodec(&msvideo1_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MSVIDEO1_DECODER
|
|
|
|
#ifdef CONFIG_VQA_DECODER
|
2003-10-02 08:20:07 +03:00
|
|
|
register_avcodec(&vqa_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_VQA_DECODER
|
|
|
|
#ifdef CONFIG_IDCIN_DECODER
|
2003-10-03 08:43:03 +03:00
|
|
|
register_avcodec(&idcin_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_IDCIN_DECODER
|
|
|
|
#ifdef CONFIG_EIGHTBPS_DECODER
|
2003-11-08 00:39:18 +02:00
|
|
|
register_avcodec(&eightbps_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_EIGHTBPS_DECODER
|
|
|
|
#ifdef CONFIG_SMC_DECODER
|
2003-11-10 05:14:04 +02:00
|
|
|
register_avcodec(&smc_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_SMC_DECODER
|
|
|
|
#ifdef CONFIG_FLIC_DECODER
|
2003-11-14 07:42:14 +02:00
|
|
|
register_avcodec(&flic_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_FLIC_DECODER
|
|
|
|
#ifdef CONFIG_TRUEMOTION1_DECODER
|
2003-12-03 06:22:15 +02:00
|
|
|
register_avcodec(&truemotion1_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_TRUEMOTION1_DECODER
|
2005-10-13 07:31:55 +03:00
|
|
|
#ifdef CONFIG_TRUEMOTION2_DECODER
|
|
|
|
register_avcodec(&truemotion2_decoder);
|
|
|
|
#endif //CONFIG_TRUEMOTION2_DECODER
|
2005-05-02 22:26:18 +03:00
|
|
|
#ifdef CONFIG_VMDVIDEO_DECODER
|
2004-01-02 06:45:06 +02:00
|
|
|
register_avcodec(&vmdvideo_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_VMDVIDEO_DECODER
|
|
|
|
#ifdef CONFIG_VMDAUDIO_DECODER
|
2004-01-02 06:45:06 +02:00
|
|
|
register_avcodec(&vmdaudio_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_VMDAUDIO_DECODER
|
|
|
|
#ifdef CONFIG_MSZH_DECODER
|
2004-01-13 00:14:45 +02:00
|
|
|
register_avcodec(&mszh_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_MSZH_DECODER
|
|
|
|
#ifdef CONFIG_ZLIB_DECODER
|
2004-01-13 00:14:45 +02:00
|
|
|
register_avcodec(&zlib_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_ZLIB_DECODER
|
|
|
|
#ifdef CONFIG_SONIC_DECODER
|
2004-08-21 22:19:35 +03:00
|
|
|
register_avcodec(&sonic_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_SONIC_DECODER
|
2002-06-11 16:41:41 +03:00
|
|
|
#ifdef CONFIG_AC3
|
2005-05-02 22:26:18 +03:00
|
|
|
#ifdef CONFIG_AC3_DECODER
|
2002-06-11 16:41:41 +03:00
|
|
|
register_avcodec(&ac3_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_AC3_DECODER
|
2004-07-14 04:32:14 +03:00
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_DTS
|
2005-05-02 22:26:18 +03:00
|
|
|
#ifdef CONFIG_DTS_DECODER
|
2004-07-14 04:32:14 +03:00
|
|
|
register_avcodec(&dts_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_DTS_DECODER
|
2002-06-11 16:41:41 +03:00
|
|
|
#endif
|
2005-05-02 22:26:18 +03:00
|
|
|
#ifdef CONFIG_RA_144_DECODER
|
2003-06-13 11:31:40 +03:00
|
|
|
register_avcodec(&ra_144_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_RA_144_DECODER
|
|
|
|
#ifdef CONFIG_RA_288_DECODER
|
2003-06-13 11:31:40 +03:00
|
|
|
register_avcodec(&ra_288_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_RA_288_DECODER
|
|
|
|
#ifdef CONFIG_ROQ_DPCM_DECODER
|
2003-09-02 07:32:02 +03:00
|
|
|
register_avcodec(&roq_dpcm_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_ROQ_DPCM_DECODER
|
|
|
|
#ifdef CONFIG_INTERPLAY_DPCM_DECODER
|
2003-09-02 07:32:02 +03:00
|
|
|
register_avcodec(&interplay_dpcm_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_INTERPLAY_DPCM_DECODER
|
|
|
|
#ifdef CONFIG_XAN_DPCM_DECODER
|
2003-09-08 07:10:59 +03:00
|
|
|
register_avcodec(&xan_dpcm_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_XAN_DPCM_DECODER
|
|
|
|
#ifdef CONFIG_SOL_DPCM_DECODER
|
2004-09-28 06:09:49 +03:00
|
|
|
register_avcodec(&sol_dpcm_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_SOL_DPCM_DECODER
|
|
|
|
#ifdef CONFIG_QTRLE_DECODER
|
2004-02-05 07:22:44 +02:00
|
|
|
register_avcodec(&qtrle_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_QTRLE_DECODER
|
|
|
|
#ifdef CONFIG_FLAC_DECODER
|
2004-02-18 03:49:30 +02:00
|
|
|
register_avcodec(&flac_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_FLAC_DECODER
|
|
|
|
#ifdef CONFIG_SHORTEN_DECODER
|
2005-02-26 05:36:04 +02:00
|
|
|
register_avcodec(&shorten_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_SHORTEN_DECODER
|
|
|
|
#ifdef CONFIG_ALAC_DECODER
|
2005-03-06 02:43:55 +02:00
|
|
|
register_avcodec(&alac_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_ALAC_DECODER
|
|
|
|
#ifdef CONFIG_WS_SND1_DECODER
|
2005-03-28 21:05:25 +03:00
|
|
|
register_avcodec(&ws_snd1_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_WS_SND1_DECODER
|
2005-05-17 22:02:43 +03:00
|
|
|
#ifdef CONFIG_VORBIS_DECODER
|
|
|
|
register_avcodec(&vorbis_decoder);
|
|
|
|
#endif
|
2005-05-23 02:39:11 +03:00
|
|
|
#ifdef CONFIG_LIBGSM
|
|
|
|
register_avcodec(&libgsm_decoder);
|
|
|
|
#endif //CONFIG_LIBGSM
|
2002-06-11 16:41:41 +03:00
|
|
|
#endif /* CONFIG_DECODERS */
|
|
|
|
|
2003-05-14 14:40:16 +03:00
|
|
|
#ifdef AMR_NB
|
2005-05-02 22:26:18 +03:00
|
|
|
#ifdef CONFIG_AMR_NB_DECODER
|
2003-05-14 14:40:16 +03:00
|
|
|
register_avcodec(&amr_nb_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_AMR_NB_DECODER
|
2003-10-15 06:20:40 +03:00
|
|
|
#ifdef CONFIG_ENCODERS
|
2005-05-02 22:26:18 +03:00
|
|
|
#ifdef CONFIG_AMR_NB_ENCODER
|
2003-06-05 17:30:52 +03:00
|
|
|
register_avcodec(&amr_nb_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_AMR_NB_ENCODER
|
2003-10-15 06:20:40 +03:00
|
|
|
#endif //CONFIG_ENCODERS
|
2003-05-14 14:40:16 +03:00
|
|
|
#endif /* AMR_NB */
|
2003-09-28 23:34:11 +03:00
|
|
|
|
|
|
|
#ifdef AMR_WB
|
2005-05-02 22:26:18 +03:00
|
|
|
#ifdef CONFIG_AMR_WB_DECODER
|
2003-09-28 23:34:11 +03:00
|
|
|
register_avcodec(&amr_wb_decoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_AMR_WB_DECODER
|
2003-10-15 06:20:40 +03:00
|
|
|
#ifdef CONFIG_ENCODERS
|
2005-05-02 22:26:18 +03:00
|
|
|
#ifdef CONFIG_AMR_WB_ENCODER
|
2003-09-28 23:34:11 +03:00
|
|
|
register_avcodec(&amr_wb_encoder);
|
2005-05-02 22:26:18 +03:00
|
|
|
#endif //CONFIG_AMR_WB_ENCODER
|
2003-10-15 06:20:40 +03:00
|
|
|
#endif //CONFIG_ENCODERS
|
2003-09-28 23:34:11 +03:00
|
|
|
#endif /* AMR_WB */
|
|
|
|
|
2002-06-11 16:41:41 +03:00
|
|
|
/* pcm codecs */
|
|
|
|
|
2003-10-15 06:20:40 +03:00
|
|
|
#ifdef CONFIG_ENCODERS
|
2002-06-11 16:41:41 +03:00
|
|
|
#define PCM_CODEC(id, name) \
|
|
|
|
register_avcodec(& name ## _encoder); \
|
|
|
|
register_avcodec(& name ## _decoder); \
|
|
|
|
|
2003-10-15 06:20:40 +03:00
|
|
|
#else
|
|
|
|
#define PCM_CODEC(id, name) \
|
|
|
|
register_avcodec(& name ## _decoder);
|
|
|
|
#endif
|
|
|
|
|
2005-09-02 22:16:48 +03:00
|
|
|
PCM_CODEC(CODEC_ID_PCM_S32LE, pcm_s32le);
|
|
|
|
PCM_CODEC(CODEC_ID_PCM_S32BE, pcm_s32be);
|
|
|
|
PCM_CODEC(CODEC_ID_PCM_U32LE, pcm_u32le);
|
|
|
|
PCM_CODEC(CODEC_ID_PCM_U32BE, pcm_u32be);
|
|
|
|
PCM_CODEC(CODEC_ID_PCM_S24LE, pcm_s24le);
|
|
|
|
PCM_CODEC(CODEC_ID_PCM_S24BE, pcm_s24be);
|
|
|
|
PCM_CODEC(CODEC_ID_PCM_U24LE, pcm_u24le);
|
|
|
|
PCM_CODEC(CODEC_ID_PCM_U24BE, pcm_u24be);
|
|
|
|
PCM_CODEC(CODEC_ID_PCM_S24DAUD, pcm_s24daud);
|
2002-06-11 16:41:41 +03:00
|
|
|
PCM_CODEC(CODEC_ID_PCM_S16LE, pcm_s16le);
|
|
|
|
PCM_CODEC(CODEC_ID_PCM_S16BE, pcm_s16be);
|
|
|
|
PCM_CODEC(CODEC_ID_PCM_U16LE, pcm_u16le);
|
|
|
|
PCM_CODEC(CODEC_ID_PCM_U16BE, pcm_u16be);
|
|
|
|
PCM_CODEC(CODEC_ID_PCM_S8, pcm_s8);
|
|
|
|
PCM_CODEC(CODEC_ID_PCM_U8, pcm_u8);
|
|
|
|
PCM_CODEC(CODEC_ID_PCM_ALAW, pcm_alaw);
|
|
|
|
PCM_CODEC(CODEC_ID_PCM_MULAW, pcm_mulaw);
|
|
|
|
|
2002-07-20 23:05:50 +03:00
|
|
|
/* adpcm codecs */
|
|
|
|
PCM_CODEC(CODEC_ID_ADPCM_IMA_QT, adpcm_ima_qt);
|
|
|
|
PCM_CODEC(CODEC_ID_ADPCM_IMA_WAV, adpcm_ima_wav);
|
2003-09-08 07:10:59 +03:00
|
|
|
PCM_CODEC(CODEC_ID_ADPCM_IMA_DK3, adpcm_ima_dk3);
|
|
|
|
PCM_CODEC(CODEC_ID_ADPCM_IMA_DK4, adpcm_ima_dk4);
|
2003-10-01 07:39:38 +03:00
|
|
|
PCM_CODEC(CODEC_ID_ADPCM_IMA_WS, adpcm_ima_ws);
|
2004-02-03 06:27:17 +02:00
|
|
|
PCM_CODEC(CODEC_ID_ADPCM_IMA_SMJPEG, adpcm_ima_smjpeg);
|
2002-07-20 23:05:50 +03:00
|
|
|
PCM_CODEC(CODEC_ID_ADPCM_MS, adpcm_ms);
|
2003-06-03 16:58:44 +03:00
|
|
|
PCM_CODEC(CODEC_ID_ADPCM_4XM, adpcm_4xm);
|
2003-10-15 06:20:40 +03:00
|
|
|
PCM_CODEC(CODEC_ID_ADPCM_XA, adpcm_xa);
|
|
|
|
PCM_CODEC(CODEC_ID_ADPCM_ADX, adpcm_adx);
|
2004-02-03 06:27:17 +02:00
|
|
|
PCM_CODEC(CODEC_ID_ADPCM_EA, adpcm_ea);
|
2004-06-16 05:53:12 +03:00
|
|
|
PCM_CODEC(CODEC_ID_ADPCM_G726, adpcm_g726);
|
2004-10-12 15:47:49 +03:00
|
|
|
PCM_CODEC(CODEC_ID_ADPCM_CT, adpcm_ct);
|
2005-02-21 21:27:32 +02:00
|
|
|
PCM_CODEC(CODEC_ID_ADPCM_SWF, adpcm_swf);
|
2005-07-15 09:51:36 +03:00
|
|
|
PCM_CODEC(CODEC_ID_ADPCM_YAMAHA, adpcm_yamaha);
|
2002-07-20 23:05:50 +03:00
|
|
|
|
2002-06-11 16:41:41 +03:00
|
|
|
#undef PCM_CODEC
|
2003-11-10 17:29:20 +02:00
|
|
|
|
2005-06-03 16:59:38 +03:00
|
|
|
/* subtitles */
|
|
|
|
register_avcodec(&dvdsub_decoder);
|
|
|
|
register_avcodec(&dvbsub_encoder);
|
2005-07-17 03:28:12 +03:00
|
|
|
register_avcodec(&dvbsub_decoder);
|
2005-06-03 16:59:38 +03:00
|
|
|
|
2003-11-10 17:29:20 +02:00
|
|
|
/* parsers */
|
|
|
|
av_register_codec_parser(&mpegvideo_parser);
|
|
|
|
av_register_codec_parser(&mpeg4video_parser);
|
2005-05-03 01:14:42 +03:00
|
|
|
#if defined(CONFIG_H261_DECODER) || defined(CONFIG_H261_ENCODER)
|
2004-05-30 23:37:15 +03:00
|
|
|
av_register_codec_parser(&h261_parser);
|
2005-05-03 01:14:42 +03:00
|
|
|
#endif
|
2003-11-10 17:29:20 +02:00
|
|
|
av_register_codec_parser(&h263_parser);
|
2005-05-03 01:14:42 +03:00
|
|
|
#ifdef CONFIG_H264_DECODER
|
2003-11-10 17:29:20 +02:00
|
|
|
av_register_codec_parser(&h264_parser);
|
2005-05-03 01:14:42 +03:00
|
|
|
#endif
|
2004-10-25 01:37:29 +03:00
|
|
|
av_register_codec_parser(&mjpeg_parser);
|
2004-11-13 00:55:29 +02:00
|
|
|
av_register_codec_parser(&pnm_parser);
|
2003-11-10 17:29:20 +02:00
|
|
|
|
|
|
|
av_register_codec_parser(&mpegaudio_parser);
|
|
|
|
#ifdef CONFIG_AC3
|
|
|
|
av_register_codec_parser(&ac3_parser);
|
|
|
|
#endif
|
2005-06-03 16:59:38 +03:00
|
|
|
av_register_codec_parser(&dvdsub_parser);
|
2005-07-17 03:28:12 +03:00
|
|
|
av_register_codec_parser(&dvbsub_parser);
|
2002-06-11 16:41:41 +03:00
|
|
|
}
|
|
|
|
|