annotate allcodecs.c @ 5726:6589b212f6b9 libavcodec

AMV audio decoder
author vitor
date Thu, 27 Sep 2007 06:21:57 +0000
parents 314be1cfdcb0
children 810067f2c33d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
1 /*
4550
03b09678398d Provide Doxygen documentation.
takis
parents: 4513
diff changeset
2 * Provides registration of all codecs, parsers and bitstream filters for libavcodec.
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
3 * Copyright (c) 2002 Fabrice Bellard.
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
4 *
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3914
diff changeset
5 * This file is part of FFmpeg.
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3914
diff changeset
6 *
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3914
diff changeset
7 * FFmpeg is free software; you can redistribute it and/or
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
8 * modify it under the terms of the GNU Lesser General Public
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
9 * License as published by the Free Software Foundation; either
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3914
diff changeset
10 * version 2.1 of the License, or (at your option) any later version.
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
11 *
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3914
diff changeset
12 * FFmpeg is distributed in the hope that it will be useful,
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
15 * Lesser General Public License for more details.
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
16 *
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
17 * You should have received a copy of the GNU Lesser General Public
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3914
diff changeset
18 * License along with FFmpeg; if not, write to the Free Software
3036
0b546eab515d Update licensing information: The FSF changed postal address.
diego
parents: 3030
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
20 */
1106
1e39f273ecd6 per file doxy
michaelni
parents: 1056
diff changeset
21
1e39f273ecd6 per file doxy
michaelni
parents: 1056
diff changeset
22 /**
1e39f273ecd6 per file doxy
michaelni
parents: 1056
diff changeset
23 * @file allcodecs.c
4550
03b09678398d Provide Doxygen documentation.
takis
parents: 4513
diff changeset
24 * Provides registration of all codecs, parsers and bitstream filters for libavcodec.
1106
1e39f273ecd6 per file doxy
michaelni
parents: 1056
diff changeset
25 */
1e39f273ecd6 per file doxy
michaelni
parents: 1056
diff changeset
26
5692
d639d661129a remove last dependencies on allformats.h and allcodecs.h
aurel
parents: 5673
diff changeset
27 #include "avcodec.h"
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
28
5692
d639d661129a remove last dependencies on allformats.h and allcodecs.h
aurel
parents: 5673
diff changeset
29 #define REGISTER_ENCODER(X,x) { \
d639d661129a remove last dependencies on allformats.h and allcodecs.h
aurel
parents: 5673
diff changeset
30 extern AVCodec x##_encoder; \
d639d661129a remove last dependencies on allformats.h and allcodecs.h
aurel
parents: 5673
diff changeset
31 if(ENABLE_##X##_ENCODER) register_avcodec(&x##_encoder); }
d639d661129a remove last dependencies on allformats.h and allcodecs.h
aurel
parents: 5673
diff changeset
32 #define REGISTER_DECODER(X,x) { \
d639d661129a remove last dependencies on allformats.h and allcodecs.h
aurel
parents: 5673
diff changeset
33 extern AVCodec x##_decoder; \
d639d661129a remove last dependencies on allformats.h and allcodecs.h
aurel
parents: 5673
diff changeset
34 if(ENABLE_##X##_DECODER) register_avcodec(&x##_decoder); }
4244
54b594d31ac1 cleanup the #ifdef mess in encoder/decoder/parser registration
aurel
parents: 4242
diff changeset
35 #define REGISTER_ENCDEC(X,x) REGISTER_ENCODER(X,x); REGISTER_DECODER(X,x)
54b594d31ac1 cleanup the #ifdef mess in encoder/decoder/parser registration
aurel
parents: 4242
diff changeset
36
5692
d639d661129a remove last dependencies on allformats.h and allcodecs.h
aurel
parents: 5673
diff changeset
37 #define REGISTER_PARSER(X,x) { \
d639d661129a remove last dependencies on allformats.h and allcodecs.h
aurel
parents: 5673
diff changeset
38 extern AVCodecParser x##_parser; \
d639d661129a remove last dependencies on allformats.h and allcodecs.h
aurel
parents: 5673
diff changeset
39 if(ENABLE_##X##_PARSER) av_register_codec_parser(&x##_parser); }
d639d661129a remove last dependencies on allformats.h and allcodecs.h
aurel
parents: 5673
diff changeset
40 #define REGISTER_BSF(X,x) { \
d639d661129a remove last dependencies on allformats.h and allcodecs.h
aurel
parents: 5673
diff changeset
41 extern AVBitStreamFilter x##_bsf; \
d639d661129a remove last dependencies on allformats.h and allcodecs.h
aurel
parents: 5673
diff changeset
42 if(ENABLE_##X##_BSF) av_register_bitstream_filter(&x##_bsf); }
4244
54b594d31ac1 cleanup the #ifdef mess in encoder/decoder/parser registration
aurel
parents: 4242
diff changeset
43
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
44 /**
4550
03b09678398d Provide Doxygen documentation.
takis
parents: 4513
diff changeset
45 * Register all the codecs, parsers and bitstream filters which were enabled at
03b09678398d Provide Doxygen documentation.
takis
parents: 4513
diff changeset
46 * configuration time. If you do not call this function you can select exactly
03b09678398d Provide Doxygen documentation.
takis
parents: 4513
diff changeset
47 * which formats you want to support, by using the individual registration
03b09678398d Provide Doxygen documentation.
takis
parents: 4513
diff changeset
48 * functions.
03b09678398d Provide Doxygen documentation.
takis
parents: 4513
diff changeset
49 *
03b09678398d Provide Doxygen documentation.
takis
parents: 4513
diff changeset
50 * @see register_avcodec
03b09678398d Provide Doxygen documentation.
takis
parents: 4513
diff changeset
51 * @see av_register_codec_parser
03b09678398d Provide Doxygen documentation.
takis
parents: 4513
diff changeset
52 * @see av_register_bitstream_filter
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
53 */
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
54 void avcodec_register_all(void)
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
55 {
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
56 static int inited = 0;
2967
ef2149182f1c COSMETICS: Remove all trailing whitespace.
diego
parents: 2956
diff changeset
57
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
58 if (inited != 0)
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2970
diff changeset
59 return;
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
60 inited = 1;
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
61
4244
54b594d31ac1 cleanup the #ifdef mess in encoder/decoder/parser registration
aurel
parents: 4242
diff changeset
62 /* video codecs */
5622
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
63 REGISTER_DECODER (AASC, aasc);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
64 REGISTER_ENCDEC (ASV1, asv1);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
65 REGISTER_ENCDEC (ASV2, asv2);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
66 REGISTER_DECODER (AVS, avs);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
67 REGISTER_DECODER (BETHSOFTVID, bethsoftvid);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
68 REGISTER_ENCDEC (BMP, bmp);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
69 REGISTER_DECODER (C93, c93);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
70 REGISTER_DECODER (CAVS, cavs);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
71 REGISTER_DECODER (CINEPAK, cinepak);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
72 REGISTER_DECODER (CLJR, cljr);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
73 REGISTER_DECODER (CSCD, cscd);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
74 REGISTER_DECODER (CYUV, cyuv);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
75 REGISTER_DECODER (DNXHD, dnxhd);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
76 REGISTER_DECODER (DSICINVIDEO, dsicinvideo);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
77 REGISTER_ENCDEC (DVVIDEO, dvvideo);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
78 REGISTER_DECODER (DXA, dxa);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
79 REGISTER_DECODER (EIGHTBPS, eightbps);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
80 REGISTER_ENCDEC (FFV1, ffv1);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
81 REGISTER_ENCDEC (FFVHUFF, ffvhuff);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
82 REGISTER_ENCDEC (FLASHSV, flashsv);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
83 REGISTER_DECODER (FLIC, flic);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
84 REGISTER_ENCDEC (FLV, flv);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
85 REGISTER_DECODER (FOURXM, fourxm);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
86 REGISTER_DECODER (FRAPS, fraps);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
87 REGISTER_ENCDEC (GIF, gif);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
88 REGISTER_ENCDEC (H261, h261);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
89 REGISTER_ENCDEC (H263, h263);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
90 REGISTER_DECODER (H263I, h263i);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
91 REGISTER_ENCODER (H263P, h263p);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
92 REGISTER_DECODER (H264, h264);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
93 REGISTER_ENCDEC (HUFFYUV, huffyuv);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
94 REGISTER_DECODER (IDCIN, idcin);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
95 REGISTER_DECODER (INDEO2, indeo2);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
96 REGISTER_DECODER (INDEO3, indeo3);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
97 REGISTER_DECODER (INTERPLAY_VIDEO, interplay_video);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
98 REGISTER_ENCDEC (JPEGLS, jpegls);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
99 REGISTER_DECODER (KMVC, kmvc);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
100 REGISTER_ENCODER (LIBX264, libx264);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
101 REGISTER_ENCODER (LIBXVID, libxvid);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
102 REGISTER_ENCODER (LJPEG, ljpeg);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
103 REGISTER_DECODER (LOCO, loco);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
104 REGISTER_DECODER (MDEC, mdec);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
105 REGISTER_ENCDEC (MJPEG, mjpeg);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
106 REGISTER_DECODER (MJPEGB, mjpegb);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
107 REGISTER_DECODER (MMVIDEO, mmvideo);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
108 REGISTER_DECODER (MPEG_XVMC, mpeg_xvmc);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
109 REGISTER_ENCDEC (MPEG1VIDEO, mpeg1video);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
110 REGISTER_ENCDEC (MPEG2VIDEO, mpeg2video);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
111 REGISTER_ENCDEC (MPEG4, mpeg4);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
112 REGISTER_DECODER (MPEGVIDEO, mpegvideo);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
113 REGISTER_ENCDEC (MSMPEG4V1, msmpeg4v1);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
114 REGISTER_ENCDEC (MSMPEG4V2, msmpeg4v2);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
115 REGISTER_ENCDEC (MSMPEG4V3, msmpeg4v3);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
116 REGISTER_DECODER (MSRLE, msrle);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
117 REGISTER_DECODER (MSVIDEO1, msvideo1);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
118 REGISTER_DECODER (MSZH, mszh);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
119 REGISTER_DECODER (NUV, nuv);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
120 REGISTER_ENCODER (PAM, pam);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
121 REGISTER_ENCODER (PBM, pbm);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
122 REGISTER_ENCODER (PGM, pgm);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
123 REGISTER_ENCODER (PGMYUV, pgmyuv);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
124 REGISTER_ENCDEC (PNG, png);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
125 REGISTER_ENCODER (PPM, ppm);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
126 REGISTER_DECODER (PTX, ptx);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
127 REGISTER_DECODER (QDRAW, qdraw);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
128 REGISTER_DECODER (QPEG, qpeg);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
129 REGISTER_ENCDEC (QTRLE, qtrle);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
130 REGISTER_ENCDEC (RAWVIDEO, rawvideo);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
131 REGISTER_ENCDEC (ROQ, roq);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
132 REGISTER_DECODER (RPZA, rpza);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
133 REGISTER_ENCDEC (RV10, rv10);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
134 REGISTER_ENCDEC (RV20, rv20);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
135 REGISTER_ENCDEC (SGI, sgi);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
136 REGISTER_DECODER (SMACKER, smacker);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
137 REGISTER_DECODER (SMC, smc);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
138 REGISTER_ENCDEC (SNOW, snow);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
139 REGISTER_DECODER (SP5X, sp5x);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
140 REGISTER_ENCDEC (SVQ1, svq1);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
141 REGISTER_DECODER (SVQ3, svq3);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
142 REGISTER_ENCDEC (TARGA, targa);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
143 REGISTER_DECODER (THEORA, theora);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
144 REGISTER_DECODER (THP, thp);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
145 REGISTER_DECODER (TIERTEXSEQVIDEO, tiertexseqvideo);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
146 REGISTER_ENCDEC (TIFF, tiff);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
147 REGISTER_DECODER (TRUEMOTION1, truemotion1);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
148 REGISTER_DECODER (TRUEMOTION2, truemotion2);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
149 REGISTER_DECODER (TSCC, tscc);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
150 REGISTER_DECODER (TXD, txd);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
151 REGISTER_DECODER (ULTI, ulti);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
152 REGISTER_DECODER (VC1, vc1);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
153 REGISTER_DECODER (VCR1, vcr1);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
154 REGISTER_DECODER (VMDVIDEO, vmdvideo);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
155 REGISTER_DECODER (VMNC, vmnc);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
156 REGISTER_DECODER (VP3, vp3);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
157 REGISTER_DECODER (VP5, vp5);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
158 REGISTER_DECODER (VP6, vp6);
5714
314be1cfdcb0 add a new vp6a codec (add alpha plan support to vp6)
aurel
parents: 5692
diff changeset
159 REGISTER_DECODER (VP6A, vp6a);
5622
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
160 REGISTER_DECODER (VP6F, vp6f);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
161 REGISTER_DECODER (VQA, vqa);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
162 REGISTER_ENCDEC (WMV1, wmv1);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
163 REGISTER_ENCDEC (WMV2, wmv2);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
164 REGISTER_DECODER (WMV3, wmv3);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
165 REGISTER_DECODER (WNV1, wnv1);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
166 REGISTER_DECODER (XAN_WC3, xan_wc3);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
167 REGISTER_DECODER (XL, xl);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
168 REGISTER_DECODER (XSUB, xsub);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
169 REGISTER_ENCDEC (ZLIB, zlib);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
170 REGISTER_ENCDEC (ZMBV, zmbv);
4244
54b594d31ac1 cleanup the #ifdef mess in encoder/decoder/parser registration
aurel
parents: 4242
diff changeset
171
54b594d31ac1 cleanup the #ifdef mess in encoder/decoder/parser registration
aurel
parents: 4242
diff changeset
172 /* audio codecs */
5622
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
173 REGISTER_DECODER (MPEG4AAC, mpeg4aac);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
174 REGISTER_ENCDEC (AC3, ac3);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
175 REGISTER_DECODER (ALAC, alac);
5673
9810f0bbacb2 Monkey Audio decoder
kostya
parents: 5644
diff changeset
176 REGISTER_DECODER (APE, ape);
5622
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
177 REGISTER_DECODER (ATRAC3, atrac3);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
178 REGISTER_DECODER (COOK, cook);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
179 REGISTER_DECODER (DCA, dca);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
180 REGISTER_DECODER (DSICINAUDIO, dsicinaudio);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
181 REGISTER_ENCDEC (FLAC, flac);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
182 REGISTER_DECODER (IMC, imc);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
183 REGISTER_ENCDEC (LIBAMR_NB, libamr_nb);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
184 REGISTER_ENCDEC (LIBAMR_WB, libamr_wb);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
185 REGISTER_DECODER (LIBA52, liba52);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
186 REGISTER_ENCODER (LIBFAAC, libfaac);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
187 REGISTER_DECODER (LIBFAAD, libfaad);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
188 REGISTER_ENCDEC (LIBGSM, libgsm);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
189 REGISTER_ENCDEC (LIBGSM_MS, libgsm_ms);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
190 REGISTER_ENCODER (LIBMP3LAME, libmp3lame);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
191 REGISTER_ENCODER (LIBTHEORA, libtheora);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
192 if (!ENABLE_VORBIS_ENCODER) REGISTER_ENCODER (LIBVORBIS, libvorbis);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
193 if (!ENABLE_VORBIS_DECODER) REGISTER_DECODER (LIBVORBIS, libvorbis);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
194 REGISTER_DECODER (MACE3, mace3);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
195 REGISTER_DECODER (MACE6, mace6);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
196 REGISTER_ENCDEC (MP2, mp2);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
197 REGISTER_DECODER (MP3, mp3);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
198 REGISTER_DECODER (MP3ADU, mp3adu);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
199 REGISTER_DECODER (MP3ON4, mp3on4);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
200 REGISTER_DECODER (MPC7, mpc7);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
201 REGISTER_DECODER (QDM2, qdm2);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
202 REGISTER_DECODER (RA_144, ra_144);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
203 REGISTER_DECODER (RA_288, ra_288);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
204 REGISTER_DECODER (SHORTEN, shorten);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
205 REGISTER_DECODER (SMACKAUD, smackaud);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
206 REGISTER_ENCDEC (SONIC, sonic);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
207 REGISTER_ENCODER (SONIC_LS, sonic_ls);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
208 REGISTER_DECODER (TRUESPEECH, truespeech);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
209 REGISTER_DECODER (TTA, tta);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
210 REGISTER_DECODER (VMDAUDIO, vmdaudio);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
211 REGISTER_ENCDEC (VORBIS, vorbis);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
212 REGISTER_DECODER (WAVPACK, wavpack);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
213 REGISTER_ENCDEC (WMAV1, wmav1);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
214 REGISTER_ENCDEC (WMAV2, wmav2);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
215 REGISTER_DECODER (WS_SND1, ws_snd1);
3119
09ae2e981d64 complete American Laser Games MM playback system, courtesy of Peter Ross
melanson
parents: 3118
diff changeset
216
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
217 /* pcm codecs */
5622
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
218 REGISTER_ENCDEC (PCM_ALAW, pcm_alaw);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
219 REGISTER_ENCDEC (PCM_MULAW, pcm_mulaw);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
220 REGISTER_ENCDEC (PCM_S8, pcm_s8);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
221 REGISTER_ENCDEC (PCM_S16BE, pcm_s16be);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
222 REGISTER_ENCDEC (PCM_S16LE, pcm_s16le);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
223 REGISTER_ENCDEC (PCM_S24BE, pcm_s24be);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
224 REGISTER_ENCDEC (PCM_S24DAUD, pcm_s24daud);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
225 REGISTER_ENCDEC (PCM_S24LE, pcm_s24le);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
226 REGISTER_ENCDEC (PCM_S32BE, pcm_s32be);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
227 REGISTER_ENCDEC (PCM_S32LE, pcm_s32le);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
228 REGISTER_ENCDEC (PCM_U8, pcm_u8);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
229 REGISTER_ENCDEC (PCM_U16BE, pcm_u16be);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
230 REGISTER_ENCDEC (PCM_U16LE, pcm_u16le);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
231 REGISTER_ENCDEC (PCM_U24BE, pcm_u24be);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
232 REGISTER_ENCDEC (PCM_U24LE, pcm_u24le);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
233 REGISTER_ENCDEC (PCM_U32BE, pcm_u32be);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
234 REGISTER_ENCDEC (PCM_U32LE, pcm_u32le);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
235 REGISTER_ENCDEC (PCM_ZORK , pcm_zork);
1535
bcb30ec7e86f activate the XA and ADX ADPCM codecs
melanson
parents: 1519
diff changeset
236
4244
54b594d31ac1 cleanup the #ifdef mess in encoder/decoder/parser registration
aurel
parents: 4242
diff changeset
237 /* dpcm codecs */
5622
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
238 REGISTER_DECODER (INTERPLAY_DPCM, interplay_dpcm);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
239 REGISTER_ENCDEC (ROQ_DPCM, roq_dpcm);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
240 REGISTER_DECODER (SOL_DPCM, sol_dpcm);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
241 REGISTER_DECODER (XAN_DPCM, xan_dpcm);
4244
54b594d31ac1 cleanup the #ifdef mess in encoder/decoder/parser registration
aurel
parents: 4242
diff changeset
242
54b594d31ac1 cleanup the #ifdef mess in encoder/decoder/parser registration
aurel
parents: 4242
diff changeset
243 /* adpcm codecs */
5622
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
244 REGISTER_ENCDEC (ADPCM_4XM, adpcm_4xm);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
245 REGISTER_ENCDEC (ADPCM_ADX, adpcm_adx);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
246 REGISTER_ENCDEC (ADPCM_CT, adpcm_ct);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
247 REGISTER_ENCDEC (ADPCM_EA, adpcm_ea);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
248 REGISTER_ENCDEC (ADPCM_G726, adpcm_g726);
5726
6589b212f6b9 AMV audio decoder
vitor
parents: 5714
diff changeset
249 REGISTER_DECODER (ADPCM_IMA_AMV, adpcm_ima_amv);
5622
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
250 REGISTER_ENCDEC (ADPCM_IMA_DK3, adpcm_ima_dk3);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
251 REGISTER_ENCDEC (ADPCM_IMA_DK4, adpcm_ima_dk4);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
252 REGISTER_ENCDEC (ADPCM_IMA_QT, adpcm_ima_qt);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
253 REGISTER_ENCDEC (ADPCM_IMA_SMJPEG, adpcm_ima_smjpeg);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
254 REGISTER_ENCDEC (ADPCM_IMA_WAV, adpcm_ima_wav);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
255 REGISTER_ENCDEC (ADPCM_IMA_WS, adpcm_ima_ws);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
256 REGISTER_ENCDEC (ADPCM_MS, adpcm_ms);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
257 REGISTER_ENCDEC (ADPCM_SBPRO_2, adpcm_sbpro_2);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
258 REGISTER_ENCDEC (ADPCM_SBPRO_3, adpcm_sbpro_3);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
259 REGISTER_ENCDEC (ADPCM_SBPRO_4, adpcm_sbpro_4);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
260 REGISTER_ENCDEC (ADPCM_SWF, adpcm_swf);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
261 REGISTER_DECODER (ADPCM_THP, adpcm_thp);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
262 REGISTER_ENCDEC (ADPCM_XA, adpcm_xa);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
263 REGISTER_ENCDEC (ADPCM_YAMAHA, adpcm_yamaha);
1613
0279c6c61f11 new audio/video parser API
bellard
parents: 1610
diff changeset
264
2921
d22a3556292a avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents: 2913
diff changeset
265 /* subtitles */
5622
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
266 REGISTER_ENCDEC (DVBSUB, dvbsub);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
267 REGISTER_ENCDEC (DVDSUB, dvdsub);
2921
d22a3556292a avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents: 2913
diff changeset
268
4242
ed5c8287d756 alphabetic reordering of codec registration
aurel
parents: 4194
diff changeset
269 /* parsers */
5622
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
270 REGISTER_PARSER (AAC, aac);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
271 REGISTER_PARSER (AC3, ac3);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
272 REGISTER_PARSER (CAVSVIDEO, cavsvideo);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
273 REGISTER_PARSER (DCA, dca);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
274 REGISTER_PARSER (DVBSUB, dvbsub);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
275 REGISTER_PARSER (DVDSUB, dvdsub);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
276 REGISTER_PARSER (H261, h261);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
277 REGISTER_PARSER (H263, h263);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
278 REGISTER_PARSER (H264, h264);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
279 REGISTER_PARSER (MJPEG, mjpeg);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
280 REGISTER_PARSER (MPEG4VIDEO, mpeg4video);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
281 REGISTER_PARSER (MPEGAUDIO, mpegaudio);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
282 REGISTER_PARSER (MPEGVIDEO, mpegvideo);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
283 REGISTER_PARSER (PNM, pnm);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
284 REGISTER_PARSER (VC1, vc1);
3421
b7826511f7b6 AVBitStreamFilter (some thingy which can modify the bitstream like add or remove global headers or change the headers or ...)
michael
parents: 3395
diff changeset
285
4994
3fa689636240 allow to enable or disable every bitstream filters individually
aurel
parents: 4934
diff changeset
286 /* bitstream filters */
5622
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
287 REGISTER_BSF (DUMP_EXTRADATA, dump_extradata);
5644
679d6ccfffb0 Add a bitstream filter for H.264.
benoit
parents: 5622
diff changeset
288 REGISTER_BSF (H264_MP4TOANNEXB, h264_mp4toannexb);
5622
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
289 REGISTER_BSF (IMX_DUMP_HEADER, imx_dump_header);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
290 REGISTER_BSF (MJPEGA_DUMP_HEADER, mjpega_dump_header);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
291 REGISTER_BSF (MP3_HEADER_COMPRESS, mp3_header_compress);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
292 REGISTER_BSF (MP3_HEADER_DECOMPRESS, mp3_header_decompress);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
293 REGISTER_BSF (NOISE, noise);
d919c2b4367b cosmetics: Add some whitespace for better readability.
diego
parents: 5621
diff changeset
294 REGISTER_BSF (REMOVE_EXTRADATA, remove_extradata);
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
295 }
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
296