Home | History | Annotate | Download | only in libmkv
      1 // Copyright (c) 2010 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 
      9 
     10 #ifndef MKV_DEFS_HPP
     11 #define MKV_DEFS_HPP 1
     12 
     13 //Commenting out values not available in webm, but available in matroska
     14 
     15 enum mkv
     16 {
     17     EBML = 0x1A45DFA3,
     18     EBMLVersion = 0x4286,
     19     EBMLReadVersion = 0x42F7,
     20     EBMLMaxIDLength = 0x42F2,
     21     EBMLMaxSizeLength = 0x42F3,
     22     DocType = 0x4282,
     23     DocTypeVersion = 0x4287,
     24     DocTypeReadVersion = 0x4285,
     25 //  CRC_32 = 0xBF,
     26     Void = 0xEC,
     27     SignatureSlot = 0x1B538667,
     28     SignatureAlgo = 0x7E8A,
     29     SignatureHash = 0x7E9A,
     30     SignaturePublicKey = 0x7EA5,
     31     Signature = 0x7EB5,
     32     SignatureElements = 0x7E5B,
     33     SignatureElementList = 0x7E7B,
     34     SignedElement = 0x6532,
     35     //segment
     36     Segment = 0x18538067,
     37     //Meta Seek Information
     38     SeekHead = 0x114D9B74,
     39     Seek = 0x4DBB,
     40     SeekID = 0x53AB,
     41     SeekPosition = 0x53AC,
     42     //Segment Information
     43     Info = 0x1549A966,
     44 //  SegmentUID = 0x73A4,
     45 //  SegmentFilename = 0x7384,
     46 //  PrevUID = 0x3CB923,
     47 //  PrevFilename = 0x3C83AB,
     48 //  NextUID = 0x3EB923,
     49 //  NextFilename = 0x3E83BB,
     50 //  SegmentFamily = 0x4444,
     51 //  ChapterTranslate = 0x6924,
     52 //  ChapterTranslateEditionUID = 0x69FC,
     53 //  ChapterTranslateCodec = 0x69BF,
     54 //  ChapterTranslateID = 0x69A5,
     55     TimecodeScale = 0x2AD7B1,
     56     Segment_Duration = 0x4489,
     57     DateUTC = 0x4461,
     58 //  Title = 0x7BA9,
     59     MuxingApp = 0x4D80,
     60     WritingApp = 0x5741,
     61     //Cluster
     62     Cluster = 0x1F43B675,
     63     Timecode = 0xE7,
     64 //  SilentTracks = 0x5854,
     65 //  SilentTrackNumber = 0x58D7,
     66 //  Position = 0xA7,
     67     PrevSize = 0xAB,
     68     BlockGroup = 0xA0,
     69     Block = 0xA1,
     70 //  BlockVirtual = 0xA2,
     71 //  BlockAdditions = 0x75A1,
     72 //  BlockMore = 0xA6,
     73 //  BlockAddID = 0xEE,
     74 //  BlockAdditional = 0xA5,
     75     BlockDuration = 0x9B,
     76 //  ReferencePriority = 0xFA,
     77     ReferenceBlock = 0xFB,
     78 //  ReferenceVirtual = 0xFD,
     79 //  CodecState = 0xA4,
     80 //  Slices = 0x8E,
     81 //  TimeSlice = 0xE8,
     82     LaceNumber = 0xCC,
     83 //  FrameNumber = 0xCD,
     84 //  BlockAdditionID = 0xCB,
     85 //  MkvDelay = 0xCE,
     86 //  Cluster_Duration = 0xCF,
     87     SimpleBlock = 0xA3,
     88 //  EncryptedBlock = 0xAF,
     89     //Track
     90     Tracks = 0x1654AE6B,
     91     TrackEntry = 0xAE,
     92     TrackNumber = 0xD7,
     93     TrackUID = 0x73C5,
     94     TrackType = 0x83,
     95     FlagEnabled = 0xB9,
     96     FlagDefault = 0x88,
     97     FlagForced = 0x55AA,
     98     FlagLacing = 0x9C,
     99 //  MinCache = 0x6DE7,
    100 //  MaxCache = 0x6DF8,
    101     DefaultDuration = 0x23E383,
    102 //  TrackTimecodeScale = 0x23314F,
    103 //  TrackOffset = 0x537F,
    104 //  MaxBlockAdditionID = 0x55EE,
    105     Name = 0x536E,
    106     Language = 0x22B59C,
    107     CodecID = 0x86,
    108     CodecPrivate = 0x63A2,
    109     CodecName = 0x258688,
    110 //  AttachmentLink = 0x7446,
    111 //  CodecSettings = 0x3A9697,
    112 //  CodecInfoURL = 0x3B4040,
    113 //  CodecDownloadURL = 0x26B240,
    114 //  CodecDecodeAll = 0xAA,
    115 //  TrackOverlay = 0x6FAB,
    116 //  TrackTranslate = 0x6624,
    117 //  TrackTranslateEditionUID = 0x66FC,
    118 //  TrackTranslateCodec = 0x66BF,
    119 //  TrackTranslateTrackID = 0x66A5,
    120     //video
    121     Video = 0xE0,
    122     FlagInterlaced = 0x9A,
    123 //  StereoMode = 0x53B8,
    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
    232