EbmlIDs.h 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. /*
  2. * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
  3. *
  4. * Use of this source code is governed by a BSD-style license
  5. * that can be found in the LICENSE file in the root of the source
  6. * tree. An additional intellectual property rights grant can be found
  7. * in the file PATENTS. All contributing project authors may
  8. * be found in the AUTHORS file in the root of the source tree.
  9. */
  10. #ifndef MKV_DEFS_HPP
  11. #define MKV_DEFS_HPP 1
  12. /* Commenting out values not available in webm, but available in matroska */
  13. enum mkv {
  14. EBML = 0x1A45DFA3,
  15. EBMLVersion = 0x4286,
  16. EBMLReadVersion = 0x42F7,
  17. EBMLMaxIDLength = 0x42F2,
  18. EBMLMaxSizeLength = 0x42F3,
  19. DocType = 0x4282,
  20. DocTypeVersion = 0x4287,
  21. DocTypeReadVersion = 0x4285,
  22. /* CRC_32 = 0xBF, */
  23. Void = 0xEC,
  24. SignatureSlot = 0x1B538667,
  25. SignatureAlgo = 0x7E8A,
  26. SignatureHash = 0x7E9A,
  27. SignaturePublicKey = 0x7EA5,
  28. Signature = 0x7EB5,
  29. SignatureElements = 0x7E5B,
  30. SignatureElementList = 0x7E7B,
  31. SignedElement = 0x6532,
  32. /* segment */
  33. Segment = 0x18538067,
  34. /* Meta Seek Information */
  35. SeekHead = 0x114D9B74,
  36. Seek = 0x4DBB,
  37. SeekID = 0x53AB,
  38. SeekPosition = 0x53AC,
  39. /* Segment Information */
  40. Info = 0x1549A966,
  41. /* SegmentUID = 0x73A4, */
  42. /* SegmentFilename = 0x7384, */
  43. /* PrevUID = 0x3CB923, */
  44. /* PrevFilename = 0x3C83AB, */
  45. /* NextUID = 0x3EB923, */
  46. /* NextFilename = 0x3E83BB, */
  47. /* SegmentFamily = 0x4444, */
  48. /* ChapterTranslate = 0x6924, */
  49. /* ChapterTranslateEditionUID = 0x69FC, */
  50. /* ChapterTranslateCodec = 0x69BF, */
  51. /* ChapterTranslateID = 0x69A5, */
  52. TimecodeScale = 0x2AD7B1,
  53. Segment_Duration = 0x4489,
  54. DateUTC = 0x4461,
  55. /* Title = 0x7BA9, */
  56. MuxingApp = 0x4D80,
  57. WritingApp = 0x5741,
  58. /* Cluster */
  59. Cluster = 0x1F43B675,
  60. Timecode = 0xE7,
  61. /* SilentTracks = 0x5854, */
  62. /* SilentTrackNumber = 0x58D7, */
  63. /* Position = 0xA7, */
  64. PrevSize = 0xAB,
  65. BlockGroup = 0xA0,
  66. Block = 0xA1,
  67. /* BlockVirtual = 0xA2, */
  68. BlockAdditions = 0x75A1,
  69. BlockMore = 0xA6,
  70. BlockAddID = 0xEE,
  71. BlockAdditional = 0xA5,
  72. BlockDuration = 0x9B,
  73. /* ReferencePriority = 0xFA, */
  74. ReferenceBlock = 0xFB,
  75. /* ReferenceVirtual = 0xFD, */
  76. /* CodecState = 0xA4, */
  77. /* Slices = 0x8E, */
  78. /* TimeSlice = 0xE8, */
  79. LaceNumber = 0xCC,
  80. /* FrameNumber = 0xCD, */
  81. /* BlockAdditionID = 0xCB, */
  82. /* MkvDelay = 0xCE, */
  83. /* Cluster_Duration = 0xCF, */
  84. SimpleBlock = 0xA3,
  85. /* EncryptedBlock = 0xAF, */
  86. /* Track */
  87. Tracks = 0x1654AE6B,
  88. TrackEntry = 0xAE,
  89. TrackNumber = 0xD7,
  90. TrackUID = 0x73C5,
  91. TrackType = 0x83,
  92. FlagEnabled = 0xB9,
  93. FlagDefault = 0x88,
  94. FlagForced = 0x55AA,
  95. FlagLacing = 0x9C,
  96. /* MinCache = 0x6DE7, */
  97. /* MaxCache = 0x6DF8, */
  98. DefaultDuration = 0x23E383,
  99. /* TrackTimecodeScale = 0x23314F, */
  100. /* TrackOffset = 0x537F, */
  101. MaxBlockAdditionID = 0x55EE,
  102. Name = 0x536E,
  103. Language = 0x22B59C,
  104. CodecID = 0x86,
  105. CodecPrivate = 0x63A2,
  106. CodecName = 0x258688,
  107. CodecDelay = 0x56AA,
  108. SeekPreRoll = 0x56BB,
  109. /* AttachmentLink = 0x7446, */
  110. /* CodecSettings = 0x3A9697, */
  111. /* CodecInfoURL = 0x3B4040, */
  112. /* CodecDownloadURL = 0x26B240, */
  113. /* CodecDecodeAll = 0xAA, */
  114. /* TrackOverlay = 0x6FAB, */
  115. /* TrackTranslate = 0x6624, */
  116. /* TrackTranslateEditionUID = 0x66FC, */
  117. /* TrackTranslateCodec = 0x66BF, */
  118. /* TrackTranslateTrackID = 0x66A5, */
  119. /* video */
  120. Video = 0xE0,
  121. FlagInterlaced = 0x9A,
  122. WEBM_StereoMode = 0x53B8,
  123. AlphaMode = 0x53C0,
  124. PixelWidth = 0xB0,
  125. PixelHeight = 0xBA,
  126. PixelCropBottom = 0x54AA,
  127. PixelCropTop = 0x54BB,
  128. PixelCropLeft = 0x54CC,
  129. PixelCropRight = 0x54DD,
  130. DisplayWidth = 0x54B0,
  131. DisplayHeight = 0x54BA,
  132. DisplayUnit = 0x54B2,
  133. AspectRatioType = 0x54B3,
  134. /* ColourSpace = 0x2EB524, */
  135. /* GammaValue = 0x2FB523, */
  136. FrameRate = 0x2383E3,
  137. /* end video */
  138. /* audio */
  139. Audio = 0xE1,
  140. SamplingFrequency = 0xB5,
  141. OutputSamplingFrequency = 0x78B5,
  142. Channels = 0x9F,
  143. /* ChannelPositions = 0x7D7B, */
  144. BitDepth = 0x6264,
  145. /* end audio */
  146. /* content encoding */
  147. /* ContentEncodings = 0x6d80, */
  148. /* ContentEncoding = 0x6240, */
  149. /* ContentEncodingOrder = 0x5031, */
  150. /* ContentEncodingScope = 0x5032, */
  151. /* ContentEncodingType = 0x5033, */
  152. /* ContentCompression = 0x5034, */
  153. /* ContentCompAlgo = 0x4254, */
  154. /* ContentCompSettings = 0x4255, */
  155. /* ContentEncryption = 0x5035, */
  156. /* ContentEncAlgo = 0x47e1, */
  157. /* ContentEncKeyID = 0x47e2, */
  158. /* ContentSignature = 0x47e3, */
  159. /* ContentSigKeyID = 0x47e4, */
  160. /* ContentSigAlgo = 0x47e5, */
  161. /* ContentSigHashAlgo = 0x47e6, */
  162. /* end content encoding */
  163. /* Cueing Data */
  164. Cues = 0x1C53BB6B,
  165. CuePoint = 0xBB,
  166. CueTime = 0xB3,
  167. CueTrackPositions = 0xB7,
  168. CueTrack = 0xF7,
  169. CueClusterPosition = 0xF1,
  170. CueBlockNumber = 0x5378
  171. /* CueCodecState = 0xEA, */
  172. /* CueReference = 0xDB, */
  173. /* CueRefTime = 0x96, */
  174. /* CueRefCluster = 0x97, */
  175. /* CueRefNumber = 0x535F, */
  176. /* CueRefCodecState = 0xEB, */
  177. /* Attachment */
  178. /* Attachments = 0x1941A469, */
  179. /* AttachedFile = 0x61A7, */
  180. /* FileDescription = 0x467E, */
  181. /* FileName = 0x466E, */
  182. /* FileMimeType = 0x4660, */
  183. /* FileData = 0x465C, */
  184. /* FileUID = 0x46AE, */
  185. /* FileReferral = 0x4675, */
  186. /* Chapters */
  187. /* Chapters = 0x1043A770, */
  188. /* EditionEntry = 0x45B9, */
  189. /* EditionUID = 0x45BC, */
  190. /* EditionFlagHidden = 0x45BD, */
  191. /* EditionFlagDefault = 0x45DB, */
  192. /* EditionFlagOrdered = 0x45DD, */
  193. /* ChapterAtom = 0xB6, */
  194. /* ChapterUID = 0x73C4, */
  195. /* ChapterTimeStart = 0x91, */
  196. /* ChapterTimeEnd = 0x92, */
  197. /* ChapterFlagHidden = 0x98, */
  198. /* ChapterFlagEnabled = 0x4598, */
  199. /* ChapterSegmentUID = 0x6E67, */
  200. /* ChapterSegmentEditionUID = 0x6EBC, */
  201. /* ChapterPhysicalEquiv = 0x63C3, */
  202. /* ChapterTrack = 0x8F, */
  203. /* ChapterTrackNumber = 0x89, */
  204. /* ChapterDisplay = 0x80, */
  205. /* ChapString = 0x85, */
  206. /* ChapLanguage = 0x437C, */
  207. /* ChapCountry = 0x437E, */
  208. /* ChapProcess = 0x6944, */
  209. /* ChapProcessCodecID = 0x6955, */
  210. /* ChapProcessPrivate = 0x450D, */
  211. /* ChapProcessCommand = 0x6911, */
  212. /* ChapProcessTime = 0x6922, */
  213. /* ChapProcessData = 0x6933, */
  214. /* Tagging */
  215. /* Tags = 0x1254C367, */
  216. /* Tag = 0x7373, */
  217. /* Targets = 0x63C0, */
  218. /* TargetTypeValue = 0x68CA, */
  219. /* TargetType = 0x63CA, */
  220. /* Tagging_TrackUID = 0x63C5, */
  221. /* Tagging_EditionUID = 0x63C9, */
  222. /* Tagging_ChapterUID = 0x63C4, */
  223. /* AttachmentUID = 0x63C6, */
  224. /* SimpleTag = 0x67C8, */
  225. /* TagName = 0x45A3, */
  226. /* TagLanguage = 0x447A, */
  227. /* TagDefault = 0x4484, */
  228. /* TagString = 0x4487, */
  229. /* TagBinary = 0x4485, */
  230. };
  231. #endif