aabc05fb8fd728ca56b965aa4badadb6db88a3d8
[ffmpeg.git] / libavcodec / old_codec_ids.h
1 /*
2  * This file is part of Libav.
3  *
4  * Libav is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * Libav is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with Libav; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17  */
18
19 #ifndef AVCODEC_OLD_CODEC_IDS_H
20 #define AVCODEC_OLD_CODEC_IDS_H
21
22 /*
23  * This header exists to prevent new codec IDs from being accidentally added to
24  * the deprecated list.
25  * Do not include it directly. It will be removed on next major bump
26  *
27  * Do not add new items to this list. Use the AVCodecID enum instead.
28  */
29
30     CODEC_ID_NONE = AV_CODEC_ID_NONE,
31
32     /* video codecs */
33     CODEC_ID_MPEG1VIDEO,
34     CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding
35     CODEC_ID_MPEG2VIDEO_XVMC,
36     CODEC_ID_H261,
37     CODEC_ID_H263,
38     CODEC_ID_RV10,
39     CODEC_ID_RV20,
40     CODEC_ID_MJPEG,
41     CODEC_ID_MJPEGB,
42     CODEC_ID_LJPEG,
43     CODEC_ID_SP5X,
44     CODEC_ID_JPEGLS,
45     CODEC_ID_MPEG4,
46     CODEC_ID_RAWVIDEO,
47     CODEC_ID_MSMPEG4V1,
48     CODEC_ID_MSMPEG4V2,
49     CODEC_ID_MSMPEG4V3,
50     CODEC_ID_WMV1,
51     CODEC_ID_WMV2,
52     CODEC_ID_H263P,
53     CODEC_ID_H263I,
54     CODEC_ID_FLV1,
55     CODEC_ID_SVQ1,
56     CODEC_ID_SVQ3,
57     CODEC_ID_DVVIDEO,
58     CODEC_ID_HUFFYUV,
59     CODEC_ID_CYUV,
60     CODEC_ID_H264,
61     CODEC_ID_INDEO3,
62     CODEC_ID_VP3,
63     CODEC_ID_THEORA,
64     CODEC_ID_ASV1,
65     CODEC_ID_ASV2,
66     CODEC_ID_FFV1,
67     CODEC_ID_4XM,
68     CODEC_ID_VCR1,
69     CODEC_ID_CLJR,
70     CODEC_ID_MDEC,
71     CODEC_ID_ROQ,
72     CODEC_ID_INTERPLAY_VIDEO,
73     CODEC_ID_XAN_WC3,
74     CODEC_ID_XAN_WC4,
75     CODEC_ID_RPZA,
76     CODEC_ID_CINEPAK,
77     CODEC_ID_WS_VQA,
78     CODEC_ID_MSRLE,
79     CODEC_ID_MSVIDEO1,
80     CODEC_ID_IDCIN,
81     CODEC_ID_8BPS,
82     CODEC_ID_SMC,
83     CODEC_ID_FLIC,
84     CODEC_ID_TRUEMOTION1,
85     CODEC_ID_VMDVIDEO,
86     CODEC_ID_MSZH,
87     CODEC_ID_ZLIB,
88     CODEC_ID_QTRLE,
89 #if FF_API_SNOW
90     CODEC_ID_SNOW,
91 #endif
92     CODEC_ID_TSCC,
93     CODEC_ID_ULTI,
94     CODEC_ID_QDRAW,
95     CODEC_ID_VIXL,
96     CODEC_ID_QPEG,
97     CODEC_ID_PNG,
98     CODEC_ID_PPM,
99     CODEC_ID_PBM,
100     CODEC_ID_PGM,
101     CODEC_ID_PGMYUV,
102     CODEC_ID_PAM,
103     CODEC_ID_FFVHUFF,
104     CODEC_ID_RV30,
105     CODEC_ID_RV40,
106     CODEC_ID_VC1,
107     CODEC_ID_WMV3,
108     CODEC_ID_LOCO,
109     CODEC_ID_WNV1,
110     CODEC_ID_AASC,
111     CODEC_ID_INDEO2,
112     CODEC_ID_FRAPS,
113     CODEC_ID_TRUEMOTION2,
114     CODEC_ID_BMP,
115     CODEC_ID_CSCD,
116     CODEC_ID_MMVIDEO,
117     CODEC_ID_ZMBV,
118     CODEC_ID_AVS,
119     CODEC_ID_SMACKVIDEO,
120     CODEC_ID_NUV,
121     CODEC_ID_KMVC,
122     CODEC_ID_FLASHSV,
123     CODEC_ID_CAVS,
124     CODEC_ID_JPEG2000,
125     CODEC_ID_VMNC,
126     CODEC_ID_VP5,
127     CODEC_ID_VP6,
128     CODEC_ID_VP6F,
129     CODEC_ID_TARGA,
130     CODEC_ID_DSICINVIDEO,
131     CODEC_ID_TIERTEXSEQVIDEO,
132     CODEC_ID_TIFF,
133     CODEC_ID_GIF,
134     CODEC_ID_DXA,
135     CODEC_ID_DNXHD,
136     CODEC_ID_THP,
137     CODEC_ID_SGI,
138     CODEC_ID_C93,
139     CODEC_ID_BETHSOFTVID,
140     CODEC_ID_PTX,
141     CODEC_ID_TXD,
142     CODEC_ID_VP6A,
143     CODEC_ID_AMV,
144     CODEC_ID_VB,
145     CODEC_ID_PCX,
146     CODEC_ID_SUNRAST,
147     CODEC_ID_INDEO4,
148     CODEC_ID_INDEO5,
149     CODEC_ID_MIMIC,
150     CODEC_ID_RL2,
151     CODEC_ID_ESCAPE124,
152     CODEC_ID_DIRAC,
153     CODEC_ID_BFI,
154     CODEC_ID_CMV,
155     CODEC_ID_MOTIONPIXELS,
156     CODEC_ID_TGV,
157     CODEC_ID_TGQ,
158     CODEC_ID_TQI,
159     CODEC_ID_AURA,
160     CODEC_ID_AURA2,
161     CODEC_ID_V210X,
162     CODEC_ID_TMV,
163     CODEC_ID_V210,
164     CODEC_ID_DPX,
165     CODEC_ID_MAD,
166     CODEC_ID_FRWU,
167     CODEC_ID_FLASHSV2,
168     CODEC_ID_CDGRAPHICS,
169     CODEC_ID_R210,
170     CODEC_ID_ANM,
171     CODEC_ID_BINKVIDEO,
172     CODEC_ID_IFF_ILBM,
173     CODEC_ID_IFF_BYTERUN1,
174     CODEC_ID_KGV1,
175     CODEC_ID_YOP,
176     CODEC_ID_VP8,
177     CODEC_ID_PICTOR,
178     CODEC_ID_ANSI,
179     CODEC_ID_A64_MULTI,
180     CODEC_ID_A64_MULTI5,
181     CODEC_ID_R10K,
182     CODEC_ID_MXPEG,
183     CODEC_ID_LAGARITH,
184     CODEC_ID_PRORES,
185     CODEC_ID_JV,
186     CODEC_ID_DFA,
187     CODEC_ID_WMV3IMAGE,
188     CODEC_ID_VC1IMAGE,
189     CODEC_ID_UTVIDEO,
190     CODEC_ID_BMV_VIDEO,
191     CODEC_ID_VBLE,
192     CODEC_ID_DXTORY,
193     CODEC_ID_V410,
194     CODEC_ID_XWD,
195     CODEC_ID_CDXL,
196     CODEC_ID_XBM,
197     CODEC_ID_ZEROCODEC,
198     CODEC_ID_MSS1,
199     CODEC_ID_MSA1,
200     CODEC_ID_TSCC2,
201     CODEC_ID_MTS2,
202     CODEC_ID_CLLC,
203
204     /* various PCM "codecs" */
205     CODEC_ID_FIRST_AUDIO = 0x10000,     ///< A dummy id pointing at the start of audio codecs
206     CODEC_ID_PCM_S16LE = 0x10000,
207     CODEC_ID_PCM_S16BE,
208     CODEC_ID_PCM_U16LE,
209     CODEC_ID_PCM_U16BE,
210     CODEC_ID_PCM_S8,
211     CODEC_ID_PCM_U8,
212     CODEC_ID_PCM_MULAW,
213     CODEC_ID_PCM_ALAW,
214     CODEC_ID_PCM_S32LE,
215     CODEC_ID_PCM_S32BE,
216     CODEC_ID_PCM_U32LE,
217     CODEC_ID_PCM_U32BE,
218     CODEC_ID_PCM_S24LE,
219     CODEC_ID_PCM_S24BE,
220     CODEC_ID_PCM_U24LE,
221     CODEC_ID_PCM_U24BE,
222     CODEC_ID_PCM_S24DAUD,
223     CODEC_ID_PCM_ZORK,
224     CODEC_ID_PCM_S16LE_PLANAR,
225     CODEC_ID_PCM_DVD,
226     CODEC_ID_PCM_F32BE,
227     CODEC_ID_PCM_F32LE,
228     CODEC_ID_PCM_F64BE,
229     CODEC_ID_PCM_F64LE,
230     CODEC_ID_PCM_BLURAY,
231     CODEC_ID_PCM_LXF,
232     CODEC_ID_S302M,
233     CODEC_ID_PCM_S8_PLANAR,
234
235     /* various ADPCM codecs */
236     CODEC_ID_ADPCM_IMA_QT = 0x11000,
237     CODEC_ID_ADPCM_IMA_WAV,
238     CODEC_ID_ADPCM_IMA_DK3,
239     CODEC_ID_ADPCM_IMA_DK4,
240     CODEC_ID_ADPCM_IMA_WS,
241     CODEC_ID_ADPCM_IMA_SMJPEG,
242     CODEC_ID_ADPCM_MS,
243     CODEC_ID_ADPCM_4XM,
244     CODEC_ID_ADPCM_XA,
245     CODEC_ID_ADPCM_ADX,
246     CODEC_ID_ADPCM_EA,
247     CODEC_ID_ADPCM_G726,
248     CODEC_ID_ADPCM_CT,
249     CODEC_ID_ADPCM_SWF,
250     CODEC_ID_ADPCM_YAMAHA,
251     CODEC_ID_ADPCM_SBPRO_4,
252     CODEC_ID_ADPCM_SBPRO_3,
253     CODEC_ID_ADPCM_SBPRO_2,
254     CODEC_ID_ADPCM_THP,
255     CODEC_ID_ADPCM_IMA_AMV,
256     CODEC_ID_ADPCM_EA_R1,
257     CODEC_ID_ADPCM_EA_R3,
258     CODEC_ID_ADPCM_EA_R2,
259     CODEC_ID_ADPCM_IMA_EA_SEAD,
260     CODEC_ID_ADPCM_IMA_EA_EACS,
261     CODEC_ID_ADPCM_EA_XAS,
262     CODEC_ID_ADPCM_EA_MAXIS_XA,
263     CODEC_ID_ADPCM_IMA_ISS,
264     CODEC_ID_ADPCM_G722,
265     CODEC_ID_ADPCM_IMA_APC,
266
267     /* AMR */
268     CODEC_ID_AMR_NB = 0x12000,
269     CODEC_ID_AMR_WB,
270
271     /* RealAudio codecs*/
272     CODEC_ID_RA_144 = 0x13000,
273     CODEC_ID_RA_288,
274
275     /* various DPCM codecs */
276     CODEC_ID_ROQ_DPCM = 0x14000,
277     CODEC_ID_INTERPLAY_DPCM,
278     CODEC_ID_XAN_DPCM,
279     CODEC_ID_SOL_DPCM,
280
281     /* audio codecs */
282     CODEC_ID_MP2 = 0x15000,
283     CODEC_ID_MP3, ///< preferred ID for decoding MPEG audio layer 1, 2 or 3
284     CODEC_ID_AAC,
285     CODEC_ID_AC3,
286     CODEC_ID_DTS,
287     CODEC_ID_VORBIS,
288     CODEC_ID_DVAUDIO,
289     CODEC_ID_WMAV1,
290     CODEC_ID_WMAV2,
291     CODEC_ID_MACE3,
292     CODEC_ID_MACE6,
293     CODEC_ID_VMDAUDIO,
294     CODEC_ID_FLAC,
295     CODEC_ID_MP3ADU,
296     CODEC_ID_MP3ON4,
297     CODEC_ID_SHORTEN,
298     CODEC_ID_ALAC,
299     CODEC_ID_WESTWOOD_SND1,
300     CODEC_ID_GSM, ///< as in Berlin toast format
301     CODEC_ID_QDM2,
302     CODEC_ID_COOK,
303     CODEC_ID_TRUESPEECH,
304     CODEC_ID_TTA,
305     CODEC_ID_SMACKAUDIO,
306     CODEC_ID_QCELP,
307     CODEC_ID_WAVPACK,
308     CODEC_ID_DSICINAUDIO,
309     CODEC_ID_IMC,
310     CODEC_ID_MUSEPACK7,
311     CODEC_ID_MLP,
312     CODEC_ID_GSM_MS, /* as found in WAV */
313     CODEC_ID_ATRAC3,
314     CODEC_ID_VOXWARE,
315     CODEC_ID_APE,
316     CODEC_ID_NELLYMOSER,
317     CODEC_ID_MUSEPACK8,
318     CODEC_ID_SPEEX,
319     CODEC_ID_WMAVOICE,
320     CODEC_ID_WMAPRO,
321     CODEC_ID_WMALOSSLESS,
322     CODEC_ID_ATRAC3P,
323     CODEC_ID_EAC3,
324     CODEC_ID_SIPR,
325     CODEC_ID_MP1,
326     CODEC_ID_TWINVQ,
327     CODEC_ID_TRUEHD,
328     CODEC_ID_MP4ALS,
329     CODEC_ID_ATRAC1,
330     CODEC_ID_BINKAUDIO_RDFT,
331     CODEC_ID_BINKAUDIO_DCT,
332     CODEC_ID_AAC_LATM,
333     CODEC_ID_QDMC,
334     CODEC_ID_CELT,
335     CODEC_ID_G723_1,
336     CODEC_ID_G729,
337     CODEC_ID_8SVX_EXP,
338     CODEC_ID_8SVX_FIB,
339     CODEC_ID_BMV_AUDIO,
340     CODEC_ID_RALF,
341     CODEC_ID_IAC,
342     CODEC_ID_ILBC,
343
344     /* subtitle codecs */
345     CODEC_ID_FIRST_SUBTITLE = 0x17000,          ///< A dummy ID pointing at the start of subtitle codecs.
346     CODEC_ID_DVD_SUBTITLE = 0x17000,
347     CODEC_ID_DVB_SUBTITLE,
348     CODEC_ID_TEXT,  ///< raw UTF-8 text
349     CODEC_ID_XSUB,
350     CODEC_ID_SSA,
351     CODEC_ID_MOV_TEXT,
352     CODEC_ID_HDMV_PGS_SUBTITLE,
353     CODEC_ID_DVB_TELETEXT,
354     CODEC_ID_SRT,
355
356     /* other specific kind of codecs (generally used for attachments) */
357     CODEC_ID_FIRST_UNKNOWN = 0x18000,           ///< A dummy ID pointing at the start of various fake codecs.
358     CODEC_ID_TTF = 0x18000,
359
360     CODEC_ID_PROBE = 0x19000, ///< codec_id is not known (like CODEC_ID_NONE) but lavf should attempt to identify it
361
362     CODEC_ID_MPEG2TS = 0x20000, /**< _FAKE_ codec to indicate a raw MPEG-2 TS
363                                 * stream (only used by libavformat) */
364     CODEC_ID_MPEG4SYSTEMS = 0x20001, /**< _FAKE_ codec to indicate a MPEG-4 Systems
365                                 * stream (only used by libavformat) */
366     CODEC_ID_FFMETADATA = 0x21000,   ///< Dummy codec for streams containing only metadata information.
367
368 #endif /* AVCODEC_OLD_CODEC_IDS_H */