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