You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

old_codec_ids.h 10KB

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