avfilter: Refactor unconditional filter registration
[libav.git] / libavcodec / allcodecs.c
CommitLineData
771b9a70 1/*
49bd8e4b 2 * Provide registration of all codecs, parsers and bitstream filters for libavcodec.
406792e7 3 * Copyright (c) 2002 Fabrice Bellard
771b9a70 4 *
2912e87a 5 * This file is part of Libav.
b78e7197 6 *
2912e87a 7 * Libav is free software; you can redistribute it and/or
771b9a70
FB
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
b78e7197 10 * version 2.1 of the License, or (at your option) any later version.
771b9a70 11 *
2912e87a 12 * Libav is distributed in the hope that it will be useful,
771b9a70
FB
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
2912e87a 18 * License along with Libav; if not, write to the Free Software
5509bffa 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
771b9a70 20 */
983e3246
MN
21
22/**
ba87f080 23 * @file
49bd8e4b 24 * Provide registration of all codecs, parsers and bitstream filters for libavcodec.
983e3246
MN
25 */
26
d999cff5 27#include "avcodec.h"
1d9c2dc8 28#include "config.h"
771b9a70 29
eb2c2423 30#define REGISTER_HWACCEL(X,x) { \
d36beb3f
DEP
31 extern AVHWAccel ff_##x##_hwaccel; \
32 if(CONFIG_##X##_HWACCEL) av_register_hwaccel(&ff_##x##_hwaccel); }
eb2c2423 33
d999cff5 34#define REGISTER_ENCODER(X,x) { \
d36beb3f
DEP
35 extern AVCodec ff_##x##_encoder; \
36 if(CONFIG_##X##_ENCODER) avcodec_register(&ff_##x##_encoder); }
d999cff5 37#define REGISTER_DECODER(X,x) { \
d36beb3f
DEP
38 extern AVCodec ff_##x##_decoder; \
39 if(CONFIG_##X##_DECODER) avcodec_register(&ff_##x##_decoder); }
f3902026
AJ
40#define REGISTER_ENCDEC(X,x) REGISTER_ENCODER(X,x); REGISTER_DECODER(X,x)
41
d999cff5 42#define REGISTER_PARSER(X,x) { \
d36beb3f
DEP
43 extern AVCodecParser ff_##x##_parser; \
44 if(CONFIG_##X##_PARSER) av_register_codec_parser(&ff_##x##_parser); }
d999cff5 45#define REGISTER_BSF(X,x) { \
d36beb3f
DEP
46 extern AVBitStreamFilter ff_##x##_bsf; \
47 if(CONFIG_##X##_BSF) av_register_bitstream_filter(&ff_##x##_bsf); }
f3902026 48
771b9a70
FB
49void avcodec_register_all(void)
50{
5e534865 51 static int initialized;
115329f1 52
5e534865 53 if (initialized)
bb270c08 54 return;
5e534865 55 initialized = 1;
771b9a70 56
eb2c2423 57 /* hardware accelerators */
e103e6db 58 REGISTER_HWACCEL (H263_VAAPI, h263_vaapi);
92c6a099 59 REGISTER_HWACCEL (H264_DXVA2, h264_dxva2);
07c9f6f6 60 REGISTER_HWACCEL (H264_VAAPI, h264_vaapi);
ac3dbb4d 61 REGISTER_HWACCEL (H264_VDA, h264_vda);
164aab02 62 REGISTER_HWACCEL (MPEG2_DXVA2, mpeg2_dxva2);
e103e6db
GB
63 REGISTER_HWACCEL (MPEG2_VAAPI, mpeg2_vaapi);
64 REGISTER_HWACCEL (MPEG4_VAAPI, mpeg4_vaapi);
f0f86627 65 REGISTER_HWACCEL (VC1_DXVA2, vc1_dxva2);
68367bde 66 REGISTER_HWACCEL (VC1_VAAPI, vc1_vaapi);
f0f86627 67 REGISTER_HWACCEL (WMV3_DXVA2, wmv3_dxva2);
68367bde 68 REGISTER_HWACCEL (WMV3_VAAPI, wmv3_vaapi);
eb2c2423 69
f3902026 70 /* video codecs */
b7cf4e4f
TB
71 REGISTER_ENCODER (A64MULTI, a64multi);
72 REGISTER_ENCODER (A64MULTI5, a64multi5);
a861e7e3 73 REGISTER_DECODER (AASC, aasc);
8787d837 74 REGISTER_DECODER (AMV, amv);
a1ae40fd 75 REGISTER_DECODER (ANM, anm);
beaa963c 76 REGISTER_DECODER (ANSI, ansi);
a861e7e3
DB
77 REGISTER_ENCDEC (ASV1, asv1);
78 REGISTER_ENCDEC (ASV2, asv2);
588f8cd8 79 REGISTER_DECODER (AURA, aura);
ce293510 80 REGISTER_DECODER (AURA2, aura2);
a861e7e3
DB
81 REGISTER_DECODER (AVS, avs);
82 REGISTER_DECODER (BETHSOFTVID, bethsoftvid);
2003d3da 83 REGISTER_DECODER (BFI, bfi);
342c7dfd 84 REGISTER_DECODER (BINK, bink);
a861e7e3 85 REGISTER_ENCDEC (BMP, bmp);
f545e006 86 REGISTER_DECODER (BMV_VIDEO, bmv_video);
a861e7e3
DB
87 REGISTER_DECODER (C93, c93);
88 REGISTER_DECODER (CAVS, cavs);
a3d995c1 89 REGISTER_DECODER (CDGRAPHICS, cdgraphics);
dc4e5748 90 REGISTER_DECODER (CDXL, cdxl);
a861e7e3 91 REGISTER_DECODER (CINEPAK, cinepak);
e93947b7 92 REGISTER_ENCDEC (CLJR, cljr);
45eaac02 93 REGISTER_DECODER (CLLC, cllc);
9b500b8f 94 REGISTER_ENCDEC (COMFORTNOISE, comfortnoise);
a861e7e3
DB
95 REGISTER_DECODER (CSCD, cscd);
96 REGISTER_DECODER (CYUV, cyuv);
42315dab 97 REGISTER_DECODER (DFA, dfa);
fc4cbc16 98 REGISTER_ENCDEC (DNXHD, dnxhd);
e27ce0ee 99 REGISTER_ENCDEC (DPX, dpx);
a861e7e3
DB
100 REGISTER_DECODER (DSICINVIDEO, dsicinvideo);
101 REGISTER_ENCDEC (DVVIDEO, dvvideo);
102 REGISTER_DECODER (DXA, dxa);
19341c58 103 REGISTER_DECODER (DXTORY, dxtory);
495900f7 104 REGISTER_DECODER (EACMV, eacmv);
c63ea92b 105 REGISTER_DECODER (EAMAD, eamad);
42b30357 106 REGISTER_DECODER (EATGQ, eatgq);
cfc78718 107 REGISTER_DECODER (EATGV, eatgv);
d8964f3a 108 REGISTER_DECODER (EATQI, eatqi);
a861e7e3 109 REGISTER_DECODER (EIGHTBPS, eightbps);
cb21e0a7
JM
110 REGISTER_DECODER (EIGHTSVX_EXP, eightsvx_exp);
111 REGISTER_DECODER (EIGHTSVX_FIB, eightsvx_fib);
40d26273 112 REGISTER_DECODER (ESCAPE124, escape124);
a861e7e3
DB
113 REGISTER_ENCDEC (FFV1, ffv1);
114 REGISTER_ENCDEC (FFVHUFF, ffvhuff);
115 REGISTER_ENCDEC (FLASHSV, flashsv);
c2d23309 116 REGISTER_DECODER (FLASHSV2, flashsv2);
a861e7e3
DB
117 REGISTER_DECODER (FLIC, flic);
118 REGISTER_ENCDEC (FLV, flv);
119 REGISTER_DECODER (FOURXM, fourxm);
120 REGISTER_DECODER (FRAPS, fraps);
d8b35b85 121 REGISTER_DECODER (FRWU, frwu);
a861e7e3
DB
122 REGISTER_ENCDEC (GIF, gif);
123 REGISTER_ENCDEC (H261, h261);
124 REGISTER_ENCDEC (H263, h263);
125 REGISTER_DECODER (H263I, h263i);
126 REGISTER_ENCODER (H263P, h263p);
127 REGISTER_DECODER (H264, h264);
369122dd 128 REGISTER_DECODER (H264_VDPAU, h264_vdpau);
a861e7e3
DB
129 REGISTER_ENCDEC (HUFFYUV, huffyuv);
130 REGISTER_DECODER (IDCIN, idcin);
b9e06ddd
PR
131 REGISTER_DECODER (IFF_BYTERUN1, iff_byterun1);
132 REGISTER_DECODER (IFF_ILBM, iff_ilbm);
a861e7e3
DB
133 REGISTER_DECODER (INDEO2, indeo2);
134 REGISTER_DECODER (INDEO3, indeo3);
adfe0c94 135 REGISTER_DECODER (INDEO4, indeo4);
5bebe94d 136 REGISTER_DECODER (INDEO5, indeo5);
a861e7e3
DB
137 REGISTER_DECODER (INTERPLAY_VIDEO, interplay_video);
138 REGISTER_ENCDEC (JPEGLS, jpegls);
0697440c 139 REGISTER_DECODER (JV, jv);
bf354122 140 REGISTER_DECODER (KGV1, kgv1);
a861e7e3 141 REGISTER_DECODER (KMVC, kmvc);
d267b339 142 REGISTER_DECODER (LAGARITH, lagarith);
a861e7e3
DB
143 REGISTER_ENCODER (LJPEG, ljpeg);
144 REGISTER_DECODER (LOCO, loco);
145 REGISTER_DECODER (MDEC, mdec);
a7129de5 146 REGISTER_DECODER (MIMIC, mimic);
a861e7e3
DB
147 REGISTER_ENCDEC (MJPEG, mjpeg);
148 REGISTER_DECODER (MJPEGB, mjpegb);
149 REGISTER_DECODER (MMVIDEO, mmvideo);
974e0eee 150 REGISTER_DECODER (MOTIONPIXELS, motionpixels);
a861e7e3
DB
151 REGISTER_DECODER (MPEG_XVMC, mpeg_xvmc);
152 REGISTER_ENCDEC (MPEG1VIDEO, mpeg1video);
153 REGISTER_ENCDEC (MPEG2VIDEO, mpeg2video);
154 REGISTER_ENCDEC (MPEG4, mpeg4);
70e0c871 155 REGISTER_DECODER (MPEG4_VDPAU, mpeg4_vdpau);
d37edddc 156 REGISTER_DECODER (MPEG_VDPAU, mpeg_vdpau);
2b324225 157 REGISTER_DECODER (MPEG1_VDPAU, mpeg1_vdpau);
edf35d83 158 REGISTER_DECODER (MSA1, msa1);
57aa7659 159 REGISTER_DECODER (MSMPEG4V1, msmpeg4v1);
a861e7e3
DB
160 REGISTER_ENCDEC (MSMPEG4V2, msmpeg4v2);
161 REGISTER_ENCDEC (MSMPEG4V3, msmpeg4v3);
162 REGISTER_DECODER (MSRLE, msrle);
005c80b6 163 REGISTER_DECODER (MSS1, mss1);
ee769c6a 164 REGISTER_DECODER (MSS2, mss2);
a861e7e3
DB
165 REGISTER_DECODER (MSVIDEO1, msvideo1);
166 REGISTER_DECODER (MSZH, mszh);
5b7e3a19 167 REGISTER_DECODER (MTS2, mts2);
ce02f9be 168 REGISTER_DECODER (MXPEG, mxpeg);
a861e7e3 169 REGISTER_DECODER (NUV, nuv);
fd8e28b7
DB
170 REGISTER_ENCDEC (PAM, pam);
171 REGISTER_ENCDEC (PBM, pbm);
effcedf7 172 REGISTER_ENCDEC (PCX, pcx);
fd8e28b7
DB
173 REGISTER_ENCDEC (PGM, pgm);
174 REGISTER_ENCDEC (PGMYUV, pgmyuv);
a526d619 175 REGISTER_DECODER (PICTOR, pictor);
a861e7e3 176 REGISTER_ENCDEC (PNG, png);
fd8e28b7 177 REGISTER_ENCDEC (PPM, ppm);
1a265f61 178 REGISTER_ENCDEC (PRORES, prores);
a861e7e3
DB
179 REGISTER_DECODER (PTX, ptx);
180 REGISTER_DECODER (QDRAW, qdraw);
181 REGISTER_DECODER (QPEG, qpeg);
182 REGISTER_ENCDEC (QTRLE, qtrle);
43836928 183 REGISTER_DECODER (R10K, r10k);
4aaab0a3 184 REGISTER_DECODER (R210, r210);
a861e7e3 185 REGISTER_ENCDEC (RAWVIDEO, rawvideo);
975cdc8f 186 REGISTER_DECODER (RL2, rl2);
a861e7e3
DB
187 REGISTER_ENCDEC (ROQ, roq);
188 REGISTER_DECODER (RPZA, rpza);
189 REGISTER_ENCDEC (RV10, rv10);
190 REGISTER_ENCDEC (RV20, rv20);
6beb8b26 191 REGISTER_DECODER (RV30, rv30);
11c0f9ec 192 REGISTER_DECODER (RV40, rv40);
9aa91043 193 REGISTER_DECODER (S302M, s302m);
a861e7e3
DB
194 REGISTER_ENCDEC (SGI, sgi);
195 REGISTER_DECODER (SMACKER, smacker);
196 REGISTER_DECODER (SMC, smc);
197 REGISTER_ENCDEC (SNOW, snow);
198 REGISTER_DECODER (SP5X, sp5x);
d7840529 199 REGISTER_ENCDEC (SUNRAST, sunrast);
a861e7e3
DB
200 REGISTER_ENCDEC (SVQ1, svq1);
201 REGISTER_DECODER (SVQ3, svq3);
202 REGISTER_ENCDEC (TARGA, targa);
203 REGISTER_DECODER (THEORA, theora);
204 REGISTER_DECODER (THP, thp);
205 REGISTER_DECODER (TIERTEXSEQVIDEO, tiertexseqvideo);
206 REGISTER_ENCDEC (TIFF, tiff);
a1fd2bc3 207 REGISTER_DECODER (TMV, tmv);
a861e7e3
DB
208 REGISTER_DECODER (TRUEMOTION1, truemotion1);
209 REGISTER_DECODER (TRUEMOTION2, truemotion2);
210 REGISTER_DECODER (TSCC, tscc);
781888da 211 REGISTER_DECODER (TSCC2, tscc2);
a861e7e3
DB
212 REGISTER_DECODER (TXD, txd);
213 REGISTER_DECODER (ULTI, ulti);
1ab5a780 214 REGISTER_ENCDEC (UTVIDEO, utvideo);
ca0bb1c4 215 REGISTER_ENCDEC (V210, v210);
97f92143 216 REGISTER_DECODER (V210X, v210x);
80f6c0bb 217 REGISTER_ENCDEC (V410, v410);
66f7679c 218 REGISTER_DECODER (VB, vb);
c433a3f9 219 REGISTER_DECODER (VBLE, vble);
a861e7e3 220 REGISTER_DECODER (VC1, vc1);
c5b42f4a 221 REGISTER_DECODER (VC1_VDPAU, vc1_vdpau);
45ecda85 222 REGISTER_DECODER (VC1IMAGE, vc1image);
a861e7e3
DB
223 REGISTER_DECODER (VCR1, vcr1);
224 REGISTER_DECODER (VMDVIDEO, vmdvideo);
225 REGISTER_DECODER (VMNC, vmnc);
226 REGISTER_DECODER (VP3, vp3);
227 REGISTER_DECODER (VP5, vp5);
228 REGISTER_DECODER (VP6, vp6);
91fc2cf1 229 REGISTER_DECODER (VP6A, vp6a);
a861e7e3 230 REGISTER_DECODER (VP6F, vp6f);
3b636f21 231 REGISTER_DECODER (VP8, vp8);
a861e7e3
DB
232 REGISTER_DECODER (VQA, vqa);
233 REGISTER_ENCDEC (WMV1, wmv1);
234 REGISTER_ENCDEC (WMV2, wmv2);
235 REGISTER_DECODER (WMV3, wmv3);
c5b42f4a 236 REGISTER_DECODER (WMV3_VDPAU, wmv3_vdpau);
45ecda85 237 REGISTER_DECODER (WMV3IMAGE, wmv3image);
a861e7e3
DB
238 REGISTER_DECODER (WNV1, wnv1);
239 REGISTER_DECODER (XAN_WC3, xan_wc3);
44ddfd47 240 REGISTER_DECODER (XAN_WC4, xan_wc4);
0afd8f12 241 REGISTER_ENCODER (XBM, xbm);
a861e7e3 242 REGISTER_DECODER (XL, xl);
27ed027b 243 REGISTER_ENCDEC (XWD, xwd);
148bcae9 244 REGISTER_DECODER (YOP, yop);
0e714f88 245 REGISTER_DECODER (ZEROCODEC, zerocodec);
a861e7e3
DB
246 REGISTER_ENCDEC (ZLIB, zlib);
247 REGISTER_ENCDEC (ZMBV, zmbv);
771b9a70 248
f3902026 249 /* audio codecs */
78e65cd7 250 REGISTER_ENCDEC (AAC, aac);
136e19e1 251 REGISTER_DECODER (AAC_LATM, aac_latm);
a861e7e3 252 REGISTER_ENCDEC (AC3, ac3);
6fd96d1a 253 REGISTER_ENCODER (AC3_FIXED, ac3_fixed);
e13894e8 254 REGISTER_ENCDEC (ALAC, alac);
99971952 255 REGISTER_DECODER (ALS, als);
4fe3edaa 256 REGISTER_DECODER (AMRNB, amrnb);
2b2a597e 257 REGISTER_DECODER (AMRWB, amrwb);
bf4a1f17 258 REGISTER_DECODER (APE, ape);
61dc238b 259 REGISTER_DECODER (ATRAC1, atrac1);
a861e7e3 260 REGISTER_DECODER (ATRAC3, atrac3);
c0d3f516
PR
261 REGISTER_DECODER (BINKAUDIO_DCT, binkaudio_dct);
262 REGISTER_DECODER (BINKAUDIO_RDFT, binkaudio_rdft);
f545e006 263 REGISTER_DECODER (BMV_AUDIO, bmv_audio);
a861e7e3
DB
264 REGISTER_DECODER (COOK, cook);
265 REGISTER_DECODER (DCA, dca);
266 REGISTER_DECODER (DSICINAUDIO, dsicinaudio);
aa47c35d 267 REGISTER_ENCDEC (EAC3, eac3);
a861e7e3 268 REGISTER_ENCDEC (FLAC, flac);
55c3a4f6 269 REGISTER_DECODER (G723_1, g723_1);
b576934d
RD
270 REGISTER_DECODER (GSM, gsm);
271 REGISTER_DECODER (GSM_MS, gsm_ms);
c6061443 272 REGISTER_DECODER (IAC, iac);
a861e7e3 273 REGISTER_DECODER (IMC, imc);
a861e7e3
DB
274 REGISTER_DECODER (MACE3, mace3);
275 REGISTER_DECODER (MACE6, mace6);
b517af05 276 REGISTER_DECODER (MLP, mlp);
cb595b7f 277 REGISTER_DECODER (MP1, mp1);
b91d4661 278 REGISTER_DECODER (MP1FLOAT, mp1float);
a861e7e3 279 REGISTER_ENCDEC (MP2, mp2);
b91d4661 280 REGISTER_DECODER (MP2FLOAT, mp2float);
a861e7e3 281 REGISTER_DECODER (MP3, mp3);
b91d4661 282 REGISTER_DECODER (MP3FLOAT, mp3float);
a861e7e3 283 REGISTER_DECODER (MP3ADU, mp3adu);
b91d4661 284 REGISTER_DECODER (MP3ADUFLOAT, mp3adufloat);
a861e7e3 285 REGISTER_DECODER (MP3ON4, mp3on4);
b91d4661 286 REGISTER_DECODER (MP3ON4FLOAT, mp3on4float);
a861e7e3 287 REGISTER_DECODER (MPC7, mpc7);
12877faf 288 REGISTER_DECODER (MPC8, mpc8);
755ba886 289 REGISTER_ENCDEC (NELLYMOSER, nellymoser);
73b458e3 290 REGISTER_DECODER (QCELP, qcelp);
a861e7e3 291 REGISTER_DECODER (QDM2, qdm2);
d31ba231 292 REGISTER_ENCDEC (RA_144, ra_144);
a861e7e3 293 REGISTER_DECODER (RA_288, ra_288);
b8560637 294 REGISTER_DECODER (RALF, ralf);
a861e7e3 295 REGISTER_DECODER (SHORTEN, shorten);
7bd3096f 296 REGISTER_DECODER (SIPR, sipr);
a861e7e3 297 REGISTER_DECODER (SMACKAUD, smackaud);
57231e4d 298 REGISTER_DECODER (TAK, tak);
9ba4821d 299 REGISTER_DECODER (TRUEHD, truehd);
a861e7e3
DB
300 REGISTER_DECODER (TRUESPEECH, truespeech);
301 REGISTER_DECODER (TTA, tta);
7bd47335 302 REGISTER_DECODER (TWINVQ, twinvq);
a861e7e3 303 REGISTER_DECODER (VMDAUDIO, vmdaudio);
29024501 304 REGISTER_ENCDEC (VORBIS, vorbis);
a861e7e3 305 REGISTER_DECODER (WAVPACK, wavpack);
9d25f1f6 306 REGISTER_DECODER (WMALOSSLESS, wmalossless);
c1061cc7 307 REGISTER_DECODER (WMAPRO, wmapro);
a861e7e3
DB
308 REGISTER_ENCDEC (WMAV1, wmav1);
309 REGISTER_ENCDEC (WMAV2, wmav2);
fa65584f 310 REGISTER_DECODER (WMAVOICE, wmavoice);
a861e7e3 311 REGISTER_DECODER (WS_SND1, ws_snd1);
4e114829 312
37ff38c6 313 /* PCM codecs */
a861e7e3 314 REGISTER_ENCDEC (PCM_ALAW, pcm_alaw);
5dd3707b 315 REGISTER_DECODER (PCM_BLURAY, pcm_bluray);
1472b7dd 316 REGISTER_DECODER (PCM_DVD, pcm_dvd);
aa29709e 317 REGISTER_ENCDEC (PCM_F32BE, pcm_f32be);
143a5d6f
PR
318 REGISTER_ENCDEC (PCM_F32LE, pcm_f32le);
319 REGISTER_ENCDEC (PCM_F64BE, pcm_f64be);
320 REGISTER_ENCDEC (PCM_F64LE, pcm_f64le);
fbeabfca 321 REGISTER_DECODER (PCM_LXF, pcm_lxf);
a861e7e3
DB
322 REGISTER_ENCDEC (PCM_MULAW, pcm_mulaw);
323 REGISTER_ENCDEC (PCM_S8, pcm_s8);
f1f6d361 324 REGISTER_DECODER (PCM_S8_PLANAR, pcm_s8_planar);
a861e7e3
DB
325 REGISTER_ENCDEC (PCM_S16BE, pcm_s16be);
326 REGISTER_ENCDEC (PCM_S16LE, pcm_s16le);
725d86bf 327 REGISTER_DECODER (PCM_S16LE_PLANAR, pcm_s16le_planar);
a861e7e3
DB
328 REGISTER_ENCDEC (PCM_S24BE, pcm_s24be);
329 REGISTER_ENCDEC (PCM_S24DAUD, pcm_s24daud);
330 REGISTER_ENCDEC (PCM_S24LE, pcm_s24le);
331 REGISTER_ENCDEC (PCM_S32BE, pcm_s32be);
332 REGISTER_ENCDEC (PCM_S32LE, pcm_s32le);
333 REGISTER_ENCDEC (PCM_U8, pcm_u8);
334 REGISTER_ENCDEC (PCM_U16BE, pcm_u16be);
335 REGISTER_ENCDEC (PCM_U16LE, pcm_u16le);
336 REGISTER_ENCDEC (PCM_U24BE, pcm_u24be);
337 REGISTER_ENCDEC (PCM_U24LE, pcm_u24le);
338 REGISTER_ENCDEC (PCM_U32BE, pcm_u32be);
339 REGISTER_ENCDEC (PCM_U32LE, pcm_u32le);
85579b63 340 REGISTER_DECODER (PCM_ZORK , pcm_zork);
fc384777 341
37ff38c6 342 /* DPCM codecs */
a861e7e3
DB
343 REGISTER_DECODER (INTERPLAY_DPCM, interplay_dpcm);
344 REGISTER_ENCDEC (ROQ_DPCM, roq_dpcm);
345 REGISTER_DECODER (SOL_DPCM, sol_dpcm);
346 REGISTER_DECODER (XAN_DPCM, xan_dpcm);
f3902026 347
37ff38c6 348 /* ADPCM codecs */
f6e2300f 349 REGISTER_DECODER (ADPCM_4XM, adpcm_4xm);
a861e7e3 350 REGISTER_ENCDEC (ADPCM_ADX, adpcm_adx);
f6e2300f
AJ
351 REGISTER_DECODER (ADPCM_CT, adpcm_ct);
352 REGISTER_DECODER (ADPCM_EA, adpcm_ea);
861c63a2 353 REGISTER_DECODER (ADPCM_EA_MAXIS_XA, adpcm_ea_maxis_xa);
e7583962
PR
354 REGISTER_DECODER (ADPCM_EA_R1, adpcm_ea_r1);
355 REGISTER_DECODER (ADPCM_EA_R2, adpcm_ea_r2);
356 REGISTER_DECODER (ADPCM_EA_R3, adpcm_ea_r3);
271b4095 357 REGISTER_DECODER (ADPCM_EA_XAS, adpcm_ea_xas);
21e681ba 358 REGISTER_ENCDEC (ADPCM_G722, adpcm_g722);
a861e7e3 359 REGISTER_ENCDEC (ADPCM_G726, adpcm_g726);
3a7f5d07 360 REGISTER_DECODER (ADPCM_IMA_AMV, adpcm_ima_amv);
220506d2 361 REGISTER_DECODER (ADPCM_IMA_APC, adpcm_ima_apc);
f6e2300f
AJ
362 REGISTER_DECODER (ADPCM_IMA_DK3, adpcm_ima_dk3);
363 REGISTER_DECODER (ADPCM_IMA_DK4, adpcm_ima_dk4);
fac84d3c 364 REGISTER_DECODER (ADPCM_IMA_EA_EACS, adpcm_ima_ea_eacs);
7bb65d89 365 REGISTER_DECODER (ADPCM_IMA_EA_SEAD, adpcm_ima_ea_sead);
055dc116 366 REGISTER_DECODER (ADPCM_IMA_ISS, adpcm_ima_iss);
9dc92a38 367 REGISTER_ENCDEC (ADPCM_IMA_QT, adpcm_ima_qt);
f6e2300f 368 REGISTER_DECODER (ADPCM_IMA_SMJPEG, adpcm_ima_smjpeg);
a861e7e3 369 REGISTER_ENCDEC (ADPCM_IMA_WAV, adpcm_ima_wav);
f6e2300f 370 REGISTER_DECODER (ADPCM_IMA_WS, adpcm_ima_ws);
a861e7e3 371 REGISTER_ENCDEC (ADPCM_MS, adpcm_ms);
f6e2300f
AJ
372 REGISTER_DECODER (ADPCM_SBPRO_2, adpcm_sbpro_2);
373 REGISTER_DECODER (ADPCM_SBPRO_3, adpcm_sbpro_3);
374 REGISTER_DECODER (ADPCM_SBPRO_4, adpcm_sbpro_4);
a861e7e3
DB
375 REGISTER_ENCDEC (ADPCM_SWF, adpcm_swf);
376 REGISTER_DECODER (ADPCM_THP, adpcm_thp);
f6e2300f 377 REGISTER_DECODER (ADPCM_XA, adpcm_xa);
a861e7e3 378 REGISTER_ENCDEC (ADPCM_YAMAHA, adpcm_yamaha);
8424cf50 379
2c5ee47d 380 /* subtitles */
e9c098db 381 REGISTER_ENCDEC (ASS, ass);
a861e7e3
DB
382 REGISTER_ENCDEC (DVBSUB, dvbsub);
383 REGISTER_ENCDEC (DVDSUB, dvdsub);
c58b82a2 384 REGISTER_DECODER (PGSSUB, pgssub);
2c77c906 385 REGISTER_DECODER (SRT, srt);
a4276ba2 386 REGISTER_ENCDEC (XSUB, xsub);
240c1657 387
a045e515 388 /* external libraries */
a045e515 389 REGISTER_ENCODER (LIBFAAC, libfaac);
37eeb5e2 390 REGISTER_ENCODER (LIBFDK_AAC, libfdk_aac);
a045e515
DB
391 REGISTER_ENCDEC (LIBGSM, libgsm);
392 REGISTER_ENCDEC (LIBGSM_MS, libgsm_ms);
3641b048 393 REGISTER_ENCDEC (LIBILBC, libilbc);
a045e515 394 REGISTER_ENCODER (LIBMP3LAME, libmp3lame);
0b175caa
DB
395 REGISTER_ENCDEC (LIBOPENCORE_AMRNB, libopencore_amrnb);
396 REGISTER_DECODER (LIBOPENCORE_AMRWB, libopencore_amrwb);
453c02f9 397 REGISTER_ENCDEC (LIBOPENJPEG, libopenjpeg);
6cb8c854 398 REGISTER_ENCDEC (LIBOPUS, libopus);
f7cd9eed 399 REGISTER_ENCDEC (LIBSCHROEDINGER, libschroedinger);
b606a017 400 REGISTER_ENCDEC (LIBSPEEX, libspeex);
a045e515 401 REGISTER_ENCODER (LIBTHEORA, libtheora);
d89e738a 402 REGISTER_ENCODER (LIBVO_AACENC, libvo_aacenc);
f502ff3f 403 REGISTER_ENCODER (LIBVO_AMRWBENC, libvo_amrwbenc);
f9def9cc 404 REGISTER_ENCODER (LIBVORBIS, libvorbis);
ee0e9146 405 REGISTER_ENCDEC (LIBVPX, libvpx);
a045e515 406 REGISTER_ENCODER (LIBX264, libx264);
de295976 407 REGISTER_ENCODER (LIBXAVS, libxavs);
a045e515
DB
408 REGISTER_ENCODER (LIBXVID, libxvid);
409
115329f1 410 /* parsers */
a861e7e3 411 REGISTER_PARSER (AAC, aac);
136e19e1 412 REGISTER_PARSER (AAC_LATM, aac_latm);
a861e7e3 413 REGISTER_PARSER (AC3, ac3);
27360ccc 414 REGISTER_PARSER (ADX, adx);
a861e7e3 415 REGISTER_PARSER (CAVSVIDEO, cavsvideo);
b0e9edc4 416 REGISTER_PARSER (COOK, cook);
a861e7e3 417 REGISTER_PARSER (DCA, dca);
575e696c 418 REGISTER_PARSER (DIRAC, dirac);
da396bf8 419 REGISTER_PARSER (DNXHD, dnxhd);
a861e7e3
DB
420 REGISTER_PARSER (DVBSUB, dvbsub);
421 REGISTER_PARSER (DVDSUB, dvdsub);
475ae04a 422 REGISTER_PARSER (FLAC, flac);
82390f57 423 REGISTER_PARSER (GSM, gsm);
a861e7e3
DB
424 REGISTER_PARSER (H261, h261);
425 REGISTER_PARSER (H263, h263);
426 REGISTER_PARSER (H264, h264);
427 REGISTER_PARSER (MJPEG, mjpeg);
6b493b2f 428 REGISTER_PARSER (MLP, mlp);
a861e7e3
DB
429 REGISTER_PARSER (MPEG4VIDEO, mpeg4video);
430 REGISTER_PARSER (MPEGAUDIO, mpegaudio);
431 REGISTER_PARSER (MPEGVIDEO, mpegvideo);
432 REGISTER_PARSER (PNM, pnm);
48ce8b8d
KS
433 REGISTER_PARSER (RV30, rv30);
434 REGISTER_PARSER (RV40, rv40);
57231e4d 435 REGISTER_PARSER (TAK, tak);
a861e7e3 436 REGISTER_PARSER (VC1, vc1);
5602a464 437 REGISTER_PARSER (VORBIS, vorbis);
0c587a4e 438 REGISTER_PARSER (VP3, vp3);
4717f872 439 REGISTER_PARSER (VP8, vp8);
748c2fca 440
cd61e407 441 /* bitstream filters */
ad5caf3a 442 REGISTER_BSF (AAC_ADTSTOASC, aac_adtstoasc);
c2341b85 443 REGISTER_BSF (CHOMP, chomp);
a861e7e3 444 REGISTER_BSF (DUMP_EXTRADATA, dump_extradata);
bdfae2a5 445 REGISTER_BSF (H264_MP4TOANNEXB, h264_mp4toannexb);
a861e7e3 446 REGISTER_BSF (IMX_DUMP_HEADER, imx_dump_header);
ba83c4bf 447 REGISTER_BSF (MJPEG2JPEG, mjpeg2jpeg);
a861e7e3
DB
448 REGISTER_BSF (MJPEGA_DUMP_HEADER, mjpega_dump_header);
449 REGISTER_BSF (MP3_HEADER_COMPRESS, mp3_header_compress);
450 REGISTER_BSF (MP3_HEADER_DECOMPRESS, mp3_header_decompress);
234c6ed7 451 REGISTER_BSF (MOV2TEXTSUB, mov2textsub);
a861e7e3
DB
452 REGISTER_BSF (NOISE, noise);
453 REGISTER_BSF (REMOVE_EXTRADATA, remove_extradata);
234c6ed7 454 REGISTER_BSF (TEXT2MOVSUB, text2movsub);
771b9a70 455}