Mercurial > libavcodec.hg
annotate allcodecs.c @ 3238:21ba2e68ce03 libavcodec
warn user about crappy OS patch by (Steve Lhomme <steve.lhomme@free.fr>)
trailing whitespace and init=1 nonsense removed by me
AV_LOG_ERROR -> AV_LOG_INFO (yes steve even though many like you think its an error to use such a OS i cant apply that to cvs, sorry)
author | michael |
---|---|
date | Fri, 31 Mar 2006 13:06:24 +0000 |
parents | 28aaf0a0135e |
children | 226ffbb6fd02 |
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 | 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 /** |
2967 | 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 | 36 |
3238
21ba2e68ce03
warn user about crappy OS patch by (Steve Lhomme <steve.lhomme@free.fr>)
michael
parents:
3224
diff
changeset
|
37 #ifdef CONFIG_WIN32 |
21ba2e68ce03
warn user about crappy OS patch by (Steve Lhomme <steve.lhomme@free.fr>)
michael
parents:
3224
diff
changeset
|
38 av_log(NULL, AV_LOG_INFO, "Use a real OS!\n"); |
21ba2e68ce03
warn user about crappy OS patch by (Steve Lhomme <steve.lhomme@free.fr>)
michael
parents:
3224
diff
changeset
|
39 #endif |
21ba2e68ce03
warn user about crappy OS patch by (Steve Lhomme <steve.lhomme@free.fr>)
michael
parents:
3224
diff
changeset
|
40 |
491
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
41 if (inited != 0) |
2979 | 42 return; |
491
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
43 inited = 1; |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
44 |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
45 /* encoders */ |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
46 #ifdef CONFIG_ENCODERS |
2638 | 47 #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
|
48 register_avcodec(&ac3_encoder); |
2638 | 49 #endif //CONFIG_AC3_ENCODER |
50 #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
|
51 register_avcodec(&mp2_encoder); |
2638 | 52 #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
|
53 #ifdef CONFIG_MP3LAME |
2638 | 54 #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
|
55 register_avcodec(&mp3lame_encoder); |
2638 | 56 #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
|
57 #endif |
2520 | 58 #ifdef CONFIG_LIBVORBIS |
2638 | 59 #ifdef CONFIG_OGGVORBIS_ENCODER |
636
57b9a37546a0
oggvorbis support patch by (Mark Hills <mark at pogo dot org dot uk>)
michaelni
parents:
573
diff
changeset
|
60 register_avcodec(&oggvorbis_encoder); |
2638 | 61 #endif //CONFIG_OGGVORBIS_ENCODER |
2697
4fe1c19fc7a3
Vorbis decoder by (Balatoni Denes | dbalatoni programozo hu)
michael
parents:
2665
diff
changeset
|
62 #if (defined CONFIG_OGGVORBIS_DECODER && !defined CONFIG_VORBIS_DECODER) |
883 | 63 register_avcodec(&oggvorbis_decoder); |
2638 | 64 #endif //CONFIG_OGGVORBIS_DECODER |
636
57b9a37546a0
oggvorbis support patch by (Mark Hills <mark at pogo dot org dot uk>)
michaelni
parents:
573
diff
changeset
|
65 #endif |
2520 | 66 #ifdef CONFIG_LIBTHEORA |
2638 | 67 #ifdef CONFIG_OGGTHEORA_ENCODER |
2665 | 68 // register_avcodec(&oggtheora_encoder); |
2638 | 69 #endif //CONFIG_OGGTHEORA_ENCODER |
70 #ifdef CONFIG_OGGTHEORA_DECODER | |
2520 | 71 register_avcodec(&oggtheora_decoder); |
2638 | 72 #endif //CONFIG_OGGTHEORA_DECODER |
2520 | 73 #endif |
1500
726a81d83ddd
Patch for AAC encoding with libfaac by (Gildas Bazin <gbazin at altern dot org>)
michaelni
parents:
1498
diff
changeset
|
74 #ifdef CONFIG_FAAC |
2638 | 75 #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
|
76 register_avcodec(&faac_encoder); |
2638 | 77 #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
|
78 #endif |
2131
060053df9538
XviD Support patch by (Adam Thayer <krevnik at comcast dot net>)
michael
parents:
2123
diff
changeset
|
79 #ifdef CONFIG_XVID |
2638 | 80 #ifdef CONFIG_XVID_ENCODER |
2131
060053df9538
XviD Support patch by (Adam Thayer <krevnik at comcast dot net>)
michael
parents:
2123
diff
changeset
|
81 register_avcodec(&xvid_encoder); |
2638 | 82 #endif //CONFIG_XVID_ENCODER |
2131
060053df9538
XviD Support patch by (Adam Thayer <krevnik at comcast dot net>)
michael
parents:
2123
diff
changeset
|
83 #endif |
2638 | 84 #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
|
85 register_avcodec(&mpeg1video_encoder); |
2638 | 86 #endif //CONFIG_MPEG1VIDEO_ENCODER |
87 #ifdef CONFIG_H264_ENCODER | |
1168 | 88 // register_avcodec(&h264_encoder); |
2638 | 89 #endif //CONFIG_H264_ENCODER |
90 #ifdef CONFIG_MPEG2VIDEO_ENCODER | |
1421 | 91 register_avcodec(&mpeg2video_encoder); |
2638 | 92 #endif //CONFIG_MPEG2VIDEO_ENCODER |
93 #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
|
94 register_avcodec(&h261_encoder); |
2638 | 95 #endif //CONFIG_H261_ENCODER |
96 #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
|
97 register_avcodec(&h263_encoder); |
2638 | 98 #endif //CONFIG_H263_ENCODER |
99 #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
|
100 register_avcodec(&h263p_encoder); |
2638 | 101 #endif //CONFIG_H263P_ENCODER |
102 #ifdef CONFIG_FLV_ENCODER | |
1357 | 103 register_avcodec(&flv_encoder); |
2638 | 104 #endif //CONFIG_FLV_ENCODER |
105 #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
|
106 register_avcodec(&rv10_encoder); |
2638 | 107 #endif //CONFIG_RV10_ENCODER |
108 #ifdef CONFIG_RV20_ENCODER | |
2380 | 109 register_avcodec(&rv20_encoder); |
2638 | 110 #endif //CONFIG_RV20_ENCODER |
111 #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
|
112 register_avcodec(&mpeg4_encoder); |
2638 | 113 #endif //CONFIG_MPEG4_ENCODER |
114 #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
|
115 register_avcodec(&msmpeg4v1_encoder); |
2638 | 116 #endif //CONFIG_MSMPEG4V1_ENCODER |
117 #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
|
118 register_avcodec(&msmpeg4v2_encoder); |
2638 | 119 #endif //CONFIG_MSMPEG4V2_ENCODER |
120 #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
|
121 register_avcodec(&msmpeg4v3_encoder); |
2638 | 122 #endif //CONFIG_MSMPEG4V3_ENCODER |
123 #ifdef CONFIG_WMV1_ENCODER | |
500 | 124 register_avcodec(&wmv1_encoder); |
2638 | 125 #endif //CONFIG_WMV1_ENCODER |
126 #ifdef CONFIG_WMV2_ENCODER | |
936 | 127 register_avcodec(&wmv2_encoder); |
2638 | 128 #endif //CONFIG_WMV2_ENCODER |
129 #ifdef CONFIG_SVQ1_ENCODER | |
2005 | 130 register_avcodec(&svq1_encoder); |
2638 | 131 #endif //CONFIG_SVQ1_ENCODER |
132 #ifdef CONFIG_MJPEG_ENCODER | |
1042 | 133 register_avcodec(&mjpeg_encoder); |
2638 | 134 #endif //CONFIG_MJPEG_ENCODER |
135 #ifdef CONFIG_LJPEG_ENCODER | |
1315
6696d3bf4ff2
lossless mjpeg encoding (planar yuv & RGB) and somerelated bugfixes
michaelni
parents:
1304
diff
changeset
|
136 register_avcodec(&ljpeg_encoder); |
2638 | 137 #endif //CONFIG_LJPEG_ENCODER |
2970
583b6ac45c07
unfinished jpeg-ls codec (feel free to finish it ...)
michael
parents:
2967
diff
changeset
|
138 #ifdef CONFIG_JPEGLS_ENCODER |
583b6ac45c07
unfinished jpeg-ls codec (feel free to finish it ...)
michael
parents:
2967
diff
changeset
|
139 register_avcodec(&jpegls_encoder); |
583b6ac45c07
unfinished jpeg-ls codec (feel free to finish it ...)
michael
parents:
2967
diff
changeset
|
140 #endif //CONFIG_JPEGLS_ENCODER |
2343 | 141 #ifdef CONFIG_ZLIB |
2638 | 142 #ifdef CONFIG_PNG_ENCODER |
2342 | 143 register_avcodec(&png_encoder); |
2638 | 144 #endif //CONFIG_PNG_ENCODER |
2343 | 145 #endif |
2638 | 146 #ifdef CONFIG_PPM_ENCODER |
2344 | 147 register_avcodec(&ppm_encoder); |
2638 | 148 #endif //CONFIG_PPM_ENCODER |
149 #ifdef CONFIG_PGM_ENCODER | |
2344 | 150 register_avcodec(&pgm_encoder); |
2638 | 151 #endif //CONFIG_PGM_ENCODER |
152 #ifdef CONFIG_PGMYUV_ENCODER | |
2344 | 153 register_avcodec(&pgmyuv_encoder); |
2638 | 154 #endif //CONFIG_PGMYUV_ENCODER |
155 #ifdef CONFIG_PBM_ENCODER | |
2344 | 156 register_avcodec(&pbm_encoder); |
2638 | 157 #endif //CONFIG_PBM_ENCODER |
158 #ifdef CONFIG_PAM_ENCODER | |
2344 | 159 register_avcodec(&pam_encoder); |
2638 | 160 #endif //CONFIG_PAM_ENCODER |
161 #ifdef CONFIG_HUFFYUV_ENCODER | |
866 | 162 register_avcodec(&huffyuv_encoder); |
2638 | 163 #endif //CONFIG_HUFFYUV_ENCODER |
164 #ifdef CONFIG_FFVHUFF_ENCODER | |
2373 | 165 register_avcodec(&ffvhuff_encoder); |
2638 | 166 #endif //CONFIG_FFVHUFF_ENCODER |
167 #ifdef CONFIG_ASV1_ENCODER | |
1273 | 168 register_avcodec(&asv1_encoder); |
2638 | 169 #endif //CONFIG_ASV1_ENCODER |
170 #ifdef CONFIG_ASV2_ENCODER | |
1434 | 171 register_avcodec(&asv2_encoder); |
2638 | 172 #endif //CONFIG_ASV2_ENCODER |
173 #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
|
174 register_avcodec(&ffv1_encoder); |
2638 | 175 #endif //CONFIG_FFV1_ENCODER |
176 #ifdef CONFIG_SNOW_ENCODER | |
2138 | 177 register_avcodec(&snow_encoder); |
2638 | 178 #endif //CONFIG_SNOW_ENCODER |
179 #ifdef CONFIG_ZLIB_ENCODER | |
1741 | 180 register_avcodec(&zlib_encoder); |
2638 | 181 #endif //CONFIG_ZLIB_ENCODER |
182 #ifdef CONFIG_DVVIDEO_ENCODER | |
1887
85fe2f4633ec
* DV decoding/encoding now supports MultiThreading for up to 324 CPUs ;-)
romansh
parents:
1812
diff
changeset
|
183 register_avcodec(&dvvideo_encoder); |
2638 | 184 #endif //CONFIG_DVVIDEO_ENCODER |
185 #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
|
186 register_avcodec(&sonic_encoder); |
2638 | 187 #endif //CONFIG_SONIC_ENCODER |
188 #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
|
189 register_avcodec(&sonic_ls_encoder); |
2638 | 190 #endif //CONFIG_SONIC_LS_ENCODER |
2556
e5af3bc1d038
H.264 encoding with x264 by (Mns Rullgrd <mru inprovide com>)
michael
parents:
2542
diff
changeset
|
191 #ifdef CONFIG_X264 |
2638 | 192 #ifdef CONFIG_X264_ENCODER |
2556
e5af3bc1d038
H.264 encoding with x264 by (Mns Rullgrd <mru inprovide com>)
michael
parents:
2542
diff
changeset
|
193 register_avcodec(&x264_encoder); |
2638 | 194 #endif //CONFIG_X264_ENCODER |
2556
e5af3bc1d038
H.264 encoding with x264 by (Mns Rullgrd <mru inprovide com>)
michael
parents:
2542
diff
changeset
|
195 #endif |
2729 | 196 #ifdef CONFIG_LIBGSM |
197 register_avcodec(&libgsm_encoder); | |
198 #endif //CONFIG_LIBGSM | |
2638 | 199 #ifdef CONFIG_RAWVIDEO_ENCODER |
1231
b88dfc4bbf8c
* introducing new public interface in imgconvert.c
romansh
parents:
1224
diff
changeset
|
200 register_avcodec(&rawvideo_encoder); |
2638 | 201 #endif //CONFIG_RAWVIDEO_ENCODER |
2921
d22a3556292a
avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents:
2913
diff
changeset
|
202 #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
|
203 |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
204 /* decoders */ |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
205 #ifdef CONFIG_DECODERS |
2638 | 206 #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
|
207 register_avcodec(&h263_decoder); |
2638 | 208 #endif //CONFIG_H263_DECODER |
209 #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
|
210 register_avcodec(&h261_decoder); |
2638 | 211 #endif //CONFIG_H261_DECODER |
212 #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
|
213 register_avcodec(&mpeg4_decoder); |
2638 | 214 #endif //CONFIG_MPEG4_DECODER |
215 #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
|
216 register_avcodec(&msmpeg4v1_decoder); |
2638 | 217 #endif //CONFIG_MSMPEG4V1_DECODER |
218 #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
|
219 register_avcodec(&msmpeg4v2_decoder); |
2638 | 220 #endif //CONFIG_MSMPEG4V2_DECODER |
221 #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
|
222 register_avcodec(&msmpeg4v3_decoder); |
2638 | 223 #endif //CONFIG_MSMPEG4V3_DECODER |
224 #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
|
225 register_avcodec(&wmv1_decoder); |
2638 | 226 #endif //CONFIG_WMV1_DECODER |
227 #ifdef CONFIG_WMV2_DECODER | |
936 | 228 register_avcodec(&wmv2_decoder); |
2638 | 229 #endif //CONFIG_WMV2_DECODER |
230 #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
|
231 register_avcodec(&vc9_decoder); |
2638 | 232 #endif //CONFIG_VC9_DECODER |
3015
1720680830c7
Comment out WMV3 decoder for now, it crashes on every file and causes
diego
parents:
3006
diff
changeset
|
233 /* Reenable when it stops crashing on every file, causing bug report spam. |
2638 | 234 #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
|
235 register_avcodec(&wmv3_decoder); |
2638 | 236 #endif //CONFIG_WMV3_DECODER |
3015
1720680830c7
Comment out WMV3 decoder for now, it crashes on every file and causes
diego
parents:
3006
diff
changeset
|
237 */ |
2638 | 238 #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
|
239 register_avcodec(&h263i_decoder); |
2638 | 240 #endif //CONFIG_H263I_DECODER |
241 #ifdef CONFIG_FLV_DECODER | |
1357 | 242 register_avcodec(&flv_decoder); |
2638 | 243 #endif //CONFIG_FLV_DECODER |
244 #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
|
245 register_avcodec(&rv10_decoder); |
2638 | 246 #endif //CONFIG_RV10_DECODER |
247 #ifdef CONFIG_RV20_DECODER | |
1639 | 248 register_avcodec(&rv20_decoder); |
2638 | 249 #endif //CONFIG_RV20_DECODER |
250 #ifdef CONFIG_SVQ1_DECODER | |
521 | 251 register_avcodec(&svq1_decoder); |
2638 | 252 #endif //CONFIG_SVQ1_DECODER |
253 #ifdef CONFIG_SVQ3_DECODER | |
1234 | 254 register_avcodec(&svq3_decoder); |
2638 | 255 #endif //CONFIG_SVQ3_DECODER |
256 #ifdef CONFIG_WMAV1_DECODER | |
1042 | 257 register_avcodec(&wmav1_decoder); |
2638 | 258 #endif //CONFIG_WMAV1_DECODER |
259 #ifdef CONFIG_WMAV2_DECODER | |
1042 | 260 register_avcodec(&wmav2_decoder); |
2638 | 261 #endif //CONFIG_WMAV2_DECODER |
262 #ifdef CONFIG_INDEO2_DECODER | |
2618
fc91ca5b9066
Indeo 2 decoder by (Kostya <> kostya.shishkov gmail com)
michael
parents:
2588
diff
changeset
|
263 register_avcodec(&indeo2_decoder); |
2638 | 264 #endif //CONFIG_INDEO2_DECODER |
265 #ifdef CONFIG_INDEO3_DECODER | |
1190 | 266 register_avcodec(&indeo3_decoder); |
2638 | 267 #endif //CONFIG_INDEO3_DECODER |
268 #ifdef CONFIG_TSCC_DECODER | |
2234
dff53892ff8a
IBM Ultimotion video decoder, courtesy of Konstantin Shishkov
melanson
parents:
2182
diff
changeset
|
269 register_avcodec(&tscc_decoder); |
2638 | 270 #endif //CONFIG_TSCC_DECODER |
3030 | 271 #ifdef CONFIG_CSCD_DECODER |
272 register_avcodec(&cscd_decoder); | |
273 #endif //CONFIG_CSCD_DECODER | |
3224
28aaf0a0135e
NuppelVideo/MythTVVideo support, including rtjpeg decoder
reimar
parents:
3209
diff
changeset
|
274 #ifdef CONFIG_NUV_DECODER |
28aaf0a0135e
NuppelVideo/MythTVVideo support, including rtjpeg decoder
reimar
parents:
3209
diff
changeset
|
275 register_avcodec(&nuv_decoder); |
28aaf0a0135e
NuppelVideo/MythTVVideo support, including rtjpeg decoder
reimar
parents:
3209
diff
changeset
|
276 #endif //CONFIG_NUV_DECODER |
2638 | 277 #ifdef CONFIG_ULTI_DECODER |
2234
dff53892ff8a
IBM Ultimotion video decoder, courtesy of Konstantin Shishkov
melanson
parents:
2182
diff
changeset
|
278 register_avcodec(&ulti_decoder); |
2638 | 279 #endif //CONFIG_ULTI_DECODER |
280 #ifdef CONFIG_QDRAW_DECODER | |
2275
c443a6af19a7
support for Sierra Online audio files and Apple QuickDraw codec,
melanson
parents:
2234
diff
changeset
|
281 register_avcodec(&qdraw_decoder); |
2638 | 282 #endif //CONFIG_QDRAW_DECODER |
283 #ifdef CONFIG_XL_DECODER | |
2325
1180a04d64c5
Miro VideoXL (VIXL) decoder, courtesy of Konstantin Shishkov
melanson
parents:
2319
diff
changeset
|
284 register_avcodec(&xl_decoder); |
2638 | 285 #endif //CONFIG_XL_DECODER |
286 #ifdef CONFIG_QPEG_DECODER | |
2355
69fcdad5f7d5
native QPEG video decoder, courtesy of Konstantin Shishkov
melanson
parents:
2348
diff
changeset
|
287 register_avcodec(&qpeg_decoder); |
2638 | 288 #endif //CONFIG_QPEG_DECODER |
289 #ifdef CONFIG_LOCO_DECODER | |
2530 | 290 register_avcodec(&loco_decoder); |
2638 | 291 #endif //CONFIG_LOCO_DECODER |
292 #ifdef CONFIG_WNV1_DECODER | |
2577
7d9997a69158
Winnov WNV1 video decoder, courtesy of Konstantin Shishkov
melanson
parents:
2556
diff
changeset
|
293 register_avcodec(&wnv1_decoder); |
2638 | 294 #endif //CONFIG_WNV1_DECODER |
295 #ifdef CONFIG_AASC_DECODER | |
2588
b6b618986f80
Autodesk Animator Studio Codec (AASC) video decoder, courtesy of
melanson
parents:
2585
diff
changeset
|
296 register_avcodec(&aasc_decoder); |
2638 | 297 #endif //CONFIG_AASC_DECODER |
2700
485571c9182f
Fraps FPS1 video decoder (v1 & v2), courtesy of Roine Gustafsson <roine
melanson
parents:
2697
diff
changeset
|
298 #ifdef CONFIG_FRAPS_DECODER |
485571c9182f
Fraps FPS1 video decoder (v1 & v2), courtesy of Roine Gustafsson <roine
melanson
parents:
2697
diff
changeset
|
299 register_avcodec(&fraps_decoder); |
485571c9182f
Fraps FPS1 video decoder (v1 & v2), courtesy of Roine Gustafsson <roine
melanson
parents:
2697
diff
changeset
|
300 #endif //CONFIG_FRAPS_DECODER |
1245 | 301 #ifdef CONFIG_FAAD |
2638 | 302 #ifdef CONFIG_AAC_DECODER |
1245 | 303 register_avcodec(&aac_decoder); |
2638 | 304 #endif //CONFIG_AAC_DECODER |
305 #ifdef CONFIG_MPEG4AAC_DECODER | |
1245 | 306 register_avcodec(&mpeg4aac_decoder); |
2638 | 307 #endif //CONFIG_MPEG4AAC_DECODER |
1245 | 308 #endif |
2638 | 309 #ifdef CONFIG_MPEG1VIDEO_DECODER |
1423 | 310 register_avcodec(&mpeg1video_decoder); |
2638 | 311 #endif //CONFIG_MPEG1VIDEO_DECODER |
312 #ifdef CONFIG_MPEG2VIDEO_DECODER | |
1423 | 313 register_avcodec(&mpeg2video_decoder); |
2638 | 314 #endif //CONFIG_MPEG2VIDEO_DECODER |
315 #ifdef CONFIG_MPEGVIDEO_DECODER | |
1615 | 316 register_avcodec(&mpegvideo_decoder); |
2638 | 317 #endif //CONFIG_MPEGVIDEO_DECODER |
1381 | 318 #ifdef HAVE_XVMC |
2638 | 319 #ifdef CONFIG_MPEG_XVMC_DECODER |
1381 | 320 register_avcodec(&mpeg_xvmc_decoder); |
2638 | 321 #endif //CONFIG_MPEG_XVMC_DECODER |
1381 | 322 #endif |
2638 | 323 #ifdef CONFIG_DVVIDEO_DECODER |
724 | 324 register_avcodec(&dvvideo_decoder); |
2638 | 325 #endif //CONFIG_DVVIDEO_DECODER |
326 #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
|
327 register_avcodec(&mjpeg_decoder); |
2638 | 328 #endif //CONFIG_MJPEG_DECODER |
329 #ifdef CONFIG_MJPEGB_DECODER | |
881 | 330 register_avcodec(&mjpegb_decoder); |
2638 | 331 #endif //CONFIG_MJPEGB_DECODER |
332 #ifdef CONFIG_SP5X_DECODER | |
1519 | 333 register_avcodec(&sp5x_decoder); |
2638 | 334 #endif //CONFIG_SP5X_DECODER |
2343 | 335 #ifdef CONFIG_ZLIB |
2638 | 336 #ifdef CONFIG_PNG_DECODER |
2342 | 337 register_avcodec(&png_decoder); |
2638 | 338 #endif //CONFIG_PNG_DECODER |
2343 | 339 #endif |
2638 | 340 #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
|
341 register_avcodec(&mp2_decoder); |
2638 | 342 #endif //CONFIG_MP2_DECODER |
343 #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
|
344 register_avcodec(&mp3_decoder); |
2638 | 345 #endif //CONFIG_MP3_DECODER |
346 #ifdef CONFIG_MP3ADU_DECODER | |
2432 | 347 register_avcodec(&mp3adu_decoder); |
2638 | 348 #endif //CONFIG_MP3ADU_DECODER |
349 #ifdef CONFIG_MP3ON4_DECODER | |
2507
0334caf0f0ce
Multichannel mp3 in mp4 support ISO/IEC 14496-3:2001/FPDAM 3 (MP3onMP4)
rtognimp
parents:
2446
diff
changeset
|
350 register_avcodec(&mp3on4_decoder); |
2638 | 351 #endif //CONFIG_MP3ON4_DECODER |
352 #ifdef CONFIG_MACE3_DECODER | |
827
770578c6c300
added MACE (Macintosh Audio Compression/Expansion) 3:1 & 6:1 support
michaelni
parents:
783
diff
changeset
|
353 register_avcodec(&mace3_decoder); |
2638 | 354 #endif //CONFIG_MACE3_DECODER |
355 #ifdef CONFIG_MACE6_DECODER | |
827
770578c6c300
added MACE (Macintosh Audio Compression/Expansion) 3:1 & 6:1 support
michaelni
parents:
783
diff
changeset
|
356 register_avcodec(&mace6_decoder); |
2638 | 357 #endif //CONFIG_MACE6_DECODER |
358 #ifdef CONFIG_HUFFYUV_DECODER | |
866 | 359 register_avcodec(&huffyuv_decoder); |
2638 | 360 #endif //CONFIG_HUFFYUV_DECODER |
361 #ifdef CONFIG_FFVHUFF_DECODER | |
2373 | 362 register_avcodec(&ffvhuff_decoder); |
2638 | 363 #endif //CONFIG_FFVHUFF_DECODER |
364 #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
|
365 register_avcodec(&ffv1_decoder); |
2638 | 366 #endif //CONFIG_FFV1_DECODER |
367 #ifdef CONFIG_SNOW_DECODER | |
2138 | 368 register_avcodec(&snow_decoder); |
2638 | 369 #endif //CONFIG_SNOW_DECODER |
370 #ifdef CONFIG_CYUV_DECODER | |
1056 | 371 register_avcodec(&cyuv_decoder); |
2638 | 372 #endif //CONFIG_CYUV_DECODER |
373 #ifdef CONFIG_H264_DECODER | |
1168 | 374 register_avcodec(&h264_decoder); |
2638 | 375 #endif //CONFIG_H264_DECODER |
376 #ifdef CONFIG_VP3_DECODER | |
1224 | 377 register_avcodec(&vp3_decoder); |
2638 | 378 #endif //CONFIG_VP3_DECODER |
2665 | 379 #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
|
380 register_avcodec(&theora_decoder); |
2638 | 381 #endif //CONFIG_THEORA_DECODER |
382 #ifdef CONFIG_ASV1_DECODER | |
1273 | 383 register_avcodec(&asv1_decoder); |
2638 | 384 #endif //CONFIG_ASV1_DECODER |
385 #ifdef CONFIG_ASV2_DECODER | |
1433 | 386 register_avcodec(&asv2_decoder); |
2638 | 387 #endif //CONFIG_ASV2_DECODER |
388 #ifdef CONFIG_VCR1_DECODER | |
1374 | 389 register_avcodec(&vcr1_decoder); |
2638 | 390 #endif //CONFIG_VCR1_DECODER |
391 #ifdef CONFIG_CLJR_DECODER | |
1385 | 392 register_avcodec(&cljr_decoder); |
2638 | 393 #endif //CONFIG_CLJR_DECODER |
394 #ifdef CONFIG_FOURXM_DECODER | |
1293 | 395 register_avcodec(&fourxm_decoder); |
2638 | 396 #endif //CONFIG_FOURXM_DECODER |
397 #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
|
398 register_avcodec(&mdec_decoder); |
2638 | 399 #endif //CONFIG_MDEC_DECODER |
400 #ifdef CONFIG_ROQ_DECODER | |
1439
a4d00b1f0271
initial commit for Id RoQ and Interplay MVE multimedia subsystems
tmmm
parents:
1434
diff
changeset
|
401 register_avcodec(&roq_decoder); |
2638 | 402 #endif //CONFIG_ROQ_DECODER |
403 #ifdef CONFIG_INTERPLAY_VIDEO_DECODER | |
1439
a4d00b1f0271
initial commit for Id RoQ and Interplay MVE multimedia subsystems
tmmm
parents:
1434
diff
changeset
|
404 register_avcodec(&interplay_video_decoder); |
2638 | 405 #endif //CONFIG_INTERPLAY_VIDEO_DECODER |
406 #ifdef CONFIG_XAN_WC3_DECODER | |
1443
47f4c8a5a7fc
New fringe codecs: WC3/Xan video, Xan DPCM, DK3 & DK4 ADPCM
tmmm
parents:
1439
diff
changeset
|
407 register_avcodec(&xan_wc3_decoder); |
2638 | 408 #endif //CONFIG_XAN_WC3_DECODER |
409 #ifdef CONFIG_RPZA_DECODER | |
1491
222643544cf1
New demuxers: Sega FILM/CPK, Westwood VQA & AUD; new decoders: MS RLE &
tmmm
parents:
1489
diff
changeset
|
410 register_avcodec(&rpza_decoder); |
2638 | 411 #endif //CONFIG_RPZA_DECODER |
412 #ifdef CONFIG_CINEPAK_DECODER | |
1491
222643544cf1
New demuxers: Sega FILM/CPK, Westwood VQA & AUD; new decoders: MS RLE &
tmmm
parents:
1489
diff
changeset
|
413 register_avcodec(&cinepak_decoder); |
2638 | 414 #endif //CONFIG_CINEPAK_DECODER |
415 #ifdef CONFIG_MSRLE_DECODER | |
1491
222643544cf1
New demuxers: Sega FILM/CPK, Westwood VQA & AUD; new decoders: MS RLE &
tmmm
parents:
1489
diff
changeset
|
416 register_avcodec(&msrle_decoder); |
2638 | 417 #endif //CONFIG_MSRLE_DECODER |
418 #ifdef CONFIG_MSVIDEO1_DECODER | |
1491
222643544cf1
New demuxers: Sega FILM/CPK, Westwood VQA & AUD; new decoders: MS RLE &
tmmm
parents:
1489
diff
changeset
|
419 register_avcodec(&msvideo1_decoder); |
2638 | 420 #endif //CONFIG_MSVIDEO1_DECODER |
421 #ifdef CONFIG_VQA_DECODER | |
1496 | 422 register_avcodec(&vqa_decoder); |
2638 | 423 #endif //CONFIG_VQA_DECODER |
424 #ifdef CONFIG_IDCIN_DECODER | |
1498 | 425 register_avcodec(&idcin_decoder); |
2638 | 426 #endif //CONFIG_IDCIN_DECODER |
427 #ifdef CONFIG_EIGHTBPS_DECODER | |
1608 | 428 register_avcodec(&eightbps_decoder); |
2638 | 429 #endif //CONFIG_EIGHTBPS_DECODER |
430 #ifdef CONFIG_SMC_DECODER | |
1610 | 431 register_avcodec(&smc_decoder); |
2638 | 432 #endif //CONFIG_SMC_DECODER |
433 #ifdef CONFIG_FLIC_DECODER | |
1624 | 434 register_avcodec(&flic_decoder); |
2638 | 435 #endif //CONFIG_FLIC_DECODER |
436 #ifdef CONFIG_TRUEMOTION1_DECODER | |
1650
bdade3baabfc
initial support for Duck TrueMotion v1 (think of it as On2 VP1); only
melanson
parents:
1639
diff
changeset
|
437 register_avcodec(&truemotion1_decoder); |
2638 | 438 #endif //CONFIG_TRUEMOTION1_DECODER |
2906
e578b3572987
Duck TrueMotion 2 video decoder, courtesy of Konstantin Shishkov
melanson
parents:
2852
diff
changeset
|
439 #ifdef CONFIG_TRUEMOTION2_DECODER |
e578b3572987
Duck TrueMotion 2 video decoder, courtesy of Konstantin Shishkov
melanson
parents:
2852
diff
changeset
|
440 register_avcodec(&truemotion2_decoder); |
e578b3572987
Duck TrueMotion 2 video decoder, courtesy of Konstantin Shishkov
melanson
parents:
2852
diff
changeset
|
441 #endif //CONFIG_TRUEMOTION2_DECODER |
2638 | 442 #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
|
443 register_avcodec(&vmdvideo_decoder); |
2638 | 444 #endif //CONFIG_VMDVIDEO_DECODER |
445 #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
|
446 register_avcodec(&vmdaudio_decoder); |
2638 | 447 #endif //CONFIG_VMDAUDIO_DECODER |
448 #ifdef CONFIG_MSZH_DECODER | |
1741 | 449 register_avcodec(&mszh_decoder); |
2638 | 450 #endif //CONFIG_MSZH_DECODER |
451 #ifdef CONFIG_ZLIB_DECODER | |
1741 | 452 register_avcodec(&zlib_decoder); |
2638 | 453 #endif //CONFIG_ZLIB_DECODER |
3120 | 454 #ifdef CONFIG_ZMBV_DECODER |
455 register_avcodec(&zmbv_decoder); | |
456 #endif //CONFIG_ZMBV_DECODER | |
3209 | 457 #ifdef CONFIG_SMACKER_DECODER |
458 register_avcodec(&smacker_decoder); | |
459 #endif //CONFIG_SMACKER_DECODER | |
460 #ifdef CONFIG_SMACKAUD_DECODER | |
461 register_avcodec(&smackaud_decoder); | |
462 #endif //CONFIG_SMACKAUD_DECODER | |
2638 | 463 #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
|
464 register_avcodec(&sonic_decoder); |
2638 | 465 #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
|
466 #ifdef CONFIG_AC3 |
2638 | 467 #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
|
468 register_avcodec(&ac3_decoder); |
2638 | 469 #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
|
470 #endif |
2123
ef54decf5624
libdts support by (Benjamin Zores <ben at geexbox dot org>)
michael
parents:
2081
diff
changeset
|
471 #ifdef CONFIG_DTS |
2638 | 472 #ifdef CONFIG_DTS_DECODER |
2123
ef54decf5624
libdts support by (Benjamin Zores <ben at geexbox dot org>)
michael
parents:
2081
diff
changeset
|
473 register_avcodec(&dts_decoder); |
2638 | 474 #endif //CONFIG_DTS_DECODER |
2123
ef54decf5624
libdts support by (Benjamin Zores <ben at geexbox dot org>)
michael
parents:
2081
diff
changeset
|
475 #endif |
2638 | 476 #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
|
477 register_avcodec(&ra_144_decoder); |
2638 | 478 #endif //CONFIG_RA_144_DECODER |
479 #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
|
480 register_avcodec(&ra_288_decoder); |
2638 | 481 #endif //CONFIG_RA_288_DECODER |
482 #ifdef CONFIG_ROQ_DPCM_DECODER | |
1439
a4d00b1f0271
initial commit for Id RoQ and Interplay MVE multimedia subsystems
tmmm
parents:
1434
diff
changeset
|
483 register_avcodec(&roq_dpcm_decoder); |
2638 | 484 #endif //CONFIG_ROQ_DPCM_DECODER |
485 #ifdef CONFIG_INTERPLAY_DPCM_DECODER | |
1439
a4d00b1f0271
initial commit for Id RoQ and Interplay MVE multimedia subsystems
tmmm
parents:
1434
diff
changeset
|
486 register_avcodec(&interplay_dpcm_decoder); |
2638 | 487 #endif //CONFIG_INTERPLAY_DPCM_DECODER |
488 #ifdef CONFIG_XAN_DPCM_DECODER | |
1443
47f4c8a5a7fc
New fringe codecs: WC3/Xan video, Xan DPCM, DK3 & DK4 ADPCM
tmmm
parents:
1439
diff
changeset
|
489 register_avcodec(&xan_dpcm_decoder); |
2638 | 490 #endif //CONFIG_XAN_DPCM_DECODER |
491 #ifdef CONFIG_SOL_DPCM_DECODER | |
2275
c443a6af19a7
support for Sierra Online audio files and Apple QuickDraw codec,
melanson
parents:
2234
diff
changeset
|
492 register_avcodec(&sol_dpcm_decoder); |
2638 | 493 #endif //CONFIG_SOL_DPCM_DECODER |
494 #ifdef CONFIG_QTRLE_DECODER | |
1783
66ae3c109d90
initial commit for Quicktime Animation (RLE) video decoder; bit depths
melanson
parents:
1779
diff
changeset
|
495 register_avcodec(&qtrle_decoder); |
2638 | 496 #endif //CONFIG_QTRLE_DECODER |
497 #ifdef CONFIG_FLAC_DECODER | |
1812 | 498 register_avcodec(&flac_decoder); |
2638 | 499 #endif //CONFIG_FLAC_DECODER |
500 #ifdef CONFIG_SHORTEN_DECODER | |
2525
b47af698085e
shorten decoder by (Jeff Muizelaar <jrmuizel gmail com>)
michael
parents:
2520
diff
changeset
|
501 register_avcodec(&shorten_decoder); |
2638 | 502 #endif //CONFIG_SHORTEN_DECODER |
503 #ifdef CONFIG_ALAC_DECODER | |
2542
a27a580f292e
first pass at ALAC decoder from David Hammerton; while David's original
melanson
parents:
2530
diff
changeset
|
504 register_avcodec(&alac_decoder); |
2638 | 505 #endif //CONFIG_ALAC_DECODER |
506 #ifdef CONFIG_WS_SND1_DECODER | |
2585 | 507 register_avcodec(&ws_snd1_decoder); |
2638 | 508 #endif //CONFIG_WS_SND1_DECODER |
2697
4fe1c19fc7a3
Vorbis decoder by (Balatoni Denes | dbalatoni programozo hu)
michael
parents:
2665
diff
changeset
|
509 #ifdef CONFIG_VORBIS_DECODER |
4fe1c19fc7a3
Vorbis decoder by (Balatoni Denes | dbalatoni programozo hu)
michael
parents:
2665
diff
changeset
|
510 register_avcodec(&vorbis_decoder); |
4fe1c19fc7a3
Vorbis decoder by (Balatoni Denes | dbalatoni programozo hu)
michael
parents:
2665
diff
changeset
|
511 #endif |
2729 | 512 #ifdef CONFIG_LIBGSM |
513 register_avcodec(&libgsm_decoder); | |
514 #endif //CONFIG_LIBGSM | |
2913 | 515 #ifdef CONFIG_QDM2_DECODER |
516 register_avcodec(&qdm2_decoder); | |
517 #endif //CONFIG_QDM2_DECODER | |
2956
5f51b1e0bed6
Cook compatibe decoder, patch by Benjamin Larsson
rtognimp
parents:
2949
diff
changeset
|
518 #ifdef CONFIG_COOK_DECODER |
5f51b1e0bed6
Cook compatibe decoder, patch by Benjamin Larsson
rtognimp
parents:
2949
diff
changeset
|
519 register_avcodec(&cook_decoder); |
5f51b1e0bed6
Cook compatibe decoder, patch by Benjamin Larsson
rtognimp
parents:
2949
diff
changeset
|
520 #endif //CONFIG_COOK_DECODER |
3006
4007989367bc
TrueSpeech compatible audio decoder by Konstantin Shishkov
diego
parents:
2979
diff
changeset
|
521 #ifdef CONFIG_TRUESPEECH_DECODER |
4007989367bc
TrueSpeech compatible audio decoder by Konstantin Shishkov
diego
parents:
2979
diff
changeset
|
522 register_avcodec(&truespeech_decoder); |
4007989367bc
TrueSpeech compatible audio decoder by Konstantin Shishkov
diego
parents:
2979
diff
changeset
|
523 #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
|
524 #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
|
525 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
|
526 #endif //CONFIG_TTA_DECODER |
3129
0ebbd476ba32
complete AVS playback system (from Creature Shock computer game),
melanson
parents:
3127
diff
changeset
|
527 #ifdef CONFIG_AVS_DECODER |
0ebbd476ba32
complete AVS playback system (from Creature Shock computer game),
melanson
parents:
3127
diff
changeset
|
528 register_avcodec(&avs_decoder); |
0ebbd476ba32
complete AVS playback system (from Creature Shock computer game),
melanson
parents:
3127
diff
changeset
|
529 #endif //CONFIG_AVS_DECODER |
2921
d22a3556292a
avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents:
2913
diff
changeset
|
530 #ifdef CONFIG_RAWVIDEO_DECODER |
d22a3556292a
avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents:
2913
diff
changeset
|
531 register_avcodec(&rawvideo_decoder); |
d22a3556292a
avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents:
2913
diff
changeset
|
532 #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
|
533 #endif /* CONFIG_DECODERS */ |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
534 |
1258
802614404398
AMR-NB audio support patch by (<joca at rixmail dot se>)
michaelni
parents:
1245
diff
changeset
|
535 #ifdef AMR_NB |
2638 | 536 #ifdef CONFIG_AMR_NB_DECODER |
1258
802614404398
AMR-NB audio support patch by (<joca at rixmail dot se>)
michaelni
parents:
1245
diff
changeset
|
537 register_avcodec(&amr_nb_decoder); |
2638 | 538 #endif //CONFIG_AMR_NB_DECODER |
1535 | 539 #ifdef CONFIG_ENCODERS |
2638 | 540 #ifdef CONFIG_AMR_NB_ENCODER |
1297 | 541 register_avcodec(&amr_nb_encoder); |
2638 | 542 #endif //CONFIG_AMR_NB_ENCODER |
1535 | 543 #endif //CONFIG_ENCODERS |
1258
802614404398
AMR-NB audio support patch by (<joca at rixmail dot se>)
michaelni
parents:
1245
diff
changeset
|
544 #endif /* AMR_NB */ |
1486
f22010affdce
AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents:
1443
diff
changeset
|
545 |
f22010affdce
AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents:
1443
diff
changeset
|
546 #ifdef AMR_WB |
2638 | 547 #ifdef CONFIG_AMR_WB_DECODER |
1486
f22010affdce
AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents:
1443
diff
changeset
|
548 register_avcodec(&amr_wb_decoder); |
2638 | 549 #endif //CONFIG_AMR_WB_DECODER |
1535 | 550 #ifdef CONFIG_ENCODERS |
2638 | 551 #ifdef CONFIG_AMR_WB_ENCODER |
1486
f22010affdce
AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents:
1443
diff
changeset
|
552 register_avcodec(&amr_wb_encoder); |
2638 | 553 #endif //CONFIG_AMR_WB_ENCODER |
1535 | 554 #endif //CONFIG_ENCODERS |
1486
f22010affdce
AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents:
1443
diff
changeset
|
555 #endif /* AMR_WB */ |
f22010affdce
AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents:
1443
diff
changeset
|
556 |
2949 | 557 #ifdef CONFIG_BMP_DECODER |
558 register_avcodec(&bmp_decoder); | |
559 #endif | |
560 | |
3119
09ae2e981d64
complete American Laser Games MM playback system, courtesy of Peter Ross
melanson
parents:
3118
diff
changeset
|
561 #if CONFIG_MMVIDEO_DECODER |
09ae2e981d64
complete American Laser Games MM playback system, courtesy of Peter Ross
melanson
parents:
3118
diff
changeset
|
562 register_avcodec(&mmvideo_decoder); |
09ae2e981d64
complete American Laser Games MM playback system, courtesy of Peter Ross
melanson
parents:
3118
diff
changeset
|
563 #endif //CONFIG_MMVIDEO_DECODER |
09ae2e981d64
complete American Laser Games MM playback system, courtesy of Peter Ross
melanson
parents:
3118
diff
changeset
|
564 |
491
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
565 /* pcm codecs */ |
2921
d22a3556292a
avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents:
2913
diff
changeset
|
566 #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
|
567 #define PCM_CODEC(id, name) \ |
d22a3556292a
avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents:
2913
diff
changeset
|
568 register_avcodec(& name ## _encoder); \ |
d22a3556292a
avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents:
2913
diff
changeset
|
569 register_avcodec(& name ## _decoder); |
d22a3556292a
avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents:
2913
diff
changeset
|
570 #elif defined (CONFIG_ENCODERS) |
d22a3556292a
avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents:
2913
diff
changeset
|
571 #define PCM_CODEC(id, name) \ |
d22a3556292a
avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents:
2913
diff
changeset
|
572 register_avcodec(& name ## _encoder); |
d22a3556292a
avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents:
2913
diff
changeset
|
573 #elif defined (CONFIG_DECODERS) |
d22a3556292a
avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents:
2913
diff
changeset
|
574 #define PCM_CODEC(id, name) \ |
d22a3556292a
avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents:
2913
diff
changeset
|
575 register_avcodec(& name ## _decoder); |
1535 | 576 #endif |
577 | |
2852
6f7428adc6ad
Support de-/encoding of 24 and 32 bit PCM (from and to internal 16 bit).
reimar
parents:
2796
diff
changeset
|
578 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
|
579 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
|
580 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
|
581 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
|
582 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
|
583 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
|
584 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
|
585 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
|
586 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
|
587 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
|
588 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
|
589 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
|
590 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
|
591 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
|
592 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
|
593 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
|
594 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
|
595 |
573
b0f52172f4c5
beos/mov/adpcm patch by Franois Revol <revol at free dot fr>
michaelni
parents:
521
diff
changeset
|
596 /* adpcm codecs */ |
b0f52172f4c5
beos/mov/adpcm patch by Franois Revol <revol at free dot fr>
michaelni
parents:
521
diff
changeset
|
597 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
|
598 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
|
599 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
|
600 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
|
601 PCM_CODEC(CODEC_ID_ADPCM_IMA_WS, adpcm_ima_ws); |
1779 | 602 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
|
603 PCM_CODEC(CODEC_ID_ADPCM_MS, adpcm_ms); |
1296 | 604 PCM_CODEC(CODEC_ID_ADPCM_4XM, adpcm_4xm); |
1535 | 605 PCM_CODEC(CODEC_ID_ADPCM_XA, adpcm_xa); |
606 PCM_CODEC(CODEC_ID_ADPCM_ADX, adpcm_adx); | |
1779 | 607 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
|
608 PCM_CODEC(CODEC_ID_ADPCM_G726, adpcm_g726); |
2296
2b75dff01118
Creative ADPCM decoder, format 0x200, courtesy of Konstantin Shishkov
melanson
parents:
2275
diff
changeset
|
609 PCM_CODEC(CODEC_ID_ADPCM_CT, adpcm_ct); |
2516
9f17dd9b80c6
macromedia flavour adpcm decoding (used in flv and swf)
alex
parents:
2514
diff
changeset
|
610 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
|
611 PCM_CODEC(CODEC_ID_ADPCM_YAMAHA, adpcm_yamaha); |
3127 | 612 PCM_CODEC(CODEC_ID_ADPCM_SBPRO_4, adpcm_sbpro_4); |
613 PCM_CODEC(CODEC_ID_ADPCM_SBPRO_3, adpcm_sbpro_3); | |
614 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
|
615 #undef PCM_CODEC |
1613 | 616 |
2921
d22a3556292a
avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents:
2913
diff
changeset
|
617 /* subtitles */ |
2948
aebeb38eea7a
Make DV(B|D) subtitles (en|de)coders be conditonnaly compiled depending on the configure system
gpoirier
parents:
2946
diff
changeset
|
618 #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
|
619 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
|
620 #endif |
aebeb38eea7a
Make DV(B|D) subtitles (en|de)coders be conditonnaly compiled depending on the configure system
gpoirier
parents:
2946
diff
changeset
|
621 #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
|
622 register_avcodec(&dvdsub_encoder); |
2921
d22a3556292a
avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents:
2913
diff
changeset
|
623 #endif |
d22a3556292a
avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents:
2913
diff
changeset
|
624 |
2948
aebeb38eea7a
Make DV(B|D) subtitles (en|de)coders be conditonnaly compiled depending on the configure system
gpoirier
parents:
2946
diff
changeset
|
625 #ifdef CONFIG_DVBSUB_DECODER |
2796
95c35706acbb
DVB subtitle decoder by (Ian Caulfield: imc25, cam ac uk)
michael
parents:
2794
diff
changeset
|
626 register_avcodec(&dvbsub_decoder); |
2921
d22a3556292a
avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
gpoirier
parents:
2913
diff
changeset
|
627 #endif |
2948
aebeb38eea7a
Make DV(B|D) subtitles (en|de)coders be conditonnaly compiled depending on the configure system
gpoirier
parents:
2946
diff
changeset
|
628 #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
|
629 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
|
630 #endif |
2756 | 631 |
2967 | 632 /* parsers */ |
1613 | 633 av_register_codec_parser(&mpegvideo_parser); |
634 av_register_codec_parser(&mpeg4video_parser); | |
2639 | 635 #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
|
636 av_register_codec_parser(&h261_parser); |
2639 | 637 #endif |
1613 | 638 av_register_codec_parser(&h263_parser); |
2639 | 639 #ifdef CONFIG_H264_DECODER |
1613 | 640 av_register_codec_parser(&h264_parser); |
2639 | 641 #endif |
2319 | 642 av_register_codec_parser(&mjpeg_parser); |
2348 | 643 av_register_codec_parser(&pnm_parser); |
1613 | 644 |
645 av_register_codec_parser(&mpegaudio_parser); | |
646 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
|
647 |
aebeb38eea7a
Make DV(B|D) subtitles (en|de)coders be conditonnaly compiled depending on the configure system
gpoirier
parents:
2946
diff
changeset
|
648 #ifdef CONFIG_DVDSUB_DECODER |
2756 | 649 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
|
650 #endif |
aebeb38eea7a
Make DV(B|D) subtitles (en|de)coders be conditonnaly compiled depending on the configure system
gpoirier
parents:
2946
diff
changeset
|
651 #ifdef CONFIG_DVBSUB_DECODER |
2796
95c35706acbb
DVB subtitle decoder by (Ian Caulfield: imc25, cam ac uk)
michael
parents:
2794
diff
changeset
|
652 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
|
653 #endif |
3098 | 654 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
|
655 } |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
656 |