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
37 #if FF_API_XVMC
39 #endif
100  CODEC_ID_PBM,
101  CODEC_ID_PGM,
103  CODEC_ID_PAM,
107  CODEC_ID_VC1,
115  CODEC_ID_BMP,
119  CODEC_ID_AVS,
121  CODEC_ID_NUV,
127  CODEC_ID_VP5,
128  CODEC_ID_VP6,
134  CODEC_ID_GIF,
135  CODEC_ID_DXA,
137  CODEC_ID_THP,
138  CODEC_ID_SGI,
139  CODEC_ID_C93,
141  CODEC_ID_PTX,
142  CODEC_ID_TXD,
144  CODEC_ID_AMV,
145  CODEC_ID_VB,
146  CODEC_ID_PCX,
151  CODEC_ID_RL2,
154  CODEC_ID_BFI,
155  CODEC_ID_CMV,
157  CODEC_ID_TGV,
158  CODEC_ID_TGQ,
159  CODEC_ID_TQI,
163  CODEC_ID_TMV,
165  CODEC_ID_DPX,
166  CODEC_ID_MAD,
171  CODEC_ID_ANM,
176  CODEC_ID_YOP,
177  CODEC_ID_VP8,
186  CODEC_ID_JV,
187  CODEC_ID_DFA,
195  CODEC_ID_XWD,
197  CODEC_ID_XBM,
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'),
208 
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'),
218 
219  /* various PCM "codecs" */
220  CODEC_ID_FIRST_AUDIO = 0x10000, ///< A dummy id pointing at the start of audio codecs
249 
250  /* various ADPCM codecs */
281  CODEC_ID_VIMA = MKBETAG('V','I','M','A'),
282 
283  /* AMR */
284  CODEC_ID_AMR_NB = 0x12000,
286 
287  /* RealAudio codecs*/
288  CODEC_ID_RA_144 = 0x13000,
290 
291  /* various DPCM codecs */
292  CODEC_ID_ROQ_DPCM = 0x14000,
296 
297  /* audio codecs */
298  CODEC_ID_MP2 = 0x15000,
299  CODEC_ID_MP3, ///< preferred ID for decoding MPEG audio layer 1, 2 or 3
300  CODEC_ID_AAC,
301  CODEC_ID_AC3,
302  CODEC_ID_DTS,
316  CODEC_ID_GSM, ///< as in Berlin toast format
320  CODEC_ID_TTA,
325  CODEC_ID_IMC,
327  CODEC_ID_MLP,
328  CODEC_ID_GSM_MS, /* as found in WAV */
331  CODEC_ID_APE,
341  CODEC_ID_MP1,
357  CODEC_ID_IAC,
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'),
364 
365  /* subtitle codecs */
366  CODEC_ID_FIRST_SUBTITLE = 0x17000, ///< A dummy ID pointing at the start of subtitle codecs.
369  CODEC_ID_TEXT, ///< raw UTF-8 text
371  CODEC_ID_SSA,
375  CODEC_ID_SRT,
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'),
382 
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'),
390 
391  CODEC_ID_PROBE = 0x19000, ///< codec_id is not known (like CODEC_ID_NONE) but lavf should attempt to identify it
392 
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.
398 
399 #endif /* AVCODEC_OLD_CODEC_IDS_H */