annotate allcodecs.c @ 3362:c43fcf831f7c libavcodec

Do not read full byte when less than 8 bits are still to be read. Does not make a difference with any of my samples, but current code does not make much sense.
author reimar
date Tue, 27 Jun 2006 12:13:01 +0000
parents 87187ebe2c28
children adccbf4a1040
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 /*
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
2 * Utils for libavcodec
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 *
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
5 * This library is free software; you can redistribute it and/or
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
6 * 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
7 * License as published by the Free Software Foundation; either
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
8 * version 2 of the License, or (at your option) any later version.
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
9 *
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
10 * This library is distributed in the hope that it will be useful,
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
11 * 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
12 * 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
13 * 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
14 *
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
15 * You should have received a copy 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
16 * License along with this library; if not, write to the Free Software
3036
0b546eab515d Update licensing information: The FSF changed postal address.
diego
parents: 3030
diff changeset
17 * 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
18 */
1106
1e39f273ecd6 per file doxy
michaelni
parents: 1056
diff changeset
19
1e39f273ecd6 per file doxy
michaelni
parents: 1056
diff changeset
20 /**
1e39f273ecd6 per file doxy
michaelni
parents: 1056
diff changeset
21 * @file allcodecs.c
1e39f273ecd6 per file doxy
michaelni
parents: 1056
diff changeset
22 * Utils for libavcodec.
1e39f273ecd6 per file doxy
michaelni
parents: 1056
diff changeset
23 */
1e39f273ecd6 per file doxy
michaelni
parents: 1056
diff changeset
24
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
25 #include "avcodec.h"
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
26
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
27 /* If you do not call this function, then you can select exactly which
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
28 formats you want to support */
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
29
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
30 /**
2967
ef2149182f1c COSMETICS: Remove all trailing whitespace.
diego
parents: 2956
diff changeset
31 * simple call to register all the codecs.
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
32 */
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
33 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
34 {
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
35 static int inited = 0;
2967
ef2149182f1c COSMETICS: Remove all trailing whitespace.
diego
parents: 2956
diff changeset
36
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
37 if (inited != 0)
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2970
diff changeset
38 return;
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
39 inited = 1;
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
40
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
41 /* encoders */
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
42 #ifdef CONFIG_ENCODERS
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
43 #ifdef CONFIG_AC3_ENCODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
44 register_avcodec(&ac3_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
45 #endif //CONFIG_AC3_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
46 #ifdef CONFIG_MP2_ENCODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
47 register_avcodec(&mp2_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
48 #endif //CONFIG_MP2_ENCODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
49 #ifdef CONFIG_MP3LAME
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
50 #ifdef CONFIG_MP3LAME_ENCODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
51 register_avcodec(&mp3lame_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
52 #endif //CONFIG_MP3LAME_ENCODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
53 #endif
2520
047f7bad4cbb 01-makefile_fix_updated.patch
michael
parents: 2516
diff changeset
54 #ifdef CONFIG_LIBVORBIS
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
55 #ifdef CONFIG_OGGVORBIS_ENCODER
636
57b9a37546a0 oggvorbis support patch by (Mark Hills <mark at pogo dot org dot uk>)
michaelni
parents: 573
diff changeset
56 register_avcodec(&oggvorbis_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
57 #endif //CONFIG_OGGVORBIS_ENCODER
2697
4fe1c19fc7a3 Vorbis decoder by (Balatoni Denes | dbalatoni programozo hu)
michael
parents: 2665
diff changeset
58 #if (defined CONFIG_OGGVORBIS_DECODER && !defined CONFIG_VORBIS_DECODER)
883
b0d29bf1cecd * Ogg/Vorbis patch by Mark Hills
kabi
parents: 881
diff changeset
59 register_avcodec(&oggvorbis_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
60 #endif //CONFIG_OGGVORBIS_DECODER
636
57b9a37546a0 oggvorbis support patch by (Mark Hills <mark at pogo dot org dot uk>)
michaelni
parents: 573
diff changeset
61 #endif
2520
047f7bad4cbb 01-makefile_fix_updated.patch
michael
parents: 2516
diff changeset
62 #ifdef CONFIG_LIBTHEORA
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
63 #ifdef CONFIG_OGGTHEORA_ENCODER
2665
5ea2a7f74817 theora decoding using libtheora
mru
parents: 2639
diff changeset
64 // register_avcodec(&oggtheora_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
65 #endif //CONFIG_OGGTHEORA_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
66 #ifdef CONFIG_OGGTHEORA_DECODER
2520
047f7bad4cbb 01-makefile_fix_updated.patch
michael
parents: 2516
diff changeset
67 register_avcodec(&oggtheora_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
68 #endif //CONFIG_OGGTHEORA_DECODER
2520
047f7bad4cbb 01-makefile_fix_updated.patch
michael
parents: 2516
diff changeset
69 #endif
1500
726a81d83ddd Patch for AAC encoding with libfaac by (Gildas Bazin <gbazin at altern dot org>)
michaelni
parents: 1498
diff changeset
70 #ifdef CONFIG_FAAC
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
71 #ifdef CONFIG_FAAC_ENCODER
1500
726a81d83ddd Patch for AAC encoding with libfaac by (Gildas Bazin <gbazin at altern dot org>)
michaelni
parents: 1498
diff changeset
72 register_avcodec(&faac_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
73 #endif //CONFIG_FAAC_ENCODER
1500
726a81d83ddd Patch for AAC encoding with libfaac by (Gildas Bazin <gbazin at altern dot org>)
michaelni
parents: 1498
diff changeset
74 #endif
3353
5b901881d6ed first rudimentary version of (Justin Ruggles jruggle earthlink net) flac encoder
michael
parents: 3329
diff changeset
75 #ifdef CONFIG_FLAC_ENCODER
5b901881d6ed first rudimentary version of (Justin Ruggles jruggle earthlink net) flac encoder
michael
parents: 3329
diff changeset
76 register_avcodec(&flac_encoder);
5b901881d6ed first rudimentary version of (Justin Ruggles jruggle earthlink net) flac encoder
michael
parents: 3329
diff changeset
77 #endif
2131
060053df9538 XviD Support patch by (Adam Thayer <krevnik at comcast dot net>)
michael
parents: 2123
diff changeset
78 #ifdef CONFIG_XVID
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
79 #ifdef CONFIG_XVID_ENCODER
2131
060053df9538 XviD Support patch by (Adam Thayer <krevnik at comcast dot net>)
michael
parents: 2123
diff changeset
80 register_avcodec(&xvid_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
81 #endif //CONFIG_XVID_ENCODER
2131
060053df9538 XviD Support patch by (Adam Thayer <krevnik at comcast dot net>)
michael
parents: 2123
diff changeset
82 #endif
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
83 #ifdef CONFIG_MPEG1VIDEO_ENCODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
84 register_avcodec(&mpeg1video_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
85 #endif //CONFIG_MPEG1VIDEO_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
86 #ifdef CONFIG_H264_ENCODER
1168
5af9aeadbdc3 H264 decoder & demuxer
michaelni
parents: 1106
diff changeset
87 // register_avcodec(&h264_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
88 #endif //CONFIG_H264_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
89 #ifdef CONFIG_MPEG2VIDEO_ENCODER
1421
340c90faa1dc mpeg2 encoding
michaelni
parents: 1410
diff changeset
90 register_avcodec(&mpeg2video_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
91 #endif //CONFIG_MPEG2VIDEO_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
92 #ifdef CONFIG_H261_ENCODER
2327
5e5cf598a48b H.261 encoder by (Maarten Daniels <maarten dot daniels at luc dot ac dot be>)
michael
parents: 2325
diff changeset
93 register_avcodec(&h261_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
94 #endif //CONFIG_H261_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
95 #ifdef CONFIG_H263_ENCODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
96 register_avcodec(&h263_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
97 #endif //CONFIG_H263_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
98 #ifdef CONFIG_H263P_ENCODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
99 register_avcodec(&h263p_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
100 #endif //CONFIG_H263P_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
101 #ifdef CONFIG_FLV_ENCODER
1357
540dd445bf0f 1000l (forgot to commit)
michaelni
parents: 1315
diff changeset
102 register_avcodec(&flv_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
103 #endif //CONFIG_FLV_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
104 #ifdef CONFIG_RV10_ENCODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
105 register_avcodec(&rv10_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
106 #endif //CONFIG_RV10_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
107 #ifdef CONFIG_RV20_ENCODER
2380
3daf36fd1999 rv20 encoding
michael
parents: 2373
diff changeset
108 register_avcodec(&rv20_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
109 #endif //CONFIG_RV20_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
110 #ifdef CONFIG_MPEG4_ENCODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
111 register_avcodec(&mpeg4_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
112 #endif //CONFIG_MPEG4_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
113 #ifdef CONFIG_MSMPEG4V1_ENCODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
114 register_avcodec(&msmpeg4v1_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
115 #endif //CONFIG_MSMPEG4V1_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
116 #ifdef CONFIG_MSMPEG4V2_ENCODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
117 register_avcodec(&msmpeg4v2_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
118 #endif //CONFIG_MSMPEG4V2_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
119 #ifdef CONFIG_MSMPEG4V3_ENCODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
120 register_avcodec(&msmpeg4v3_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
121 #endif //CONFIG_MSMPEG4V3_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
122 #ifdef CONFIG_WMV1_ENCODER
500
460bc2ba363e wmv1 support
michaelni
parents: 491
diff changeset
123 register_avcodec(&wmv1_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
124 #endif //CONFIG_WMV1_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
125 #ifdef CONFIG_WMV2_ENCODER
936
caa77cd960c0 qpel encoding
michaelni
parents: 922
diff changeset
126 register_avcodec(&wmv2_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
127 #endif //CONFIG_WMV2_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
128 #ifdef CONFIG_SVQ1_ENCODER
2005
28d3f73aa254 first pass at a Sorenson Video 1 (SVQ1) encoder
melanson
parents: 1887
diff changeset
129 register_avcodec(&svq1_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
130 #endif //CONFIG_SVQ1_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
131 #ifdef CONFIG_MJPEG_ENCODER
1042
a78f6f72d54e --disable-risky support
michaelni
parents: 1036
diff changeset
132 register_avcodec(&mjpeg_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
133 #endif //CONFIG_MJPEG_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
134 #ifdef CONFIG_LJPEG_ENCODER
1315
6696d3bf4ff2 lossless mjpeg encoding (planar yuv & RGB) and somerelated bugfixes
michaelni
parents: 1304
diff changeset
135 register_avcodec(&ljpeg_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
136 #endif //CONFIG_LJPEG_ENCODER
2970
583b6ac45c07 unfinished jpeg-ls codec (feel free to finish it ...)
michael
parents: 2967
diff changeset
137 #ifdef CONFIG_JPEGLS_ENCODER
583b6ac45c07 unfinished jpeg-ls codec (feel free to finish it ...)
michael
parents: 2967
diff changeset
138 register_avcodec(&jpegls_encoder);
583b6ac45c07 unfinished jpeg-ls codec (feel free to finish it ...)
michael
parents: 2967
diff changeset
139 #endif //CONFIG_JPEGLS_ENCODER
2343
d8d2d1b01dfe 10l (CONFIG_ZLIB)
michael
parents: 2342
diff changeset
140 #ifdef CONFIG_ZLIB
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
141 #ifdef CONFIG_PNG_ENCODER
2342
8b6668325ff8 porting png support from -f image to -f image2
michael
parents: 2327
diff changeset
142 register_avcodec(&png_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
143 #endif //CONFIG_PNG_ENCODER
2343
d8d2d1b01dfe 10l (CONFIG_ZLIB)
michael
parents: 2342
diff changeset
144 #endif
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
145 #ifdef CONFIG_PPM_ENCODER
2344
f09680c5e8f4 move p*m from image/lavf -> image2/lavc
michael
parents: 2343
diff changeset
146 register_avcodec(&ppm_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
147 #endif //CONFIG_PPM_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
148 #ifdef CONFIG_PGM_ENCODER
2344
f09680c5e8f4 move p*m from image/lavf -> image2/lavc
michael
parents: 2343
diff changeset
149 register_avcodec(&pgm_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
150 #endif //CONFIG_PGM_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
151 #ifdef CONFIG_PGMYUV_ENCODER
2344
f09680c5e8f4 move p*m from image/lavf -> image2/lavc
michael
parents: 2343
diff changeset
152 register_avcodec(&pgmyuv_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
153 #endif //CONFIG_PGMYUV_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
154 #ifdef CONFIG_PBM_ENCODER
2344
f09680c5e8f4 move p*m from image/lavf -> image2/lavc
michael
parents: 2343
diff changeset
155 register_avcodec(&pbm_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
156 #endif //CONFIG_PBM_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
157 #ifdef CONFIG_PAM_ENCODER
2344
f09680c5e8f4 move p*m from image/lavf -> image2/lavc
michael
parents: 2343
diff changeset
158 register_avcodec(&pam_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
159 #endif //CONFIG_PAM_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
160 #ifdef CONFIG_HUFFYUV_ENCODER
866
725ef4ea3ecc huffyuv
michaelni
parents: 827
diff changeset
161 register_avcodec(&huffyuv_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
162 #endif //CONFIG_HUFFYUV_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
163 #ifdef CONFIG_FFVHUFF_ENCODER
2373
f977a8871c2c split ffhuffyuv into 2 codecs:
lorenm
parents: 2355
diff changeset
164 register_avcodec(&ffvhuff_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
165 #endif //CONFIG_FFVHUFF_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
166 #ifdef CONFIG_ASV1_ENCODER
1273
a979fab41ed8 ASV1 codec
michaelni
parents: 1258
diff changeset
167 register_avcodec(&asv1_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
168 #endif //CONFIG_ASV1_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
169 #ifdef CONFIG_ASV2_ENCODER
1434
f98e81331a6f asv2 encoding
michaelni
parents: 1433
diff changeset
170 register_avcodec(&asv2_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
171 #endif //CONFIG_ASV2_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
172 #ifdef CONFIG_FFV1_ENCODER
1300
e18667d1e94d FFV1 codec (our very simple lossless intra only codec, compresses much better then huffyuv)
michaelni
parents: 1297
diff changeset
173 register_avcodec(&ffv1_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
174 #endif //CONFIG_FFV1_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
175 #ifdef CONFIG_SNOW_ENCODER
2138
1ac13c350369 my experimental wavelet codec
michael
parents: 2131
diff changeset
176 register_avcodec(&snow_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
177 #endif //CONFIG_SNOW_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
178 #ifdef CONFIG_ZLIB_ENCODER
1741
f0c21b9a328e MSZH and ZLIB decoder support
rtognimp
parents: 1717
diff changeset
179 register_avcodec(&zlib_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
180 #endif //CONFIG_ZLIB_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
181 #ifdef CONFIG_DVVIDEO_ENCODER
1887
85fe2f4633ec * DV decoding/encoding now supports MultiThreading for up to 324 CPUs ;-)
romansh
parents: 1812
diff changeset
182 register_avcodec(&dvvideo_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
183 #endif //CONFIG_DVVIDEO_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
184 #ifdef CONFIG_SONIC_ENCODER
2182
113732773bda new opensource lossy/lossless audio codec based on speech compression techniques (actually based on bonk)
alex
parents: 2170
diff changeset
185 register_avcodec(&sonic_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
186 #endif //CONFIG_SONIC_ENCODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
187 #ifdef CONFIG_SONIC_LS_ENCODER
2182
113732773bda new opensource lossy/lossless audio codec based on speech compression techniques (actually based on bonk)
alex
parents: 2170
diff changeset
188 register_avcodec(&sonic_ls_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
189 #endif //CONFIG_SONIC_LS_ENCODER
2556
e5af3bc1d038 H.264 encoding with x264 by (Mns Rullgrd <mru inprovide com>)
michael
parents: 2542
diff changeset
190 #ifdef CONFIG_X264
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
191 #ifdef CONFIG_X264_ENCODER
2556
e5af3bc1d038 H.264 encoding with x264 by (Mns Rullgrd <mru inprovide com>)
michael
parents: 2542
diff changeset
192 register_avcodec(&x264_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
193 #endif //CONFIG_X264_ENCODER
2556
e5af3bc1d038 H.264 encoding with x264 by (Mns Rullgrd <mru inprovide com>)
michael
parents: 2542
diff changeset
194 #endif
2729
26bf6f4e9945 libgsm warper by (Alban Bedel: albeu, free fr)
michael
parents: 2700
diff changeset
195 #ifdef CONFIG_LIBGSM
26bf6f4e9945 libgsm warper by (Alban Bedel: albeu, free fr)
michael
parents: 2700
diff changeset
196 register_avcodec(&libgsm_encoder);
26bf6f4e9945 libgsm warper by (Alban Bedel: albeu, free fr)
michael
parents: 2700
diff changeset
197 #endif //CONFIG_LIBGSM
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
198 #ifdef CONFIG_RAWVIDEO_ENCODER
1231
b88dfc4bbf8c * introducing new public interface in imgconvert.c
romansh
parents: 1224
diff changeset
199 register_avcodec(&rawvideo_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
200 #endif //CONFIG_RAWVIDEO_ENCODER
2921
d22a3556292a avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents: 2913
diff changeset
201 #endif /* CONFIG_ENCODERS */
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
202
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
203 /* decoders */
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
204 #ifdef CONFIG_DECODERS
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
205 #ifdef CONFIG_H263_DECODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
206 register_avcodec(&h263_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
207 #endif //CONFIG_H263_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
208 #ifdef CONFIG_H261_DECODER
2044
b6f2add2511e h261 decoder by (Maarten Daniels <maarten.daniels at student dot luc dot ac dot be>)
michael
parents: 2005
diff changeset
209 register_avcodec(&h261_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
210 #endif //CONFIG_H261_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
211 #ifdef CONFIG_MPEG4_DECODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
212 register_avcodec(&mpeg4_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
213 #endif //CONFIG_MPEG4_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
214 #ifdef CONFIG_MSMPEG4V1_DECODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
215 register_avcodec(&msmpeg4v1_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
216 #endif //CONFIG_MSMPEG4V1_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
217 #ifdef CONFIG_MSMPEG4V2_DECODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
218 register_avcodec(&msmpeg4v2_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
219 #endif //CONFIG_MSMPEG4V2_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
220 #ifdef CONFIG_MSMPEG4V3_DECODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
221 register_avcodec(&msmpeg4v3_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
222 #endif //CONFIG_MSMPEG4V3_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
223 #ifdef CONFIG_WMV1_DECODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
224 register_avcodec(&wmv1_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
225 #endif //CONFIG_WMV1_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
226 #ifdef CONFIG_WMV2_DECODER
936
caa77cd960c0 qpel encoding
michaelni
parents: 922
diff changeset
227 register_avcodec(&wmv2_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
228 #endif //CONFIG_WMV2_DECODER
3359
87187ebe2c28 Rename VC9 to VC1 as there is no such thing as VC9
kostya
parents: 3353
diff changeset
229 #ifdef CONFIG_VC1_DECODER
87187ebe2c28 Rename VC9 to VC1 as there is no such thing as VC9
kostya
parents: 3353
diff changeset
230 register_avcodec(&vc1_decoder);
87187ebe2c28 Rename VC9 to VC1 as there is no such thing as VC9
kostya
parents: 3353
diff changeset
231 #endif //CONFIG_VC1_DECODER
3015
1720680830c7 Comment out WMV3 decoder for now, it crashes on every file and causes
diego
parents: 3006
diff changeset
232 /* Reenable when it stops crashing on every file, causing bug report spam.
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
233 #ifdef CONFIG_WMV3_DECODER
2446
7dc7f1a9f5d6 preliminary vc9 bitstream decoder, committing to make syncing and team-work on it easier
alex
parents: 2432
diff changeset
234 register_avcodec(&wmv3_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
235 #endif //CONFIG_WMV3_DECODER
3015
1720680830c7 Comment out WMV3 decoder for now, it crashes on every file and causes
diego
parents: 3006
diff changeset
236 */
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
237 #ifdef CONFIG_H263I_DECODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
238 register_avcodec(&h263i_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
239 #endif //CONFIG_H263I_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
240 #ifdef CONFIG_FLV_DECODER
1357
540dd445bf0f 1000l (forgot to commit)
michaelni
parents: 1315
diff changeset
241 register_avcodec(&flv_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
242 #endif //CONFIG_FLV_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
243 #ifdef CONFIG_RV10_DECODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
244 register_avcodec(&rv10_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
245 #endif //CONFIG_RV10_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
246 #ifdef CONFIG_RV20_DECODER
1639
3e2b774edce4 rv20 decoder
michael
parents: 1624
diff changeset
247 register_avcodec(&rv20_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
248 #endif //CONFIG_RV20_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
249 #ifdef CONFIG_SVQ1_DECODER
521
9c66b5183ab3 new codec: Sorenson v1
nickols_k
parents: 500
diff changeset
250 register_avcodec(&svq1_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
251 #endif //CONFIG_SVQ1_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
252 #ifdef CONFIG_SVQ3_DECODER
1234
fc2a7eefa9cc svq3 decoder by anonymous
michaelni
parents: 1231
diff changeset
253 register_avcodec(&svq3_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
254 #endif //CONFIG_SVQ3_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
255 #ifdef CONFIG_WMAV1_DECODER
1042
a78f6f72d54e --disable-risky support
michaelni
parents: 1036
diff changeset
256 register_avcodec(&wmav1_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
257 #endif //CONFIG_WMAV1_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
258 #ifdef CONFIG_WMAV2_DECODER
1042
a78f6f72d54e --disable-risky support
michaelni
parents: 1036
diff changeset
259 register_avcodec(&wmav2_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
260 #endif //CONFIG_WMAV2_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
261 #ifdef CONFIG_INDEO2_DECODER
2618
fc91ca5b9066 Indeo 2 decoder by (Kostya <> kostya.shishkov gmail com)
michael
parents: 2588
diff changeset
262 register_avcodec(&indeo2_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
263 #endif //CONFIG_INDEO2_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
264 #ifdef CONFIG_INDEO3_DECODER
1190
60bd91a6e218 native Indeo3 decoder implementation
tmmm
parents: 1168
diff changeset
265 register_avcodec(&indeo3_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
266 #endif //CONFIG_INDEO3_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
267 #ifdef CONFIG_TSCC_DECODER
2234
dff53892ff8a IBM Ultimotion video decoder, courtesy of Konstantin Shishkov
melanson
parents: 2182
diff changeset
268 register_avcodec(&tscc_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
269 #endif //CONFIG_TSCC_DECODER
3030
6bc2dc147ac5 CamStudio decoder, only 32 bit lzo mode is tested
reimar
parents: 3015
diff changeset
270 #ifdef CONFIG_CSCD_DECODER
6bc2dc147ac5 CamStudio decoder, only 32 bit lzo mode is tested
reimar
parents: 3015
diff changeset
271 register_avcodec(&cscd_decoder);
6bc2dc147ac5 CamStudio decoder, only 32 bit lzo mode is tested
reimar
parents: 3015
diff changeset
272 #endif //CONFIG_CSCD_DECODER
3224
28aaf0a0135e NuppelVideo/MythTVVideo support, including rtjpeg decoder
reimar
parents: 3209
diff changeset
273 #ifdef CONFIG_NUV_DECODER
28aaf0a0135e NuppelVideo/MythTVVideo support, including rtjpeg decoder
reimar
parents: 3209
diff changeset
274 register_avcodec(&nuv_decoder);
28aaf0a0135e NuppelVideo/MythTVVideo support, including rtjpeg decoder
reimar
parents: 3209
diff changeset
275 #endif //CONFIG_NUV_DECODER
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
276 #ifdef CONFIG_ULTI_DECODER
2234
dff53892ff8a IBM Ultimotion video decoder, courtesy of Konstantin Shishkov
melanson
parents: 2182
diff changeset
277 register_avcodec(&ulti_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
278 #endif //CONFIG_ULTI_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
279 #ifdef CONFIG_QDRAW_DECODER
2275
c443a6af19a7 support for Sierra Online audio files and Apple QuickDraw codec,
melanson
parents: 2234
diff changeset
280 register_avcodec(&qdraw_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
281 #endif //CONFIG_QDRAW_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
282 #ifdef CONFIG_XL_DECODER
2325
1180a04d64c5 Miro VideoXL (VIXL) decoder, courtesy of Konstantin Shishkov
melanson
parents: 2319
diff changeset
283 register_avcodec(&xl_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
284 #endif //CONFIG_XL_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
285 #ifdef CONFIG_QPEG_DECODER
2355
69fcdad5f7d5 native QPEG video decoder, courtesy of Konstantin Shishkov
melanson
parents: 2348
diff changeset
286 register_avcodec(&qpeg_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
287 #endif //CONFIG_QPEG_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
288 #ifdef CONFIG_LOCO_DECODER
2530
eace30b70601 go LOCO, courtesy of Kostya Shishkov
melanson
parents: 2525
diff changeset
289 register_avcodec(&loco_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
290 #endif //CONFIG_LOCO_DECODER
3253
226ffbb6fd02 KMVC (used in Worms games) decoder. Works fine with samples from MPHQ
kostya
parents: 3238
diff changeset
291 #ifdef CONFIG_KMVC_DECODER
226ffbb6fd02 KMVC (used in Worms games) decoder. Works fine with samples from MPHQ
kostya
parents: 3238
diff changeset
292 register_avcodec(&kmvc_decoder);
226ffbb6fd02 KMVC (used in Worms games) decoder. Works fine with samples from MPHQ
kostya
parents: 3238
diff changeset
293 #endif //CONFIG_KMVC_DECODER
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
294 #ifdef CONFIG_WNV1_DECODER
2577
7d9997a69158 Winnov WNV1 video decoder, courtesy of Konstantin Shishkov
melanson
parents: 2556
diff changeset
295 register_avcodec(&wnv1_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
296 #endif //CONFIG_WNV1_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
297 #ifdef CONFIG_AASC_DECODER
2588
b6b618986f80 Autodesk Animator Studio Codec (AASC) video decoder, courtesy of
melanson
parents: 2585
diff changeset
298 register_avcodec(&aasc_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
299 #endif //CONFIG_AASC_DECODER
2700
485571c9182f Fraps FPS1 video decoder (v1 & v2), courtesy of Roine Gustafsson <roine
melanson
parents: 2697
diff changeset
300 #ifdef CONFIG_FRAPS_DECODER
485571c9182f Fraps FPS1 video decoder (v1 & v2), courtesy of Roine Gustafsson <roine
melanson
parents: 2697
diff changeset
301 register_avcodec(&fraps_decoder);
485571c9182f Fraps FPS1 video decoder (v1 & v2), courtesy of Roine Gustafsson <roine
melanson
parents: 2697
diff changeset
302 #endif //CONFIG_FRAPS_DECODER
1245
cd88870c4560 * support for AAC audio streams via libfaad
kabi
parents: 1234
diff changeset
303 #ifdef CONFIG_FAAD
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
304 #ifdef CONFIG_AAC_DECODER
1245
cd88870c4560 * support for AAC audio streams via libfaad
kabi
parents: 1234
diff changeset
305 register_avcodec(&aac_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
306 #endif //CONFIG_AAC_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
307 #ifdef CONFIG_MPEG4AAC_DECODER
1245
cd88870c4560 * support for AAC audio streams via libfaad
kabi
parents: 1234
diff changeset
308 register_avcodec(&mpeg4aac_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
309 #endif //CONFIG_MPEG4AAC_DECODER
1245
cd88870c4560 * support for AAC audio streams via libfaad
kabi
parents: 1234
diff changeset
310 #endif
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
311 #ifdef CONFIG_MPEG1VIDEO_DECODER
1423
2e590fee59bd mpeg2 regression test
michaelni
parents: 1421
diff changeset
312 register_avcodec(&mpeg1video_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
313 #endif //CONFIG_MPEG1VIDEO_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
314 #ifdef CONFIG_MPEG2VIDEO_DECODER
1423
2e590fee59bd mpeg2 regression test
michaelni
parents: 1421
diff changeset
315 register_avcodec(&mpeg2video_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
316 #endif //CONFIG_MPEG2VIDEO_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
317 #ifdef CONFIG_MPEGVIDEO_DECODER
1615
721a76648a4b mpegvideo is back
iive
parents: 1613
diff changeset
318 register_avcodec(&mpegvideo_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
319 #endif //CONFIG_MPEGVIDEO_DECODER
1381
f07e17427140 initial XvMC support
iive
parents: 1374
diff changeset
320 #ifdef HAVE_XVMC
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
321 #ifdef CONFIG_MPEG_XVMC_DECODER
1381
f07e17427140 initial XvMC support
iive
parents: 1374
diff changeset
322 register_avcodec(&mpeg_xvmc_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
323 #endif //CONFIG_MPEG_XVMC_DECODER
1381
f07e17427140 initial XvMC support
iive
parents: 1374
diff changeset
324 #endif
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
325 #ifdef CONFIG_DVVIDEO_DECODER
724
caa4c757a47d added DV support
bellard
parents: 636
diff changeset
326 register_avcodec(&dvvideo_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
327 #endif //CONFIG_DVVIDEO_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
328 #ifdef CONFIG_MJPEG_DECODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
329 register_avcodec(&mjpeg_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
330 #endif //CONFIG_MJPEG_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
331 #ifdef CONFIG_MJPEGB_DECODER
881
d326091dae9f mjpegb support (need more samples)
al3x
parents: 866
diff changeset
332 register_avcodec(&mjpegb_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
333 #endif //CONFIG_MJPEGB_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
334 #ifdef CONFIG_SP5X_DECODER
1519
b44267fc5ec4 Sunplus JPEG codec (SP5X) support
alex
parents: 1516
diff changeset
335 register_avcodec(&sp5x_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
336 #endif //CONFIG_SP5X_DECODER
2343
d8d2d1b01dfe 10l (CONFIG_ZLIB)
michael
parents: 2342
diff changeset
337 #ifdef CONFIG_ZLIB
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
338 #ifdef CONFIG_PNG_DECODER
2342
8b6668325ff8 porting png support from -f image to -f image2
michael
parents: 2327
diff changeset
339 register_avcodec(&png_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
340 #endif //CONFIG_PNG_DECODER
2343
d8d2d1b01dfe 10l (CONFIG_ZLIB)
michael
parents: 2342
diff changeset
341 #endif
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
342 #ifdef CONFIG_MP2_DECODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
343 register_avcodec(&mp2_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
344 #endif //CONFIG_MP2_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
345 #ifdef CONFIG_MP3_DECODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
346 register_avcodec(&mp3_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
347 #endif //CONFIG_MP3_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
348 #ifdef CONFIG_MP3ADU_DECODER
2432
d9cf90e66883 Decode MP3 in ADU format
rtognimp
parents: 2380
diff changeset
349 register_avcodec(&mp3adu_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
350 #endif //CONFIG_MP3ADU_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
351 #ifdef CONFIG_MP3ON4_DECODER
2507
0334caf0f0ce Multichannel mp3 in mp4 support ISO/IEC 14496-3:2001/FPDAM 3 (MP3onMP4)
rtognimp
parents: 2446
diff changeset
352 register_avcodec(&mp3on4_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
353 #endif //CONFIG_MP3ON4_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
354 #ifdef CONFIG_MACE3_DECODER
827
770578c6c300 added MACE (Macintosh Audio Compression/Expansion) 3:1 & 6:1 support
michaelni
parents: 783
diff changeset
355 register_avcodec(&mace3_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
356 #endif //CONFIG_MACE3_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
357 #ifdef CONFIG_MACE6_DECODER
827
770578c6c300 added MACE (Macintosh Audio Compression/Expansion) 3:1 & 6:1 support
michaelni
parents: 783
diff changeset
358 register_avcodec(&mace6_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
359 #endif //CONFIG_MACE6_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
360 #ifdef CONFIG_HUFFYUV_DECODER
866
725ef4ea3ecc huffyuv
michaelni
parents: 827
diff changeset
361 register_avcodec(&huffyuv_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
362 #endif //CONFIG_HUFFYUV_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
363 #ifdef CONFIG_FFVHUFF_DECODER
2373
f977a8871c2c split ffhuffyuv into 2 codecs:
lorenm
parents: 2355
diff changeset
364 register_avcodec(&ffvhuff_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
365 #endif //CONFIG_FFVHUFF_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
366 #ifdef CONFIG_FFV1_DECODER
1300
e18667d1e94d FFV1 codec (our very simple lossless intra only codec, compresses much better then huffyuv)
michaelni
parents: 1297
diff changeset
367 register_avcodec(&ffv1_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
368 #endif //CONFIG_FFV1_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
369 #ifdef CONFIG_SNOW_DECODER
2138
1ac13c350369 my experimental wavelet codec
michael
parents: 2131
diff changeset
370 register_avcodec(&snow_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
371 #endif //CONFIG_SNOW_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
372 #ifdef CONFIG_CYUV_DECODER
1056
eb403f8158eb register cyuv with allcodecs.c
tmmm
parents: 1042
diff changeset
373 register_avcodec(&cyuv_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
374 #endif //CONFIG_CYUV_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
375 #ifdef CONFIG_H264_DECODER
1168
5af9aeadbdc3 H264 decoder & demuxer
michaelni
parents: 1106
diff changeset
376 register_avcodec(&h264_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
377 #endif //CONFIG_H264_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
378 #ifdef CONFIG_VP3_DECODER
1224
3fa9a3de913f first pass at a new VP3 video decoder
tmmm
parents: 1190
diff changeset
379 register_avcodec(&vp3_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
380 #endif //CONFIG_VP3_DECODER
2665
5ea2a7f74817 theora decoding using libtheora
mru
parents: 2639
diff changeset
381 #if (defined CONFIG_THEORA_DECODER && !defined CONFIG_LIBTHEORA)
1516
0f0e9dfa6723 theora decoding support (only keyframes for now, because by theora the frame isn't flipped so the motion vectors are getting screwed up)
alex
parents: 1500
diff changeset
382 register_avcodec(&theora_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
383 #endif //CONFIG_THEORA_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
384 #ifdef CONFIG_ASV1_DECODER
1273
a979fab41ed8 ASV1 codec
michaelni
parents: 1258
diff changeset
385 register_avcodec(&asv1_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
386 #endif //CONFIG_ASV1_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
387 #ifdef CONFIG_ASV2_DECODER
1433
46d3fa8501cd ASV2 decoder
michaelni
parents: 1423
diff changeset
388 register_avcodec(&asv2_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
389 #endif //CONFIG_ASV2_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
390 #ifdef CONFIG_VCR1_DECODER
1374
f9b088451fb3 ATI VCR1 decoder
michaelni
parents: 1357
diff changeset
391 register_avcodec(&vcr1_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
392 #endif //CONFIG_VCR1_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
393 #ifdef CONFIG_CLJR_DECODER
1385
a16990d50fce CLJR decoding support
al3x
parents: 1381
diff changeset
394 register_avcodec(&cljr_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
395 #endif //CONFIG_CLJR_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
396 #ifdef CONFIG_FOURXM_DECODER
1293
a918c7d38345 4xm codec
michaelni
parents: 1273
diff changeset
397 register_avcodec(&fourxm_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
398 #endif //CONFIG_FOURXM_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
399 #ifdef CONFIG_MDEC_DECODER
1410
524c904a66b8 PSX MDEC decoder, based upon some code from Sebastian Jedruszkiewicz <elf at frogger dot rules dot pl>
michaelni
parents: 1385
diff changeset
400 register_avcodec(&mdec_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
401 #endif //CONFIG_MDEC_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
402 #ifdef CONFIG_ROQ_DECODER
1439
a4d00b1f0271 initial commit for Id RoQ and Interplay MVE multimedia subsystems
tmmm
parents: 1434
diff changeset
403 register_avcodec(&roq_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
404 #endif //CONFIG_ROQ_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
405 #ifdef CONFIG_INTERPLAY_VIDEO_DECODER
1439
a4d00b1f0271 initial commit for Id RoQ and Interplay MVE multimedia subsystems
tmmm
parents: 1434
diff changeset
406 register_avcodec(&interplay_video_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
407 #endif //CONFIG_INTERPLAY_VIDEO_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
408 #ifdef CONFIG_XAN_WC3_DECODER
1443
47f4c8a5a7fc New fringe codecs: WC3/Xan video, Xan DPCM, DK3 & DK4 ADPCM
tmmm
parents: 1439
diff changeset
409 register_avcodec(&xan_wc3_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
410 #endif //CONFIG_XAN_WC3_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
411 #ifdef CONFIG_RPZA_DECODER
1491
222643544cf1 New demuxers: Sega FILM/CPK, Westwood VQA & AUD; new decoders: MS RLE &
tmmm
parents: 1489
diff changeset
412 register_avcodec(&rpza_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
413 #endif //CONFIG_RPZA_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
414 #ifdef CONFIG_CINEPAK_DECODER
1491
222643544cf1 New demuxers: Sega FILM/CPK, Westwood VQA & AUD; new decoders: MS RLE &
tmmm
parents: 1489
diff changeset
415 register_avcodec(&cinepak_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
416 #endif //CONFIG_CINEPAK_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
417 #ifdef CONFIG_MSRLE_DECODER
1491
222643544cf1 New demuxers: Sega FILM/CPK, Westwood VQA & AUD; new decoders: MS RLE &
tmmm
parents: 1489
diff changeset
418 register_avcodec(&msrle_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
419 #endif //CONFIG_MSRLE_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
420 #ifdef CONFIG_MSVIDEO1_DECODER
1491
222643544cf1 New demuxers: Sega FILM/CPK, Westwood VQA & AUD; new decoders: MS RLE &
tmmm
parents: 1489
diff changeset
421 register_avcodec(&msvideo1_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
422 #endif //CONFIG_MSVIDEO1_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
423 #ifdef CONFIG_VQA_DECODER
1496
b78a9ba6a568 first pass at a VQA video decoder
tmmm
parents: 1491
diff changeset
424 register_avcodec(&vqa_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
425 #endif //CONFIG_VQA_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
426 #ifdef CONFIG_IDCIN_DECODER
1498
9eb9b77cf418 implemented Id Quake II CIN support
tmmm
parents: 1496
diff changeset
427 register_avcodec(&idcin_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
428 #endif //CONFIG_IDCIN_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
429 #ifdef CONFIG_EIGHTBPS_DECODER
1608
639972344c6f 8BPS decoder
rtognimp
parents: 1535
diff changeset
430 register_avcodec(&eightbps_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
431 #endif //CONFIG_EIGHTBPS_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
432 #ifdef CONFIG_SMC_DECODER
1610
b0fe2a0adf49 added Apple Graphics (SMC) decoder
melanson
parents: 1608
diff changeset
433 register_avcodec(&smc_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
434 #endif //CONFIG_SMC_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
435 #ifdef CONFIG_FLIC_DECODER
1624
46dee16488ae yep, FLI support
melanson
parents: 1615
diff changeset
436 register_avcodec(&flic_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
437 #endif //CONFIG_FLIC_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
438 #ifdef CONFIG_TRUEMOTION1_DECODER
1650
bdade3baabfc initial support for Duck TrueMotion v1 (think of it as On2 VP1); only
melanson
parents: 1639
diff changeset
439 register_avcodec(&truemotion1_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
440 #endif //CONFIG_TRUEMOTION1_DECODER
2906
e578b3572987 Duck TrueMotion 2 video decoder, courtesy of Konstantin Shishkov
melanson
parents: 2852
diff changeset
441 #ifdef CONFIG_TRUEMOTION2_DECODER
e578b3572987 Duck TrueMotion 2 video decoder, courtesy of Konstantin Shishkov
melanson
parents: 2852
diff changeset
442 register_avcodec(&truemotion2_decoder);
e578b3572987 Duck TrueMotion 2 video decoder, courtesy of Konstantin Shishkov
melanson
parents: 2852
diff changeset
443 #endif //CONFIG_TRUEMOTION2_DECODER
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
444 #ifdef CONFIG_VMDVIDEO_DECODER
1717
6a7e68899d8a first pass at Sierra VMD A/V decoders; video looks great, audio is not
melanson
parents: 1650
diff changeset
445 register_avcodec(&vmdvideo_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
446 #endif //CONFIG_VMDVIDEO_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
447 #ifdef CONFIG_VMDAUDIO_DECODER
1717
6a7e68899d8a first pass at Sierra VMD A/V decoders; video looks great, audio is not
melanson
parents: 1650
diff changeset
448 register_avcodec(&vmdaudio_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
449 #endif //CONFIG_VMDAUDIO_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
450 #ifdef CONFIG_MSZH_DECODER
1741
f0c21b9a328e MSZH and ZLIB decoder support
rtognimp
parents: 1717
diff changeset
451 register_avcodec(&mszh_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
452 #endif //CONFIG_MSZH_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
453 #ifdef CONFIG_ZLIB_DECODER
1741
f0c21b9a328e MSZH and ZLIB decoder support
rtognimp
parents: 1717
diff changeset
454 register_avcodec(&zlib_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
455 #endif //CONFIG_ZLIB_DECODER
3120
1d184d61e714 dosbox native ZMBV decoder, courtesy of Kostya
melanson
parents: 3119
diff changeset
456 #ifdef CONFIG_ZMBV_DECODER
1d184d61e714 dosbox native ZMBV decoder, courtesy of Kostya
melanson
parents: 3119
diff changeset
457 register_avcodec(&zmbv_decoder);
1d184d61e714 dosbox native ZMBV decoder, courtesy of Kostya
melanson
parents: 3119
diff changeset
458 #endif //CONFIG_ZMBV_DECODER
3209
cc86ebc32143 Smacker demuxer and decoder.
kostya
parents: 3129
diff changeset
459 #ifdef CONFIG_SMACKER_DECODER
cc86ebc32143 Smacker demuxer and decoder.
kostya
parents: 3129
diff changeset
460 register_avcodec(&smacker_decoder);
cc86ebc32143 Smacker demuxer and decoder.
kostya
parents: 3129
diff changeset
461 #endif //CONFIG_SMACKER_DECODER
cc86ebc32143 Smacker demuxer and decoder.
kostya
parents: 3129
diff changeset
462 #ifdef CONFIG_SMACKAUD_DECODER
cc86ebc32143 Smacker demuxer and decoder.
kostya
parents: 3129
diff changeset
463 register_avcodec(&smackaud_decoder);
cc86ebc32143 Smacker demuxer and decoder.
kostya
parents: 3129
diff changeset
464 #endif //CONFIG_SMACKAUD_DECODER
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
465 #ifdef CONFIG_SONIC_DECODER
2182
113732773bda new opensource lossy/lossless audio codec based on speech compression techniques (actually based on bonk)
alex
parents: 2170
diff changeset
466 register_avcodec(&sonic_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
467 #endif //CONFIG_SONIC_DECODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
468 #ifdef CONFIG_AC3
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
469 #ifdef CONFIG_AC3_DECODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
470 register_avcodec(&ac3_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
471 #endif //CONFIG_AC3_DECODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
472 #endif
2123
ef54decf5624 libdts support by (Benjamin Zores <ben at geexbox dot org>)
michael
parents: 2081
diff changeset
473 #ifdef CONFIG_DTS
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
474 #ifdef CONFIG_DTS_DECODER
2123
ef54decf5624 libdts support by (Benjamin Zores <ben at geexbox dot org>)
michael
parents: 2081
diff changeset
475 register_avcodec(&dts_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
476 #endif //CONFIG_DTS_DECODER
2123
ef54decf5624 libdts support by (Benjamin Zores <ben at geexbox dot org>)
michael
parents: 2081
diff changeset
477 #endif
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
478 #ifdef CONFIG_RA_144_DECODER
1304
e8543aab0cc9 RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders. Author unknown, code from a mplayerhq (originally from public domain player for Amiga
nickols_k
parents: 1300
diff changeset
479 register_avcodec(&ra_144_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
480 #endif //CONFIG_RA_144_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
481 #ifdef CONFIG_RA_288_DECODER
1304
e8543aab0cc9 RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders. Author unknown, code from a mplayerhq (originally from public domain player for Amiga
nickols_k
parents: 1300
diff changeset
482 register_avcodec(&ra_288_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
483 #endif //CONFIG_RA_288_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
484 #ifdef CONFIG_ROQ_DPCM_DECODER
1439
a4d00b1f0271 initial commit for Id RoQ and Interplay MVE multimedia subsystems
tmmm
parents: 1434
diff changeset
485 register_avcodec(&roq_dpcm_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
486 #endif //CONFIG_ROQ_DPCM_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
487 #ifdef CONFIG_INTERPLAY_DPCM_DECODER
1439
a4d00b1f0271 initial commit for Id RoQ and Interplay MVE multimedia subsystems
tmmm
parents: 1434
diff changeset
488 register_avcodec(&interplay_dpcm_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
489 #endif //CONFIG_INTERPLAY_DPCM_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
490 #ifdef CONFIG_XAN_DPCM_DECODER
1443
47f4c8a5a7fc New fringe codecs: WC3/Xan video, Xan DPCM, DK3 & DK4 ADPCM
tmmm
parents: 1439
diff changeset
491 register_avcodec(&xan_dpcm_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
492 #endif //CONFIG_XAN_DPCM_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
493 #ifdef CONFIG_SOL_DPCM_DECODER
2275
c443a6af19a7 support for Sierra Online audio files and Apple QuickDraw codec,
melanson
parents: 2234
diff changeset
494 register_avcodec(&sol_dpcm_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
495 #endif //CONFIG_SOL_DPCM_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
496 #ifdef CONFIG_QTRLE_DECODER
1783
66ae3c109d90 initial commit for Quicktime Animation (RLE) video decoder; bit depths
melanson
parents: 1779
diff changeset
497 register_avcodec(&qtrle_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
498 #endif //CONFIG_QTRLE_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
499 #ifdef CONFIG_FLAC_DECODER
1812
6d762acfff5d flac fixes:
michael
parents: 1791
diff changeset
500 register_avcodec(&flac_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
501 #endif //CONFIG_FLAC_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
502 #ifdef CONFIG_SHORTEN_DECODER
2525
b47af698085e shorten decoder by (Jeff Muizelaar <jrmuizel gmail com>)
michael
parents: 2520
diff changeset
503 register_avcodec(&shorten_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
504 #endif //CONFIG_SHORTEN_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
505 #ifdef CONFIG_ALAC_DECODER
2542
a27a580f292e first pass at ALAC decoder from David Hammerton; while David's original
melanson
parents: 2530
diff changeset
506 register_avcodec(&alac_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
507 #endif //CONFIG_ALAC_DECODER
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
508 #ifdef CONFIG_WS_SND1_DECODER
2585
1ef8fab234c8 Westwood SND1 decoder, courtesy of Kostya
melanson
parents: 2577
diff changeset
509 register_avcodec(&ws_snd1_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
510 #endif //CONFIG_WS_SND1_DECODER
2697
4fe1c19fc7a3 Vorbis decoder by (Balatoni Denes | dbalatoni programozo hu)
michael
parents: 2665
diff changeset
511 #ifdef CONFIG_VORBIS_DECODER
4fe1c19fc7a3 Vorbis decoder by (Balatoni Denes | dbalatoni programozo hu)
michael
parents: 2665
diff changeset
512 register_avcodec(&vorbis_decoder);
4fe1c19fc7a3 Vorbis decoder by (Balatoni Denes | dbalatoni programozo hu)
michael
parents: 2665
diff changeset
513 #endif
2729
26bf6f4e9945 libgsm warper by (Alban Bedel: albeu, free fr)
michael
parents: 2700
diff changeset
514 #ifdef CONFIG_LIBGSM
26bf6f4e9945 libgsm warper by (Alban Bedel: albeu, free fr)
michael
parents: 2700
diff changeset
515 register_avcodec(&libgsm_decoder);
26bf6f4e9945 libgsm warper by (Alban Bedel: albeu, free fr)
michael
parents: 2700
diff changeset
516 #endif //CONFIG_LIBGSM
2913
cc55bc1f8d92 QDM2 compatible decoder
rtognimp
parents: 2906
diff changeset
517 #ifdef CONFIG_QDM2_DECODER
cc55bc1f8d92 QDM2 compatible decoder
rtognimp
parents: 2906
diff changeset
518 register_avcodec(&qdm2_decoder);
cc55bc1f8d92 QDM2 compatible decoder
rtognimp
parents: 2906
diff changeset
519 #endif //CONFIG_QDM2_DECODER
2956
5f51b1e0bed6 Cook compatibe decoder, patch by Benjamin Larsson
rtognimp
parents: 2949
diff changeset
520 #ifdef CONFIG_COOK_DECODER
5f51b1e0bed6 Cook compatibe decoder, patch by Benjamin Larsson
rtognimp
parents: 2949
diff changeset
521 register_avcodec(&cook_decoder);
5f51b1e0bed6 Cook compatibe decoder, patch by Benjamin Larsson
rtognimp
parents: 2949
diff changeset
522 #endif //CONFIG_COOK_DECODER
3006
4007989367bc TrueSpeech compatible audio decoder by Konstantin Shishkov
diego
parents: 2979
diff changeset
523 #ifdef CONFIG_TRUESPEECH_DECODER
4007989367bc TrueSpeech compatible audio decoder by Konstantin Shishkov
diego
parents: 2979
diff changeset
524 register_avcodec(&truespeech_decoder);
4007989367bc TrueSpeech compatible audio decoder by Konstantin Shishkov
diego
parents: 2979
diff changeset
525 #endif //CONFIG_TRUESPEECH_DECODER
3118
01b58c3b8a91 tta decoder, tested with 44khz mono and stereo (for the latter use ffplay or change MAX_AUDIO_FRAME_SIZE)
alex
parents: 3098
diff changeset
526 #ifdef CONFIG_TTA_DECODER
01b58c3b8a91 tta decoder, tested with 44khz mono and stereo (for the latter use ffplay or change MAX_AUDIO_FRAME_SIZE)
alex
parents: 3098
diff changeset
527 register_avcodec(&tta_decoder);
01b58c3b8a91 tta decoder, tested with 44khz mono and stereo (for the latter use ffplay or change MAX_AUDIO_FRAME_SIZE)
alex
parents: 3098
diff changeset
528 #endif //CONFIG_TTA_DECODER
3129
0ebbd476ba32 complete AVS playback system (from Creature Shock computer game),
melanson
parents: 3127
diff changeset
529 #ifdef CONFIG_AVS_DECODER
0ebbd476ba32 complete AVS playback system (from Creature Shock computer game),
melanson
parents: 3127
diff changeset
530 register_avcodec(&avs_decoder);
0ebbd476ba32 complete AVS playback system (from Creature Shock computer game),
melanson
parents: 3127
diff changeset
531 #endif //CONFIG_AVS_DECODER
2921
d22a3556292a avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents: 2913
diff changeset
532 #ifdef CONFIG_RAWVIDEO_DECODER
d22a3556292a avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents: 2913
diff changeset
533 register_avcodec(&rawvideo_decoder);
d22a3556292a avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents: 2913
diff changeset
534 #endif //CONFIG_RAWVIDEO_DECODER
3329
726ab1038351 Flash Screen Video decoder (fourcc:FSV1)
banan
parents: 3278
diff changeset
535 #ifdef CONFIG_FLASHSV_DECODER
726ab1038351 Flash Screen Video decoder (fourcc:FSV1)
banan
parents: 3278
diff changeset
536 register_avcodec(&flashsv_decoder);
726ab1038351 Flash Screen Video decoder (fourcc:FSV1)
banan
parents: 3278
diff changeset
537 #endif //CONFIG_FLASHSV_DECODER
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
538 #endif /* CONFIG_DECODERS */
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
539
3278
93110d5554ab Enable AMR_NB decoder/encoder when either AMR_NB or AMR_NB_FIXED is defined.
diego
parents: 3262
diff changeset
540 #if defined(AMR_NB) || defined(AMR_NB_FIXED)
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
541 #ifdef CONFIG_AMR_NB_DECODER
1258
802614404398 AMR-NB audio support patch by (<joca at rixmail dot se>)
michaelni
parents: 1245
diff changeset
542 register_avcodec(&amr_nb_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
543 #endif //CONFIG_AMR_NB_DECODER
1535
bcb30ec7e86f activate the XA and ADX ADPCM codecs
melanson
parents: 1519
diff changeset
544 #ifdef CONFIG_ENCODERS
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
545 #ifdef CONFIG_AMR_NB_ENCODER
1297
1db67cd7808a * 3gp patch by Joca
kabi
parents: 1296
diff changeset
546 register_avcodec(&amr_nb_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
547 #endif //CONFIG_AMR_NB_ENCODER
1535
bcb30ec7e86f activate the XA and ADX ADPCM codecs
melanson
parents: 1519
diff changeset
548 #endif //CONFIG_ENCODERS
3278
93110d5554ab Enable AMR_NB decoder/encoder when either AMR_NB or AMR_NB_FIXED is defined.
diego
parents: 3262
diff changeset
549 #endif /* AMR_NB || AMR_NB_FIXED */
1486
f22010affdce AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents: 1443
diff changeset
550
f22010affdce AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents: 1443
diff changeset
551 #ifdef AMR_WB
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
552 #ifdef CONFIG_AMR_WB_DECODER
1486
f22010affdce AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents: 1443
diff changeset
553 register_avcodec(&amr_wb_decoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
554 #endif //CONFIG_AMR_WB_DECODER
1535
bcb30ec7e86f activate the XA and ADX ADPCM codecs
melanson
parents: 1519
diff changeset
555 #ifdef CONFIG_ENCODERS
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
556 #ifdef CONFIG_AMR_WB_ENCODER
1486
f22010affdce AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents: 1443
diff changeset
557 register_avcodec(&amr_wb_encoder);
2638
00393c294d4d #ifdefs around most register_avcodec
michael
parents: 2618
diff changeset
558 #endif //CONFIG_AMR_WB_ENCODER
1535
bcb30ec7e86f activate the XA and ADX ADPCM codecs
melanson
parents: 1519
diff changeset
559 #endif //CONFIG_ENCODERS
1486
f22010affdce AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents: 1443
diff changeset
560 #endif /* AMR_WB */
f22010affdce AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents: 1443
diff changeset
561
2949
e5a10ae14ffb BMP image decoder
mru
parents: 2948
diff changeset
562 #ifdef CONFIG_BMP_DECODER
e5a10ae14ffb BMP image decoder
mru
parents: 2948
diff changeset
563 register_avcodec(&bmp_decoder);
e5a10ae14ffb BMP image decoder
mru
parents: 2948
diff changeset
564 #endif
e5a10ae14ffb BMP image decoder
mru
parents: 2948
diff changeset
565
3119
09ae2e981d64 complete American Laser Games MM playback system, courtesy of Peter Ross
melanson
parents: 3118
diff changeset
566 #if CONFIG_MMVIDEO_DECODER
09ae2e981d64 complete American Laser Games MM playback system, courtesy of Peter Ross
melanson
parents: 3118
diff changeset
567 register_avcodec(&mmvideo_decoder);
09ae2e981d64 complete American Laser Games MM playback system, courtesy of Peter Ross
melanson
parents: 3118
diff changeset
568 #endif //CONFIG_MMVIDEO_DECODER
09ae2e981d64 complete American Laser Games MM playback system, courtesy of Peter Ross
melanson
parents: 3118
diff changeset
569
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
570 /* pcm codecs */
2921
d22a3556292a avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents: 2913
diff changeset
571 #if defined (CONFIG_ENCODERS) && defined (CONFIG_DECODERS)
d22a3556292a avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents: 2913
diff changeset
572 #define PCM_CODEC(id, name) \
d22a3556292a avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents: 2913
diff changeset
573 register_avcodec(& name ## _encoder); \
d22a3556292a avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents: 2913
diff changeset
574 register_avcodec(& name ## _decoder);
d22a3556292a avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents: 2913
diff changeset
575 #elif defined (CONFIG_ENCODERS)
d22a3556292a avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents: 2913
diff changeset
576 #define PCM_CODEC(id, name) \
d22a3556292a avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents: 2913
diff changeset
577 register_avcodec(& name ## _encoder);
d22a3556292a avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents: 2913
diff changeset
578 #elif defined (CONFIG_DECODERS)
d22a3556292a avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents: 2913
diff changeset
579 #define PCM_CODEC(id, name) \
d22a3556292a avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents: 2913
diff changeset
580 register_avcodec(& name ## _decoder);
1535
bcb30ec7e86f activate the XA and ADX ADPCM codecs
melanson
parents: 1519
diff changeset
581 #endif
bcb30ec7e86f activate the XA and ADX ADPCM codecs
melanson
parents: 1519
diff changeset
582
2852
6f7428adc6ad Support de-/encoding of 24 and 32 bit PCM (from and to internal 16 bit).
reimar
parents: 2796
diff changeset
583 PCM_CODEC(CODEC_ID_PCM_S32LE, pcm_s32le);
6f7428adc6ad Support de-/encoding of 24 and 32 bit PCM (from and to internal 16 bit).
reimar
parents: 2796
diff changeset
584 PCM_CODEC(CODEC_ID_PCM_S32BE, pcm_s32be);
6f7428adc6ad Support de-/encoding of 24 and 32 bit PCM (from and to internal 16 bit).
reimar
parents: 2796
diff changeset
585 PCM_CODEC(CODEC_ID_PCM_U32LE, pcm_u32le);
6f7428adc6ad Support de-/encoding of 24 and 32 bit PCM (from and to internal 16 bit).
reimar
parents: 2796
diff changeset
586 PCM_CODEC(CODEC_ID_PCM_U32BE, pcm_u32be);
6f7428adc6ad Support de-/encoding of 24 and 32 bit PCM (from and to internal 16 bit).
reimar
parents: 2796
diff changeset
587 PCM_CODEC(CODEC_ID_PCM_S24LE, pcm_s24le);
6f7428adc6ad Support de-/encoding of 24 and 32 bit PCM (from and to internal 16 bit).
reimar
parents: 2796
diff changeset
588 PCM_CODEC(CODEC_ID_PCM_S24BE, pcm_s24be);
6f7428adc6ad Support de-/encoding of 24 and 32 bit PCM (from and to internal 16 bit).
reimar
parents: 2796
diff changeset
589 PCM_CODEC(CODEC_ID_PCM_U24LE, pcm_u24le);
6f7428adc6ad Support de-/encoding of 24 and 32 bit PCM (from and to internal 16 bit).
reimar
parents: 2796
diff changeset
590 PCM_CODEC(CODEC_ID_PCM_U24BE, pcm_u24be);
6f7428adc6ad Support de-/encoding of 24 and 32 bit PCM (from and to internal 16 bit).
reimar
parents: 2796
diff changeset
591 PCM_CODEC(CODEC_ID_PCM_S24DAUD, pcm_s24daud);
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
592 PCM_CODEC(CODEC_ID_PCM_S16LE, pcm_s16le);
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
593 PCM_CODEC(CODEC_ID_PCM_S16BE, pcm_s16be);
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
594 PCM_CODEC(CODEC_ID_PCM_U16LE, pcm_u16le);
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
595 PCM_CODEC(CODEC_ID_PCM_U16BE, pcm_u16be);
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
596 PCM_CODEC(CODEC_ID_PCM_S8, pcm_s8);
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
597 PCM_CODEC(CODEC_ID_PCM_U8, pcm_u8);
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
598 PCM_CODEC(CODEC_ID_PCM_ALAW, pcm_alaw);
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
599 PCM_CODEC(CODEC_ID_PCM_MULAW, pcm_mulaw);
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
600
573
b0f52172f4c5 beos/mov/adpcm patch by Franois Revol <revol at free dot fr>
michaelni
parents: 521
diff changeset
601 /* adpcm codecs */
b0f52172f4c5 beos/mov/adpcm patch by Franois Revol <revol at free dot fr>
michaelni
parents: 521
diff changeset
602 PCM_CODEC(CODEC_ID_ADPCM_IMA_QT, adpcm_ima_qt);
b0f52172f4c5 beos/mov/adpcm patch by Franois Revol <revol at free dot fr>
michaelni
parents: 521
diff changeset
603 PCM_CODEC(CODEC_ID_ADPCM_IMA_WAV, adpcm_ima_wav);
1443
47f4c8a5a7fc New fringe codecs: WC3/Xan video, Xan DPCM, DK3 & DK4 ADPCM
tmmm
parents: 1439
diff changeset
604 PCM_CODEC(CODEC_ID_ADPCM_IMA_DK3, adpcm_ima_dk3);
47f4c8a5a7fc New fringe codecs: WC3/Xan video, Xan DPCM, DK3 & DK4 ADPCM
tmmm
parents: 1439
diff changeset
605 PCM_CODEC(CODEC_ID_ADPCM_IMA_DK4, adpcm_ima_dk4);
1491
222643544cf1 New demuxers: Sega FILM/CPK, Westwood VQA & AUD; new decoders: MS RLE &
tmmm
parents: 1489
diff changeset
606 PCM_CODEC(CODEC_ID_ADPCM_IMA_WS, adpcm_ima_ws);
1779
9848ca4ad861 added support for EA ADPCM and SMJPEG IMA ADPCM
melanson
parents: 1741
diff changeset
607 PCM_CODEC(CODEC_ID_ADPCM_IMA_SMJPEG, adpcm_ima_smjpeg);
573
b0f52172f4c5 beos/mov/adpcm patch by Franois Revol <revol at free dot fr>
michaelni
parents: 521
diff changeset
608 PCM_CODEC(CODEC_ID_ADPCM_MS, adpcm_ms);
1296
eff1dc4bed49 4xm adpcm
michaelni
parents: 1293
diff changeset
609 PCM_CODEC(CODEC_ID_ADPCM_4XM, adpcm_4xm);
1535
bcb30ec7e86f activate the XA and ADX ADPCM codecs
melanson
parents: 1519
diff changeset
610 PCM_CODEC(CODEC_ID_ADPCM_XA, adpcm_xa);
bcb30ec7e86f activate the XA and ADX ADPCM codecs
melanson
parents: 1519
diff changeset
611 PCM_CODEC(CODEC_ID_ADPCM_ADX, adpcm_adx);
1779
9848ca4ad861 added support for EA ADPCM and SMJPEG IMA ADPCM
melanson
parents: 1741
diff changeset
612 PCM_CODEC(CODEC_ID_ADPCM_EA, adpcm_ea);
2081
d3015863f745 cut-n-paste error slipped through the cracks... thanks to DJ Hartman for
melanson
parents: 2044
diff changeset
613 PCM_CODEC(CODEC_ID_ADPCM_G726, adpcm_g726);
2296
2b75dff01118 Creative ADPCM decoder, format 0x200, courtesy of Konstantin Shishkov
melanson
parents: 2275
diff changeset
614 PCM_CODEC(CODEC_ID_ADPCM_CT, adpcm_ct);
2516
9f17dd9b80c6 macromedia flavour adpcm decoding (used in flv and swf)
alex
parents: 2514
diff changeset
615 PCM_CODEC(CODEC_ID_ADPCM_SWF, adpcm_swf);
2794
ed1ab1566353 Add Yamaha ADPCM encoding/decoding patch by (Vidar Madsen: vidarino, gmail com)
michael
parents: 2756
diff changeset
616 PCM_CODEC(CODEC_ID_ADPCM_YAMAHA, adpcm_yamaha);
3127
6bae70889b35 add Creative 8 bits ADPCM schemes support
aurel
parents: 3120
diff changeset
617 PCM_CODEC(CODEC_ID_ADPCM_SBPRO_4, adpcm_sbpro_4);
6bae70889b35 add Creative 8 bits ADPCM schemes support
aurel
parents: 3120
diff changeset
618 PCM_CODEC(CODEC_ID_ADPCM_SBPRO_3, adpcm_sbpro_3);
6bae70889b35 add Creative 8 bits ADPCM schemes support
aurel
parents: 3120
diff changeset
619 PCM_CODEC(CODEC_ID_ADPCM_SBPRO_2, adpcm_sbpro_2);
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
620 #undef PCM_CODEC
1613
0279c6c61f11 new audio/video parser API
bellard
parents: 1610
diff changeset
621
2921
d22a3556292a avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents: 2913
diff changeset
622 /* subtitles */
2948
aebeb38eea7a Make DV(B|D) subtitles (en|de)coders be conditonnaly compiled depending on the configure system
gpoirier
parents: 2946
diff changeset
623 #ifdef CONFIG_DVDSUB_DECODER
aebeb38eea7a Make DV(B|D) subtitles (en|de)coders be conditonnaly compiled depending on the configure system
gpoirier
parents: 2946
diff changeset
624 register_avcodec(&dvdsub_decoder);
aebeb38eea7a Make DV(B|D) subtitles (en|de)coders be conditonnaly compiled depending on the configure system
gpoirier
parents: 2946
diff changeset
625 #endif
aebeb38eea7a Make DV(B|D) subtitles (en|de)coders be conditonnaly compiled depending on the configure system
gpoirier
parents: 2946
diff changeset
626 #ifdef CONFIG_DVDSUB_ENCODER
2946
ac94d509884e dvbsub encoder, patch by Wolfram Gloger < wmglo AH dent POIS med POIS uni-muenchen POIS de >
gpoirier
parents: 2921
diff changeset
627 register_avcodec(&dvdsub_encoder);
2921
d22a3556292a avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents: 2913
diff changeset
628 #endif
d22a3556292a avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents: 2913
diff changeset
629
2948
aebeb38eea7a Make DV(B|D) subtitles (en|de)coders be conditonnaly compiled depending on the configure system
gpoirier
parents: 2946
diff changeset
630 #ifdef CONFIG_DVBSUB_DECODER
2796
95c35706acbb DVB subtitle decoder by (Ian Caulfield: imc25, cam ac uk)
michael
parents: 2794
diff changeset
631 register_avcodec(&dvbsub_decoder);
2921
d22a3556292a avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents: 2913
diff changeset
632 #endif
2948
aebeb38eea7a Make DV(B|D) subtitles (en|de)coders be conditonnaly compiled depending on the configure system
gpoirier
parents: 2946
diff changeset
633 #ifdef CONFIG_DVBSUB_ENCODER
aebeb38eea7a Make DV(B|D) subtitles (en|de)coders be conditonnaly compiled depending on the configure system
gpoirier
parents: 2946
diff changeset
634 register_avcodec(&dvbsub_encoder);
aebeb38eea7a Make DV(B|D) subtitles (en|de)coders be conditonnaly compiled depending on the configure system
gpoirier
parents: 2946
diff changeset
635 #endif
2756
d8874c8749ec subtitle codec type support
bellard
parents: 2729
diff changeset
636
2967
ef2149182f1c COSMETICS: Remove all trailing whitespace.
diego
parents: 2956
diff changeset
637 /* parsers */
1613
0279c6c61f11 new audio/video parser API
bellard
parents: 1610
diff changeset
638 av_register_codec_parser(&mpegvideo_parser);
0279c6c61f11 new audio/video parser API
bellard
parents: 1610
diff changeset
639 av_register_codec_parser(&mpeg4video_parser);
2639
e2780f828440 put most codecs under ifdefs
michael
parents: 2638
diff changeset
640 #if defined(CONFIG_H261_DECODER) || defined(CONFIG_H261_ENCODER)
2044
b6f2add2511e h261 decoder by (Maarten Daniels <maarten.daniels at student dot luc dot ac dot be>)
michael
parents: 2005
diff changeset
641 av_register_codec_parser(&h261_parser);
2639
e2780f828440 put most codecs under ifdefs
michael
parents: 2638
diff changeset
642 #endif
1613
0279c6c61f11 new audio/video parser API
bellard
parents: 1610
diff changeset
643 av_register_codec_parser(&h263_parser);
2639
e2780f828440 put most codecs under ifdefs
michael
parents: 2638
diff changeset
644 #ifdef CONFIG_H264_DECODER
1613
0279c6c61f11 new audio/video parser API
bellard
parents: 1610
diff changeset
645 av_register_codec_parser(&h264_parser);
2639
e2780f828440 put most codecs under ifdefs
michael
parents: 2638
diff changeset
646 #endif
2319
f9f257b41ec2 mjpeg parser
michael
parents: 2296
diff changeset
647 av_register_codec_parser(&mjpeg_parser);
2348
d02fb928ca44 pnm parser
michael
parents: 2344
diff changeset
648 av_register_codec_parser(&pnm_parser);
1613
0279c6c61f11 new audio/video parser API
bellard
parents: 1610
diff changeset
649
0279c6c61f11 new audio/video parser API
bellard
parents: 1610
diff changeset
650 av_register_codec_parser(&mpegaudio_parser);
0279c6c61f11 new audio/video parser API
bellard
parents: 1610
diff changeset
651 av_register_codec_parser(&ac3_parser);
2948
aebeb38eea7a Make DV(B|D) subtitles (en|de)coders be conditonnaly compiled depending on the configure system
gpoirier
parents: 2946
diff changeset
652
aebeb38eea7a Make DV(B|D) subtitles (en|de)coders be conditonnaly compiled depending on the configure system
gpoirier
parents: 2946
diff changeset
653 #ifdef CONFIG_DVDSUB_DECODER
2756
d8874c8749ec subtitle codec type support
bellard
parents: 2729
diff changeset
654 av_register_codec_parser(&dvdsub_parser);
2948
aebeb38eea7a Make DV(B|D) subtitles (en|de)coders be conditonnaly compiled depending on the configure system
gpoirier
parents: 2946
diff changeset
655 #endif
aebeb38eea7a Make DV(B|D) subtitles (en|de)coders be conditonnaly compiled depending on the configure system
gpoirier
parents: 2946
diff changeset
656 #ifdef CONFIG_DVBSUB_DECODER
2796
95c35706acbb DVB subtitle decoder by (Ian Caulfield: imc25, cam ac uk)
michael
parents: 2794
diff changeset
657 av_register_codec_parser(&dvbsub_parser);
2948
aebeb38eea7a Make DV(B|D) subtitles (en|de)coders be conditonnaly compiled depending on the configure system
gpoirier
parents: 2946
diff changeset
658 #endif
3098
eb3d3988aff2 adts aac parser
mru
parents: 3059
diff changeset
659 av_register_codec_parser(&aac_parser);
491
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
660 }
66d470d19feb put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff changeset
661