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 9 #ifndef WEBMIDS_HPP 10 #define WEBMIDS_HPP 11 12 namespace mkvmuxer { 13 14 enum MkvId { 15 kMkvEBML = 0x1A45DFA3, 16 kMkvEBMLVersion = 0x4286, 17 kMkvEBMLReadVersion = 0x42F7, 18 kMkvEBMLMaxIDLength = 0x42F2, 19 kMkvEBMLMaxSizeLength = 0x42F3, 20 kMkvDocType = 0x4282, 21 kMkvDocTypeVersion = 0x4287, 22 kMkvDocTypeReadVersion = 0x4285, 23 kMkvVoid = 0xEC, 24 kMkvSignatureSlot = 0x1B538667, 25 kMkvSignatureAlgo = 0x7E8A, 26 kMkvSignatureHash = 0x7E9A, 27 kMkvSignaturePublicKey = 0x7EA5, 28 kMkvSignature = 0x7EB5, 29 kMkvSignatureElements = 0x7E5B, 30 kMkvSignatureElementList = 0x7E7B, 31 kMkvSignedElement = 0x6532, 32 //segment 33 kMkvSegment = 0x18538067, 34 //Meta Seek Information 35 kMkvSeekHead = 0x114D9B74, 36 kMkvSeek = 0x4DBB, 37 kMkvSeekID = 0x53AB, 38 kMkvSeekPosition = 0x53AC, 39 //Segment Information 40 kMkvInfo = 0x1549A966, 41 kMkvTimecodeScale = 0x2AD7B1, 42 kMkvDuration = 0x4489, 43 kMkvDateUTC = 0x4461, 44 kMkvMuxingApp = 0x4D80, 45 kMkvWritingApp = 0x5741, 46 //Cluster 47 kMkvCluster = 0x1F43B675, 48 kMkvTimecode = 0xE7, 49 kMkvPrevSize = 0xAB, 50 kMkvBlockGroup = 0xA0, 51 kMkvBlock = 0xA1, 52 kMkvBlockDuration = 0x9B, 53 kMkvReferenceBlock = 0xFB, 54 kMkvLaceNumber = 0xCC, 55 kMkvSimpleBlock = 0xA3, 56 kMkvBlockAdditions = 0x75A1, 57 kMkvBlockMore = 0xA6, 58 kMkvBlockAddID = 0xEE, 59 kMkvBlockAdditional = 0xA5, 60 kMkvDiscardPadding = 0x75A2, 61 //Track 62 kMkvTracks = 0x1654AE6B, 63 kMkvTrackEntry = 0xAE, 64 kMkvTrackNumber = 0xD7, 65 kMkvTrackUID = 0x73C5, 66 kMkvTrackType = 0x83, 67 kMkvFlagEnabled = 0xB9, 68 kMkvFlagDefault = 0x88, 69 kMkvFlagForced = 0x55AA, 70 kMkvFlagLacing = 0x9C, 71 kMkvDefaultDuration = 0x23E383, 72 kMkvMaxBlockAdditionID = 0x55EE, 73 kMkvName = 0x536E, 74 kMkvLanguage = 0x22B59C, 75 kMkvCodecID = 0x86, 76 kMkvCodecPrivate = 0x63A2, 77 kMkvCodecName = 0x258688, 78 kMkvCodecDelay = 0x56AA, 79 kMkvSeekPreRoll = 0x56BB, 80 //video 81 kMkvVideo = 0xE0, 82 kMkvFlagInterlaced = 0x9A, 83 kMkvStereoMode = 0x53B8, 84 kMkvAlphaMode = 0x53C0, 85 kMkvPixelWidth = 0xB0, 86 kMkvPixelHeight = 0xBA, 87 kMkvPixelCropBottom = 0x54AA, 88 kMkvPixelCropTop = 0x54BB, 89 kMkvPixelCropLeft = 0x54CC, 90 kMkvPixelCropRight = 0x54DD, 91 kMkvDisplayWidth = 0x54B0, 92 kMkvDisplayHeight = 0x54BA, 93 kMkvDisplayUnit = 0x54B2, 94 kMkvAspectRatioType = 0x54B3, 95 kMkvFrameRate = 0x2383E3, 96 //end video 97 //audio 98 kMkvAudio = 0xE1, 99 kMkvSamplingFrequency = 0xB5, 100 kMkvOutputSamplingFrequency = 0x78B5, 101 kMkvChannels = 0x9F, 102 kMkvBitDepth = 0x6264, 103 //end audio 104 //ContentEncodings 105 kMkvContentEncodings = 0x6D80, 106 kMkvContentEncoding = 0x6240, 107 kMkvContentEncodingOrder = 0x5031, 108 kMkvContentEncodingScope = 0x5032, 109 kMkvContentEncodingType = 0x5033, 110 kMkvContentEncryption = 0x5035, 111 kMkvContentEncAlgo = 0x47E1, 112 kMkvContentEncKeyID = 0x47E2, 113 kMkvContentEncAESSettings = 0x47E7, 114 kMkvAESSettingsCipherMode = 0x47E8, 115 kMkvAESSettingsCipherInitData = 0x47E9, 116 //end ContentEncodings 117 //Cueing Data 118 kMkvCues = 0x1C53BB6B, 119 kMkvCuePoint = 0xBB, 120 kMkvCueTime = 0xB3, 121 kMkvCueTrackPositions = 0xB7, 122 kMkvCueTrack = 0xF7, 123 kMkvCueClusterPosition = 0xF1, 124 kMkvCueBlockNumber = 0x5378, 125 //Chapters 126 kMkvChapters = 0x1043A770, 127 kMkvEditionEntry = 0x45B9, 128 kMkvChapterAtom = 0xB6, 129 kMkvChapterUID = 0x73C4, 130 kMkvChapterStringUID = 0x5654, 131 kMkvChapterTimeStart = 0x91, 132 kMkvChapterTimeEnd = 0x92, 133 kMkvChapterDisplay = 0x80, 134 kMkvChapString = 0x85, 135 kMkvChapLanguage = 0x437C, 136 kMkvChapCountry = 0x437E 137 }; 138 139 } // end namespace mkvmuxer 140 141 #endif // WEBMIDS_HPP 142