FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
old_codec_ids.h
Go to the documentation of this file.
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 
33 
34  /* video codecs */
36  CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding
101  CODEC_ID_PAM,
105  CODEC_ID_VC1,
113  CODEC_ID_BMP,
117  CODEC_ID_AVS,
119  CODEC_ID_NUV,
125  CODEC_ID_VP5,
126  CODEC_ID_VP6,
132  CODEC_ID_GIF,
133  CODEC_ID_DXA,
135  CODEC_ID_THP,
136  CODEC_ID_SGI,
137  CODEC_ID_C93,
139  CODEC_ID_PTX,
140  CODEC_ID_TXD,
142  CODEC_ID_AMV,
143  CODEC_ID_VB,
144  CODEC_ID_PCX,
149  CODEC_ID_RL2,
152  CODEC_ID_BFI,
153  CODEC_ID_CMV,
155  CODEC_ID_TGV,
156  CODEC_ID_TGQ,
157  CODEC_ID_TQI,
161  CODEC_ID_TMV,
163  CODEC_ID_DPX,
164  CODEC_ID_MAD,
169  CODEC_ID_ANM,
174  CODEC_ID_YOP,
175  CODEC_ID_VP8,
184  CODEC_ID_JV,
185  CODEC_ID_DFA,
193  CODEC_ID_XWD,
195  CODEC_ID_XBM,
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'),
216 
217  /* various PCM "codecs" */
218  CODEC_ID_FIRST_AUDIO = 0x10000, ///< A dummy id pointing at the start of audio codecs
247 
248  /* various ADPCM codecs */
279  CODEC_ID_VIMA = MKBETAG('V','I','M','A'),
280 
281  /* AMR */
282  CODEC_ID_AMR_NB = 0x12000,
284 
285  /* RealAudio codecs*/
286  CODEC_ID_RA_144 = 0x13000,
288 
289  /* various DPCM codecs */
290  CODEC_ID_ROQ_DPCM = 0x14000,
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,
314  CODEC_ID_GSM, ///< as in Berlin toast format
318  CODEC_ID_TTA,
323  CODEC_ID_IMC,
325  CODEC_ID_MLP,
326  CODEC_ID_GSM_MS, /* as found in WAV */
329  CODEC_ID_APE,
339  CODEC_ID_MP1,
355  CODEC_ID_IAC,
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.
367  CODEC_ID_TEXT, ///< raw UTF-8 text
369  CODEC_ID_SSA,
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 */