webmids.h 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. // Copyright (c) 2012 The WebM project authors. All Rights Reserved.
  2. //
  3. // Use of this source code is governed by a BSD-style license
  4. // that can be found in the LICENSE file in the root of the source
  5. // tree. An additional intellectual property rights grant can be found
  6. // in the file PATENTS. All contributing project authors may
  7. // be found in the AUTHORS file in the root of the source tree.
  8. #ifndef COMMON_WEBMIDS_H_
  9. #define COMMON_WEBMIDS_H_
  10. namespace libwebm {
  11. enum MkvId {
  12. kMkvEBML = 0x1A45DFA3,
  13. kMkvEBMLVersion = 0x4286,
  14. kMkvEBMLReadVersion = 0x42F7,
  15. kMkvEBMLMaxIDLength = 0x42F2,
  16. kMkvEBMLMaxSizeLength = 0x42F3,
  17. kMkvDocType = 0x4282,
  18. kMkvDocTypeVersion = 0x4287,
  19. kMkvDocTypeReadVersion = 0x4285,
  20. kMkvVoid = 0xEC,
  21. kMkvSignatureSlot = 0x1B538667,
  22. kMkvSignatureAlgo = 0x7E8A,
  23. kMkvSignatureHash = 0x7E9A,
  24. kMkvSignaturePublicKey = 0x7EA5,
  25. kMkvSignature = 0x7EB5,
  26. kMkvSignatureElements = 0x7E5B,
  27. kMkvSignatureElementList = 0x7E7B,
  28. kMkvSignedElement = 0x6532,
  29. // segment
  30. kMkvSegment = 0x18538067,
  31. // Meta Seek Information
  32. kMkvSeekHead = 0x114D9B74,
  33. kMkvSeek = 0x4DBB,
  34. kMkvSeekID = 0x53AB,
  35. kMkvSeekPosition = 0x53AC,
  36. // Segment Information
  37. kMkvInfo = 0x1549A966,
  38. kMkvTimecodeScale = 0x2AD7B1,
  39. kMkvDuration = 0x4489,
  40. kMkvDateUTC = 0x4461,
  41. kMkvTitle = 0x7BA9,
  42. kMkvMuxingApp = 0x4D80,
  43. kMkvWritingApp = 0x5741,
  44. // Cluster
  45. kMkvCluster = 0x1F43B675,
  46. kMkvTimecode = 0xE7,
  47. kMkvPrevSize = 0xAB,
  48. kMkvBlockGroup = 0xA0,
  49. kMkvBlock = 0xA1,
  50. kMkvBlockDuration = 0x9B,
  51. kMkvReferenceBlock = 0xFB,
  52. kMkvLaceNumber = 0xCC,
  53. kMkvSimpleBlock = 0xA3,
  54. kMkvBlockAdditions = 0x75A1,
  55. kMkvBlockMore = 0xA6,
  56. kMkvBlockAddID = 0xEE,
  57. kMkvBlockAdditional = 0xA5,
  58. kMkvDiscardPadding = 0x75A2,
  59. // Track
  60. kMkvTracks = 0x1654AE6B,
  61. kMkvTrackEntry = 0xAE,
  62. kMkvTrackNumber = 0xD7,
  63. kMkvTrackUID = 0x73C5,
  64. kMkvTrackType = 0x83,
  65. kMkvFlagEnabled = 0xB9,
  66. kMkvFlagDefault = 0x88,
  67. kMkvFlagForced = 0x55AA,
  68. kMkvFlagLacing = 0x9C,
  69. kMkvDefaultDuration = 0x23E383,
  70. kMkvMaxBlockAdditionID = 0x55EE,
  71. kMkvName = 0x536E,
  72. kMkvLanguage = 0x22B59C,
  73. kMkvCodecID = 0x86,
  74. kMkvCodecPrivate = 0x63A2,
  75. kMkvCodecName = 0x258688,
  76. kMkvCodecDelay = 0x56AA,
  77. kMkvSeekPreRoll = 0x56BB,
  78. // video
  79. kMkvVideo = 0xE0,
  80. kMkvFlagInterlaced = 0x9A,
  81. kMkvStereoMode = 0x53B8,
  82. kMkvAlphaMode = 0x53C0,
  83. kMkvPixelWidth = 0xB0,
  84. kMkvPixelHeight = 0xBA,
  85. kMkvPixelCropBottom = 0x54AA,
  86. kMkvPixelCropTop = 0x54BB,
  87. kMkvPixelCropLeft = 0x54CC,
  88. kMkvPixelCropRight = 0x54DD,
  89. kMkvDisplayWidth = 0x54B0,
  90. kMkvDisplayHeight = 0x54BA,
  91. kMkvDisplayUnit = 0x54B2,
  92. kMkvAspectRatioType = 0x54B3,
  93. kMkvColourSpace = 0x2EB524,
  94. kMkvFrameRate = 0x2383E3,
  95. // end video
  96. // colour
  97. kMkvColour = 0x55B0,
  98. kMkvMatrixCoefficients = 0x55B1,
  99. kMkvBitsPerChannel = 0x55B2,
  100. kMkvChromaSubsamplingHorz = 0x55B3,
  101. kMkvChromaSubsamplingVert = 0x55B4,
  102. kMkvCbSubsamplingHorz = 0x55B5,
  103. kMkvCbSubsamplingVert = 0x55B6,
  104. kMkvChromaSitingHorz = 0x55B7,
  105. kMkvChromaSitingVert = 0x55B8,
  106. kMkvRange = 0x55B9,
  107. kMkvTransferCharacteristics = 0x55BA,
  108. kMkvPrimaries = 0x55BB,
  109. kMkvMaxCLL = 0x55BC,
  110. kMkvMaxFALL = 0x55BD,
  111. // mastering metadata
  112. kMkvMasteringMetadata = 0x55D0,
  113. kMkvPrimaryRChromaticityX = 0x55D1,
  114. kMkvPrimaryRChromaticityY = 0x55D2,
  115. kMkvPrimaryGChromaticityX = 0x55D3,
  116. kMkvPrimaryGChromaticityY = 0x55D4,
  117. kMkvPrimaryBChromaticityX = 0x55D5,
  118. kMkvPrimaryBChromaticityY = 0x55D6,
  119. kMkvWhitePointChromaticityX = 0x55D7,
  120. kMkvWhitePointChromaticityY = 0x55D8,
  121. kMkvLuminanceMax = 0x55D9,
  122. kMkvLuminanceMin = 0x55DA,
  123. // end mastering metadata
  124. // end colour
  125. // projection
  126. kMkvProjection = 0x7670,
  127. kMkvProjectionType = 0x7671,
  128. kMkvProjectionPrivate = 0x7672,
  129. kMkvProjectionPoseYaw = 0x7673,
  130. kMkvProjectionPosePitch = 0x7674,
  131. kMkvProjectionPoseRoll = 0x7675,
  132. // end projection
  133. // audio
  134. kMkvAudio = 0xE1,
  135. kMkvSamplingFrequency = 0xB5,
  136. kMkvOutputSamplingFrequency = 0x78B5,
  137. kMkvChannels = 0x9F,
  138. kMkvBitDepth = 0x6264,
  139. // end audio
  140. // ContentEncodings
  141. kMkvContentEncodings = 0x6D80,
  142. kMkvContentEncoding = 0x6240,
  143. kMkvContentEncodingOrder = 0x5031,
  144. kMkvContentEncodingScope = 0x5032,
  145. kMkvContentEncodingType = 0x5033,
  146. kMkvContentCompression = 0x5034,
  147. kMkvContentCompAlgo = 0x4254,
  148. kMkvContentCompSettings = 0x4255,
  149. kMkvContentEncryption = 0x5035,
  150. kMkvContentEncAlgo = 0x47E1,
  151. kMkvContentEncKeyID = 0x47E2,
  152. kMkvContentSignature = 0x47E3,
  153. kMkvContentSigKeyID = 0x47E4,
  154. kMkvContentSigAlgo = 0x47E5,
  155. kMkvContentSigHashAlgo = 0x47E6,
  156. kMkvContentEncAESSettings = 0x47E7,
  157. kMkvAESSettingsCipherMode = 0x47E8,
  158. kMkvAESSettingsCipherInitData = 0x47E9,
  159. // end ContentEncodings
  160. // Cueing Data
  161. kMkvCues = 0x1C53BB6B,
  162. kMkvCuePoint = 0xBB,
  163. kMkvCueTime = 0xB3,
  164. kMkvCueTrackPositions = 0xB7,
  165. kMkvCueTrack = 0xF7,
  166. kMkvCueClusterPosition = 0xF1,
  167. kMkvCueBlockNumber = 0x5378,
  168. // Chapters
  169. kMkvChapters = 0x1043A770,
  170. kMkvEditionEntry = 0x45B9,
  171. kMkvChapterAtom = 0xB6,
  172. kMkvChapterUID = 0x73C4,
  173. kMkvChapterStringUID = 0x5654,
  174. kMkvChapterTimeStart = 0x91,
  175. kMkvChapterTimeEnd = 0x92,
  176. kMkvChapterDisplay = 0x80,
  177. kMkvChapString = 0x85,
  178. kMkvChapLanguage = 0x437C,
  179. kMkvChapCountry = 0x437E,
  180. // Tags
  181. kMkvTags = 0x1254C367,
  182. kMkvTag = 0x7373,
  183. kMkvSimpleTag = 0x67C8,
  184. kMkvTagName = 0x45A3,
  185. kMkvTagString = 0x4487
  186. };
  187. } // namespace libwebm
  188. #endif // COMMON_WEBMIDS_H_