2002-06-11 16:41:41 +03:00
|
|
|
/*
|
2010-06-30 18:38:06 +03:00
|
|
|
* Provide registration of all codecs, parsers and bitstream filters for libavcodec.
|
2009-01-19 17:46:40 +02:00
|
|
|
* Copyright (c) 2002 Fabrice Bellard
|
2002-06-11 16:41:41 +03:00
|
|
|
*
|
2006-10-07 18:30:46 +03:00
|
|
|
* This file is part of FFmpeg.
|
|
|
|
*
|
|
|
|
* FFmpeg is free software; you can redistribute it and/or
|
2002-06-11 16:41:41 +03:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
2006-10-07 18:30:46 +03:00
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
2002-06-11 16:41:41 +03:00
|
|
|
*
|
2006-10-07 18:30:46 +03:00
|
|
|
* FFmpeg is distributed in the hope that it will be useful,
|
2002-06-11 16:41:41 +03: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 18:30:46 +03:00
|
|
|
* License along with FFmpeg; if not, write to the Free Software
|
2006-01-13 00:43:26 +02:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
2002-06-11 16:41:41 +03:00
|
|
|
*/
|
2003-03-06 13:32:04 +02:00
|
|
|
|
|
|
|
/**
|
2010-04-20 17:45:34 +03:00
|
|
|
* @file
|
2010-06-30 18:38:06 +03:00
|
|
|
* Provide registration of all codecs, parsers and bitstream filters for libavcodec.
|
2003-03-06 13:32:04 +02:00
|
|
|
*/
|
|
|
|
|
2007-09-20 23:36:15 +03:00
|
|
|
#include "avcodec.h"
|
2002-06-11 16:41:41 +03:00
|
|
|
|
2009-03-10 16:35:55 +02:00
|
|
|
#define REGISTER_HWACCEL(X,x) { \
|
|
|
|
extern AVHWAccel x##_hwaccel; \
|
|
|
|
if(CONFIG_##X##_HWACCEL) av_register_hwaccel(&x##_hwaccel); }
|
|
|
|
|
2007-09-20 23:36:15 +03:00
|
|
|
#define REGISTER_ENCODER(X,x) { \
|
|
|
|
extern AVCodec x##_encoder; \
|
2009-02-07 01:50:54 +02:00
|
|
|
if(CONFIG_##X##_ENCODER) avcodec_register(&x##_encoder); }
|
2007-09-20 23:36:15 +03:00
|
|
|
#define REGISTER_DECODER(X,x) { \
|
|
|
|
extern AVCodec x##_decoder; \
|
2009-02-07 01:50:54 +02:00
|
|
|
if(CONFIG_##X##_DECODER) avcodec_register(&x##_decoder); }
|
2006-11-29 01:55:24 +02:00
|
|
|
#define REGISTER_ENCDEC(X,x) REGISTER_ENCODER(X,x); REGISTER_DECODER(X,x)
|
|
|
|
|
2007-09-20 23:36:15 +03:00
|
|
|
#define REGISTER_PARSER(X,x) { \
|
|
|
|
extern AVCodecParser x##_parser; \
|
2009-01-14 19:19:17 +02:00
|
|
|
if(CONFIG_##X##_PARSER) av_register_codec_parser(&x##_parser); }
|
2007-09-20 23:36:15 +03:00
|
|
|
#define REGISTER_BSF(X,x) { \
|
|
|
|
extern AVBitStreamFilter x##_bsf; \
|
2009-01-14 19:19:17 +02:00
|
|
|
if(CONFIG_##X##_BSF) av_register_bitstream_filter(&x##_bsf); }
|
2006-11-29 01:55:24 +02:00
|
|
|
|
2002-06-11 16:41:41 +03:00
|
|
|
void avcodec_register_all(void)
|
|
|
|
{
|
2008-02-13 11:26:10 +02:00
|
|
|
static int initialized;
|
2005-12-17 20:14:38 +02:00
|
|
|
|
2008-02-13 11:26:10 +02:00
|
|
|
if (initialized)
|
2005-12-22 03:10:11 +02:00
|
|
|
return;
|
2008-02-13 11:26:10 +02:00
|
|
|
initialized = 1;
|
2002-06-11 16:41:41 +03:00
|
|
|
|
2009-03-10 16:35:55 +02:00
|
|
|
/* hardware accelerators */
|
2009-04-02 11:53:34 +03:00
|
|
|
REGISTER_HWACCEL (H263_VAAPI, h263_vaapi);
|
2010-01-20 20:54:51 +02:00
|
|
|
REGISTER_HWACCEL (H264_DXVA2, h264_dxva2);
|
2009-12-29 10:48:18 +02:00
|
|
|
REGISTER_HWACCEL (H264_VAAPI, h264_vaapi);
|
2010-06-18 23:07:43 +03:00
|
|
|
REGISTER_HWACCEL (MPEG2_DXVA2, mpeg2_dxva2);
|
2009-04-02 11:53:34 +03:00
|
|
|
REGISTER_HWACCEL (MPEG2_VAAPI, mpeg2_vaapi);
|
|
|
|
REGISTER_HWACCEL (MPEG4_VAAPI, mpeg4_vaapi);
|
2010-01-24 19:27:00 +02:00
|
|
|
REGISTER_HWACCEL (VC1_DXVA2, vc1_dxva2);
|
2009-04-03 10:40:58 +03:00
|
|
|
REGISTER_HWACCEL (VC1_VAAPI, vc1_vaapi);
|
2010-01-24 19:27:00 +02:00
|
|
|
REGISTER_HWACCEL (WMV3_DXVA2, wmv3_dxva2);
|
2009-04-03 10:40:58 +03:00
|
|
|
REGISTER_HWACCEL (WMV3_VAAPI, wmv3_vaapi);
|
2009-03-10 16:35:55 +02:00
|
|
|
|
2006-11-29 01:55:24 +02:00
|
|
|
/* video codecs */
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (AASC, aasc);
|
2007-09-29 18:20:22 +03:00
|
|
|
REGISTER_DECODER (AMV, amv);
|
2010-01-10 07:41:36 +02:00
|
|
|
REGISTER_DECODER (ANM, anm);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (ASV1, asv1);
|
|
|
|
REGISTER_ENCDEC (ASV2, asv2);
|
2009-12-23 15:04:57 +02:00
|
|
|
REGISTER_DECODER (AURA, aura);
|
2009-12-23 18:01:15 +02:00
|
|
|
REGISTER_DECODER (AURA2, aura2);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (AVS, avs);
|
|
|
|
REGISTER_DECODER (BETHSOFTVID, bethsoftvid);
|
2008-04-18 11:43:11 +03:00
|
|
|
REGISTER_DECODER (BFI, bfi);
|
2010-02-21 15:28:46 +02:00
|
|
|
REGISTER_DECODER (BINK, bink);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (BMP, bmp);
|
|
|
|
REGISTER_DECODER (C93, c93);
|
|
|
|
REGISTER_DECODER (CAVS, cavs);
|
2009-12-17 19:25:31 +02:00
|
|
|
REGISTER_DECODER (CDGRAPHICS, cdgraphics);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (CINEPAK, cinepak);
|
|
|
|
REGISTER_DECODER (CLJR, cljr);
|
|
|
|
REGISTER_DECODER (CSCD, cscd);
|
|
|
|
REGISTER_DECODER (CYUV, cyuv);
|
2007-10-08 14:27:18 +03:00
|
|
|
REGISTER_ENCDEC (DNXHD, dnxhd);
|
2009-06-12 08:29:29 +03:00
|
|
|
REGISTER_DECODER (DPX, dpx);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (DSICINVIDEO, dsicinvideo);
|
|
|
|
REGISTER_ENCDEC (DVVIDEO, dvvideo);
|
|
|
|
REGISTER_DECODER (DXA, dxa);
|
2008-07-08 16:22:23 +03:00
|
|
|
REGISTER_DECODER (EACMV, eacmv);
|
2009-06-13 05:19:41 +03:00
|
|
|
REGISTER_DECODER (EAMAD, eamad);
|
2008-11-08 02:29:22 +02:00
|
|
|
REGISTER_DECODER (EATGQ, eatgq);
|
2008-08-06 11:33:25 +03:00
|
|
|
REGISTER_DECODER (EATGV, eatgv);
|
2009-02-05 10:58:35 +02:00
|
|
|
REGISTER_DECODER (EATQI, eatqi);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (EIGHTBPS, eightbps);
|
2008-03-30 22:16:08 +03:00
|
|
|
REGISTER_DECODER (EIGHTSVX_EXP, eightsvx_exp);
|
|
|
|
REGISTER_DECODER (EIGHTSVX_FIB, eightsvx_fib);
|
2008-03-31 13:41:40 +03:00
|
|
|
REGISTER_DECODER (ESCAPE124, escape124);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (FFV1, ffv1);
|
|
|
|
REGISTER_ENCDEC (FFVHUFF, ffvhuff);
|
|
|
|
REGISTER_ENCDEC (FLASHSV, flashsv);
|
|
|
|
REGISTER_DECODER (FLIC, flic);
|
|
|
|
REGISTER_ENCDEC (FLV, flv);
|
|
|
|
REGISTER_DECODER (FOURXM, fourxm);
|
|
|
|
REGISTER_DECODER (FRAPS, fraps);
|
2009-10-13 21:15:57 +03:00
|
|
|
REGISTER_DECODER (FRWU, frwu);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (GIF, gif);
|
|
|
|
REGISTER_ENCDEC (H261, h261);
|
|
|
|
REGISTER_ENCDEC (H263, h263);
|
|
|
|
REGISTER_DECODER (H263I, h263i);
|
|
|
|
REGISTER_ENCODER (H263P, h263p);
|
|
|
|
REGISTER_DECODER (H264, h264);
|
2009-01-05 01:55:27 +02:00
|
|
|
REGISTER_DECODER (H264_VDPAU, h264_vdpau);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (HUFFYUV, huffyuv);
|
|
|
|
REGISTER_DECODER (IDCIN, idcin);
|
2010-02-03 11:56:16 +02:00
|
|
|
REGISTER_DECODER (IFF_BYTERUN1, iff_byterun1);
|
|
|
|
REGISTER_DECODER (IFF_ILBM, iff_ilbm);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (INDEO2, indeo2);
|
|
|
|
REGISTER_DECODER (INDEO3, indeo3);
|
2010-02-09 09:55:07 +02:00
|
|
|
REGISTER_DECODER (INDEO5, indeo5);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (INTERPLAY_VIDEO, interplay_video);
|
|
|
|
REGISTER_ENCDEC (JPEGLS, jpegls);
|
2010-03-09 03:03:09 +02:00
|
|
|
REGISTER_DECODER (KGV1, kgv1);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (KMVC, kmvc);
|
|
|
|
REGISTER_ENCODER (LJPEG, ljpeg);
|
|
|
|
REGISTER_DECODER (LOCO, loco);
|
|
|
|
REGISTER_DECODER (MDEC, mdec);
|
2008-03-18 21:51:34 +02:00
|
|
|
REGISTER_DECODER (MIMIC, mimic);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (MJPEG, mjpeg);
|
|
|
|
REGISTER_DECODER (MJPEGB, mjpegb);
|
|
|
|
REGISTER_DECODER (MMVIDEO, mmvideo);
|
2008-07-10 06:01:39 +03:00
|
|
|
REGISTER_DECODER (MOTIONPIXELS, motionpixels);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (MPEG_XVMC, mpeg_xvmc);
|
|
|
|
REGISTER_ENCDEC (MPEG1VIDEO, mpeg1video);
|
|
|
|
REGISTER_ENCDEC (MPEG2VIDEO, mpeg2video);
|
|
|
|
REGISTER_ENCDEC (MPEG4, mpeg4);
|
2009-11-10 20:52:39 +02:00
|
|
|
REGISTER_DECODER (MPEG4_VDPAU, mpeg4_vdpau);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (MPEGVIDEO, mpegvideo);
|
2009-01-16 04:14:07 +02:00
|
|
|
REGISTER_DECODER (MPEG_VDPAU, mpeg_vdpau);
|
2009-01-16 18:50:32 +02:00
|
|
|
REGISTER_DECODER (MPEG1_VDPAU, mpeg1_vdpau);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (MSMPEG4V1, msmpeg4v1);
|
|
|
|
REGISTER_ENCDEC (MSMPEG4V2, msmpeg4v2);
|
|
|
|
REGISTER_ENCDEC (MSMPEG4V3, msmpeg4v3);
|
|
|
|
REGISTER_DECODER (MSRLE, msrle);
|
|
|
|
REGISTER_DECODER (MSVIDEO1, msvideo1);
|
|
|
|
REGISTER_DECODER (MSZH, mszh);
|
|
|
|
REGISTER_DECODER (NUV, nuv);
|
2009-03-23 00:50:22 +02:00
|
|
|
REGISTER_ENCDEC (PAM, pam);
|
|
|
|
REGISTER_ENCDEC (PBM, pbm);
|
2009-03-20 19:23:45 +02:00
|
|
|
REGISTER_ENCDEC (PCX, pcx);
|
2009-03-23 00:50:22 +02:00
|
|
|
REGISTER_ENCDEC (PGM, pgm);
|
|
|
|
REGISTER_ENCDEC (PGMYUV, pgmyuv);
|
2010-06-08 14:55:06 +03:00
|
|
|
REGISTER_DECODER (PICTOR, pictor);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (PNG, png);
|
2009-03-23 00:50:22 +02:00
|
|
|
REGISTER_ENCDEC (PPM, ppm);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (PTX, ptx);
|
|
|
|
REGISTER_DECODER (QDRAW, qdraw);
|
|
|
|
REGISTER_DECODER (QPEG, qpeg);
|
|
|
|
REGISTER_ENCDEC (QTRLE, qtrle);
|
2009-12-17 20:56:56 +02:00
|
|
|
REGISTER_DECODER (R210, r210);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (RAWVIDEO, rawvideo);
|
2008-03-21 15:45:55 +02:00
|
|
|
REGISTER_DECODER (RL2, rl2);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (ROQ, roq);
|
|
|
|
REGISTER_DECODER (RPZA, rpza);
|
|
|
|
REGISTER_ENCDEC (RV10, rv10);
|
|
|
|
REGISTER_ENCDEC (RV20, rv20);
|
2008-12-20 20:06:01 +02:00
|
|
|
REGISTER_DECODER (RV30, rv30);
|
2008-12-01 08:40:36 +02:00
|
|
|
REGISTER_DECODER (RV40, rv40);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (SGI, sgi);
|
|
|
|
REGISTER_DECODER (SMACKER, smacker);
|
|
|
|
REGISTER_DECODER (SMC, smc);
|
|
|
|
REGISTER_ENCDEC (SNOW, snow);
|
|
|
|
REGISTER_DECODER (SP5X, sp5x);
|
2007-12-28 15:09:57 +02:00
|
|
|
REGISTER_DECODER (SUNRAST, sunrast);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (SVQ1, svq1);
|
|
|
|
REGISTER_DECODER (SVQ3, svq3);
|
|
|
|
REGISTER_ENCDEC (TARGA, targa);
|
|
|
|
REGISTER_DECODER (THEORA, theora);
|
|
|
|
REGISTER_DECODER (THP, thp);
|
|
|
|
REGISTER_DECODER (TIERTEXSEQVIDEO, tiertexseqvideo);
|
|
|
|
REGISTER_ENCDEC (TIFF, tiff);
|
2009-05-07 00:57:20 +03:00
|
|
|
REGISTER_DECODER (TMV, tmv);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (TRUEMOTION1, truemotion1);
|
|
|
|
REGISTER_DECODER (TRUEMOTION2, truemotion2);
|
|
|
|
REGISTER_DECODER (TSCC, tscc);
|
|
|
|
REGISTER_DECODER (TXD, txd);
|
|
|
|
REGISTER_DECODER (ULTI, ulti);
|
2009-05-12 22:56:48 +03:00
|
|
|
REGISTER_ENCDEC (V210, v210);
|
2009-04-22 04:50:15 +03:00
|
|
|
REGISTER_DECODER (V210X, v210x);
|
2007-10-22 09:01:38 +03:00
|
|
|
REGISTER_DECODER (VB, vb);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (VC1, vc1);
|
2009-01-20 11:28:36 +02:00
|
|
|
REGISTER_DECODER (VC1_VDPAU, vc1_vdpau);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (VCR1, vcr1);
|
|
|
|
REGISTER_DECODER (VMDVIDEO, vmdvideo);
|
|
|
|
REGISTER_DECODER (VMNC, vmnc);
|
|
|
|
REGISTER_DECODER (VP3, vp3);
|
|
|
|
REGISTER_DECODER (VP5, vp5);
|
|
|
|
REGISTER_DECODER (VP6, vp6);
|
2007-09-25 22:12:46 +03:00
|
|
|
REGISTER_DECODER (VP6A, vp6a);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (VP6F, vp6f);
|
2010-06-22 22:24:09 +03:00
|
|
|
REGISTER_DECODER (VP8, vp8);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (VQA, vqa);
|
|
|
|
REGISTER_ENCDEC (WMV1, wmv1);
|
|
|
|
REGISTER_ENCDEC (WMV2, wmv2);
|
|
|
|
REGISTER_DECODER (WMV3, wmv3);
|
2009-01-20 11:28:36 +02:00
|
|
|
REGISTER_DECODER (WMV3_VDPAU, wmv3_vdpau);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (WNV1, wnv1);
|
|
|
|
REGISTER_DECODER (XAN_WC3, xan_wc3);
|
|
|
|
REGISTER_DECODER (XL, xl);
|
2010-03-30 01:17:01 +03:00
|
|
|
REGISTER_DECODER (YOP, yop);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (ZLIB, zlib);
|
|
|
|
REGISTER_ENCDEC (ZMBV, zmbv);
|
2002-06-11 16:41:41 +03:00
|
|
|
|
2006-11-29 01:55:24 +02:00
|
|
|
/* audio codecs */
|
2009-07-08 23:01:31 +03:00
|
|
|
REGISTER_ENCDEC (AAC, aac);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (AC3, ac3);
|
2008-08-19 20:20:41 +03:00
|
|
|
REGISTER_ENCDEC (ALAC, alac);
|
2009-11-12 00:36:17 +02:00
|
|
|
REGISTER_DECODER (ALS, als);
|
2010-02-21 20:01:56 +02:00
|
|
|
REGISTER_DECODER (AMRNB, amrnb);
|
2007-09-13 06:22:47 +03:00
|
|
|
REGISTER_DECODER (APE, ape);
|
2009-09-22 20:28:03 +03:00
|
|
|
REGISTER_DECODER (ATRAC1, atrac1);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (ATRAC3, atrac3);
|
2010-01-31 14:51:15 +02:00
|
|
|
REGISTER_DECODER (BINKAUDIO_DCT, binkaudio_dct);
|
|
|
|
REGISTER_DECODER (BINKAUDIO_RDFT, binkaudio_rdft);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (COOK, cook);
|
|
|
|
REGISTER_DECODER (DCA, dca);
|
|
|
|
REGISTER_DECODER (DSICINAUDIO, dsicinaudio);
|
2008-09-01 17:33:54 +03:00
|
|
|
REGISTER_DECODER (EAC3, eac3);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (FLAC, flac);
|
2010-07-10 10:55:06 +03:00
|
|
|
REGISTER_DECODER (GSM, gsm);
|
|
|
|
REGISTER_DECODER (GSM_MS, gsm_ms);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (IMC, imc);
|
|
|
|
REGISTER_DECODER (MACE3, mace3);
|
|
|
|
REGISTER_DECODER (MACE6, mace6);
|
2008-07-04 18:44:13 +03:00
|
|
|
REGISTER_DECODER (MLP, mlp);
|
2009-01-13 21:32:08 +02:00
|
|
|
REGISTER_DECODER (MP1, mp1);
|
2010-05-11 22:52:42 +03:00
|
|
|
REGISTER_DECODER (MP1FLOAT, mp1float);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (MP2, mp2);
|
2010-05-11 22:52:42 +03:00
|
|
|
REGISTER_DECODER (MP2FLOAT, mp2float);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (MP3, mp3);
|
2010-05-11 22:52:42 +03:00
|
|
|
REGISTER_DECODER (MP3FLOAT, mp3float);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (MP3ADU, mp3adu);
|
2010-05-11 22:52:42 +03:00
|
|
|
REGISTER_DECODER (MP3ADUFLOAT, mp3adufloat);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (MP3ON4, mp3on4);
|
2010-05-11 22:52:42 +03:00
|
|
|
REGISTER_DECODER (MP3ON4FLOAT, mp3on4float);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (MPC7, mpc7);
|
2007-11-07 07:35:46 +02:00
|
|
|
REGISTER_DECODER (MPC8, mpc8);
|
2008-09-01 14:19:26 +03:00
|
|
|
REGISTER_ENCDEC (NELLYMOSER, nellymoser);
|
2008-12-02 18:48:05 +02:00
|
|
|
REGISTER_DECODER (QCELP, qcelp);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (QDM2, qdm2);
|
2010-06-11 12:01:25 +03:00
|
|
|
REGISTER_ENCDEC (RA_144, ra_144);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (RA_288, ra_288);
|
|
|
|
REGISTER_DECODER (SHORTEN, shorten);
|
2010-01-10 23:38:15 +02:00
|
|
|
REGISTER_DECODER (SIPR, sipr);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (SMACKAUD, smackaud);
|
|
|
|
REGISTER_ENCDEC (SONIC, sonic);
|
|
|
|
REGISTER_ENCODER (SONIC_LS, sonic_ls);
|
2009-03-19 23:23:39 +02:00
|
|
|
REGISTER_DECODER (TRUEHD, truehd);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (TRUESPEECH, truespeech);
|
|
|
|
REGISTER_DECODER (TTA, tta);
|
2009-08-23 04:55:54 +03:00
|
|
|
REGISTER_DECODER (TWINVQ, twinvq);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (VMDAUDIO, vmdaudio);
|
2009-06-29 12:02:07 +03:00
|
|
|
REGISTER_ENCDEC (VORBIS, vorbis);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (WAVPACK, wavpack);
|
2009-09-02 19:41:49 +03:00
|
|
|
REGISTER_DECODER (WMAPRO, wmapro);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (WMAV1, wmav1);
|
|
|
|
REGISTER_ENCDEC (WMAV2, wmav2);
|
2010-02-12 16:22:41 +02:00
|
|
|
REGISTER_DECODER (WMAVOICE, wmavoice);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (WS_SND1, ws_snd1);
|
2006-02-12 08:49:40 +02:00
|
|
|
|
2008-04-18 01:06:06 +03:00
|
|
|
/* PCM codecs */
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (PCM_ALAW, pcm_alaw);
|
2009-08-27 01:10:35 +03:00
|
|
|
REGISTER_DECODER (PCM_BLURAY, pcm_bluray);
|
2008-05-17 14:42:03 +03:00
|
|
|
REGISTER_DECODER (PCM_DVD, pcm_dvd);
|
2008-07-26 10:08:15 +03:00
|
|
|
REGISTER_ENCDEC (PCM_F32BE, pcm_f32be);
|
2008-08-19 13:43:47 +03:00
|
|
|
REGISTER_ENCDEC (PCM_F32LE, pcm_f32le);
|
|
|
|
REGISTER_ENCDEC (PCM_F64BE, pcm_f64be);
|
|
|
|
REGISTER_ENCDEC (PCM_F64LE, pcm_f64le);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (PCM_MULAW, pcm_mulaw);
|
|
|
|
REGISTER_ENCDEC (PCM_S8, pcm_s8);
|
|
|
|
REGISTER_ENCDEC (PCM_S16BE, pcm_s16be);
|
|
|
|
REGISTER_ENCDEC (PCM_S16LE, pcm_s16le);
|
2007-11-25 18:32:47 +02:00
|
|
|
REGISTER_DECODER (PCM_S16LE_PLANAR, pcm_s16le_planar);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (PCM_S24BE, pcm_s24be);
|
|
|
|
REGISTER_ENCDEC (PCM_S24DAUD, pcm_s24daud);
|
|
|
|
REGISTER_ENCDEC (PCM_S24LE, pcm_s24le);
|
|
|
|
REGISTER_ENCDEC (PCM_S32BE, pcm_s32be);
|
|
|
|
REGISTER_ENCDEC (PCM_S32LE, pcm_s32le);
|
|
|
|
REGISTER_ENCDEC (PCM_U8, pcm_u8);
|
|
|
|
REGISTER_ENCDEC (PCM_U16BE, pcm_u16be);
|
|
|
|
REGISTER_ENCDEC (PCM_U16LE, pcm_u16le);
|
|
|
|
REGISTER_ENCDEC (PCM_U24BE, pcm_u24be);
|
|
|
|
REGISTER_ENCDEC (PCM_U24LE, pcm_u24le);
|
|
|
|
REGISTER_ENCDEC (PCM_U32BE, pcm_u32be);
|
|
|
|
REGISTER_ENCDEC (PCM_U32LE, pcm_u32le);
|
|
|
|
REGISTER_ENCDEC (PCM_ZORK , pcm_zork);
|
2003-10-15 06:20:40 +03:00
|
|
|
|
2008-04-18 01:06:06 +03:00
|
|
|
/* DPCM codecs */
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_DECODER (INTERPLAY_DPCM, interplay_dpcm);
|
|
|
|
REGISTER_ENCDEC (ROQ_DPCM, roq_dpcm);
|
|
|
|
REGISTER_DECODER (SOL_DPCM, sol_dpcm);
|
|
|
|
REGISTER_DECODER (XAN_DPCM, xan_dpcm);
|
2006-11-29 01:55:24 +02:00
|
|
|
|
2008-04-18 01:06:06 +03:00
|
|
|
/* ADPCM codecs */
|
2007-11-01 17:51:51 +02:00
|
|
|
REGISTER_DECODER (ADPCM_4XM, adpcm_4xm);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (ADPCM_ADX, adpcm_adx);
|
2007-11-01 17:51:51 +02:00
|
|
|
REGISTER_DECODER (ADPCM_CT, adpcm_ct);
|
|
|
|
REGISTER_DECODER (ADPCM_EA, adpcm_ea);
|
2008-04-14 17:31:43 +03:00
|
|
|
REGISTER_DECODER (ADPCM_EA_MAXIS_XA, adpcm_ea_maxis_xa);
|
2007-10-24 23:49:42 +03:00
|
|
|
REGISTER_DECODER (ADPCM_EA_R1, adpcm_ea_r1);
|
|
|
|
REGISTER_DECODER (ADPCM_EA_R2, adpcm_ea_r2);
|
|
|
|
REGISTER_DECODER (ADPCM_EA_R3, adpcm_ea_r3);
|
2007-11-04 00:37:18 +02:00
|
|
|
REGISTER_DECODER (ADPCM_EA_XAS, adpcm_ea_xas);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (ADPCM_G726, adpcm_g726);
|
2007-09-27 09:21:57 +03:00
|
|
|
REGISTER_DECODER (ADPCM_IMA_AMV, adpcm_ima_amv);
|
2007-11-01 17:51:51 +02:00
|
|
|
REGISTER_DECODER (ADPCM_IMA_DK3, adpcm_ima_dk3);
|
|
|
|
REGISTER_DECODER (ADPCM_IMA_DK4, adpcm_ima_dk4);
|
2007-10-31 01:20:26 +02:00
|
|
|
REGISTER_DECODER (ADPCM_IMA_EA_EACS, adpcm_ima_ea_eacs);
|
2007-10-31 01:12:18 +02:00
|
|
|
REGISTER_DECODER (ADPCM_IMA_EA_SEAD, adpcm_ima_ea_sead);
|
2009-01-17 22:08:43 +02:00
|
|
|
REGISTER_DECODER (ADPCM_IMA_ISS, adpcm_ima_iss);
|
2008-03-06 09:30:41 +02:00
|
|
|
REGISTER_ENCDEC (ADPCM_IMA_QT, adpcm_ima_qt);
|
2007-11-01 17:51:51 +02:00
|
|
|
REGISTER_DECODER (ADPCM_IMA_SMJPEG, adpcm_ima_smjpeg);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (ADPCM_IMA_WAV, adpcm_ima_wav);
|
2007-11-01 17:51:51 +02:00
|
|
|
REGISTER_DECODER (ADPCM_IMA_WS, adpcm_ima_ws);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (ADPCM_MS, adpcm_ms);
|
2007-11-01 17:51:51 +02:00
|
|
|
REGISTER_DECODER (ADPCM_SBPRO_2, adpcm_sbpro_2);
|
|
|
|
REGISTER_DECODER (ADPCM_SBPRO_3, adpcm_sbpro_3);
|
|
|
|
REGISTER_DECODER (ADPCM_SBPRO_4, adpcm_sbpro_4);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (ADPCM_SWF, adpcm_swf);
|
|
|
|
REGISTER_DECODER (ADPCM_THP, adpcm_thp);
|
2007-11-01 17:51:51 +02:00
|
|
|
REGISTER_DECODER (ADPCM_XA, adpcm_xa);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (ADPCM_YAMAHA, adpcm_yamaha);
|
2003-11-10 17:29:20 +02:00
|
|
|
|
2005-10-26 15:51:10 +03:00
|
|
|
/* subtitles */
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_ENCDEC (DVBSUB, dvbsub);
|
|
|
|
REGISTER_ENCDEC (DVDSUB, dvdsub);
|
2009-08-25 11:47:39 +03:00
|
|
|
REGISTER_DECODER (PGSSUB, pgssub);
|
2009-06-19 12:56:35 +03:00
|
|
|
REGISTER_ENCDEC (XSUB, xsub);
|
2005-06-03 16:59:38 +03:00
|
|
|
|
2007-11-04 03:25:21 +02:00
|
|
|
/* external libraries */
|
2008-05-03 06:47:26 +03:00
|
|
|
REGISTER_ENCDEC (LIBDIRAC, libdirac);
|
2007-11-04 03:25:21 +02:00
|
|
|
REGISTER_ENCODER (LIBFAAC, libfaac);
|
|
|
|
REGISTER_ENCDEC (LIBGSM, libgsm);
|
|
|
|
REGISTER_ENCDEC (LIBGSM_MS, libgsm_ms);
|
|
|
|
REGISTER_ENCODER (LIBMP3LAME, libmp3lame);
|
2009-06-05 15:32:40 +03:00
|
|
|
REGISTER_ENCDEC (LIBOPENCORE_AMRNB, libopencore_amrnb);
|
|
|
|
REGISTER_DECODER (LIBOPENCORE_AMRWB, libopencore_amrwb);
|
2009-02-06 13:49:31 +02:00
|
|
|
REGISTER_DECODER (LIBOPENJPEG, libopenjpeg);
|
2008-05-03 16:59:45 +03:00
|
|
|
REGISTER_ENCDEC (LIBSCHROEDINGER, libschroedinger);
|
2008-10-24 09:29:05 +03:00
|
|
|
REGISTER_DECODER (LIBSPEEX, libspeex);
|
2007-11-04 03:25:21 +02:00
|
|
|
REGISTER_ENCODER (LIBTHEORA, libtheora);
|
2007-11-04 14:55:32 +02:00
|
|
|
REGISTER_ENCODER (LIBVORBIS, libvorbis);
|
2010-06-03 23:47:59 +03:00
|
|
|
REGISTER_ENCDEC (LIBVPX, libvpx);
|
2007-11-04 03:25:21 +02:00
|
|
|
REGISTER_ENCODER (LIBX264, libx264);
|
|
|
|
REGISTER_ENCODER (LIBXVID, libxvid);
|
|
|
|
|
2005-12-17 20:14:38 +02:00
|
|
|
/* parsers */
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_PARSER (AAC, aac);
|
|
|
|
REGISTER_PARSER (AC3, ac3);
|
|
|
|
REGISTER_PARSER (CAVSVIDEO, cavsvideo);
|
|
|
|
REGISTER_PARSER (DCA, dca);
|
2008-05-03 06:33:21 +03:00
|
|
|
REGISTER_PARSER (DIRAC, dirac);
|
2008-10-24 04:38:30 +03:00
|
|
|
REGISTER_PARSER (DNXHD, dnxhd);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_PARSER (DVBSUB, dvbsub);
|
|
|
|
REGISTER_PARSER (DVDSUB, dvdsub);
|
|
|
|
REGISTER_PARSER (H261, h261);
|
|
|
|
REGISTER_PARSER (H263, h263);
|
|
|
|
REGISTER_PARSER (H264, h264);
|
|
|
|
REGISTER_PARSER (MJPEG, mjpeg);
|
2007-11-28 16:27:53 +02:00
|
|
|
REGISTER_PARSER (MLP, mlp);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_PARSER (MPEG4VIDEO, mpeg4video);
|
|
|
|
REGISTER_PARSER (MPEGAUDIO, mpegaudio);
|
|
|
|
REGISTER_PARSER (MPEGVIDEO, mpegvideo);
|
|
|
|
REGISTER_PARSER (PNM, pnm);
|
|
|
|
REGISTER_PARSER (VC1, vc1);
|
2008-06-26 14:25:42 +03:00
|
|
|
REGISTER_PARSER (VP3, vp3);
|
2010-05-27 07:39:31 +03:00
|
|
|
REGISTER_PARSER (VP8, vp8);
|
2006-07-06 18:04:46 +03:00
|
|
|
|
2007-05-13 02:33:53 +03:00
|
|
|
/* bitstream filters */
|
2009-06-03 21:50:46 +03:00
|
|
|
REGISTER_BSF (AAC_ADTSTOASC, aac_adtstoasc);
|
2010-05-19 23:18:40 +03:00
|
|
|
REGISTER_BSF (CHOMP, chomp);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_BSF (DUMP_EXTRADATA, dump_extradata);
|
2007-09-06 15:36:07 +03:00
|
|
|
REGISTER_BSF (H264_MP4TOANNEXB, h264_mp4toannexb);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_BSF (IMX_DUMP_HEADER, imx_dump_header);
|
|
|
|
REGISTER_BSF (MJPEGA_DUMP_HEADER, mjpega_dump_header);
|
|
|
|
REGISTER_BSF (MP3_HEADER_COMPRESS, mp3_header_compress);
|
|
|
|
REGISTER_BSF (MP3_HEADER_DECOMPRESS, mp3_header_decompress);
|
2008-01-28 23:24:09 +02:00
|
|
|
REGISTER_BSF (MOV2TEXTSUB, mov2textsub);
|
2007-08-31 02:16:34 +03:00
|
|
|
REGISTER_BSF (NOISE, noise);
|
|
|
|
REGISTER_BSF (REMOVE_EXTRADATA, remove_extradata);
|
2008-01-28 23:24:09 +02:00
|
|
|
REGISTER_BSF (TEXT2MOVSUB, text2movsub);
|
2002-06-11 16:41:41 +03:00
|
|
|
}
|
|
|
|
|