1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/libmkv/EbmlIDs.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,231 @@ 1.4 +/* 1.5 + * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 1.6 + * 1.7 + * Use of this source code is governed by a BSD-style license 1.8 + * that can be found in the LICENSE file in the root of the source 1.9 + * tree. An additional intellectual property rights grant can be found 1.10 + * in the file PATENTS. All contributing project authors may 1.11 + * be found in the AUTHORS file in the root of the source tree. 1.12 + */ 1.13 +#ifndef MKV_DEFS_HPP 1.14 +#define MKV_DEFS_HPP 1 1.15 + 1.16 +/* Commenting out values not available in webm, but available in matroska */ 1.17 + 1.18 +enum mkv { 1.19 + EBML = 0x1A45DFA3, 1.20 + EBMLVersion = 0x4286, 1.21 + EBMLReadVersion = 0x42F7, 1.22 + EBMLMaxIDLength = 0x42F2, 1.23 + EBMLMaxSizeLength = 0x42F3, 1.24 + DocType = 0x4282, 1.25 + DocTypeVersion = 0x4287, 1.26 + DocTypeReadVersion = 0x4285, 1.27 +/* CRC_32 = 0xBF, */ 1.28 + Void = 0xEC, 1.29 + SignatureSlot = 0x1B538667, 1.30 + SignatureAlgo = 0x7E8A, 1.31 + SignatureHash = 0x7E9A, 1.32 + SignaturePublicKey = 0x7EA5, 1.33 + Signature = 0x7EB5, 1.34 + SignatureElements = 0x7E5B, 1.35 + SignatureElementList = 0x7E7B, 1.36 + SignedElement = 0x6532, 1.37 + /* segment */ 1.38 + Segment = 0x18538067, 1.39 + /* Meta Seek Information */ 1.40 + SeekHead = 0x114D9B74, 1.41 + Seek = 0x4DBB, 1.42 + SeekID = 0x53AB, 1.43 + SeekPosition = 0x53AC, 1.44 + /* Segment Information */ 1.45 + Info = 0x1549A966, 1.46 +/* SegmentUID = 0x73A4, */ 1.47 +/* SegmentFilename = 0x7384, */ 1.48 +/* PrevUID = 0x3CB923, */ 1.49 +/* PrevFilename = 0x3C83AB, */ 1.50 +/* NextUID = 0x3EB923, */ 1.51 +/* NextFilename = 0x3E83BB, */ 1.52 +/* SegmentFamily = 0x4444, */ 1.53 +/* ChapterTranslate = 0x6924, */ 1.54 +/* ChapterTranslateEditionUID = 0x69FC, */ 1.55 +/* ChapterTranslateCodec = 0x69BF, */ 1.56 +/* ChapterTranslateID = 0x69A5, */ 1.57 + TimecodeScale = 0x2AD7B1, 1.58 + Segment_Duration = 0x4489, 1.59 + DateUTC = 0x4461, 1.60 +/* Title = 0x7BA9, */ 1.61 + MuxingApp = 0x4D80, 1.62 + WritingApp = 0x5741, 1.63 + /* Cluster */ 1.64 + Cluster = 0x1F43B675, 1.65 + Timecode = 0xE7, 1.66 +/* SilentTracks = 0x5854, */ 1.67 +/* SilentTrackNumber = 0x58D7, */ 1.68 +/* Position = 0xA7, */ 1.69 + PrevSize = 0xAB, 1.70 + BlockGroup = 0xA0, 1.71 + Block = 0xA1, 1.72 +/* BlockVirtual = 0xA2, */ 1.73 + BlockAdditions = 0x75A1, 1.74 + BlockMore = 0xA6, 1.75 + BlockAddID = 0xEE, 1.76 + BlockAdditional = 0xA5, 1.77 + BlockDuration = 0x9B, 1.78 +/* ReferencePriority = 0xFA, */ 1.79 + ReferenceBlock = 0xFB, 1.80 +/* ReferenceVirtual = 0xFD, */ 1.81 +/* CodecState = 0xA4, */ 1.82 +/* Slices = 0x8E, */ 1.83 +/* TimeSlice = 0xE8, */ 1.84 + LaceNumber = 0xCC, 1.85 +/* FrameNumber = 0xCD, */ 1.86 +/* BlockAdditionID = 0xCB, */ 1.87 +/* MkvDelay = 0xCE, */ 1.88 +/* Cluster_Duration = 0xCF, */ 1.89 + SimpleBlock = 0xA3, 1.90 +/* EncryptedBlock = 0xAF, */ 1.91 + /* Track */ 1.92 + Tracks = 0x1654AE6B, 1.93 + TrackEntry = 0xAE, 1.94 + TrackNumber = 0xD7, 1.95 + TrackUID = 0x73C5, 1.96 + TrackType = 0x83, 1.97 + FlagEnabled = 0xB9, 1.98 + FlagDefault = 0x88, 1.99 + FlagForced = 0x55AA, 1.100 + FlagLacing = 0x9C, 1.101 +/* MinCache = 0x6DE7, */ 1.102 +/* MaxCache = 0x6DF8, */ 1.103 + DefaultDuration = 0x23E383, 1.104 +/* TrackTimecodeScale = 0x23314F, */ 1.105 +/* TrackOffset = 0x537F, */ 1.106 + MaxBlockAdditionID = 0x55EE, 1.107 + Name = 0x536E, 1.108 + Language = 0x22B59C, 1.109 + CodecID = 0x86, 1.110 + CodecPrivate = 0x63A2, 1.111 + CodecName = 0x258688, 1.112 +/* AttachmentLink = 0x7446, */ 1.113 +/* CodecSettings = 0x3A9697, */ 1.114 +/* CodecInfoURL = 0x3B4040, */ 1.115 +/* CodecDownloadURL = 0x26B240, */ 1.116 +/* CodecDecodeAll = 0xAA, */ 1.117 +/* TrackOverlay = 0x6FAB, */ 1.118 +/* TrackTranslate = 0x6624, */ 1.119 +/* TrackTranslateEditionUID = 0x66FC, */ 1.120 +/* TrackTranslateCodec = 0x66BF, */ 1.121 +/* TrackTranslateTrackID = 0x66A5, */ 1.122 + /* video */ 1.123 + Video = 0xE0, 1.124 + FlagInterlaced = 0x9A, 1.125 + WEBM_StereoMode = 0x53B8, 1.126 + AlphaMode = 0x53C0, 1.127 + PixelWidth = 0xB0, 1.128 + PixelHeight = 0xBA, 1.129 + PixelCropBottom = 0x54AA, 1.130 + PixelCropTop = 0x54BB, 1.131 + PixelCropLeft = 0x54CC, 1.132 + PixelCropRight = 0x54DD, 1.133 + DisplayWidth = 0x54B0, 1.134 + DisplayHeight = 0x54BA, 1.135 + DisplayUnit = 0x54B2, 1.136 + AspectRatioType = 0x54B3, 1.137 +/* ColourSpace = 0x2EB524, */ 1.138 +/* GammaValue = 0x2FB523, */ 1.139 + FrameRate = 0x2383E3, 1.140 + /* end video */ 1.141 + /* audio */ 1.142 + Audio = 0xE1, 1.143 + SamplingFrequency = 0xB5, 1.144 + OutputSamplingFrequency = 0x78B5, 1.145 + Channels = 0x9F, 1.146 +/* ChannelPositions = 0x7D7B, */ 1.147 + BitDepth = 0x6264, 1.148 + /* end audio */ 1.149 + /* content encoding */ 1.150 +/* ContentEncodings = 0x6d80, */ 1.151 +/* ContentEncoding = 0x6240, */ 1.152 +/* ContentEncodingOrder = 0x5031, */ 1.153 +/* ContentEncodingScope = 0x5032, */ 1.154 +/* ContentEncodingType = 0x5033, */ 1.155 +/* ContentCompression = 0x5034, */ 1.156 +/* ContentCompAlgo = 0x4254, */ 1.157 +/* ContentCompSettings = 0x4255, */ 1.158 +/* ContentEncryption = 0x5035, */ 1.159 +/* ContentEncAlgo = 0x47e1, */ 1.160 +/* ContentEncKeyID = 0x47e2, */ 1.161 +/* ContentSignature = 0x47e3, */ 1.162 +/* ContentSigKeyID = 0x47e4, */ 1.163 +/* ContentSigAlgo = 0x47e5, */ 1.164 +/* ContentSigHashAlgo = 0x47e6, */ 1.165 + /* end content encoding */ 1.166 + /* Cueing Data */ 1.167 + Cues = 0x1C53BB6B, 1.168 + CuePoint = 0xBB, 1.169 + CueTime = 0xB3, 1.170 + CueTrackPositions = 0xB7, 1.171 + CueTrack = 0xF7, 1.172 + CueClusterPosition = 0xF1, 1.173 + CueBlockNumber = 0x5378 1.174 +/* CueCodecState = 0xEA, */ 1.175 +/* CueReference = 0xDB, */ 1.176 +/* CueRefTime = 0x96, */ 1.177 +/* CueRefCluster = 0x97, */ 1.178 +/* CueRefNumber = 0x535F, */ 1.179 +/* CueRefCodecState = 0xEB, */ 1.180 + /* Attachment */ 1.181 +/* Attachments = 0x1941A469, */ 1.182 +/* AttachedFile = 0x61A7, */ 1.183 +/* FileDescription = 0x467E, */ 1.184 +/* FileName = 0x466E, */ 1.185 +/* FileMimeType = 0x4660, */ 1.186 +/* FileData = 0x465C, */ 1.187 +/* FileUID = 0x46AE, */ 1.188 +/* FileReferral = 0x4675, */ 1.189 + /* Chapters */ 1.190 +/* Chapters = 0x1043A770, */ 1.191 +/* EditionEntry = 0x45B9, */ 1.192 +/* EditionUID = 0x45BC, */ 1.193 +/* EditionFlagHidden = 0x45BD, */ 1.194 +/* EditionFlagDefault = 0x45DB, */ 1.195 +/* EditionFlagOrdered = 0x45DD, */ 1.196 +/* ChapterAtom = 0xB6, */ 1.197 +/* ChapterUID = 0x73C4, */ 1.198 +/* ChapterTimeStart = 0x91, */ 1.199 +/* ChapterTimeEnd = 0x92, */ 1.200 +/* ChapterFlagHidden = 0x98, */ 1.201 +/* ChapterFlagEnabled = 0x4598, */ 1.202 +/* ChapterSegmentUID = 0x6E67, */ 1.203 +/* ChapterSegmentEditionUID = 0x6EBC, */ 1.204 +/* ChapterPhysicalEquiv = 0x63C3, */ 1.205 +/* ChapterTrack = 0x8F, */ 1.206 +/* ChapterTrackNumber = 0x89, */ 1.207 +/* ChapterDisplay = 0x80, */ 1.208 +/* ChapString = 0x85, */ 1.209 +/* ChapLanguage = 0x437C, */ 1.210 +/* ChapCountry = 0x437E, */ 1.211 +/* ChapProcess = 0x6944, */ 1.212 +/* ChapProcessCodecID = 0x6955, */ 1.213 +/* ChapProcessPrivate = 0x450D, */ 1.214 +/* ChapProcessCommand = 0x6911, */ 1.215 +/* ChapProcessTime = 0x6922, */ 1.216 +/* ChapProcessData = 0x6933, */ 1.217 + /* Tagging */ 1.218 +/* Tags = 0x1254C367, */ 1.219 +/* Tag = 0x7373, */ 1.220 +/* Targets = 0x63C0, */ 1.221 +/* TargetTypeValue = 0x68CA, */ 1.222 +/* TargetType = 0x63CA, */ 1.223 +/* Tagging_TrackUID = 0x63C5, */ 1.224 +/* Tagging_EditionUID = 0x63C9, */ 1.225 +/* Tagging_ChapterUID = 0x63C4, */ 1.226 +/* AttachmentUID = 0x63C6, */ 1.227 +/* SimpleTag = 0x67C8, */ 1.228 +/* TagName = 0x45A3, */ 1.229 +/* TagLanguage = 0x447A, */ 1.230 +/* TagDefault = 0x4484, */ 1.231 +/* TagString = 0x4487, */ 1.232 +/* TagBinary = 0x4485, */ 1.233 +}; 1.234 +#endif