Mercurial > libavcodec.hg
annotate allcodecs.c @ 2590:4aba13499a91 libavcodec
reinitialize on aspect change,
required for dvb aspect changes
author | iive |
---|---|
date | Sun, 03 Apr 2005 17:34:31 +0000 |
parents | b6b618986f80 |
children | fc91ca5b9066 |
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 |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
43 register_avcodec(&ac3_encoder); |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
44 register_avcodec(&mp2_encoder); |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
45 #ifdef CONFIG_MP3LAME |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
46 register_avcodec(&mp3lame_encoder); |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
47 #endif |
2520 | 48 #ifdef CONFIG_LIBVORBIS |
636
57b9a37546a0
oggvorbis support patch by (Mark Hills <mark at pogo dot org dot uk>)
michaelni
parents:
573
diff
changeset
|
49 register_avcodec(&oggvorbis_encoder); |
883 | 50 register_avcodec(&oggvorbis_decoder); |
636
57b9a37546a0
oggvorbis support patch by (Mark Hills <mark at pogo dot org dot uk>)
michaelni
parents:
573
diff
changeset
|
51 #endif |
2520 | 52 #ifdef CONFIG_LIBTHEORA |
53 register_avcodec(&oggtheora_encoder); | |
54 register_avcodec(&oggtheora_decoder); | |
55 #endif | |
1500
726a81d83ddd
Patch for AAC encoding with libfaac by (Gildas Bazin <gbazin at altern dot org>)
michaelni
parents:
1498
diff
changeset
|
56 #ifdef CONFIG_FAAC |
726a81d83ddd
Patch for AAC encoding with libfaac by (Gildas Bazin <gbazin at altern dot org>)
michaelni
parents:
1498
diff
changeset
|
57 register_avcodec(&faac_encoder); |
726a81d83ddd
Patch for AAC encoding with libfaac by (Gildas Bazin <gbazin at altern dot org>)
michaelni
parents:
1498
diff
changeset
|
58 #endif |
2131
060053df9538
XviD Support patch by (Adam Thayer <krevnik at comcast dot net>)
michael
parents:
2123
diff
changeset
|
59 #ifdef CONFIG_XVID |
060053df9538
XviD Support patch by (Adam Thayer <krevnik at comcast dot net>)
michael
parents:
2123
diff
changeset
|
60 register_avcodec(&xvid_encoder); |
060053df9538
XviD Support patch by (Adam Thayer <krevnik at comcast dot net>)
michael
parents:
2123
diff
changeset
|
61 #endif |
491
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
62 register_avcodec(&mpeg1video_encoder); |
1168 | 63 // register_avcodec(&h264_encoder); |
1421 | 64 register_avcodec(&mpeg2video_encoder); |
2327
5e5cf598a48b
H.261 encoder by (Maarten Daniels <maarten dot daniels at luc dot ac dot be>)
michael
parents:
2325
diff
changeset
|
65 register_avcodec(&h261_encoder); |
491
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
66 register_avcodec(&h263_encoder); |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
67 register_avcodec(&h263p_encoder); |
1357 | 68 register_avcodec(&flv_encoder); |
491
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
69 register_avcodec(&rv10_encoder); |
2380 | 70 register_avcodec(&rv20_encoder); |
491
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
71 register_avcodec(&mpeg4_encoder); |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
72 register_avcodec(&msmpeg4v1_encoder); |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
73 register_avcodec(&msmpeg4v2_encoder); |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
74 register_avcodec(&msmpeg4v3_encoder); |
500 | 75 register_avcodec(&wmv1_encoder); |
936 | 76 register_avcodec(&wmv2_encoder); |
2005 | 77 register_avcodec(&svq1_encoder); |
1042 | 78 register_avcodec(&mjpeg_encoder); |
1315
6696d3bf4ff2
lossless mjpeg encoding (planar yuv & RGB) and somerelated bugfixes
michaelni
parents:
1304
diff
changeset
|
79 register_avcodec(&ljpeg_encoder); |
2343 | 80 #ifdef CONFIG_ZLIB |
2342 | 81 register_avcodec(&png_encoder); |
2343 | 82 #endif |
2344 | 83 register_avcodec(&ppm_encoder); |
84 register_avcodec(&pgm_encoder); | |
85 register_avcodec(&pgmyuv_encoder); | |
86 register_avcodec(&pbm_encoder); | |
87 register_avcodec(&pam_encoder); | |
866 | 88 register_avcodec(&huffyuv_encoder); |
2373 | 89 register_avcodec(&ffvhuff_encoder); |
1273 | 90 register_avcodec(&asv1_encoder); |
1434 | 91 register_avcodec(&asv2_encoder); |
1300
e18667d1e94d
FFV1 codec (our very simple lossless intra only codec, compresses much better then huffyuv)
michaelni
parents:
1297
diff
changeset
|
92 register_avcodec(&ffv1_encoder); |
2138 | 93 register_avcodec(&snow_encoder); |
1741 | 94 register_avcodec(&zlib_encoder); |
1887
85fe2f4633ec
* DV decoding/encoding now supports MultiThreading for up to 324 CPUs ;-)
romansh
parents:
1812
diff
changeset
|
95 register_avcodec(&dvvideo_encoder); |
2182
113732773bda
new opensource lossy/lossless audio codec based on speech compression techniques (actually based on bonk)
alex
parents:
2170
diff
changeset
|
96 register_avcodec(&sonic_encoder); |
113732773bda
new opensource lossy/lossless audio codec based on speech compression techniques (actually based on bonk)
alex
parents:
2170
diff
changeset
|
97 register_avcodec(&sonic_ls_encoder); |
2556
e5af3bc1d038
H.264 encoding with x264 by (Mns Rullgrd <mru inprovide com>)
michael
parents:
2542
diff
changeset
|
98 #ifdef CONFIG_X264 |
e5af3bc1d038
H.264 encoding with x264 by (Mns Rullgrd <mru inprovide com>)
michael
parents:
2542
diff
changeset
|
99 register_avcodec(&x264_encoder); |
e5af3bc1d038
H.264 encoding with x264 by (Mns Rullgrd <mru inprovide com>)
michael
parents:
2542
diff
changeset
|
100 #endif |
491
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
101 #endif /* CONFIG_ENCODERS */ |
1231
b88dfc4bbf8c
* introducing new public interface in imgconvert.c
romansh
parents:
1224
diff
changeset
|
102 register_avcodec(&rawvideo_encoder); |
b88dfc4bbf8c
* introducing new public interface in imgconvert.c
romansh
parents:
1224
diff
changeset
|
103 register_avcodec(&rawvideo_decoder); |
491
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
104 |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
105 /* decoders */ |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
106 #ifdef CONFIG_DECODERS |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
107 register_avcodec(&h263_decoder); |
2044
b6f2add2511e
h261 decoder by (Maarten Daniels <maarten.daniels at student dot luc dot ac dot be>)
michael
parents:
2005
diff
changeset
|
108 register_avcodec(&h261_decoder); |
491
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
109 register_avcodec(&mpeg4_decoder); |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
110 register_avcodec(&msmpeg4v1_decoder); |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
111 register_avcodec(&msmpeg4v2_decoder); |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
112 register_avcodec(&msmpeg4v3_decoder); |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
113 register_avcodec(&wmv1_decoder); |
936 | 114 register_avcodec(&wmv2_decoder); |
2446
7dc7f1a9f5d6
preliminary vc9 bitstream decoder, committing to make syncing and team-work on it easier
alex
parents:
2432
diff
changeset
|
115 register_avcodec(&vc9_decoder); |
7dc7f1a9f5d6
preliminary vc9 bitstream decoder, committing to make syncing and team-work on it easier
alex
parents:
2432
diff
changeset
|
116 register_avcodec(&wmv3_decoder); |
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(&h263i_decoder); |
1357 | 118 register_avcodec(&flv_decoder); |
491
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
119 register_avcodec(&rv10_decoder); |
1639 | 120 register_avcodec(&rv20_decoder); |
521 | 121 register_avcodec(&svq1_decoder); |
1234 | 122 register_avcodec(&svq3_decoder); |
1042 | 123 register_avcodec(&wmav1_decoder); |
124 register_avcodec(&wmav2_decoder); | |
1190 | 125 register_avcodec(&indeo3_decoder); |
2234
dff53892ff8a
IBM Ultimotion video decoder, courtesy of Konstantin Shishkov
melanson
parents:
2182
diff
changeset
|
126 register_avcodec(&tscc_decoder); |
dff53892ff8a
IBM Ultimotion video decoder, courtesy of Konstantin Shishkov
melanson
parents:
2182
diff
changeset
|
127 register_avcodec(&ulti_decoder); |
2275
c443a6af19a7
support for Sierra Online audio files and Apple QuickDraw codec,
melanson
parents:
2234
diff
changeset
|
128 register_avcodec(&qdraw_decoder); |
2325
1180a04d64c5
Miro VideoXL (VIXL) decoder, courtesy of Konstantin Shishkov
melanson
parents:
2319
diff
changeset
|
129 register_avcodec(&xl_decoder); |
2355
69fcdad5f7d5
native QPEG video decoder, courtesy of Konstantin Shishkov
melanson
parents:
2348
diff
changeset
|
130 register_avcodec(&qpeg_decoder); |
2530 | 131 register_avcodec(&loco_decoder); |
2577
7d9997a69158
Winnov WNV1 video decoder, courtesy of Konstantin Shishkov
melanson
parents:
2556
diff
changeset
|
132 register_avcodec(&wnv1_decoder); |
2588
b6b618986f80
Autodesk Animator Studio Codec (AASC) video decoder, courtesy of
melanson
parents:
2585
diff
changeset
|
133 register_avcodec(&aasc_decoder); |
1245 | 134 #ifdef CONFIG_FAAD |
135 register_avcodec(&aac_decoder); | |
136 register_avcodec(&mpeg4aac_decoder); | |
137 #endif | |
1423 | 138 register_avcodec(&mpeg1video_decoder); |
139 register_avcodec(&mpeg2video_decoder); | |
1615 | 140 register_avcodec(&mpegvideo_decoder); |
1381 | 141 #ifdef HAVE_XVMC |
142 register_avcodec(&mpeg_xvmc_decoder); | |
143 #endif | |
724 | 144 register_avcodec(&dvvideo_decoder); |
491
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
145 register_avcodec(&mjpeg_decoder); |
881 | 146 register_avcodec(&mjpegb_decoder); |
1519 | 147 register_avcodec(&sp5x_decoder); |
2343 | 148 #ifdef CONFIG_ZLIB |
2342 | 149 register_avcodec(&png_decoder); |
2343 | 150 #endif |
491
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
151 register_avcodec(&mp2_decoder); |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
152 register_avcodec(&mp3_decoder); |
2432 | 153 register_avcodec(&mp3adu_decoder); |
2507
0334caf0f0ce
Multichannel mp3 in mp4 support ISO/IEC 14496-3:2001/FPDAM 3 (MP3onMP4)
rtognimp
parents:
2446
diff
changeset
|
154 register_avcodec(&mp3on4_decoder); |
827
770578c6c300
added MACE (Macintosh Audio Compression/Expansion) 3:1 & 6:1 support
michaelni
parents:
783
diff
changeset
|
155 register_avcodec(&mace3_decoder); |
770578c6c300
added MACE (Macintosh Audio Compression/Expansion) 3:1 & 6:1 support
michaelni
parents:
783
diff
changeset
|
156 register_avcodec(&mace6_decoder); |
866 | 157 register_avcodec(&huffyuv_decoder); |
2373 | 158 register_avcodec(&ffvhuff_decoder); |
1300
e18667d1e94d
FFV1 codec (our very simple lossless intra only codec, compresses much better then huffyuv)
michaelni
parents:
1297
diff
changeset
|
159 register_avcodec(&ffv1_decoder); |
2138 | 160 register_avcodec(&snow_decoder); |
1056 | 161 register_avcodec(&cyuv_decoder); |
1168 | 162 register_avcodec(&h264_decoder); |
1224 | 163 register_avcodec(&vp3_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
|
164 register_avcodec(&theora_decoder); |
1273 | 165 register_avcodec(&asv1_decoder); |
1433 | 166 register_avcodec(&asv2_decoder); |
1374 | 167 register_avcodec(&vcr1_decoder); |
1385 | 168 register_avcodec(&cljr_decoder); |
1293 | 169 register_avcodec(&fourxm_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
|
170 register_avcodec(&mdec_decoder); |
1439
a4d00b1f0271
initial commit for Id RoQ and Interplay MVE multimedia subsystems
tmmm
parents:
1434
diff
changeset
|
171 register_avcodec(&roq_decoder); |
a4d00b1f0271
initial commit for Id RoQ and Interplay MVE multimedia subsystems
tmmm
parents:
1434
diff
changeset
|
172 register_avcodec(&interplay_video_decoder); |
1443
47f4c8a5a7fc
New fringe codecs: WC3/Xan video, Xan DPCM, DK3 & DK4 ADPCM
tmmm
parents:
1439
diff
changeset
|
173 register_avcodec(&xan_wc3_decoder); |
1491
222643544cf1
New demuxers: Sega FILM/CPK, Westwood VQA & AUD; new decoders: MS RLE &
tmmm
parents:
1489
diff
changeset
|
174 register_avcodec(&rpza_decoder); |
222643544cf1
New demuxers: Sega FILM/CPK, Westwood VQA & AUD; new decoders: MS RLE &
tmmm
parents:
1489
diff
changeset
|
175 register_avcodec(&cinepak_decoder); |
222643544cf1
New demuxers: Sega FILM/CPK, Westwood VQA & AUD; new decoders: MS RLE &
tmmm
parents:
1489
diff
changeset
|
176 register_avcodec(&msrle_decoder); |
222643544cf1
New demuxers: Sega FILM/CPK, Westwood VQA & AUD; new decoders: MS RLE &
tmmm
parents:
1489
diff
changeset
|
177 register_avcodec(&msvideo1_decoder); |
1496 | 178 register_avcodec(&vqa_decoder); |
1498 | 179 register_avcodec(&idcin_decoder); |
1608 | 180 register_avcodec(&eightbps_decoder); |
1610 | 181 register_avcodec(&smc_decoder); |
1624 | 182 register_avcodec(&flic_decoder); |
1650
bdade3baabfc
initial support for Duck TrueMotion v1 (think of it as On2 VP1); only
melanson
parents:
1639
diff
changeset
|
183 register_avcodec(&truemotion1_decoder); |
1717
6a7e68899d8a
first pass at Sierra VMD A/V decoders; video looks great, audio is not
melanson
parents:
1650
diff
changeset
|
184 register_avcodec(&vmdvideo_decoder); |
6a7e68899d8a
first pass at Sierra VMD A/V decoders; video looks great, audio is not
melanson
parents:
1650
diff
changeset
|
185 register_avcodec(&vmdaudio_decoder); |
1741 | 186 register_avcodec(&mszh_decoder); |
187 register_avcodec(&zlib_decoder); | |
2182
113732773bda
new opensource lossy/lossless audio codec based on speech compression techniques (actually based on bonk)
alex
parents:
2170
diff
changeset
|
188 register_avcodec(&sonic_decoder); |
491
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
189 #ifdef CONFIG_AC3 |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
190 register_avcodec(&ac3_decoder); |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
191 #endif |
2123
ef54decf5624
libdts support by (Benjamin Zores <ben at geexbox dot org>)
michael
parents:
2081
diff
changeset
|
192 #ifdef CONFIG_DTS |
ef54decf5624
libdts support by (Benjamin Zores <ben at geexbox dot org>)
michael
parents:
2081
diff
changeset
|
193 register_avcodec(&dts_decoder); |
ef54decf5624
libdts support by (Benjamin Zores <ben at geexbox dot org>)
michael
parents:
2081
diff
changeset
|
194 #endif |
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
|
195 register_avcodec(&ra_144_decoder); |
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
|
196 register_avcodec(&ra_288_decoder); |
1439
a4d00b1f0271
initial commit for Id RoQ and Interplay MVE multimedia subsystems
tmmm
parents:
1434
diff
changeset
|
197 register_avcodec(&roq_dpcm_decoder); |
a4d00b1f0271
initial commit for Id RoQ and Interplay MVE multimedia subsystems
tmmm
parents:
1434
diff
changeset
|
198 register_avcodec(&interplay_dpcm_decoder); |
1443
47f4c8a5a7fc
New fringe codecs: WC3/Xan video, Xan DPCM, DK3 & DK4 ADPCM
tmmm
parents:
1439
diff
changeset
|
199 register_avcodec(&xan_dpcm_decoder); |
2275
c443a6af19a7
support for Sierra Online audio files and Apple QuickDraw codec,
melanson
parents:
2234
diff
changeset
|
200 register_avcodec(&sol_dpcm_decoder); |
1783
66ae3c109d90
initial commit for Quicktime Animation (RLE) video decoder; bit depths
melanson
parents:
1779
diff
changeset
|
201 register_avcodec(&qtrle_decoder); |
1812 | 202 register_avcodec(&flac_decoder); |
2525
b47af698085e
shorten decoder by (Jeff Muizelaar <jrmuizel gmail com>)
michael
parents:
2520
diff
changeset
|
203 register_avcodec(&shorten_decoder); |
2542
a27a580f292e
first pass at ALAC decoder from David Hammerton; while David's original
melanson
parents:
2530
diff
changeset
|
204 register_avcodec(&alac_decoder); |
2585 | 205 register_avcodec(&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
|
206 #endif /* CONFIG_DECODERS */ |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
207 |
1258
802614404398
AMR-NB audio support patch by (<joca at rixmail dot se>)
michaelni
parents:
1245
diff
changeset
|
208 #ifdef AMR_NB |
802614404398
AMR-NB audio support patch by (<joca at rixmail dot se>)
michaelni
parents:
1245
diff
changeset
|
209 register_avcodec(&amr_nb_decoder); |
1535 | 210 #ifdef CONFIG_ENCODERS |
1297 | 211 register_avcodec(&amr_nb_encoder); |
1535 | 212 #endif //CONFIG_ENCODERS |
1258
802614404398
AMR-NB audio support patch by (<joca at rixmail dot se>)
michaelni
parents:
1245
diff
changeset
|
213 #endif /* AMR_NB */ |
1486
f22010affdce
AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents:
1443
diff
changeset
|
214 |
f22010affdce
AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents:
1443
diff
changeset
|
215 #ifdef AMR_WB |
f22010affdce
AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents:
1443
diff
changeset
|
216 register_avcodec(&amr_wb_decoder); |
1535 | 217 #ifdef CONFIG_ENCODERS |
1486
f22010affdce
AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents:
1443
diff
changeset
|
218 register_avcodec(&amr_wb_encoder); |
1535 | 219 #endif //CONFIG_ENCODERS |
1486
f22010affdce
AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents:
1443
diff
changeset
|
220 #endif /* AMR_WB */ |
f22010affdce
AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents:
1443
diff
changeset
|
221 |
491
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
222 /* pcm codecs */ |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
223 |
1535 | 224 #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
|
225 #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
|
226 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
|
227 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
|
228 |
1535 | 229 #else |
230 #define PCM_CODEC(id, name) \ | |
231 register_avcodec(& name ## _decoder); | |
232 #endif | |
233 | |
491
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
234 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
|
235 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
|
236 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
|
237 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
|
238 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
|
239 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
|
240 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
|
241 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
|
242 |
573
b0f52172f4c5
beos/mov/adpcm patch by Franois Revol <revol at free dot fr>
michaelni
parents:
521
diff
changeset
|
243 /* adpcm codecs */ |
b0f52172f4c5
beos/mov/adpcm patch by Franois Revol <revol at free dot fr>
michaelni
parents:
521
diff
changeset
|
244 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
|
245 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
|
246 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
|
247 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
|
248 PCM_CODEC(CODEC_ID_ADPCM_IMA_WS, adpcm_ima_ws); |
1779 | 249 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
|
250 PCM_CODEC(CODEC_ID_ADPCM_MS, adpcm_ms); |
1296 | 251 PCM_CODEC(CODEC_ID_ADPCM_4XM, adpcm_4xm); |
1535 | 252 PCM_CODEC(CODEC_ID_ADPCM_XA, adpcm_xa); |
253 PCM_CODEC(CODEC_ID_ADPCM_ADX, adpcm_adx); | |
1779 | 254 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
|
255 PCM_CODEC(CODEC_ID_ADPCM_G726, adpcm_g726); |
2296
2b75dff01118
Creative ADPCM decoder, format 0x200, courtesy of Konstantin Shishkov
melanson
parents:
2275
diff
changeset
|
256 PCM_CODEC(CODEC_ID_ADPCM_CT, adpcm_ct); |
2516
9f17dd9b80c6
macromedia flavour adpcm decoding (used in flv and swf)
alex
parents:
2514
diff
changeset
|
257 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
|
258 |
491
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
259 #undef PCM_CODEC |
1613 | 260 |
261 /* parsers */ | |
262 av_register_codec_parser(&mpegvideo_parser); | |
263 av_register_codec_parser(&mpeg4video_parser); | |
2044
b6f2add2511e
h261 decoder by (Maarten Daniels <maarten.daniels at student dot luc dot ac dot be>)
michael
parents:
2005
diff
changeset
|
264 av_register_codec_parser(&h261_parser); |
1613 | 265 av_register_codec_parser(&h263_parser); |
266 av_register_codec_parser(&h264_parser); | |
2319 | 267 av_register_codec_parser(&mjpeg_parser); |
2348 | 268 av_register_codec_parser(&pnm_parser); |
1613 | 269 |
270 av_register_codec_parser(&mpegaudio_parser); | |
271 #ifdef CONFIG_AC3 | |
272 av_register_codec_parser(&ac3_parser); | |
273 #endif | |
491
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
274 } |
66d470d19feb
put codec registering in another file so that the user can install the codecs he wants
bellard
parents:
diff
changeset
|
275 |