vp9: add superframe merging bitstream filter.
[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 *
b78e7197
DB
5 * This file is part of FFmpeg.
6 *
7 * FFmpeg 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 *
b78e7197 12 * FFmpeg 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
b78e7197 18 * License along with FFmpeg; 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
1d9c2dc8 27#include "config.h"
19e30a58
DB
28#include "avcodec.h"
29#include "version.h"
771b9a70 30
c73c87b4
DB
31#define REGISTER_HWACCEL(X, x) \
32 { \
33 extern AVHWAccel ff_##x##_hwaccel; \
34 if (CONFIG_##X##_HWACCEL) \
35 av_register_hwaccel(&ff_##x##_hwaccel); \
36 }
eb2c2423 37
c73c87b4
DB
38#define REGISTER_ENCODER(X, x) \
39 { \
40 extern AVCodec ff_##x##_encoder; \
41 if (CONFIG_##X##_ENCODER) \
42 avcodec_register(&ff_##x##_encoder); \
43 }
f3902026 44
c73c87b4
DB
45#define REGISTER_DECODER(X, x) \
46 { \
47 extern AVCodec ff_##x##_decoder; \
48 if (CONFIG_##X##_DECODER) \
49 avcodec_register(&ff_##x##_decoder); \
50 }
51
3048fae6 52#define REGISTER_ENCDEC(X, x) REGISTER_ENCODER(X, x); REGISTER_DECODER(X, x)
c73c87b4
DB
53
54#define REGISTER_PARSER(X, x) \
55 { \
56 extern AVCodecParser ff_##x##_parser; \
57 if (CONFIG_##X##_PARSER) \
58 av_register_codec_parser(&ff_##x##_parser); \
59 }
60
61#define REGISTER_BSF(X, x) \
62 { \
63 extern AVBitStreamFilter ff_##x##_bsf; \
64 if (CONFIG_##X##_BSF) \
65 av_register_bitstream_filter(&ff_##x##_bsf); \
66 }
f3902026 67
771b9a70
FB
68void avcodec_register_all(void)
69{
5e534865 70 static int initialized;
115329f1 71
5e534865 72 if (initialized)
bb270c08 73 return;
5e534865 74 initialized = 1;
771b9a70 75
eb2c2423 76 /* hardware accelerators */
c73c87b4 77 REGISTER_HWACCEL(H263_VAAPI, h263_vaapi);
11d923d4 78 REGISTER_HWACCEL(H263_VIDEOTOOLBOX, h263_videotoolbox);
d8039ef8 79 REGISTER_HWACCEL(H264_D3D11VA, h264_d3d11va);
c73c87b4 80 REGISTER_HWACCEL(H264_DXVA2, h264_dxva2);
c4845616 81 REGISTER_HWACCEL(H264_MMAL, h264_mmal);
4e08c821 82 REGISTER_HWACCEL(H264_QSV, h264_qsv);
c73c87b4
DB
83 REGISTER_HWACCEL(H264_VAAPI, h264_vaapi);
84 REGISTER_HWACCEL(H264_VDA, h264_vda);
67afcefb 85 REGISTER_HWACCEL(H264_VDA_OLD, h264_vda_old);
51b56a07 86 REGISTER_HWACCEL(H264_VDPAU, h264_vdpau);
11d923d4 87 REGISTER_HWACCEL(H264_VIDEOTOOLBOX, h264_videotoolbox);
d8039ef8 88 REGISTER_HWACCEL(HEVC_D3D11VA, hevc_d3d11va);
36962ad2 89 REGISTER_HWACCEL(HEVC_DXVA2, hevc_dxva2);
41d47ea8 90 REGISTER_HWACCEL(HEVC_QSV, hevc_qsv);
1dd854e1 91 REGISTER_HWACCEL(HEVC_VAAPI, hevc_vaapi);
6e5e139f 92 REGISTER_HWACCEL(HEVC_VDPAU, hevc_vdpau);
1c63aed2 93 REGISTER_HWACCEL(MPEG1_XVMC, mpeg1_xvmc);
83d4a844 94 REGISTER_HWACCEL(MPEG1_VDPAU, mpeg1_vdpau);
11d923d4 95 REGISTER_HWACCEL(MPEG1_VIDEOTOOLBOX, mpeg1_videotoolbox);
1c63aed2 96 REGISTER_HWACCEL(MPEG2_XVMC, mpeg2_xvmc);
d8039ef8 97 REGISTER_HWACCEL(MPEG2_D3D11VA, mpeg2_d3d11va);
c73c87b4 98 REGISTER_HWACCEL(MPEG2_DXVA2, mpeg2_dxva2);
7ebe12fc 99 REGISTER_HWACCEL(MPEG2_MMAL, mpeg2_mmal);
bf52f773 100 REGISTER_HWACCEL(MPEG2_QSV, mpeg2_qsv);
c73c87b4 101 REGISTER_HWACCEL(MPEG2_VAAPI, mpeg2_vaapi);
83d4a844 102 REGISTER_HWACCEL(MPEG2_VDPAU, mpeg2_vdpau);
11d923d4 103 REGISTER_HWACCEL(MPEG2_VIDEOTOOLBOX, mpeg2_videotoolbox);
7b1b53f3 104 REGISTER_HWACCEL(MPEG4_MMAL, mpeg4_mmal);
c73c87b4 105 REGISTER_HWACCEL(MPEG4_VAAPI, mpeg4_vaapi);
200e8ac9 106 REGISTER_HWACCEL(MPEG4_VDPAU, mpeg4_vdpau);
11d923d4 107 REGISTER_HWACCEL(MPEG4_VIDEOTOOLBOX, mpeg4_videotoolbox);
d8039ef8 108 REGISTER_HWACCEL(VC1_D3D11VA, vc1_d3d11va);
c73c87b4
DB
109 REGISTER_HWACCEL(VC1_DXVA2, vc1_dxva2);
110 REGISTER_HWACCEL(VC1_VAAPI, vc1_vaapi);
77525327 111 REGISTER_HWACCEL(VC1_VDPAU, vc1_vdpau);
b07cbf67 112 REGISTER_HWACCEL(VC1_MMAL, vc1_mmal);
fb57bc6c 113 REGISTER_HWACCEL(VC1_QSV, vc1_qsv);
1e6cf727
HL
114 REGISTER_HWACCEL(VP9_D3D11VA, vp9_d3d11va);
115 REGISTER_HWACCEL(VP9_DXVA2, vp9_dxva2);
d7c2b756 116 REGISTER_HWACCEL(VP9_VAAPI, vp9_vaapi);
d8039ef8 117 REGISTER_HWACCEL(WMV3_D3D11VA, wmv3_d3d11va);
c73c87b4
DB
118 REGISTER_HWACCEL(WMV3_DXVA2, wmv3_dxva2);
119 REGISTER_HWACCEL(WMV3_VAAPI, wmv3_vaapi);
77525327 120 REGISTER_HWACCEL(WMV3_VDPAU, wmv3_vdpau);
eb2c2423 121
f3902026 122 /* video codecs */
c73c87b4
DB
123 REGISTER_ENCODER(A64MULTI, a64multi);
124 REGISTER_ENCODER(A64MULTI5, a64multi5);
125 REGISTER_DECODER(AASC, aasc);
1232a164 126 REGISTER_DECODER(AIC, aic);
e50f5d3c 127 REGISTER_ENCDEC (ALIAS_PIX, alias_pix);
83d4a844 128 REGISTER_ENCDEC (AMV, amv);
c73c87b4
DB
129 REGISTER_DECODER(ANM, anm);
130 REGISTER_DECODER(ANSI, ansi);
d7598448 131 REGISTER_ENCDEC (APNG, apng);
c73c87b4
DB
132 REGISTER_ENCDEC (ASV1, asv1);
133 REGISTER_ENCDEC (ASV2, asv2);
134 REGISTER_DECODER(AURA, aura);
135 REGISTER_DECODER(AURA2, aura2);
83d4a844
MN
136 REGISTER_ENCDEC (AVRP, avrp);
137 REGISTER_DECODER(AVRN, avrn);
c73c87b4 138 REGISTER_DECODER(AVS, avs);
83d4a844
MN
139 REGISTER_ENCDEC (AVUI, avui);
140 REGISTER_ENCDEC (AYUV, ayuv);
c73c87b4
DB
141 REGISTER_DECODER(BETHSOFTVID, bethsoftvid);
142 REGISTER_DECODER(BFI, bfi);
143 REGISTER_DECODER(BINK, bink);
144 REGISTER_ENCDEC (BMP, bmp);
145 REGISTER_DECODER(BMV_VIDEO, bmv_video);
83d4a844 146 REGISTER_DECODER(BRENDER_PIX, brender_pix);
c73c87b4
DB
147 REGISTER_DECODER(C93, c93);
148 REGISTER_DECODER(CAVS, cavs);
149 REGISTER_DECODER(CDGRAPHICS, cdgraphics);
150 REGISTER_DECODER(CDXL, cdxl);
3485332b 151 REGISTER_DECODER(CFHD, cfhd);
59dbc36f 152 REGISTER_ENCDEC (CINEPAK, cinepak);
c73c87b4
DB
153 REGISTER_ENCDEC (CLJR, cljr);
154 REGISTER_DECODER(CLLC, cllc);
155 REGISTER_ENCDEC (COMFORTNOISE, comfortnoise);
83d4a844 156 REGISTER_DECODER(CPIA, cpia);
c73c87b4
DB
157 REGISTER_DECODER(CSCD, cscd);
158 REGISTER_DECODER(CYUV, cyuv);
5c018ee1 159 REGISTER_DECODER(DDS, dds);
c73c87b4 160 REGISTER_DECODER(DFA, dfa);
83d4a844 161 REGISTER_DECODER(DIRAC, dirac);
c73c87b4
DB
162 REGISTER_ENCDEC (DNXHD, dnxhd);
163 REGISTER_ENCDEC (DPX, dpx);
164 REGISTER_DECODER(DSICINVIDEO, dsicinvideo);
e9e62336 165 REGISTER_DECODER(DVAUDIO, dvaudio);
c73c87b4
DB
166 REGISTER_ENCDEC (DVVIDEO, dvvideo);
167 REGISTER_DECODER(DXA, dxa);
168 REGISTER_DECODER(DXTORY, dxtory);
c45fcf30 169 REGISTER_DECODER(DXV, dxv);
c73c87b4
DB
170 REGISTER_DECODER(EACMV, eacmv);
171 REGISTER_DECODER(EAMAD, eamad);
172 REGISTER_DECODER(EATGQ, eatgq);
173 REGISTER_DECODER(EATGV, eatgv);
174 REGISTER_DECODER(EATQI, eatqi);
175 REGISTER_DECODER(EIGHTBPS, eightbps);
176 REGISTER_DECODER(EIGHTSVX_EXP, eightsvx_exp);
177 REGISTER_DECODER(EIGHTSVX_FIB, eightsvx_fib);
178 REGISTER_DECODER(ESCAPE124, escape124);
83d4a844
MN
179 REGISTER_DECODER(ESCAPE130, escape130);
180 REGISTER_DECODER(EXR, exr);
c73c87b4
DB
181 REGISTER_ENCDEC (FFV1, ffv1);
182 REGISTER_ENCDEC (FFVHUFF, ffvhuff);
cde7df25 183 REGISTER_DECODER(FIC, fic);
c73c87b4 184 REGISTER_ENCDEC (FLASHSV, flashsv);
83d4a844 185 REGISTER_ENCDEC (FLASHSV2, flashsv2);
c73c87b4
DB
186 REGISTER_DECODER(FLIC, flic);
187 REGISTER_ENCDEC (FLV, flv);
188 REGISTER_DECODER(FOURXM, fourxm);
189 REGISTER_DECODER(FRAPS, fraps);
190 REGISTER_DECODER(FRWU, frwu);
2d66a58c 191 REGISTER_DECODER(G2M, g2m);
c73c87b4
DB
192 REGISTER_ENCDEC (GIF, gif);
193 REGISTER_ENCDEC (H261, h261);
194 REGISTER_ENCDEC (H263, h263);
195 REGISTER_DECODER(H263I, h263i);
83d4a844 196 REGISTER_ENCDEC (H263P, h263p);
c73c87b4 197 REGISTER_DECODER(H264, h264);
83d4a844 198 REGISTER_DECODER(H264_CRYSTALHD, h264_crystalhd);
4737fe69 199 REGISTER_DECODER(H264_MEDIACODEC, h264_mediacodec);
c4845616 200 REGISTER_DECODER(H264_MMAL, h264_mmal);
4e08c821 201 REGISTER_DECODER(H264_QSV, h264_qsv);
83d4a844 202 REGISTER_DECODER(H264_VDA, h264_vda);
a383f226 203#if FF_API_VDPAU
a0c6c8e5 204 REGISTER_DECODER(H264_VDPAU, h264_vdpau);
a383f226 205#endif
7ca3e520 206 REGISTER_ENCDEC (HAP, hap);
c8dd048a 207 REGISTER_DECODER(HEVC, hevc);
41d47ea8 208 REGISTER_DECODER(HEVC_QSV, hevc_qsv);
9af7a852 209 REGISTER_DECODER(HNM4_VIDEO, hnm4_video);
22526c1f 210 REGISTER_DECODER(HQ_HQA, hq_hqa);
35c6ce76 211 REGISTER_DECODER(HQX, hqx);
c73c87b4
DB
212 REGISTER_ENCDEC (HUFFYUV, huffyuv);
213 REGISTER_DECODER(IDCIN, idcin);
c73c87b4
DB
214 REGISTER_DECODER(IFF_ILBM, iff_ilbm);
215 REGISTER_DECODER(INDEO2, indeo2);
216 REGISTER_DECODER(INDEO3, indeo3);
217 REGISTER_DECODER(INDEO4, indeo4);
218 REGISTER_DECODER(INDEO5, indeo5);
219 REGISTER_DECODER(INTERPLAY_VIDEO, interplay_video);
9d56ccf5 220 REGISTER_ENCDEC (JPEG2000, jpeg2000);
c73c87b4
DB
221 REGISTER_ENCDEC (JPEGLS, jpegls);
222 REGISTER_DECODER(JV, jv);
223 REGISTER_DECODER(KGV1, kgv1);
224 REGISTER_DECODER(KMVC, kmvc);
225 REGISTER_DECODER(LAGARITH, lagarith);
226 REGISTER_ENCODER(LJPEG, ljpeg);
227 REGISTER_DECODER(LOCO, loco);
228 REGISTER_DECODER(MDEC, mdec);
229 REGISTER_DECODER(MIMIC, mimic);
230 REGISTER_ENCDEC (MJPEG, mjpeg);
231 REGISTER_DECODER(MJPEGB, mjpegb);
232 REGISTER_DECODER(MMVIDEO, mmvideo);
233 REGISTER_DECODER(MOTIONPIXELS, motionpixels);
19e30a58 234#if FF_API_XVMC
c73c87b4 235 REGISTER_DECODER(MPEG_XVMC, mpeg_xvmc);
19e30a58 236#endif /* FF_API_XVMC */
c73c87b4
DB
237 REGISTER_ENCDEC (MPEG1VIDEO, mpeg1video);
238 REGISTER_ENCDEC (MPEG2VIDEO, mpeg2video);
239 REGISTER_ENCDEC (MPEG4, mpeg4);
83d4a844 240 REGISTER_DECODER(MPEG4_CRYSTALHD, mpeg4_crystalhd);
7b1b53f3 241 REGISTER_DECODER(MPEG4_MMAL, mpeg4_mmal);
a383f226 242#if FF_API_VDPAU
a0c6c8e5 243 REGISTER_DECODER(MPEG4_VDPAU, mpeg4_vdpau);
a383f226 244#endif
83d4a844 245 REGISTER_DECODER(MPEGVIDEO, mpegvideo);
a383f226 246#if FF_API_VDPAU
a0c6c8e5
MN
247 REGISTER_DECODER(MPEG_VDPAU, mpeg_vdpau);
248 REGISTER_DECODER(MPEG1_VDPAU, mpeg1_vdpau);
a383f226 249#endif
7ebe12fc 250 REGISTER_DECODER(MPEG2_MMAL, mpeg2_mmal);
83d4a844 251 REGISTER_DECODER(MPEG2_CRYSTALHD, mpeg2_crystalhd);
6d0123f4 252 REGISTER_DECODER(MPEG2_QSV, mpeg2_qsv);
c73c87b4 253 REGISTER_DECODER(MSA1, msa1);
83d4a844 254 REGISTER_DECODER(MSMPEG4_CRYSTALHD, msmpeg4_crystalhd);
c73c87b4
DB
255 REGISTER_DECODER(MSMPEG4V1, msmpeg4v1);
256 REGISTER_ENCDEC (MSMPEG4V2, msmpeg4v2);
257 REGISTER_ENCDEC (MSMPEG4V3, msmpeg4v3);
258 REGISTER_DECODER(MSRLE, msrle);
259 REGISTER_DECODER(MSS1, mss1);
260 REGISTER_DECODER(MSS2, mss2);
83d4a844 261 REGISTER_ENCDEC (MSVIDEO1, msvideo1);
c73c87b4
DB
262 REGISTER_DECODER(MSZH, mszh);
263 REGISTER_DECODER(MTS2, mts2);
83d4a844
MN
264 REGISTER_DECODER(MVC1, mvc1);
265 REGISTER_DECODER(MVC2, mvc2);
c73c87b4
DB
266 REGISTER_DECODER(MXPEG, mxpeg);
267 REGISTER_DECODER(NUV, nuv);
83d4a844 268 REGISTER_DECODER(PAF_VIDEO, paf_video);
c73c87b4
DB
269 REGISTER_ENCDEC (PAM, pam);
270 REGISTER_ENCDEC (PBM, pbm);
271 REGISTER_ENCDEC (PCX, pcx);
272 REGISTER_ENCDEC (PGM, pgm);
273 REGISTER_ENCDEC (PGMYUV, pgmyuv);
274 REGISTER_DECODER(PICTOR, pictor);
275 REGISTER_ENCDEC (PNG, png);
276 REGISTER_ENCDEC (PPM, ppm);
277 REGISTER_ENCDEC (PRORES, prores);
b3c39962
MN
278 REGISTER_ENCODER(PRORES_AW, prores_aw);
279 REGISTER_ENCODER(PRORES_KS, prores_ks);
83d4a844 280 REGISTER_DECODER(PRORES_LGPL, prores_lgpl);
c73c87b4
DB
281 REGISTER_DECODER(PTX, ptx);
282 REGISTER_DECODER(QDRAW, qdraw);
283 REGISTER_DECODER(QPEG, qpeg);
284 REGISTER_ENCDEC (QTRLE, qtrle);
83d4a844
MN
285 REGISTER_ENCDEC (R10K, r10k);
286 REGISTER_ENCDEC (R210, r210);
c73c87b4
DB
287 REGISTER_ENCDEC (RAWVIDEO, rawvideo);
288 REGISTER_DECODER(RL2, rl2);
289 REGISTER_ENCDEC (ROQ, roq);
290 REGISTER_DECODER(RPZA, rpza);
533a6198 291 REGISTER_DECODER(RSCC, rscc);
c73c87b4
DB
292 REGISTER_ENCDEC (RV10, rv10);
293 REGISTER_ENCDEC (RV20, rv20);
294 REGISTER_DECODER(RV30, rv30);
295 REGISTER_DECODER(RV40, rv40);
3e160475 296 REGISTER_ENCDEC (S302M, s302m);
83d4a844 297 REGISTER_DECODER(SANM, sanm);
9a3202a9 298 REGISTER_DECODER(SCREENPRESSO, screenpresso);
035ae3c0 299 REGISTER_DECODER(SDX2_DPCM, sdx2_dpcm);
c73c87b4 300 REGISTER_ENCDEC (SGI, sgi);
83d4a844 301 REGISTER_DECODER(SGIRLE, sgirle);
c73c87b4
DB
302 REGISTER_DECODER(SMACKER, smacker);
303 REGISTER_DECODER(SMC, smc);
14ec9d25 304 REGISTER_DECODER(SMVJPEG, smvjpeg);
c73c87b4
DB
305 REGISTER_ENCDEC (SNOW, snow);
306 REGISTER_DECODER(SP5X, sp5x);
307 REGISTER_ENCDEC (SUNRAST, sunrast);
308 REGISTER_ENCDEC (SVQ1, svq1);
309 REGISTER_DECODER(SVQ3, svq3);
310 REGISTER_ENCDEC (TARGA, targa);
83d4a844 311 REGISTER_DECODER(TARGA_Y216, targa_y216);
247e370e 312 REGISTER_DECODER(TDSC, tdsc);
c73c87b4
DB
313 REGISTER_DECODER(THEORA, theora);
314 REGISTER_DECODER(THP, thp);
315 REGISTER_DECODER(TIERTEXSEQVIDEO, tiertexseqvideo);
316 REGISTER_ENCDEC (TIFF, tiff);
317 REGISTER_DECODER(TMV, tmv);
318 REGISTER_DECODER(TRUEMOTION1, truemotion1);
319 REGISTER_DECODER(TRUEMOTION2, truemotion2);
320 REGISTER_DECODER(TSCC, tscc);
321 REGISTER_DECODER(TSCC2, tscc2);
322 REGISTER_DECODER(TXD, txd);
323 REGISTER_DECODER(ULTI, ulti);
324 REGISTER_ENCDEC (UTVIDEO, utvideo);
325 REGISTER_ENCDEC (V210, v210);
326 REGISTER_DECODER(V210X, v210x);
83d4a844
MN
327 REGISTER_ENCDEC (V308, v308);
328 REGISTER_ENCDEC (V408, v408);
c73c87b4
DB
329 REGISTER_ENCDEC (V410, v410);
330 REGISTER_DECODER(VB, vb);
331 REGISTER_DECODER(VBLE, vble);
332 REGISTER_DECODER(VC1, vc1);
83d4a844 333 REGISTER_DECODER(VC1_CRYSTALHD, vc1_crystalhd);
a383f226 334#if FF_API_VDPAU
a0c6c8e5 335 REGISTER_DECODER(VC1_VDPAU, vc1_vdpau);
a383f226 336#endif
c73c87b4 337 REGISTER_DECODER(VC1IMAGE, vc1image);
b07cbf67 338 REGISTER_DECODER(VC1_MMAL, vc1_mmal);
fb57bc6c 339 REGISTER_DECODER(VC1_QSV, vc1_qsv);
ec9e87c9 340 REGISTER_ENCODER(VC2, vc2);
c73c87b4
DB
341 REGISTER_DECODER(VCR1, vcr1);
342 REGISTER_DECODER(VMDVIDEO, vmdvideo);
343 REGISTER_DECODER(VMNC, vmnc);
344 REGISTER_DECODER(VP3, vp3);
345 REGISTER_DECODER(VP5, vp5);
346 REGISTER_DECODER(VP6, vp6);
347 REGISTER_DECODER(VP6A, vp6a);
348 REGISTER_DECODER(VP6F, vp6f);
89f2f5db 349 REGISTER_DECODER(VP7, vp7);
c73c87b4 350 REGISTER_DECODER(VP8, vp8);
848826f5 351 REGISTER_DECODER(VP9, vp9);
c73c87b4 352 REGISTER_DECODER(VQA, vqa);
076c1c95 353 REGISTER_DECODER(WEBP, webp);
00332e0a 354 REGISTER_ENCODER(WRAPPED_AVFRAME, wrapped_avframe);
c73c87b4
DB
355 REGISTER_ENCDEC (WMV1, wmv1);
356 REGISTER_ENCDEC (WMV2, wmv2);
357 REGISTER_DECODER(WMV3, wmv3);
83d4a844 358 REGISTER_DECODER(WMV3_CRYSTALHD, wmv3_crystalhd);
a383f226 359#if FF_API_VDPAU
a0c6c8e5 360 REGISTER_DECODER(WMV3_VDPAU, wmv3_vdpau);
a383f226 361#endif
c73c87b4
DB
362 REGISTER_DECODER(WMV3IMAGE, wmv3image);
363 REGISTER_DECODER(WNV1, wnv1);
364 REGISTER_DECODER(XAN_WC3, xan_wc3);
365 REGISTER_DECODER(XAN_WC4, xan_wc4);
83d4a844
MN
366 REGISTER_ENCDEC (XBM, xbm);
367 REGISTER_ENCDEC (XFACE, xface);
c73c87b4
DB
368 REGISTER_DECODER(XL, xl);
369 REGISTER_ENCDEC (XWD, xwd);
83d4a844 370 REGISTER_ENCDEC (Y41P, y41p);
c73c87b4 371 REGISTER_DECODER(YOP, yop);
83d4a844 372 REGISTER_ENCDEC (YUV4, yuv4);
9ff92cf1 373 REGISTER_DECODER(ZERO12V, zero12v);
c73c87b4
DB
374 REGISTER_DECODER(ZEROCODEC, zerocodec);
375 REGISTER_ENCDEC (ZLIB, zlib);
376 REGISTER_ENCDEC (ZMBV, zmbv);
771b9a70 377
f3902026 378 /* audio codecs */
c73c87b4 379 REGISTER_ENCDEC (AAC, aac);
f21b4472 380 REGISTER_DECODER(AAC_FIXED, aac_fixed);
c73c87b4
DB
381 REGISTER_DECODER(AAC_LATM, aac_latm);
382 REGISTER_ENCDEC (AC3, ac3);
696e34a6 383 REGISTER_ENCDEC (AC3_FIXED, ac3_fixed);
c73c87b4
DB
384 REGISTER_ENCDEC (ALAC, alac);
385 REGISTER_DECODER(ALS, als);
386 REGISTER_DECODER(AMRNB, amrnb);
387 REGISTER_DECODER(AMRWB, amrwb);
388 REGISTER_DECODER(APE, ape);
389 REGISTER_DECODER(ATRAC1, atrac1);
390 REGISTER_DECODER(ATRAC3, atrac3);
2e1fb96a 391 REGISTER_DECODER(ATRAC3P, atrac3p);
c73c87b4
DB
392 REGISTER_DECODER(BINKAUDIO_DCT, binkaudio_dct);
393 REGISTER_DECODER(BINKAUDIO_RDFT, binkaudio_rdft);
394 REGISTER_DECODER(BMV_AUDIO, bmv_audio);
395 REGISTER_DECODER(COOK, cook);
ae5b2c52 396 REGISTER_ENCDEC (DCA, dca);
5f4f9ee9
PR
397 REGISTER_DECODER(DSD_LSBF, dsd_lsbf);
398 REGISTER_DECODER(DSD_MSBF, dsd_msbf);
399 REGISTER_DECODER(DSD_LSBF_PLANAR, dsd_lsbf_planar);
400 REGISTER_DECODER(DSD_MSBF_PLANAR, dsd_msbf_planar);
c73c87b4 401 REGISTER_DECODER(DSICINAUDIO, dsicinaudio);
c56b9b1e 402 REGISTER_DECODER(DSS_SP, dss_sp);
c73c87b4 403 REGISTER_ENCDEC (EAC3, eac3);
098d3891 404 REGISTER_DECODER(EVRC, evrc);
83d4a844 405 REGISTER_DECODER(FFWAVESYNTH, ffwavesynth);
c73c87b4 406 REGISTER_ENCDEC (FLAC, flac);
83d4a844
MN
407 REGISTER_ENCDEC (G723_1, g723_1);
408 REGISTER_DECODER(G729, g729);
c73c87b4
DB
409 REGISTER_DECODER(GSM, gsm);
410 REGISTER_DECODER(GSM_MS, gsm_ms);
411 REGISTER_DECODER(IAC, iac);
412 REGISTER_DECODER(IMC, imc);
c89e075d 413 REGISTER_DECODER(INTERPLAY_ACM, interplay_acm);
c73c87b4
DB
414 REGISTER_DECODER(MACE3, mace3);
415 REGISTER_DECODER(MACE6, mace6);
3e589878 416 REGISTER_DECODER(METASOUND, metasound);
c73c87b4
DB
417 REGISTER_DECODER(MLP, mlp);
418 REGISTER_DECODER(MP1, mp1);
419 REGISTER_DECODER(MP1FLOAT, mp1float);
420 REGISTER_ENCDEC (MP2, mp2);
421 REGISTER_DECODER(MP2FLOAT, mp2float);
04e06cdf 422 REGISTER_ENCODER(MP2FIXED, mp2fixed);
c73c87b4
DB
423 REGISTER_DECODER(MP3, mp3);
424 REGISTER_DECODER(MP3FLOAT, mp3float);
425 REGISTER_DECODER(MP3ADU, mp3adu);
426 REGISTER_DECODER(MP3ADUFLOAT, mp3adufloat);
427 REGISTER_DECODER(MP3ON4, mp3on4);
428 REGISTER_DECODER(MP3ON4FLOAT, mp3on4float);
429 REGISTER_DECODER(MPC7, mpc7);
430 REGISTER_DECODER(MPC8, mpc8);
431 REGISTER_ENCDEC (NELLYMOSER, nellymoser);
e2834567 432 REGISTER_DECODER(ON2AVC, on2avc);
b70d7a4a 433 REGISTER_DECODER(OPUS, opus);
83d4a844 434 REGISTER_DECODER(PAF_AUDIO, paf_audio);
c73c87b4
DB
435 REGISTER_DECODER(QCELP, qcelp);
436 REGISTER_DECODER(QDM2, qdm2);
437 REGISTER_ENCDEC (RA_144, ra_144);
438 REGISTER_DECODER(RA_288, ra_288);
439 REGISTER_DECODER(RALF, ralf);
440 REGISTER_DECODER(SHORTEN, shorten);
441 REGISTER_DECODER(SIPR, sipr);
442 REGISTER_DECODER(SMACKAUD, smackaud);
83d4a844
MN
443 REGISTER_ENCDEC (SONIC, sonic);
444 REGISTER_ENCODER(SONIC_LS, sonic_ls);
c73c87b4
DB
445 REGISTER_DECODER(TAK, tak);
446 REGISTER_DECODER(TRUEHD, truehd);
447 REGISTER_DECODER(TRUESPEECH, truespeech);
514cb9bb 448 REGISTER_ENCDEC (TTA, tta);
c73c87b4
DB
449 REGISTER_DECODER(TWINVQ, twinvq);
450 REGISTER_DECODER(VMDAUDIO, vmdaudio);
451 REGISTER_ENCDEC (VORBIS, vorbis);
93f42777 452 REGISTER_ENCDEC (WAVPACK, wavpack);
c73c87b4
DB
453 REGISTER_DECODER(WMALOSSLESS, wmalossless);
454 REGISTER_DECODER(WMAPRO, wmapro);
455 REGISTER_ENCDEC (WMAV1, wmav1);
456 REGISTER_ENCDEC (WMAV2, wmav2);
457 REGISTER_DECODER(WMAVOICE, wmavoice);
458 REGISTER_DECODER(WS_SND1, ws_snd1);
b456ece5
PM
459 REGISTER_DECODER(XMA1, xma1);
460 REGISTER_DECODER(XMA2, xma2);
4e114829 461
37ff38c6 462 /* PCM codecs */
c73c87b4
DB
463 REGISTER_ENCDEC (PCM_ALAW, pcm_alaw);
464 REGISTER_DECODER(PCM_BLURAY, pcm_bluray);
465 REGISTER_DECODER(PCM_DVD, pcm_dvd);
466 REGISTER_ENCDEC (PCM_F32BE, pcm_f32be);
467 REGISTER_ENCDEC (PCM_F32LE, pcm_f32le);
468 REGISTER_ENCDEC (PCM_F64BE, pcm_f64be);
469 REGISTER_ENCDEC (PCM_F64LE, pcm_f64le);
470 REGISTER_DECODER(PCM_LXF, pcm_lxf);
471 REGISTER_ENCDEC (PCM_MULAW, pcm_mulaw);
472 REGISTER_ENCDEC (PCM_S8, pcm_s8);
83d4a844 473 REGISTER_ENCDEC (PCM_S8_PLANAR, pcm_s8_planar);
c73c87b4 474 REGISTER_ENCDEC (PCM_S16BE, pcm_s16be);
83d4a844 475 REGISTER_ENCDEC (PCM_S16BE_PLANAR, pcm_s16be_planar);
c73c87b4 476 REGISTER_ENCDEC (PCM_S16LE, pcm_s16le);
83d4a844 477 REGISTER_ENCDEC (PCM_S16LE_PLANAR, pcm_s16le_planar);
c73c87b4
DB
478 REGISTER_ENCDEC (PCM_S24BE, pcm_s24be);
479 REGISTER_ENCDEC (PCM_S24DAUD, pcm_s24daud);
480 REGISTER_ENCDEC (PCM_S24LE, pcm_s24le);
83d4a844 481 REGISTER_ENCDEC (PCM_S24LE_PLANAR, pcm_s24le_planar);
c73c87b4
DB
482 REGISTER_ENCDEC (PCM_S32BE, pcm_s32be);
483 REGISTER_ENCDEC (PCM_S32LE, pcm_s32le);
83d4a844 484 REGISTER_ENCDEC (PCM_S32LE_PLANAR, pcm_s32le_planar);
c73c87b4
DB
485 REGISTER_ENCDEC (PCM_U8, pcm_u8);
486 REGISTER_ENCDEC (PCM_U16BE, pcm_u16be);
487 REGISTER_ENCDEC (PCM_U16LE, pcm_u16le);
488 REGISTER_ENCDEC (PCM_U24BE, pcm_u24be);
489 REGISTER_ENCDEC (PCM_U24LE, pcm_u24le);
490 REGISTER_ENCDEC (PCM_U32BE, pcm_u32be);
491 REGISTER_ENCDEC (PCM_U32LE, pcm_u32le);
83d4a844 492 REGISTER_DECODER(PCM_ZORK, pcm_zork);
fc384777 493
37ff38c6 494 /* DPCM codecs */
c73c87b4
DB
495 REGISTER_DECODER(INTERPLAY_DPCM, interplay_dpcm);
496 REGISTER_ENCDEC (ROQ_DPCM, roq_dpcm);
497 REGISTER_DECODER(SOL_DPCM, sol_dpcm);
498 REGISTER_DECODER(XAN_DPCM, xan_dpcm);
f3902026 499
37ff38c6 500 /* ADPCM codecs */
c73c87b4
DB
501 REGISTER_DECODER(ADPCM_4XM, adpcm_4xm);
502 REGISTER_ENCDEC (ADPCM_ADX, adpcm_adx);
83d4a844 503 REGISTER_DECODER(ADPCM_AFC, adpcm_afc);
af3f793f 504 REGISTER_DECODER(ADPCM_AICA, adpcm_aica);
c73c87b4 505 REGISTER_DECODER(ADPCM_CT, adpcm_ct);
e7814ed8 506 REGISTER_DECODER(ADPCM_DTK, adpcm_dtk);
c73c87b4
DB
507 REGISTER_DECODER(ADPCM_EA, adpcm_ea);
508 REGISTER_DECODER(ADPCM_EA_MAXIS_XA, adpcm_ea_maxis_xa);
509 REGISTER_DECODER(ADPCM_EA_R1, adpcm_ea_r1);
510 REGISTER_DECODER(ADPCM_EA_R2, adpcm_ea_r2);
511 REGISTER_DECODER(ADPCM_EA_R3, adpcm_ea_r3);
512 REGISTER_DECODER(ADPCM_EA_XAS, adpcm_ea_xas);
513 REGISTER_ENCDEC (ADPCM_G722, adpcm_g722);
514 REGISTER_ENCDEC (ADPCM_G726, adpcm_g726);
10c240a0 515 REGISTER_DECODER(ADPCM_G726LE, adpcm_g726le);
c73c87b4
DB
516 REGISTER_DECODER(ADPCM_IMA_AMV, adpcm_ima_amv);
517 REGISTER_DECODER(ADPCM_IMA_APC, adpcm_ima_apc);
518 REGISTER_DECODER(ADPCM_IMA_DK3, adpcm_ima_dk3);
519 REGISTER_DECODER(ADPCM_IMA_DK4, adpcm_ima_dk4);
520 REGISTER_DECODER(ADPCM_IMA_EA_EACS, adpcm_ima_ea_eacs);
521 REGISTER_DECODER(ADPCM_IMA_EA_SEAD, adpcm_ima_ea_sead);
522 REGISTER_DECODER(ADPCM_IMA_ISS, adpcm_ima_iss);
83d4a844 523 REGISTER_DECODER(ADPCM_IMA_OKI, adpcm_ima_oki);
c73c87b4 524 REGISTER_ENCDEC (ADPCM_IMA_QT, adpcm_ima_qt);
67fad0d2 525 REGISTER_DECODER(ADPCM_IMA_RAD, adpcm_ima_rad);
c73c87b4
DB
526 REGISTER_DECODER(ADPCM_IMA_SMJPEG, adpcm_ima_smjpeg);
527 REGISTER_ENCDEC (ADPCM_IMA_WAV, adpcm_ima_wav);
528 REGISTER_DECODER(ADPCM_IMA_WS, adpcm_ima_ws);
529 REGISTER_ENCDEC (ADPCM_MS, adpcm_ms);
8b11e437 530 REGISTER_DECODER(ADPCM_PSX, adpcm_psx);
c73c87b4
DB
531 REGISTER_DECODER(ADPCM_SBPRO_2, adpcm_sbpro_2);
532 REGISTER_DECODER(ADPCM_SBPRO_3, adpcm_sbpro_3);
533 REGISTER_DECODER(ADPCM_SBPRO_4, adpcm_sbpro_4);
534 REGISTER_ENCDEC (ADPCM_SWF, adpcm_swf);
535 REGISTER_DECODER(ADPCM_THP, adpcm_thp);
7e7256c3 536 REGISTER_DECODER(ADPCM_THP_LE, adpcm_thp_le);
6f273093 537 REGISTER_DECODER(ADPCM_VIMA, adpcm_vima);
c73c87b4
DB
538 REGISTER_DECODER(ADPCM_XA, adpcm_xa);
539 REGISTER_ENCDEC (ADPCM_YAMAHA, adpcm_yamaha);
8424cf50 540
2c5ee47d 541 /* subtitles */
7c1a002c 542 REGISTER_ENCDEC (SSA, ssa);
c73c87b4 543 REGISTER_ENCDEC (ASS, ass);
4b626261 544 REGISTER_DECODER(CCAPTION, ccaption);
c73c87b4
DB
545 REGISTER_ENCDEC (DVBSUB, dvbsub);
546 REGISTER_ENCDEC (DVDSUB, dvdsub);
83d4a844
MN
547 REGISTER_DECODER(JACOSUB, jacosub);
548 REGISTER_DECODER(MICRODVD, microdvd);
549 REGISTER_ENCDEC (MOVTEXT, movtext);
5f02844c 550 REGISTER_DECODER(MPL2, mpl2);
c73c87b4 551 REGISTER_DECODER(PGSSUB, pgssub);
7b434027 552 REGISTER_DECODER(PJS, pjs);
83d4a844
MN
553 REGISTER_DECODER(REALTEXT, realtext);
554 REGISTER_DECODER(SAMI, sami);
555 REGISTER_ENCDEC (SRT, srt);
6dc99fdf 556 REGISTER_DECODER(STL, stl);
83d4a844
MN
557 REGISTER_ENCDEC (SUBRIP, subrip);
558 REGISTER_DECODER(SUBVIEWER, subviewer);
faa94061 559 REGISTER_DECODER(SUBVIEWER1, subviewer1);
f122ba36 560 REGISTER_ENCDEC (TEXT, text);
5c68aae9 561 REGISTER_DECODER(VPLAYER, vplayer);
4372fb7a 562 REGISTER_ENCDEC (WEBVTT, webvtt);
c73c87b4 563 REGISTER_ENCDEC (XSUB, xsub);
240c1657 564
a045e515 565 /* external libraries */
83d4a844 566 REGISTER_DECODER(LIBCELT, libcelt);
519868de 567 REGISTER_DECODER(LIBDCADEC, libdcadec)
c73c87b4 568 REGISTER_ENCODER(LIBFAAC, libfaac);
4f2b469d 569 REGISTER_ENCDEC (LIBFDK_AAC, libfdk_aac);
c73c87b4
DB
570 REGISTER_ENCDEC (LIBGSM, libgsm);
571 REGISTER_ENCDEC (LIBGSM_MS, libgsm_ms);
572 REGISTER_ENCDEC (LIBILBC, libilbc);
573 REGISTER_ENCODER(LIBMP3LAME, libmp3lame);
574 REGISTER_ENCDEC (LIBOPENCORE_AMRNB, libopencore_amrnb);
575 REGISTER_DECODER(LIBOPENCORE_AMRWB, libopencore_amrwb);
576 REGISTER_ENCDEC (LIBOPENJPEG, libopenjpeg);
577 REGISTER_ENCDEC (LIBOPUS, libopus);
578 REGISTER_ENCDEC (LIBSCHROEDINGER, libschroedinger);
d1853436 579 REGISTER_ENCODER(LIBSHINE, libshine);
c73c87b4
DB
580 REGISTER_ENCDEC (LIBSPEEX, libspeex);
581 REGISTER_ENCODER(LIBTHEORA, libtheora);
83d4a844
MN
582 REGISTER_ENCODER(LIBTWOLAME, libtwolame);
583 REGISTER_ENCDEC (LIBUTVIDEO, libutvideo);
c73c87b4 584 REGISTER_ENCODER(LIBVO_AMRWBENC, libvo_amrwbenc);
83d4a844 585 REGISTER_ENCDEC (LIBVORBIS, libvorbis);
3f111804
LB
586 REGISTER_ENCDEC (LIBVPX_VP8, libvpx_vp8);
587 REGISTER_ENCDEC (LIBVPX_VP9, libvpx_vp9);
84d3ff50 588 REGISTER_ENCODER(LIBWAVPACK, libwavpack);
02cf59f3 589 REGISTER_ENCODER(LIBWEBP_ANIM, libwebp_anim); /* preferred over libwebp */
be7c3231 590 REGISTER_ENCODER(LIBWEBP, libwebp);
e1319aa1 591 REGISTER_ENCODER(LIBX262, libx262);
c73c87b4 592 REGISTER_ENCODER(LIBX264, libx264);
83d4a844 593 REGISTER_ENCODER(LIBX264RGB, libx264rgb);
bb6b1731 594 REGISTER_ENCODER(LIBX265, libx265);
c73c87b4
DB
595 REGISTER_ENCODER(LIBXAVS, libxavs);
596 REGISTER_ENCODER(LIBXVID, libxvid);
b339dccb 597 REGISTER_DECODER(LIBZVBI_TELETEXT, libzvbi_teletext);
a045e515 598
07a70cab 599 /* text */
83d4a844
MN
600 REGISTER_DECODER(BINTEXT, bintext);
601 REGISTER_DECODER(XBIN, xbin);
602 REGISTER_DECODER(IDF, idf);
07a70cab 603
b21af32a
MN
604 /* external libraries, that shouldn't be used by default if one of the
605 * above is available */
606 REGISTER_ENCODER(LIBOPENH264, libopenh264);
72b7441a 607 REGISTER_ENCODER(H264_QSV, h264_qsv);
3af71ac3 608 REGISTER_ENCODER(H264_VIDEOTOOLBOX, h264_videotoolbox);
cc904353
PL
609 REGISTER_ENCODER(NVENC, nvenc);
610 REGISTER_ENCODER(NVENC_H264, nvenc_h264);
611 REGISTER_ENCODER(NVENC_HEVC, nvenc_hevc);
66acb76b 612 REGISTER_ENCODER(HEVC_QSV, hevc_qsv);
b90b6af7 613 REGISTER_ENCODER(LIBKVAZAAR, libkvazaar);
3a85397e 614 REGISTER_ENCODER(MPEG2_QSV, mpeg2_qsv);
b21af32a 615
115329f1 616 /* parsers */
c73c87b4
DB
617 REGISTER_PARSER(AAC, aac);
618 REGISTER_PARSER(AAC_LATM, aac_latm);
619 REGISTER_PARSER(AC3, ac3);
620 REGISTER_PARSER(ADX, adx);
83d4a844 621 REGISTER_PARSER(BMP, bmp);
c73c87b4
DB
622 REGISTER_PARSER(CAVSVIDEO, cavsvideo);
623 REGISTER_PARSER(COOK, cook);
624 REGISTER_PARSER(DCA, dca);
625 REGISTER_PARSER(DIRAC, dirac);
626 REGISTER_PARSER(DNXHD, dnxhd);
8ec32866 627 REGISTER_PARSER(DPX, dpx);
2edd4758 628 REGISTER_PARSER(DVAUDIO, dvaudio);
c73c87b4
DB
629 REGISTER_PARSER(DVBSUB, dvbsub);
630 REGISTER_PARSER(DVDSUB, dvdsub);
9cde9f70 631 REGISTER_PARSER(DVD_NAV, dvd_nav);
c73c87b4 632 REGISTER_PARSER(FLAC, flac);
0581ab2c 633 REGISTER_PARSER(G729, g729);
c73c87b4
DB
634 REGISTER_PARSER(GSM, gsm);
635 REGISTER_PARSER(H261, h261);
636 REGISTER_PARSER(H263, h263);
637 REGISTER_PARSER(H264, h264);
c8dd048a 638 REGISTER_PARSER(HEVC, hevc);
c73c87b4
DB
639 REGISTER_PARSER(MJPEG, mjpeg);
640 REGISTER_PARSER(MLP, mlp);
641 REGISTER_PARSER(MPEG4VIDEO, mpeg4video);
642 REGISTER_PARSER(MPEGAUDIO, mpegaudio);
643 REGISTER_PARSER(MPEGVIDEO, mpegvideo);
b70d7a4a 644 REGISTER_PARSER(OPUS, opus);
83d4a844 645 REGISTER_PARSER(PNG, png);
c73c87b4
DB
646 REGISTER_PARSER(PNM, pnm);
647 REGISTER_PARSER(RV30, rv30);
648 REGISTER_PARSER(RV40, rv40);
649 REGISTER_PARSER(TAK, tak);
650 REGISTER_PARSER(VC1, vc1);
651 REGISTER_PARSER(VORBIS, vorbis);
652 REGISTER_PARSER(VP3, vp3);
653 REGISTER_PARSER(VP8, vp8);
84d362f0 654 REGISTER_PARSER(VP9, vp9);
748c2fca 655
cd61e407 656 /* bitstream filters */
c73c87b4
DB
657 REGISTER_BSF(AAC_ADTSTOASC, aac_adtstoasc);
658 REGISTER_BSF(CHOMP, chomp);
659 REGISTER_BSF(DUMP_EXTRADATA, dump_extradata);
660 REGISTER_BSF(H264_MP4TOANNEXB, h264_mp4toannexb);
f89f78c1 661 REGISTER_BSF(HEVC_MP4TOANNEXB, hevc_mp4toannexb);
c73c87b4
DB
662 REGISTER_BSF(IMX_DUMP_HEADER, imx_dump_header);
663 REGISTER_BSF(MJPEG2JPEG, mjpeg2jpeg);
664 REGISTER_BSF(MJPEGA_DUMP_HEADER, mjpega_dump_header);
c73c87b4 665 REGISTER_BSF(MP3_HEADER_DECOMPRESS, mp3_header_decompress);
0224b35c 666 REGISTER_BSF(MPEG4_UNPACK_BFRAMES, mpeg4_unpack_bframes);
c73c87b4
DB
667 REGISTER_BSF(MOV2TEXTSUB, mov2textsub);
668 REGISTER_BSF(NOISE, noise);
669 REGISTER_BSF(REMOVE_EXTRADATA, remove_extradata);
670 REGISTER_BSF(TEXT2MOVSUB, text2movsub);
2e6636aa 671 REGISTER_BSF(VP9_SUPERFRAME, vp9_superframe);
771b9a70 672}