2 * This file is part of FFmpeg.
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.
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.
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
19 #ifndef AVCODEC_OLD_CODEC_IDS_H
20 #define AVCODEC_OLD_CODEC_IDS_H
22 #include "libavutil/common.h"
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
29 * Do not add new items to this list. Use the AVCodecID enum instead.
32 CODEC_ID_NONE = AV_CODEC_ID_NONE,
36 CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding
38 CODEC_ID_MPEG2VIDEO_XVMC,
76 CODEC_ID_INTERPLAY_VIDEO,
114 CODEC_ID_TRUEMOTION2,
131 CODEC_ID_DSICINVIDEO,
132 CODEC_ID_TIERTEXSEQVIDEO,
140 CODEC_ID_BETHSOFTVID,
156 CODEC_ID_MOTIONPIXELS,
174 CODEC_ID_IFF_BYTERUN1,
204 CODEC_ID_Y41P = MKBETAG('Y','4','1','P'),
205 CODEC_ID_ESCAPE130 = MKBETAG('E','1','3','0'),
206 CODEC_ID_EXR = MKBETAG('0','E','X','R'),
207 CODEC_ID_AVRP = MKBETAG('A','V','R','P'),
209 CODEC_ID_G2M = MKBETAG( 0 ,'G','2','M'),
210 CODEC_ID_AVUI = MKBETAG('A','V','U','I'),
211 CODEC_ID_AYUV = MKBETAG('A','Y','U','V'),
212 CODEC_ID_V308 = MKBETAG('V','3','0','8'),
213 CODEC_ID_V408 = MKBETAG('V','4','0','8'),
214 CODEC_ID_YUV4 = MKBETAG('Y','U','V','4'),
215 CODEC_ID_SANM = MKBETAG('S','A','N','M'),
216 CODEC_ID_PAF_VIDEO = MKBETAG('P','A','F','V'),
217 CODEC_ID_SNOW = AV_CODEC_ID_SNOW,
219 /* various PCM "codecs" */
220 CODEC_ID_FIRST_AUDIO = 0x10000, ///< A dummy id pointing at the start of audio codecs
221 CODEC_ID_PCM_S16LE = 0x10000,
237 CODEC_ID_PCM_S24DAUD,
239 CODEC_ID_PCM_S16LE_PLANAR,
248 CODEC_ID_PCM_S8_PLANAR,
250 /* various ADPCM codecs */
251 CODEC_ID_ADPCM_IMA_QT = 0x11000,
252 CODEC_ID_ADPCM_IMA_WAV,
253 CODEC_ID_ADPCM_IMA_DK3,
254 CODEC_ID_ADPCM_IMA_DK4,
255 CODEC_ID_ADPCM_IMA_WS,
256 CODEC_ID_ADPCM_IMA_SMJPEG,
265 CODEC_ID_ADPCM_YAMAHA,
266 CODEC_ID_ADPCM_SBPRO_4,
267 CODEC_ID_ADPCM_SBPRO_3,
268 CODEC_ID_ADPCM_SBPRO_2,
270 CODEC_ID_ADPCM_IMA_AMV,
271 CODEC_ID_ADPCM_EA_R1,
272 CODEC_ID_ADPCM_EA_R3,
273 CODEC_ID_ADPCM_EA_R2,
274 CODEC_ID_ADPCM_IMA_EA_SEAD,
275 CODEC_ID_ADPCM_IMA_EA_EACS,
276 CODEC_ID_ADPCM_EA_XAS,
277 CODEC_ID_ADPCM_EA_MAXIS_XA,
278 CODEC_ID_ADPCM_IMA_ISS,
280 CODEC_ID_ADPCM_IMA_APC,
281 CODEC_ID_VIMA = MKBETAG('V','I','M','A'),
284 CODEC_ID_AMR_NB = 0x12000,
287 /* RealAudio codecs*/
288 CODEC_ID_RA_144 = 0x13000,
291 /* various DPCM codecs */
292 CODEC_ID_ROQ_DPCM = 0x14000,
293 CODEC_ID_INTERPLAY_DPCM,
298 CODEC_ID_MP2 = 0x15000,
299 CODEC_ID_MP3, ///< preferred ID for decoding MPEG audio layer 1, 2 or 3
315 CODEC_ID_WESTWOOD_SND1,
316 CODEC_ID_GSM, ///< as in Berlin toast format
324 CODEC_ID_DSICINAUDIO,
328 CODEC_ID_GSM_MS, /* as found in WAV */
337 CODEC_ID_WMALOSSLESS,
346 CODEC_ID_BINKAUDIO_RDFT,
347 CODEC_ID_BINKAUDIO_DCT,
359 CODEC_ID_FFWAVESYNTH = MKBETAG('F','F','W','S'),
360 CODEC_ID_SONIC = MKBETAG('S','O','N','C'),
361 CODEC_ID_SONIC_LS = MKBETAG('S','O','N','L'),
362 CODEC_ID_PAF_AUDIO = MKBETAG('P','A','F','A'),
363 CODEC_ID_OPUS = MKBETAG('O','P','U','S'),
365 /* subtitle codecs */
366 CODEC_ID_FIRST_SUBTITLE = 0x17000, ///< A dummy ID pointing at the start of subtitle codecs.
367 CODEC_ID_DVD_SUBTITLE = 0x17000,
368 CODEC_ID_DVB_SUBTITLE,
369 CODEC_ID_TEXT, ///< raw UTF-8 text
373 CODEC_ID_HDMV_PGS_SUBTITLE,
374 CODEC_ID_DVB_TELETEXT,
376 CODEC_ID_MICRODVD = MKBETAG('m','D','V','D'),
377 CODEC_ID_EIA_608 = MKBETAG('c','6','0','8'),
378 CODEC_ID_JACOSUB = MKBETAG('J','S','U','B'),
379 CODEC_ID_SAMI = MKBETAG('S','A','M','I'),
380 CODEC_ID_REALTEXT = MKBETAG('R','T','X','T'),
381 CODEC_ID_SUBVIEWER = MKBETAG('S','u','b','V'),
383 /* other specific kind of codecs (generally used for attachments) */
384 CODEC_ID_FIRST_UNKNOWN = 0x18000, ///< A dummy ID pointing at the start of various fake codecs.
385 CODEC_ID_TTF = 0x18000,
386 CODEC_ID_BINTEXT = MKBETAG('B','T','X','T'),
387 CODEC_ID_XBIN = MKBETAG('X','B','I','N'),
388 CODEC_ID_IDF = MKBETAG( 0 ,'I','D','F'),
389 CODEC_ID_OTF = MKBETAG( 0 ,'O','T','F'),
391 CODEC_ID_PROBE = 0x19000, ///< codec_id is not known (like CODEC_ID_NONE) but lavf should attempt to identify it
393 CODEC_ID_MPEG2TS = 0x20000, /**< _FAKE_ codec to indicate a raw MPEG-2 TS
394 * stream (only used by libavformat) */
395 CODEC_ID_MPEG4SYSTEMS = 0x20001, /**< _FAKE_ codec to indicate a MPEG-4 Systems
396 * stream (only used by libavformat) */
397 CODEC_ID_FFMETADATA = 0x21000, ///< Dummy codec for streams containing only metadata information.
399 #endif /* AVCODEC_OLD_CODEC_IDS_H */