codec_id.h 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578
  1. /*
  2. * Codec IDs
  3. *
  4. * This file is part of FFmpeg.
  5. *
  6. * FFmpeg is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU Lesser General Public
  8. * License as published by the Free Software Foundation; either
  9. * version 2.1 of the License, or (at your option) any later version.
  10. *
  11. * FFmpeg is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * Lesser General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Lesser General Public
  17. * License along with FFmpeg; if not, write to the Free Software
  18. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  19. */
  20. #ifndef AVCODEC_CODEC_ID_H
  21. #define AVCODEC_CODEC_ID_H
  22. #include "libavutil/avutil.h"
  23. /**
  24. * @addtogroup lavc_core
  25. * @{
  26. */
  27. /**
  28. * Identify the syntax and semantics of the bitstream.
  29. * The principle is roughly:
  30. * Two decoders with the same ID can decode the same streams.
  31. * Two encoders with the same ID can encode compatible streams.
  32. * There may be slight deviations from the principle due to implementation
  33. * details.
  34. *
  35. * If you add a codec ID to this list, add it so that
  36. * 1. no value of an existing codec ID changes (that would break ABI),
  37. * 2. it is as close as possible to similar codecs
  38. *
  39. * After adding new codec IDs, do not forget to add an entry to the codec
  40. * descriptor list and bump libavcodec minor version.
  41. */
  42. enum AVCodecID {
  43. AV_CODEC_ID_NONE,
  44. /* video codecs */
  45. AV_CODEC_ID_MPEG1VIDEO,
  46. AV_CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding
  47. AV_CODEC_ID_H261,
  48. AV_CODEC_ID_H263,
  49. AV_CODEC_ID_RV10,
  50. AV_CODEC_ID_RV20,
  51. AV_CODEC_ID_MJPEG,
  52. AV_CODEC_ID_MJPEGB,
  53. AV_CODEC_ID_LJPEG,
  54. AV_CODEC_ID_SP5X,
  55. AV_CODEC_ID_JPEGLS,
  56. AV_CODEC_ID_MPEG4,
  57. AV_CODEC_ID_RAWVIDEO,
  58. AV_CODEC_ID_MSMPEG4V1,
  59. AV_CODEC_ID_MSMPEG4V2,
  60. AV_CODEC_ID_MSMPEG4V3,
  61. AV_CODEC_ID_WMV1,
  62. AV_CODEC_ID_WMV2,
  63. AV_CODEC_ID_H263P,
  64. AV_CODEC_ID_H263I,
  65. AV_CODEC_ID_FLV1,
  66. AV_CODEC_ID_SVQ1,
  67. AV_CODEC_ID_SVQ3,
  68. AV_CODEC_ID_DVVIDEO,
  69. AV_CODEC_ID_HUFFYUV,
  70. AV_CODEC_ID_CYUV,
  71. AV_CODEC_ID_H264,
  72. AV_CODEC_ID_INDEO3,
  73. AV_CODEC_ID_VP3,
  74. AV_CODEC_ID_THEORA,
  75. AV_CODEC_ID_ASV1,
  76. AV_CODEC_ID_ASV2,
  77. AV_CODEC_ID_FFV1,
  78. AV_CODEC_ID_4XM,
  79. AV_CODEC_ID_VCR1,
  80. AV_CODEC_ID_CLJR,
  81. AV_CODEC_ID_MDEC,
  82. AV_CODEC_ID_ROQ,
  83. AV_CODEC_ID_INTERPLAY_VIDEO,
  84. AV_CODEC_ID_XAN_WC3,
  85. AV_CODEC_ID_XAN_WC4,
  86. AV_CODEC_ID_RPZA,
  87. AV_CODEC_ID_CINEPAK,
  88. AV_CODEC_ID_WS_VQA,
  89. AV_CODEC_ID_MSRLE,
  90. AV_CODEC_ID_MSVIDEO1,
  91. AV_CODEC_ID_IDCIN,
  92. AV_CODEC_ID_8BPS,
  93. AV_CODEC_ID_SMC,
  94. AV_CODEC_ID_FLIC,
  95. AV_CODEC_ID_TRUEMOTION1,
  96. AV_CODEC_ID_VMDVIDEO,
  97. AV_CODEC_ID_MSZH,
  98. AV_CODEC_ID_ZLIB,
  99. AV_CODEC_ID_QTRLE,
  100. AV_CODEC_ID_TSCC,
  101. AV_CODEC_ID_ULTI,
  102. AV_CODEC_ID_QDRAW,
  103. AV_CODEC_ID_VIXL,
  104. AV_CODEC_ID_QPEG,
  105. AV_CODEC_ID_PNG,
  106. AV_CODEC_ID_PPM,
  107. AV_CODEC_ID_PBM,
  108. AV_CODEC_ID_PGM,
  109. AV_CODEC_ID_PGMYUV,
  110. AV_CODEC_ID_PAM,
  111. AV_CODEC_ID_FFVHUFF,
  112. AV_CODEC_ID_RV30,
  113. AV_CODEC_ID_RV40,
  114. AV_CODEC_ID_VC1,
  115. AV_CODEC_ID_WMV3,
  116. AV_CODEC_ID_LOCO,
  117. AV_CODEC_ID_WNV1,
  118. AV_CODEC_ID_AASC,
  119. AV_CODEC_ID_INDEO2,
  120. AV_CODEC_ID_FRAPS,
  121. AV_CODEC_ID_TRUEMOTION2,
  122. AV_CODEC_ID_BMP,
  123. AV_CODEC_ID_CSCD,
  124. AV_CODEC_ID_MMVIDEO,
  125. AV_CODEC_ID_ZMBV,
  126. AV_CODEC_ID_AVS,
  127. AV_CODEC_ID_SMACKVIDEO,
  128. AV_CODEC_ID_NUV,
  129. AV_CODEC_ID_KMVC,
  130. AV_CODEC_ID_FLASHSV,
  131. AV_CODEC_ID_CAVS,
  132. AV_CODEC_ID_JPEG2000,
  133. AV_CODEC_ID_VMNC,
  134. AV_CODEC_ID_VP5,
  135. AV_CODEC_ID_VP6,
  136. AV_CODEC_ID_VP6F,
  137. AV_CODEC_ID_TARGA,
  138. AV_CODEC_ID_DSICINVIDEO,
  139. AV_CODEC_ID_TIERTEXSEQVIDEO,
  140. AV_CODEC_ID_TIFF,
  141. AV_CODEC_ID_GIF,
  142. AV_CODEC_ID_DXA,
  143. AV_CODEC_ID_DNXHD,
  144. AV_CODEC_ID_THP,
  145. AV_CODEC_ID_SGI,
  146. AV_CODEC_ID_C93,
  147. AV_CODEC_ID_BETHSOFTVID,
  148. AV_CODEC_ID_PTX,
  149. AV_CODEC_ID_TXD,
  150. AV_CODEC_ID_VP6A,
  151. AV_CODEC_ID_AMV,
  152. AV_CODEC_ID_VB,
  153. AV_CODEC_ID_PCX,
  154. AV_CODEC_ID_SUNRAST,
  155. AV_CODEC_ID_INDEO4,
  156. AV_CODEC_ID_INDEO5,
  157. AV_CODEC_ID_MIMIC,
  158. AV_CODEC_ID_RL2,
  159. AV_CODEC_ID_ESCAPE124,
  160. AV_CODEC_ID_DIRAC,
  161. AV_CODEC_ID_BFI,
  162. AV_CODEC_ID_CMV,
  163. AV_CODEC_ID_MOTIONPIXELS,
  164. AV_CODEC_ID_TGV,
  165. AV_CODEC_ID_TGQ,
  166. AV_CODEC_ID_TQI,
  167. AV_CODEC_ID_AURA,
  168. AV_CODEC_ID_AURA2,
  169. AV_CODEC_ID_V210X,
  170. AV_CODEC_ID_TMV,
  171. AV_CODEC_ID_V210,
  172. AV_CODEC_ID_DPX,
  173. AV_CODEC_ID_MAD,
  174. AV_CODEC_ID_FRWU,
  175. AV_CODEC_ID_FLASHSV2,
  176. AV_CODEC_ID_CDGRAPHICS,
  177. AV_CODEC_ID_R210,
  178. AV_CODEC_ID_ANM,
  179. AV_CODEC_ID_BINKVIDEO,
  180. AV_CODEC_ID_IFF_ILBM,
  181. #define AV_CODEC_ID_IFF_BYTERUN1 AV_CODEC_ID_IFF_ILBM
  182. AV_CODEC_ID_KGV1,
  183. AV_CODEC_ID_YOP,
  184. AV_CODEC_ID_VP8,
  185. AV_CODEC_ID_PICTOR,
  186. AV_CODEC_ID_ANSI,
  187. AV_CODEC_ID_A64_MULTI,
  188. AV_CODEC_ID_A64_MULTI5,
  189. AV_CODEC_ID_R10K,
  190. AV_CODEC_ID_MXPEG,
  191. AV_CODEC_ID_LAGARITH,
  192. AV_CODEC_ID_PRORES,
  193. AV_CODEC_ID_JV,
  194. AV_CODEC_ID_DFA,
  195. AV_CODEC_ID_WMV3IMAGE,
  196. AV_CODEC_ID_VC1IMAGE,
  197. AV_CODEC_ID_UTVIDEO,
  198. AV_CODEC_ID_BMV_VIDEO,
  199. AV_CODEC_ID_VBLE,
  200. AV_CODEC_ID_DXTORY,
  201. AV_CODEC_ID_V410,
  202. AV_CODEC_ID_XWD,
  203. AV_CODEC_ID_CDXL,
  204. AV_CODEC_ID_XBM,
  205. AV_CODEC_ID_ZEROCODEC,
  206. AV_CODEC_ID_MSS1,
  207. AV_CODEC_ID_MSA1,
  208. AV_CODEC_ID_TSCC2,
  209. AV_CODEC_ID_MTS2,
  210. AV_CODEC_ID_CLLC,
  211. AV_CODEC_ID_MSS2,
  212. AV_CODEC_ID_VP9,
  213. AV_CODEC_ID_AIC,
  214. AV_CODEC_ID_ESCAPE130,
  215. AV_CODEC_ID_G2M,
  216. AV_CODEC_ID_WEBP,
  217. AV_CODEC_ID_HNM4_VIDEO,
  218. AV_CODEC_ID_HEVC,
  219. #define AV_CODEC_ID_H265 AV_CODEC_ID_HEVC
  220. AV_CODEC_ID_FIC,
  221. AV_CODEC_ID_ALIAS_PIX,
  222. AV_CODEC_ID_BRENDER_PIX,
  223. AV_CODEC_ID_PAF_VIDEO,
  224. AV_CODEC_ID_EXR,
  225. AV_CODEC_ID_VP7,
  226. AV_CODEC_ID_SANM,
  227. AV_CODEC_ID_SGIRLE,
  228. AV_CODEC_ID_MVC1,
  229. AV_CODEC_ID_MVC2,
  230. AV_CODEC_ID_HQX,
  231. AV_CODEC_ID_TDSC,
  232. AV_CODEC_ID_HQ_HQA,
  233. AV_CODEC_ID_HAP,
  234. AV_CODEC_ID_DDS,
  235. AV_CODEC_ID_DXV,
  236. AV_CODEC_ID_SCREENPRESSO,
  237. AV_CODEC_ID_RSCC,
  238. AV_CODEC_ID_AVS2,
  239. AV_CODEC_ID_PGX,
  240. AV_CODEC_ID_Y41P = 0x8000,
  241. AV_CODEC_ID_AVRP,
  242. AV_CODEC_ID_012V,
  243. AV_CODEC_ID_AVUI,
  244. AV_CODEC_ID_AYUV,
  245. AV_CODEC_ID_TARGA_Y216,
  246. AV_CODEC_ID_V308,
  247. AV_CODEC_ID_V408,
  248. AV_CODEC_ID_YUV4,
  249. AV_CODEC_ID_AVRN,
  250. AV_CODEC_ID_CPIA,
  251. AV_CODEC_ID_XFACE,
  252. AV_CODEC_ID_SNOW,
  253. AV_CODEC_ID_SMVJPEG,
  254. AV_CODEC_ID_APNG,
  255. AV_CODEC_ID_DAALA,
  256. AV_CODEC_ID_CFHD,
  257. AV_CODEC_ID_TRUEMOTION2RT,
  258. AV_CODEC_ID_M101,
  259. AV_CODEC_ID_MAGICYUV,
  260. AV_CODEC_ID_SHEERVIDEO,
  261. AV_CODEC_ID_YLC,
  262. AV_CODEC_ID_PSD,
  263. AV_CODEC_ID_PIXLET,
  264. AV_CODEC_ID_SPEEDHQ,
  265. AV_CODEC_ID_FMVC,
  266. AV_CODEC_ID_SCPR,
  267. AV_CODEC_ID_CLEARVIDEO,
  268. AV_CODEC_ID_XPM,
  269. AV_CODEC_ID_AV1,
  270. AV_CODEC_ID_BITPACKED,
  271. AV_CODEC_ID_MSCC,
  272. AV_CODEC_ID_SRGC,
  273. AV_CODEC_ID_SVG,
  274. AV_CODEC_ID_GDV,
  275. AV_CODEC_ID_FITS,
  276. AV_CODEC_ID_IMM4,
  277. AV_CODEC_ID_PROSUMER,
  278. AV_CODEC_ID_MWSC,
  279. AV_CODEC_ID_WCMV,
  280. AV_CODEC_ID_RASC,
  281. AV_CODEC_ID_HYMT,
  282. AV_CODEC_ID_ARBC,
  283. AV_CODEC_ID_AGM,
  284. AV_CODEC_ID_LSCR,
  285. AV_CODEC_ID_VP4,
  286. AV_CODEC_ID_IMM5,
  287. AV_CODEC_ID_MVDV,
  288. AV_CODEC_ID_MVHA,
  289. AV_CODEC_ID_CDTOONS,
  290. AV_CODEC_ID_MV30,
  291. AV_CODEC_ID_NOTCHLC,
  292. AV_CODEC_ID_PFM,
  293. /* various PCM "codecs" */
  294. AV_CODEC_ID_FIRST_AUDIO = 0x10000, ///< A dummy id pointing at the start of audio codecs
  295. AV_CODEC_ID_PCM_S16LE = 0x10000,
  296. AV_CODEC_ID_PCM_S16BE,
  297. AV_CODEC_ID_PCM_U16LE,
  298. AV_CODEC_ID_PCM_U16BE,
  299. AV_CODEC_ID_PCM_S8,
  300. AV_CODEC_ID_PCM_U8,
  301. AV_CODEC_ID_PCM_MULAW,
  302. AV_CODEC_ID_PCM_ALAW,
  303. AV_CODEC_ID_PCM_S32LE,
  304. AV_CODEC_ID_PCM_S32BE,
  305. AV_CODEC_ID_PCM_U32LE,
  306. AV_CODEC_ID_PCM_U32BE,
  307. AV_CODEC_ID_PCM_S24LE,
  308. AV_CODEC_ID_PCM_S24BE,
  309. AV_CODEC_ID_PCM_U24LE,
  310. AV_CODEC_ID_PCM_U24BE,
  311. AV_CODEC_ID_PCM_S24DAUD,
  312. AV_CODEC_ID_PCM_ZORK,
  313. AV_CODEC_ID_PCM_S16LE_PLANAR,
  314. AV_CODEC_ID_PCM_DVD,
  315. AV_CODEC_ID_PCM_F32BE,
  316. AV_CODEC_ID_PCM_F32LE,
  317. AV_CODEC_ID_PCM_F64BE,
  318. AV_CODEC_ID_PCM_F64LE,
  319. AV_CODEC_ID_PCM_BLURAY,
  320. AV_CODEC_ID_PCM_LXF,
  321. AV_CODEC_ID_S302M,
  322. AV_CODEC_ID_PCM_S8_PLANAR,
  323. AV_CODEC_ID_PCM_S24LE_PLANAR,
  324. AV_CODEC_ID_PCM_S32LE_PLANAR,
  325. AV_CODEC_ID_PCM_S16BE_PLANAR,
  326. AV_CODEC_ID_PCM_S64LE = 0x10800,
  327. AV_CODEC_ID_PCM_S64BE,
  328. AV_CODEC_ID_PCM_F16LE,
  329. AV_CODEC_ID_PCM_F24LE,
  330. AV_CODEC_ID_PCM_VIDC,
  331. /* various ADPCM codecs */
  332. AV_CODEC_ID_ADPCM_IMA_QT = 0x11000,
  333. AV_CODEC_ID_ADPCM_IMA_WAV,
  334. AV_CODEC_ID_ADPCM_IMA_DK3,
  335. AV_CODEC_ID_ADPCM_IMA_DK4,
  336. AV_CODEC_ID_ADPCM_IMA_WS,
  337. AV_CODEC_ID_ADPCM_IMA_SMJPEG,
  338. AV_CODEC_ID_ADPCM_MS,
  339. AV_CODEC_ID_ADPCM_4XM,
  340. AV_CODEC_ID_ADPCM_XA,
  341. AV_CODEC_ID_ADPCM_ADX,
  342. AV_CODEC_ID_ADPCM_EA,
  343. AV_CODEC_ID_ADPCM_G726,
  344. AV_CODEC_ID_ADPCM_CT,
  345. AV_CODEC_ID_ADPCM_SWF,
  346. AV_CODEC_ID_ADPCM_YAMAHA,
  347. AV_CODEC_ID_ADPCM_SBPRO_4,
  348. AV_CODEC_ID_ADPCM_SBPRO_3,
  349. AV_CODEC_ID_ADPCM_SBPRO_2,
  350. AV_CODEC_ID_ADPCM_THP,
  351. AV_CODEC_ID_ADPCM_IMA_AMV,
  352. AV_CODEC_ID_ADPCM_EA_R1,
  353. AV_CODEC_ID_ADPCM_EA_R3,
  354. AV_CODEC_ID_ADPCM_EA_R2,
  355. AV_CODEC_ID_ADPCM_IMA_EA_SEAD,
  356. AV_CODEC_ID_ADPCM_IMA_EA_EACS,
  357. AV_CODEC_ID_ADPCM_EA_XAS,
  358. AV_CODEC_ID_ADPCM_EA_MAXIS_XA,
  359. AV_CODEC_ID_ADPCM_IMA_ISS,
  360. AV_CODEC_ID_ADPCM_G722,
  361. AV_CODEC_ID_ADPCM_IMA_APC,
  362. AV_CODEC_ID_ADPCM_VIMA,
  363. AV_CODEC_ID_ADPCM_AFC = 0x11800,
  364. AV_CODEC_ID_ADPCM_IMA_OKI,
  365. AV_CODEC_ID_ADPCM_DTK,
  366. AV_CODEC_ID_ADPCM_IMA_RAD,
  367. AV_CODEC_ID_ADPCM_G726LE,
  368. AV_CODEC_ID_ADPCM_THP_LE,
  369. AV_CODEC_ID_ADPCM_PSX,
  370. AV_CODEC_ID_ADPCM_AICA,
  371. AV_CODEC_ID_ADPCM_IMA_DAT4,
  372. AV_CODEC_ID_ADPCM_MTAF,
  373. AV_CODEC_ID_ADPCM_AGM,
  374. AV_CODEC_ID_ADPCM_ARGO,
  375. AV_CODEC_ID_ADPCM_IMA_SSI,
  376. AV_CODEC_ID_ADPCM_ZORK,
  377. AV_CODEC_ID_ADPCM_IMA_APM,
  378. AV_CODEC_ID_ADPCM_IMA_ALP,
  379. AV_CODEC_ID_ADPCM_IMA_MTF,
  380. AV_CODEC_ID_ADPCM_IMA_CUNNING,
  381. /* AMR */
  382. AV_CODEC_ID_AMR_NB = 0x12000,
  383. AV_CODEC_ID_AMR_WB,
  384. /* RealAudio codecs*/
  385. AV_CODEC_ID_RA_144 = 0x13000,
  386. AV_CODEC_ID_RA_288,
  387. /* various DPCM codecs */
  388. AV_CODEC_ID_ROQ_DPCM = 0x14000,
  389. AV_CODEC_ID_INTERPLAY_DPCM,
  390. AV_CODEC_ID_XAN_DPCM,
  391. AV_CODEC_ID_SOL_DPCM,
  392. AV_CODEC_ID_SDX2_DPCM = 0x14800,
  393. AV_CODEC_ID_GREMLIN_DPCM,
  394. AV_CODEC_ID_DERF_DPCM,
  395. /* audio codecs */
  396. AV_CODEC_ID_MP2 = 0x15000,
  397. AV_CODEC_ID_MP3, ///< preferred ID for decoding MPEG audio layer 1, 2 or 3
  398. AV_CODEC_ID_AAC,
  399. AV_CODEC_ID_AC3,
  400. AV_CODEC_ID_DTS,
  401. AV_CODEC_ID_VORBIS,
  402. AV_CODEC_ID_DVAUDIO,
  403. AV_CODEC_ID_WMAV1,
  404. AV_CODEC_ID_WMAV2,
  405. AV_CODEC_ID_MACE3,
  406. AV_CODEC_ID_MACE6,
  407. AV_CODEC_ID_VMDAUDIO,
  408. AV_CODEC_ID_FLAC,
  409. AV_CODEC_ID_MP3ADU,
  410. AV_CODEC_ID_MP3ON4,
  411. AV_CODEC_ID_SHORTEN,
  412. AV_CODEC_ID_ALAC,
  413. AV_CODEC_ID_WESTWOOD_SND1,
  414. AV_CODEC_ID_GSM, ///< as in Berlin toast format
  415. AV_CODEC_ID_QDM2,
  416. AV_CODEC_ID_COOK,
  417. AV_CODEC_ID_TRUESPEECH,
  418. AV_CODEC_ID_TTA,
  419. AV_CODEC_ID_SMACKAUDIO,
  420. AV_CODEC_ID_QCELP,
  421. AV_CODEC_ID_WAVPACK,
  422. AV_CODEC_ID_DSICINAUDIO,
  423. AV_CODEC_ID_IMC,
  424. AV_CODEC_ID_MUSEPACK7,
  425. AV_CODEC_ID_MLP,
  426. AV_CODEC_ID_GSM_MS, /* as found in WAV */
  427. AV_CODEC_ID_ATRAC3,
  428. AV_CODEC_ID_APE,
  429. AV_CODEC_ID_NELLYMOSER,
  430. AV_CODEC_ID_MUSEPACK8,
  431. AV_CODEC_ID_SPEEX,
  432. AV_CODEC_ID_WMAVOICE,
  433. AV_CODEC_ID_WMAPRO,
  434. AV_CODEC_ID_WMALOSSLESS,
  435. AV_CODEC_ID_ATRAC3P,
  436. AV_CODEC_ID_EAC3,
  437. AV_CODEC_ID_SIPR,
  438. AV_CODEC_ID_MP1,
  439. AV_CODEC_ID_TWINVQ,
  440. AV_CODEC_ID_TRUEHD,
  441. AV_CODEC_ID_MP4ALS,
  442. AV_CODEC_ID_ATRAC1,
  443. AV_CODEC_ID_BINKAUDIO_RDFT,
  444. AV_CODEC_ID_BINKAUDIO_DCT,
  445. AV_CODEC_ID_AAC_LATM,
  446. AV_CODEC_ID_QDMC,
  447. AV_CODEC_ID_CELT,
  448. AV_CODEC_ID_G723_1,
  449. AV_CODEC_ID_G729,
  450. AV_CODEC_ID_8SVX_EXP,
  451. AV_CODEC_ID_8SVX_FIB,
  452. AV_CODEC_ID_BMV_AUDIO,
  453. AV_CODEC_ID_RALF,
  454. AV_CODEC_ID_IAC,
  455. AV_CODEC_ID_ILBC,
  456. AV_CODEC_ID_OPUS,
  457. AV_CODEC_ID_COMFORT_NOISE,
  458. AV_CODEC_ID_TAK,
  459. AV_CODEC_ID_METASOUND,
  460. AV_CODEC_ID_PAF_AUDIO,
  461. AV_CODEC_ID_ON2AVC,
  462. AV_CODEC_ID_DSS_SP,
  463. AV_CODEC_ID_CODEC2,
  464. AV_CODEC_ID_FFWAVESYNTH = 0x15800,
  465. AV_CODEC_ID_SONIC,
  466. AV_CODEC_ID_SONIC_LS,
  467. AV_CODEC_ID_EVRC,
  468. AV_CODEC_ID_SMV,
  469. AV_CODEC_ID_DSD_LSBF,
  470. AV_CODEC_ID_DSD_MSBF,
  471. AV_CODEC_ID_DSD_LSBF_PLANAR,
  472. AV_CODEC_ID_DSD_MSBF_PLANAR,
  473. AV_CODEC_ID_4GV,
  474. AV_CODEC_ID_INTERPLAY_ACM,
  475. AV_CODEC_ID_XMA1,
  476. AV_CODEC_ID_XMA2,
  477. AV_CODEC_ID_DST,
  478. AV_CODEC_ID_ATRAC3AL,
  479. AV_CODEC_ID_ATRAC3PAL,
  480. AV_CODEC_ID_DOLBY_E,
  481. AV_CODEC_ID_APTX,
  482. AV_CODEC_ID_APTX_HD,
  483. AV_CODEC_ID_SBC,
  484. AV_CODEC_ID_ATRAC9,
  485. AV_CODEC_ID_HCOM,
  486. AV_CODEC_ID_ACELP_KELVIN,
  487. AV_CODEC_ID_MPEGH_3D_AUDIO,
  488. AV_CODEC_ID_SIREN,
  489. AV_CODEC_ID_HCA,
  490. /* subtitle codecs */
  491. AV_CODEC_ID_FIRST_SUBTITLE = 0x17000, ///< A dummy ID pointing at the start of subtitle codecs.
  492. AV_CODEC_ID_DVD_SUBTITLE = 0x17000,
  493. AV_CODEC_ID_DVB_SUBTITLE,
  494. AV_CODEC_ID_TEXT, ///< raw UTF-8 text
  495. AV_CODEC_ID_XSUB,
  496. AV_CODEC_ID_SSA,
  497. AV_CODEC_ID_MOV_TEXT,
  498. AV_CODEC_ID_HDMV_PGS_SUBTITLE,
  499. AV_CODEC_ID_DVB_TELETEXT,
  500. AV_CODEC_ID_SRT,
  501. AV_CODEC_ID_MICRODVD = 0x17800,
  502. AV_CODEC_ID_EIA_608,
  503. AV_CODEC_ID_JACOSUB,
  504. AV_CODEC_ID_SAMI,
  505. AV_CODEC_ID_REALTEXT,
  506. AV_CODEC_ID_STL,
  507. AV_CODEC_ID_SUBVIEWER1,
  508. AV_CODEC_ID_SUBVIEWER,
  509. AV_CODEC_ID_SUBRIP,
  510. AV_CODEC_ID_WEBVTT,
  511. AV_CODEC_ID_MPL2,
  512. AV_CODEC_ID_VPLAYER,
  513. AV_CODEC_ID_PJS,
  514. AV_CODEC_ID_ASS,
  515. AV_CODEC_ID_HDMV_TEXT_SUBTITLE,
  516. AV_CODEC_ID_TTML,
  517. AV_CODEC_ID_ARIB_CAPTION,
  518. /* other specific kind of codecs (generally used for attachments) */
  519. AV_CODEC_ID_FIRST_UNKNOWN = 0x18000, ///< A dummy ID pointing at the start of various fake codecs.
  520. AV_CODEC_ID_TTF = 0x18000,
  521. AV_CODEC_ID_SCTE_35, ///< Contain timestamp estimated through PCR of program stream.
  522. AV_CODEC_ID_EPG,
  523. AV_CODEC_ID_BINTEXT = 0x18800,
  524. AV_CODEC_ID_XBIN,
  525. AV_CODEC_ID_IDF,
  526. AV_CODEC_ID_OTF,
  527. AV_CODEC_ID_SMPTE_KLV,
  528. AV_CODEC_ID_DVD_NAV,
  529. AV_CODEC_ID_TIMED_ID3,
  530. AV_CODEC_ID_BIN_DATA,
  531. AV_CODEC_ID_PROBE = 0x19000, ///< codec_id is not known (like AV_CODEC_ID_NONE) but lavf should attempt to identify it
  532. AV_CODEC_ID_MPEG2TS = 0x20000, /**< _FAKE_ codec to indicate a raw MPEG-2 TS
  533. * stream (only used by libavformat) */
  534. AV_CODEC_ID_MPEG4SYSTEMS = 0x20001, /**< _FAKE_ codec to indicate a MPEG-4 Systems
  535. * stream (only used by libavformat) */
  536. AV_CODEC_ID_FFMETADATA = 0x21000, ///< Dummy codec for streams containing only metadata information.
  537. AV_CODEC_ID_WRAPPED_AVFRAME = 0x21001, ///< Passthrough codec, AVFrames wrapped in AVPacket
  538. };
  539. /**
  540. * Get the type of the given codec.
  541. */
  542. enum AVMediaType avcodec_get_type(enum AVCodecID codec_id);
  543. /**
  544. * Get the name of a codec.
  545. * @return a static string identifying the codec; never NULL
  546. */
  547. const char *avcodec_get_name(enum AVCodecID id);
  548. /**
  549. * @}
  550. */
  551. #endif // AVCODEC_CODEC_ID_H