Mercurial > libavcodec.hg
annotate allcodecs.c @ 2656:9541ac28509f libavcodec
support BUILDSUF patch by <charles dot yates at pandora dot be>
author | mmu_man |
---|---|
date | Sun, 08 May 2005 15:04:59 +0000 |
parents | e2780f828440 |
children | 5ea2a7f74817 |
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 |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
18 */ |
1106 | 19 |
20 /** | |
21 * @file allcodecs.c | |
22 * Utils for libavcodec. | |
23 */ | |
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 /** |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
31 * simple call to register all the codecs. |
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; |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
36 |
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) |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
38 return; |
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 | 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 | 45 #endif //CONFIG_AC3_ENCODER |
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 | 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 | 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 | 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 | 54 #ifdef CONFIG_LIBVORBIS |
2638 | 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 | 57 #endif //CONFIG_OGGVORBIS_ENCODER |
58 #ifdef CONFIG_OGGVORBIS_DECODER | |
883 | 59 register_avcodec(&oggvorbis_decoder); |
2638 | 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 | 62 #ifdef CONFIG_LIBTHEORA |
2638 | 63 #ifdef CONFIG_OGGTHEORA_ENCODER |
2520 | 64 register_avcodec(&oggtheora_encoder); |
2638 | 65 #endif //CONFIG_OGGTHEORA_ENCODER |
66 #ifdef CONFIG_OGGTHEORA_DECODER | |
2520 | 67 register_avcodec(&oggtheora_decoder); |
2638 | 68 #endif //CONFIG_OGGTHEORA_DECODER |
2520 | 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 | 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 | 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 |
2131
060053df9538
XviD Support patch by (Adam Thayer <krevnik at comcast dot net>)
michael
parents:
2123
diff
changeset
|
75 #ifdef CONFIG_XVID |
2638 | 76 #ifdef CONFIG_XVID_ENCODER |
2131
060053df9538
XviD Support patch by (Adam Thayer <krevnik at comcast dot net>)
michael
parents:
2123
diff
changeset
|
77 register_avcodec(&xvid_encoder); |
2638 | 78 #endif //CONFIG_XVID_ENCODER |
2131
060053df9538
XviD Support patch by (Adam Thayer <krevnik at comcast dot net>)
michael
parents:
2123
diff
changeset
|
79 #endif |
2638 | 80 #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
|
81 register_avcodec(&mpeg1video_encoder); |
2638 | 82 #endif //CONFIG_MPEG1VIDEO_ENCODER |
83 #ifdef CONFIG_H264_ENCODER | |
1168 | 84 // register_avcodec(&h264_encoder); |
2638 | 85 #endif //CONFIG_H264_ENCODER |
86 #ifdef CONFIG_MPEG2VIDEO_ENCODER | |
1421 | 87 register_avcodec(&mpeg2video_encoder); |
2638 | 88 #endif //CONFIG_MPEG2VIDEO_ENCODER |
89 #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
|
90 register_avcodec(&h261_encoder); |
2638 | 91 #endif //CONFIG_H261_ENCODER |
92 #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
|
93 register_avcodec(&h263_encoder); |
2638 | 94 #endif //CONFIG_H263_ENCODER |
95 #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
|
96 register_avcodec(&h263p_encoder); |
2638 | 97 #endif //CONFIG_H263P_ENCODER |
98 #ifdef CONFIG_FLV_ENCODER | |
1357 | 99 register_avcodec(&flv_encoder); |
2638 | 100 #endif //CONFIG_FLV_ENCODER |
101 #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
|
102 register_avcodec(&rv10_encoder); |
2638 | 103 #endif //CONFIG_RV10_ENCODER |
104 #ifdef CONFIG_RV20_ENCODER | |
2380 | 105 register_avcodec(&rv20_encoder); |
2638 | 106 #endif //CONFIG_RV20_ENCODER |
107 #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
|
108 register_avcodec(&mpeg4_encoder); |
2638 | 109 #endif //CONFIG_MPEG4_ENCODER |
110 #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
|
111 register_avcodec(&msmpeg4v1_encoder); |
2638 | 112 #endif //CONFIG_MSMPEG4V1_ENCODER |
113 #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
|
114 register_avcodec(&msmpeg4v2_encoder); |
2638 | 115 #endif //CONFIG_MSMPEG4V2_ENCODER |
116 #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
|
117 register_avcodec(&msmpeg4v3_encoder); |
2638 | 118 #endif //CONFIG_MSMPEG4V3_ENCODER |
119 #ifdef CONFIG_WMV1_ENCODER | |
500 | 120 register_avcodec(&wmv1_encoder); |
2638 | 121 #endif //CONFIG_WMV1_ENCODER |
122 #ifdef CONFIG_WMV2_ENCODER | |
936 | 123 register_avcodec(&wmv2_encoder); |
2638 | 124 #endif //CONFIG_WMV2_ENCODER |
125 #ifdef CONFIG_SVQ1_ENCODER | |
2005 | 126 register_avcodec(&svq1_encoder); |
2638 | 127 #endif //CONFIG_SVQ1_ENCODER |
128 #ifdef CONFIG_MJPEG_ENCODER | |
1042 | 129 register_avcodec(&mjpeg_encoder); |
2638 | 130 #endif //CONFIG_MJPEG_ENCODER |
131 #ifdef CONFIG_LJPEG_ENCODER | |
1315
6696d3bf4ff2
lossless mjpeg encoding (planar yuv & RGB) and somerelated bugfixes
michaelni
parents:
1304
diff
changeset
|
132 register_avcodec(&ljpeg_encoder); |
2638 | 133 #endif //CONFIG_LJPEG_ENCODER |
2343 | 134 #ifdef CONFIG_ZLIB |
2638 | 135 #ifdef CONFIG_PNG_ENCODER |
2342 | 136 register_avcodec(&png_encoder); |
2638 | 137 #endif //CONFIG_PNG_ENCODER |
2343 | 138 #endif |
2638 | 139 #ifdef CONFIG_PPM_ENCODER |
2344 | 140 register_avcodec(&ppm_encoder); |
2638 | 141 #endif //CONFIG_PPM_ENCODER |
142 #ifdef CONFIG_PGM_ENCODER | |
2344 | 143 register_avcodec(&pgm_encoder); |
2638 | 144 #endif //CONFIG_PGM_ENCODER |
145 #ifdef CONFIG_PGMYUV_ENCODER | |
2344 | 146 register_avcodec(&pgmyuv_encoder); |
2638 | 147 #endif //CONFIG_PGMYUV_ENCODER |
148 #ifdef CONFIG_PBM_ENCODER | |
2344 | 149 register_avcodec(&pbm_encoder); |
2638 | 150 #endif //CONFIG_PBM_ENCODER |
151 #ifdef CONFIG_PAM_ENCODER | |
2344 | 152 register_avcodec(&pam_encoder); |
2638 | 153 #endif //CONFIG_PAM_ENCODER |
154 #ifdef CONFIG_HUFFYUV_ENCODER | |
866 | 155 register_avcodec(&huffyuv_encoder); |
2638 | 156 #endif //CONFIG_HUFFYUV_ENCODER |
157 #ifdef CONFIG_FFVHUFF_ENCODER | |
2373 | 158 register_avcodec(&ffvhuff_encoder); |
2638 | 159 #endif //CONFIG_FFVHUFF_ENCODER |
160 #ifdef CONFIG_ASV1_ENCODER | |
1273 | 161 register_avcodec(&asv1_encoder); |
2638 | 162 #endif //CONFIG_ASV1_ENCODER |
163 #ifdef CONFIG_ASV2_ENCODER | |
1434 | 164 register_avcodec(&asv2_encoder); |
2638 | 165 #endif //CONFIG_ASV2_ENCODER |
166 #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
|
167 register_avcodec(&ffv1_encoder); |
2638 | 168 #endif //CONFIG_FFV1_ENCODER |
169 #ifdef CONFIG_SNOW_ENCODER | |
2138 | 170 register_avcodec(&snow_encoder); |
2638 | 171 #endif //CONFIG_SNOW_ENCODER |
172 #ifdef CONFIG_ZLIB_ENCODER | |
1741 | 173 register_avcodec(&zlib_encoder); |
2638 | 174 #endif //CONFIG_ZLIB_ENCODER |
175 #ifdef CONFIG_DVVIDEO_ENCODER | |
1887
85fe2f4633ec
* DV decoding/encoding now supports MultiThreading for up to 324 CPUs ;-)
romansh
parents:
1812
diff
changeset
|
176 register_avcodec(&dvvideo_encoder); |
2638 | 177 #endif //CONFIG_DVVIDEO_ENCODER |
178 #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
|
179 register_avcodec(&sonic_encoder); |
2638 | 180 #endif //CONFIG_SONIC_ENCODER |
181 #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
|
182 register_avcodec(&sonic_ls_encoder); |
2638 | 183 #endif //CONFIG_SONIC_LS_ENCODER |
2556
e5af3bc1d038
H.264 encoding with x264 by (Mns Rullgrd <mru inprovide com>)
michael
parents:
2542
diff
changeset
|
184 #ifdef CONFIG_X264 |
2638 | 185 #ifdef CONFIG_X264_ENCODER |
2556
e5af3bc1d038
H.264 encoding with x264 by (Mns Rullgrd <mru inprovide com>)
michael
parents:
2542
diff
changeset
|
186 register_avcodec(&x264_encoder); |
2638 | 187 #endif //CONFIG_X264_ENCODER |
2556
e5af3bc1d038
H.264 encoding with x264 by (Mns Rullgrd <mru inprovide com>)
michael
parents:
2542
diff
changeset
|
188 #endif |
491
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
189 #endif /* CONFIG_ENCODERS */ |
2638 | 190 #ifdef CONFIG_RAWVIDEO_ENCODER |
1231
b88dfc4bbf8c
* introducing new public interface in imgconvert.c
romansh
parents:
1224
diff
changeset
|
191 register_avcodec(&rawvideo_encoder); |
2638 | 192 #endif //CONFIG_RAWVIDEO_ENCODER |
193 #ifdef CONFIG_RAWVIDEO_DECODER | |
1231
b88dfc4bbf8c
* introducing new public interface in imgconvert.c
romansh
parents:
1224
diff
changeset
|
194 register_avcodec(&rawvideo_decoder); |
2638 | 195 #endif //CONFIG_RAWVIDEO_DECODER |
491
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
196 |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
197 /* decoders */ |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
198 #ifdef CONFIG_DECODERS |
2638 | 199 #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
|
200 register_avcodec(&h263_decoder); |
2638 | 201 #endif //CONFIG_H263_DECODER |
202 #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
|
203 register_avcodec(&h261_decoder); |
2638 | 204 #endif //CONFIG_H261_DECODER |
205 #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
|
206 register_avcodec(&mpeg4_decoder); |
2638 | 207 #endif //CONFIG_MPEG4_DECODER |
208 #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
|
209 register_avcodec(&msmpeg4v1_decoder); |
2638 | 210 #endif //CONFIG_MSMPEG4V1_DECODER |
211 #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
|
212 register_avcodec(&msmpeg4v2_decoder); |
2638 | 213 #endif //CONFIG_MSMPEG4V2_DECODER |
214 #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
|
215 register_avcodec(&msmpeg4v3_decoder); |
2638 | 216 #endif //CONFIG_MSMPEG4V3_DECODER |
217 #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
|
218 register_avcodec(&wmv1_decoder); |
2638 | 219 #endif //CONFIG_WMV1_DECODER |
220 #ifdef CONFIG_WMV2_DECODER | |
936 | 221 register_avcodec(&wmv2_decoder); |
2638 | 222 #endif //CONFIG_WMV2_DECODER |
223 #ifdef CONFIG_VC9_DECODER | |
2446
7dc7f1a9f5d6
preliminary vc9 bitstream decoder, committing to make syncing and team-work on it easier
alex
parents:
2432
diff
changeset
|
224 register_avcodec(&vc9_decoder); |
2638 | 225 #endif //CONFIG_VC9_DECODER |
226 #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
|
227 register_avcodec(&wmv3_decoder); |
2638 | 228 #endif //CONFIG_WMV3_DECODER |
229 #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
|
230 register_avcodec(&h263i_decoder); |
2638 | 231 #endif //CONFIG_H263I_DECODER |
232 #ifdef CONFIG_FLV_DECODER | |
1357 | 233 register_avcodec(&flv_decoder); |
2638 | 234 #endif //CONFIG_FLV_DECODER |
235 #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
|
236 register_avcodec(&rv10_decoder); |
2638 | 237 #endif //CONFIG_RV10_DECODER |
238 #ifdef CONFIG_RV20_DECODER | |
1639 | 239 register_avcodec(&rv20_decoder); |
2638 | 240 #endif //CONFIG_RV20_DECODER |
241 #ifdef CONFIG_SVQ1_DECODER | |
521 | 242 register_avcodec(&svq1_decoder); |
2638 | 243 #endif //CONFIG_SVQ1_DECODER |
244 #ifdef CONFIG_SVQ3_DECODER | |
1234 | 245 register_avcodec(&svq3_decoder); |
2638 | 246 #endif //CONFIG_SVQ3_DECODER |
247 #ifdef CONFIG_WMAV1_DECODER | |
1042 | 248 register_avcodec(&wmav1_decoder); |
2638 | 249 #endif //CONFIG_WMAV1_DECODER |
250 #ifdef CONFIG_WMAV2_DECODER | |
1042 | 251 register_avcodec(&wmav2_decoder); |
2638 | 252 #endif //CONFIG_WMAV2_DECODER |
253 #ifdef CONFIG_INDEO2_DECODER | |
2618
fc91ca5b9066
Indeo 2 decoder by (Kostya <> kostya.shishkov gmail com)
michael
parents:
2588
diff
changeset
|
254 register_avcodec(&indeo2_decoder); |
2638 | 255 #endif //CONFIG_INDEO2_DECODER |
256 #ifdef CONFIG_INDEO3_DECODER | |
1190 | 257 register_avcodec(&indeo3_decoder); |
2638 | 258 #endif //CONFIG_INDEO3_DECODER |
259 #ifdef CONFIG_TSCC_DECODER | |
2234
dff53892ff8a
IBM Ultimotion video decoder, courtesy of Konstantin Shishkov
melanson
parents:
2182
diff
changeset
|
260 register_avcodec(&tscc_decoder); |
2638 | 261 #endif //CONFIG_TSCC_DECODER |
262 #ifdef CONFIG_ULTI_DECODER | |
2234
dff53892ff8a
IBM Ultimotion video decoder, courtesy of Konstantin Shishkov
melanson
parents:
2182
diff
changeset
|
263 register_avcodec(&ulti_decoder); |
2638 | 264 #endif //CONFIG_ULTI_DECODER |
265 #ifdef CONFIG_QDRAW_DECODER | |
2275
c443a6af19a7
support for Sierra Online audio files and Apple QuickDraw codec,
melanson
parents:
2234
diff
changeset
|
266 register_avcodec(&qdraw_decoder); |
2638 | 267 #endif //CONFIG_QDRAW_DECODER |
268 #ifdef CONFIG_XL_DECODER | |
2325
1180a04d64c5
Miro VideoXL (VIXL) decoder, courtesy of Konstantin Shishkov
melanson
parents:
2319
diff
changeset
|
269 register_avcodec(&xl_decoder); |
2638 | 270 #endif //CONFIG_XL_DECODER |
271 #ifdef CONFIG_QPEG_DECODER | |
2355
69fcdad5f7d5
native QPEG video decoder, courtesy of Konstantin Shishkov
melanson
parents:
2348
diff
changeset
|
272 register_avcodec(&qpeg_decoder); |
2638 | 273 #endif //CONFIG_QPEG_DECODER |
274 #ifdef CONFIG_LOCO_DECODER | |
2530 | 275 register_avcodec(&loco_decoder); |
2638 | 276 #endif //CONFIG_LOCO_DECODER |
277 #ifdef CONFIG_WNV1_DECODER | |
2577
7d9997a69158
Winnov WNV1 video decoder, courtesy of Konstantin Shishkov
melanson
parents:
2556
diff
changeset
|
278 register_avcodec(&wnv1_decoder); |
2638 | 279 #endif //CONFIG_WNV1_DECODER |
280 #ifdef CONFIG_AASC_DECODER | |
2588
b6b618986f80
Autodesk Animator Studio Codec (AASC) video decoder, courtesy of
melanson
parents:
2585
diff
changeset
|
281 register_avcodec(&aasc_decoder); |
2638 | 282 #endif //CONFIG_AASC_DECODER |
1245 | 283 #ifdef CONFIG_FAAD |
2638 | 284 #ifdef CONFIG_AAC_DECODER |
1245 | 285 register_avcodec(&aac_decoder); |
2638 | 286 #endif //CONFIG_AAC_DECODER |
287 #ifdef CONFIG_MPEG4AAC_DECODER | |
1245 | 288 register_avcodec(&mpeg4aac_decoder); |
2638 | 289 #endif //CONFIG_MPEG4AAC_DECODER |
1245 | 290 #endif |
2638 | 291 #ifdef CONFIG_MPEG1VIDEO_DECODER |
1423 | 292 register_avcodec(&mpeg1video_decoder); |
2638 | 293 #endif //CONFIG_MPEG1VIDEO_DECODER |
294 #ifdef CONFIG_MPEG2VIDEO_DECODER | |
1423 | 295 register_avcodec(&mpeg2video_decoder); |
2638 | 296 #endif //CONFIG_MPEG2VIDEO_DECODER |
297 #ifdef CONFIG_MPEGVIDEO_DECODER | |
1615 | 298 register_avcodec(&mpegvideo_decoder); |
2638 | 299 #endif //CONFIG_MPEGVIDEO_DECODER |
1381 | 300 #ifdef HAVE_XVMC |
2638 | 301 #ifdef CONFIG_MPEG_XVMC_DECODER |
1381 | 302 register_avcodec(&mpeg_xvmc_decoder); |
2638 | 303 #endif //CONFIG_MPEG_XVMC_DECODER |
1381 | 304 #endif |
2638 | 305 #ifdef CONFIG_DVVIDEO_DECODER |
724 | 306 register_avcodec(&dvvideo_decoder); |
2638 | 307 #endif //CONFIG_DVVIDEO_DECODER |
308 #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
|
309 register_avcodec(&mjpeg_decoder); |
2638 | 310 #endif //CONFIG_MJPEG_DECODER |
311 #ifdef CONFIG_MJPEGB_DECODER | |
881 | 312 register_avcodec(&mjpegb_decoder); |
2638 | 313 #endif //CONFIG_MJPEGB_DECODER |
314 #ifdef CONFIG_SP5X_DECODER | |
1519 | 315 register_avcodec(&sp5x_decoder); |
2638 | 316 #endif //CONFIG_SP5X_DECODER |
2343 | 317 #ifdef CONFIG_ZLIB |
2638 | 318 #ifdef CONFIG_PNG_DECODER |
2342 | 319 register_avcodec(&png_decoder); |
2638 | 320 #endif //CONFIG_PNG_DECODER |
2343 | 321 #endif |
2638 | 322 #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
|
323 register_avcodec(&mp2_decoder); |
2638 | 324 #endif //CONFIG_MP2_DECODER |
325 #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
|
326 register_avcodec(&mp3_decoder); |
2638 | 327 #endif //CONFIG_MP3_DECODER |
328 #ifdef CONFIG_MP3ADU_DECODER | |
2432 | 329 register_avcodec(&mp3adu_decoder); |
2638 | 330 #endif //CONFIG_MP3ADU_DECODER |
331 #ifdef CONFIG_MP3ON4_DECODER | |
2507
0334caf0f0ce
Multichannel mp3 in mp4 support ISO/IEC 14496-3:2001/FPDAM 3 (MP3onMP4)
rtognimp
parents:
2446
diff
changeset
|
332 register_avcodec(&mp3on4_decoder); |
2638 | 333 #endif //CONFIG_MP3ON4_DECODER |
334 #ifdef CONFIG_MACE3_DECODER | |
827
770578c6c300
added MACE (Macintosh Audio Compression/Expansion) 3:1 & 6:1 support
michaelni
parents:
783
diff
changeset
|
335 register_avcodec(&mace3_decoder); |
2638 | 336 #endif //CONFIG_MACE3_DECODER |
337 #ifdef CONFIG_MACE6_DECODER | |
827
770578c6c300
added MACE (Macintosh Audio Compression/Expansion) 3:1 & 6:1 support
michaelni
parents:
783
diff
changeset
|
338 register_avcodec(&mace6_decoder); |
2638 | 339 #endif //CONFIG_MACE6_DECODER |
340 #ifdef CONFIG_HUFFYUV_DECODER | |
866 | 341 register_avcodec(&huffyuv_decoder); |
2638 | 342 #endif //CONFIG_HUFFYUV_DECODER |
343 #ifdef CONFIG_FFVHUFF_DECODER | |
2373 | 344 register_avcodec(&ffvhuff_decoder); |
2638 | 345 #endif //CONFIG_FFVHUFF_DECODER |
346 #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
|
347 register_avcodec(&ffv1_decoder); |
2638 | 348 #endif //CONFIG_FFV1_DECODER |
349 #ifdef CONFIG_SNOW_DECODER | |
2138 | 350 register_avcodec(&snow_decoder); |
2638 | 351 #endif //CONFIG_SNOW_DECODER |
352 #ifdef CONFIG_CYUV_DECODER | |
1056 | 353 register_avcodec(&cyuv_decoder); |
2638 | 354 #endif //CONFIG_CYUV_DECODER |
355 #ifdef CONFIG_H264_DECODER | |
1168 | 356 register_avcodec(&h264_decoder); |
2638 | 357 #endif //CONFIG_H264_DECODER |
358 #ifdef CONFIG_VP3_DECODER | |
1224 | 359 register_avcodec(&vp3_decoder); |
2638 | 360 #endif //CONFIG_VP3_DECODER |
361 #ifdef CONFIG_THEORA_DECODER | |
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
|
362 register_avcodec(&theora_decoder); |
2638 | 363 #endif //CONFIG_THEORA_DECODER |
364 #ifdef CONFIG_ASV1_DECODER | |
1273 | 365 register_avcodec(&asv1_decoder); |
2638 | 366 #endif //CONFIG_ASV1_DECODER |
367 #ifdef CONFIG_ASV2_DECODER | |
1433 | 368 register_avcodec(&asv2_decoder); |
2638 | 369 #endif //CONFIG_ASV2_DECODER |
370 #ifdef CONFIG_VCR1_DECODER | |
1374 | 371 register_avcodec(&vcr1_decoder); |
2638 | 372 #endif //CONFIG_VCR1_DECODER |
373 #ifdef CONFIG_CLJR_DECODER | |
1385 | 374 register_avcodec(&cljr_decoder); |
2638 | 375 #endif //CONFIG_CLJR_DECODER |
376 #ifdef CONFIG_FOURXM_DECODER | |
1293 | 377 register_avcodec(&fourxm_decoder); |
2638 | 378 #endif //CONFIG_FOURXM_DECODER |
379 #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
|
380 register_avcodec(&mdec_decoder); |
2638 | 381 #endif //CONFIG_MDEC_DECODER |
382 #ifdef CONFIG_ROQ_DECODER | |
1439
a4d00b1f0271
initial commit for Id RoQ and Interplay MVE multimedia subsystems
tmmm
parents:
1434
diff
changeset
|
383 register_avcodec(&roq_decoder); |
2638 | 384 #endif //CONFIG_ROQ_DECODER |
385 #ifdef CONFIG_INTERPLAY_VIDEO_DECODER | |
1439
a4d00b1f0271
initial commit for Id RoQ and Interplay MVE multimedia subsystems
tmmm
parents:
1434
diff
changeset
|
386 register_avcodec(&interplay_video_decoder); |
2638 | 387 #endif //CONFIG_INTERPLAY_VIDEO_DECODER |
388 #ifdef CONFIG_XAN_WC3_DECODER | |
1443
47f4c8a5a7fc
New fringe codecs: WC3/Xan video, Xan DPCM, DK3 & DK4 ADPCM
tmmm
parents:
1439
diff
changeset
|
389 register_avcodec(&xan_wc3_decoder); |
2638 | 390 #endif //CONFIG_XAN_WC3_DECODER |
391 #ifdef CONFIG_RPZA_DECODER | |
1491
222643544cf1
New demuxers: Sega FILM/CPK, Westwood VQA & AUD; new decoders: MS RLE &
tmmm
parents:
1489
diff
changeset
|
392 register_avcodec(&rpza_decoder); |
2638 | 393 #endif //CONFIG_RPZA_DECODER |
394 #ifdef CONFIG_CINEPAK_DECODER | |
1491
222643544cf1
New demuxers: Sega FILM/CPK, Westwood VQA & AUD; new decoders: MS RLE &
tmmm
parents:
1489
diff
changeset
|
395 register_avcodec(&cinepak_decoder); |
2638 | 396 #endif //CONFIG_CINEPAK_DECODER |
397 #ifdef CONFIG_MSRLE_DECODER | |
1491
222643544cf1
New demuxers: Sega FILM/CPK, Westwood VQA & AUD; new decoders: MS RLE &
tmmm
parents:
1489
diff
changeset
|
398 register_avcodec(&msrle_decoder); |
2638 | 399 #endif //CONFIG_MSRLE_DECODER |
400 #ifdef CONFIG_MSVIDEO1_DECODER | |
1491
222643544cf1
New demuxers: Sega FILM/CPK, Westwood VQA & AUD; new decoders: MS RLE &
tmmm
parents:
1489
diff
changeset
|
401 register_avcodec(&msvideo1_decoder); |
2638 | 402 #endif //CONFIG_MSVIDEO1_DECODER |
403 #ifdef CONFIG_VQA_DECODER | |
1496 | 404 register_avcodec(&vqa_decoder); |
2638 | 405 #endif //CONFIG_VQA_DECODER |
406 #ifdef CONFIG_IDCIN_DECODER | |
1498 | 407 register_avcodec(&idcin_decoder); |
2638 | 408 #endif //CONFIG_IDCIN_DECODER |
409 #ifdef CONFIG_EIGHTBPS_DECODER | |
1608 | 410 register_avcodec(&eightbps_decoder); |
2638 | 411 #endif //CONFIG_EIGHTBPS_DECODER |
412 #ifdef CONFIG_SMC_DECODER | |
1610 | 413 register_avcodec(&smc_decoder); |
2638 | 414 #endif //CONFIG_SMC_DECODER |
415 #ifdef CONFIG_FLIC_DECODER | |
1624 | 416 register_avcodec(&flic_decoder); |
2638 | 417 #endif //CONFIG_FLIC_DECODER |
418 #ifdef CONFIG_TRUEMOTION1_DECODER | |
1650
bdade3baabfc
initial support for Duck TrueMotion v1 (think of it as On2 VP1); only
melanson
parents:
1639
diff
changeset
|
419 register_avcodec(&truemotion1_decoder); |
2638 | 420 #endif //CONFIG_TRUEMOTION1_DECODER |
421 #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
|
422 register_avcodec(&vmdvideo_decoder); |
2638 | 423 #endif //CONFIG_VMDVIDEO_DECODER |
424 #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
|
425 register_avcodec(&vmdaudio_decoder); |
2638 | 426 #endif //CONFIG_VMDAUDIO_DECODER |
427 #ifdef CONFIG_MSZH_DECODER | |
1741 | 428 register_avcodec(&mszh_decoder); |
2638 | 429 #endif //CONFIG_MSZH_DECODER |
430 #ifdef CONFIG_ZLIB_DECODER | |
1741 | 431 register_avcodec(&zlib_decoder); |
2638 | 432 #endif //CONFIG_ZLIB_DECODER |
433 #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
|
434 register_avcodec(&sonic_decoder); |
2638 | 435 #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
|
436 #ifdef CONFIG_AC3 |
2638 | 437 #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
|
438 register_avcodec(&ac3_decoder); |
2638 | 439 #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
|
440 #endif |
2123
ef54decf5624
libdts support by (Benjamin Zores <ben at geexbox dot org>)
michael
parents:
2081
diff
changeset
|
441 #ifdef CONFIG_DTS |
2638 | 442 #ifdef CONFIG_DTS_DECODER |
2123
ef54decf5624
libdts support by (Benjamin Zores <ben at geexbox dot org>)
michael
parents:
2081
diff
changeset
|
443 register_avcodec(&dts_decoder); |
2638 | 444 #endif //CONFIG_DTS_DECODER |
2123
ef54decf5624
libdts support by (Benjamin Zores <ben at geexbox dot org>)
michael
parents:
2081
diff
changeset
|
445 #endif |
2638 | 446 #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
|
447 register_avcodec(&ra_144_decoder); |
2638 | 448 #endif //CONFIG_RA_144_DECODER |
449 #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
|
450 register_avcodec(&ra_288_decoder); |
2638 | 451 #endif //CONFIG_RA_288_DECODER |
452 #ifdef CONFIG_ROQ_DPCM_DECODER | |
1439
a4d00b1f0271
initial commit for Id RoQ and Interplay MVE multimedia subsystems
tmmm
parents:
1434
diff
changeset
|
453 register_avcodec(&roq_dpcm_decoder); |
2638 | 454 #endif //CONFIG_ROQ_DPCM_DECODER |
455 #ifdef CONFIG_INTERPLAY_DPCM_DECODER | |
1439
a4d00b1f0271
initial commit for Id RoQ and Interplay MVE multimedia subsystems
tmmm
parents:
1434
diff
changeset
|
456 register_avcodec(&interplay_dpcm_decoder); |
2638 | 457 #endif //CONFIG_INTERPLAY_DPCM_DECODER |
458 #ifdef CONFIG_XAN_DPCM_DECODER | |
1443
47f4c8a5a7fc
New fringe codecs: WC3/Xan video, Xan DPCM, DK3 & DK4 ADPCM
tmmm
parents:
1439
diff
changeset
|
459 register_avcodec(&xan_dpcm_decoder); |
2638 | 460 #endif //CONFIG_XAN_DPCM_DECODER |
461 #ifdef CONFIG_SOL_DPCM_DECODER | |
2275
c443a6af19a7
support for Sierra Online audio files and Apple QuickDraw codec,
melanson
parents:
2234
diff
changeset
|
462 register_avcodec(&sol_dpcm_decoder); |
2638 | 463 #endif //CONFIG_SOL_DPCM_DECODER |
464 #ifdef CONFIG_QTRLE_DECODER | |
1783
66ae3c109d90
initial commit for Quicktime Animation (RLE) video decoder; bit depths
melanson
parents:
1779
diff
changeset
|
465 register_avcodec(&qtrle_decoder); |
2638 | 466 #endif //CONFIG_QTRLE_DECODER |
467 #ifdef CONFIG_FLAC_DECODER | |
1812 | 468 register_avcodec(&flac_decoder); |
2638 | 469 #endif //CONFIG_FLAC_DECODER |
470 #ifdef CONFIG_SHORTEN_DECODER | |
2525
b47af698085e
shorten decoder by (Jeff Muizelaar <jrmuizel gmail com>)
michael
parents:
2520
diff
changeset
|
471 register_avcodec(&shorten_decoder); |
2638 | 472 #endif //CONFIG_SHORTEN_DECODER |
473 #ifdef CONFIG_ALAC_DECODER | |
2542
a27a580f292e
first pass at ALAC decoder from David Hammerton; while David's original
melanson
parents:
2530
diff
changeset
|
474 register_avcodec(&alac_decoder); |
2638 | 475 #endif //CONFIG_ALAC_DECODER |
476 #ifdef CONFIG_WS_SND1_DECODER | |
2585 | 477 register_avcodec(&ws_snd1_decoder); |
2638 | 478 #endif //CONFIG_WS_SND1_DECODER |
491
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
479 #endif /* CONFIG_DECODERS */ |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
480 |
1258
802614404398
AMR-NB audio support patch by (<joca at rixmail dot se>)
michaelni
parents:
1245
diff
changeset
|
481 #ifdef AMR_NB |
2638 | 482 #ifdef CONFIG_AMR_NB_DECODER |
1258
802614404398
AMR-NB audio support patch by (<joca at rixmail dot se>)
michaelni
parents:
1245
diff
changeset
|
483 register_avcodec(&amr_nb_decoder); |
2638 | 484 #endif //CONFIG_AMR_NB_DECODER |
1535 | 485 #ifdef CONFIG_ENCODERS |
2638 | 486 #ifdef CONFIG_AMR_NB_ENCODER |
1297 | 487 register_avcodec(&amr_nb_encoder); |
2638 | 488 #endif //CONFIG_AMR_NB_ENCODER |
1535 | 489 #endif //CONFIG_ENCODERS |
1258
802614404398
AMR-NB audio support patch by (<joca at rixmail dot se>)
michaelni
parents:
1245
diff
changeset
|
490 #endif /* AMR_NB */ |
1486
f22010affdce
AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents:
1443
diff
changeset
|
491 |
f22010affdce
AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents:
1443
diff
changeset
|
492 #ifdef AMR_WB |
2638 | 493 #ifdef CONFIG_AMR_WB_DECODER |
1486
f22010affdce
AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents:
1443
diff
changeset
|
494 register_avcodec(&amr_wb_decoder); |
2638 | 495 #endif //CONFIG_AMR_WB_DECODER |
1535 | 496 #ifdef CONFIG_ENCODERS |
2638 | 497 #ifdef CONFIG_AMR_WB_ENCODER |
1486
f22010affdce
AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents:
1443
diff
changeset
|
498 register_avcodec(&amr_wb_encoder); |
2638 | 499 #endif //CONFIG_AMR_WB_ENCODER |
1535 | 500 #endif //CONFIG_ENCODERS |
1486
f22010affdce
AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents:
1443
diff
changeset
|
501 #endif /* AMR_WB */ |
f22010affdce
AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents:
1443
diff
changeset
|
502 |
491
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
503 /* pcm codecs */ |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
504 |
1535 | 505 #ifdef CONFIG_ENCODERS |
491
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
506 #define PCM_CODEC(id, name) \ |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
507 register_avcodec(& name ## _encoder); \ |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
508 register_avcodec(& name ## _decoder); \ |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
509 |
1535 | 510 #else |
511 #define PCM_CODEC(id, name) \ | |
512 register_avcodec(& name ## _decoder); | |
513 #endif | |
514 | |
491
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
515 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
|
516 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
|
517 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
|
518 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
|
519 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
|
520 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
|
521 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
|
522 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
|
523 |
573
b0f52172f4c5
beos/mov/adpcm patch by Franois Revol <revol at free dot fr>
michaelni
parents:
521
diff
changeset
|
524 /* adpcm codecs */ |
b0f52172f4c5
beos/mov/adpcm patch by Franois Revol <revol at free dot fr>
michaelni
parents:
521
diff
changeset
|
525 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
|
526 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
|
527 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
|
528 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
|
529 PCM_CODEC(CODEC_ID_ADPCM_IMA_WS, adpcm_ima_ws); |
1779 | 530 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
|
531 PCM_CODEC(CODEC_ID_ADPCM_MS, adpcm_ms); |
1296 | 532 PCM_CODEC(CODEC_ID_ADPCM_4XM, adpcm_4xm); |
1535 | 533 PCM_CODEC(CODEC_ID_ADPCM_XA, adpcm_xa); |
534 PCM_CODEC(CODEC_ID_ADPCM_ADX, adpcm_adx); | |
1779 | 535 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
|
536 PCM_CODEC(CODEC_ID_ADPCM_G726, adpcm_g726); |
2296
2b75dff01118
Creative ADPCM decoder, format 0x200, courtesy of Konstantin Shishkov
melanson
parents:
2275
diff
changeset
|
537 PCM_CODEC(CODEC_ID_ADPCM_CT, adpcm_ct); |
2516
9f17dd9b80c6
macromedia flavour adpcm decoding (used in flv and swf)
alex
parents:
2514
diff
changeset
|
538 PCM_CODEC(CODEC_ID_ADPCM_SWF, adpcm_swf); |
573
b0f52172f4c5
beos/mov/adpcm patch by Franois Revol <revol at free dot fr>
michaelni
parents:
521
diff
changeset
|
539 |
491
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
540 #undef PCM_CODEC |
1613 | 541 |
542 /* parsers */ | |
543 av_register_codec_parser(&mpegvideo_parser); | |
544 av_register_codec_parser(&mpeg4video_parser); | |
2639 | 545 #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
|
546 av_register_codec_parser(&h261_parser); |
2639 | 547 #endif |
1613 | 548 av_register_codec_parser(&h263_parser); |
2639 | 549 #ifdef CONFIG_H264_DECODER |
1613 | 550 av_register_codec_parser(&h264_parser); |
2639 | 551 #endif |
2319 | 552 av_register_codec_parser(&mjpeg_parser); |
2348 | 553 av_register_codec_parser(&pnm_parser); |
1613 | 554 |
555 av_register_codec_parser(&mpegaudio_parser); | |
556 #ifdef CONFIG_AC3 | |
557 av_register_codec_parser(&ac3_parser); | |
558 #endif | |
491
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
559 } |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
560 |