2 * This file is part of Libav.
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.
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.
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
19 #ifndef AVCODEC_OLD_CODEC_IDS_H
20 #define AVCODEC_OLD_CODEC_IDS_H
22 #include "libavutil/attributes.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.
37 CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding
38 CODEC_ID_MPEG2VIDEO_XVMC,
75 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,
205 /* various PCM "codecs" */
206 CODEC_ID_FIRST_AUDIO = 0x10000, ///< A dummy id pointing at the start of audio codecs
207 CODEC_ID_PCM_S16LE = 0x10000,
223 CODEC_ID_PCM_S24DAUD,
225 CODEC_ID_PCM_S16LE_PLANAR,
234 CODEC_ID_PCM_S8_PLANAR,
236 /* various ADPCM codecs */
237 CODEC_ID_ADPCM_IMA_QT = 0x11000,
238 CODEC_ID_ADPCM_IMA_WAV,
239 CODEC_ID_ADPCM_IMA_DK3,
240 CODEC_ID_ADPCM_IMA_DK4,
241 CODEC_ID_ADPCM_IMA_WS,
242 CODEC_ID_ADPCM_IMA_SMJPEG,
251 CODEC_ID_ADPCM_YAMAHA,
252 CODEC_ID_ADPCM_SBPRO_4,
253 CODEC_ID_ADPCM_SBPRO_3,
254 CODEC_ID_ADPCM_SBPRO_2,
256 CODEC_ID_ADPCM_IMA_AMV,
257 CODEC_ID_ADPCM_EA_R1,
258 CODEC_ID_ADPCM_EA_R3,
259 CODEC_ID_ADPCM_EA_R2,
260 CODEC_ID_ADPCM_IMA_EA_SEAD,
261 CODEC_ID_ADPCM_IMA_EA_EACS,
262 CODEC_ID_ADPCM_EA_XAS,
263 CODEC_ID_ADPCM_EA_MAXIS_XA,
264 CODEC_ID_ADPCM_IMA_ISS,
266 CODEC_ID_ADPCM_IMA_APC,
269 CODEC_ID_AMR_NB = 0x12000,
272 /* RealAudio codecs*/
273 CODEC_ID_RA_144 = 0x13000,
276 /* various DPCM codecs */
277 CODEC_ID_ROQ_DPCM = 0x14000,
278 CODEC_ID_INTERPLAY_DPCM,
283 CODEC_ID_MP2 = 0x15000,
284 CODEC_ID_MP3, ///< preferred ID for decoding MPEG audio layer 1, 2 or 3
300 CODEC_ID_WESTWOOD_SND1,
301 CODEC_ID_GSM, ///< as in Berlin toast format
309 CODEC_ID_DSICINAUDIO,
313 CODEC_ID_GSM_MS, /* as found in WAV */
322 CODEC_ID_WMALOSSLESS,
331 CODEC_ID_BINKAUDIO_RDFT,
332 CODEC_ID_BINKAUDIO_DCT,
345 /* subtitle codecs */
346 CODEC_ID_FIRST_SUBTITLE = 0x17000, ///< A dummy ID pointing at the start of subtitle codecs.
347 CODEC_ID_DVD_SUBTITLE = 0x17000,
348 CODEC_ID_DVB_SUBTITLE,
349 CODEC_ID_TEXT, ///< raw UTF-8 text
353 CODEC_ID_HDMV_PGS_SUBTITLE,
354 CODEC_ID_DVB_TELETEXT,
357 /* other specific kind of codecs (generally used for attachments) */
358 CODEC_ID_FIRST_UNKNOWN = 0x18000, ///< A dummy ID pointing at the start of various fake codecs.
359 CODEC_ID_TTF = 0x18000,
361 CODEC_ID_PROBE = 0x19000, ///< codec_id is not known (like CODEC_ID_NONE) but lavf should attempt to identify it
363 CODEC_ID_MPEG2TS = 0x20000, /**< _FAKE_ codec to indicate a raw MPEG-2 TS
364 * stream (only used by libavformat) */
365 CODEC_ID_MPEG4SYSTEMS = 0x20001, /**< _FAKE_ codec to indicate a MPEG-4 Systems
366 * stream (only used by libavformat) */
367 CODEC_ID_FFMETADATA = 0x21000, ///< Dummy codec for streams containing only metadata information.
368 } attribute_deprecated;
370 #endif /* AVCODEC_OLD_CODEC_IDS_H */