michael@0: /* michael@0: * Copyright (c) 2010 The WebM project authors. All Rights Reserved. michael@0: * michael@0: * Use of this source code is governed by a BSD-style license michael@0: * that can be found in the LICENSE file in the root of the source michael@0: * tree. An additional intellectual property rights grant can be found michael@0: * in the file PATENTS. All contributing project authors may michael@0: * be found in the AUTHORS file in the root of the source tree. michael@0: */ michael@0: #ifndef MKV_DEFS_HPP michael@0: #define MKV_DEFS_HPP 1 michael@0: michael@0: /* Commenting out values not available in webm, but available in matroska */ michael@0: michael@0: enum mkv { michael@0: EBML = 0x1A45DFA3, michael@0: EBMLVersion = 0x4286, michael@0: EBMLReadVersion = 0x42F7, michael@0: EBMLMaxIDLength = 0x42F2, michael@0: EBMLMaxSizeLength = 0x42F3, michael@0: DocType = 0x4282, michael@0: DocTypeVersion = 0x4287, michael@0: DocTypeReadVersion = 0x4285, michael@0: /* CRC_32 = 0xBF, */ michael@0: Void = 0xEC, michael@0: SignatureSlot = 0x1B538667, michael@0: SignatureAlgo = 0x7E8A, michael@0: SignatureHash = 0x7E9A, michael@0: SignaturePublicKey = 0x7EA5, michael@0: Signature = 0x7EB5, michael@0: SignatureElements = 0x7E5B, michael@0: SignatureElementList = 0x7E7B, michael@0: SignedElement = 0x6532, michael@0: /* segment */ michael@0: Segment = 0x18538067, michael@0: /* Meta Seek Information */ michael@0: SeekHead = 0x114D9B74, michael@0: Seek = 0x4DBB, michael@0: SeekID = 0x53AB, michael@0: SeekPosition = 0x53AC, michael@0: /* Segment Information */ michael@0: Info = 0x1549A966, michael@0: /* SegmentUID = 0x73A4, */ michael@0: /* SegmentFilename = 0x7384, */ michael@0: /* PrevUID = 0x3CB923, */ michael@0: /* PrevFilename = 0x3C83AB, */ michael@0: /* NextUID = 0x3EB923, */ michael@0: /* NextFilename = 0x3E83BB, */ michael@0: /* SegmentFamily = 0x4444, */ michael@0: /* ChapterTranslate = 0x6924, */ michael@0: /* ChapterTranslateEditionUID = 0x69FC, */ michael@0: /* ChapterTranslateCodec = 0x69BF, */ michael@0: /* ChapterTranslateID = 0x69A5, */ michael@0: TimecodeScale = 0x2AD7B1, michael@0: Segment_Duration = 0x4489, michael@0: DateUTC = 0x4461, michael@0: /* Title = 0x7BA9, */ michael@0: MuxingApp = 0x4D80, michael@0: WritingApp = 0x5741, michael@0: /* Cluster */ michael@0: Cluster = 0x1F43B675, michael@0: Timecode = 0xE7, michael@0: /* SilentTracks = 0x5854, */ michael@0: /* SilentTrackNumber = 0x58D7, */ michael@0: /* Position = 0xA7, */ michael@0: PrevSize = 0xAB, michael@0: BlockGroup = 0xA0, michael@0: Block = 0xA1, michael@0: /* BlockVirtual = 0xA2, */ michael@0: BlockAdditions = 0x75A1, michael@0: BlockMore = 0xA6, michael@0: BlockAddID = 0xEE, michael@0: BlockAdditional = 0xA5, michael@0: BlockDuration = 0x9B, michael@0: /* ReferencePriority = 0xFA, */ michael@0: ReferenceBlock = 0xFB, michael@0: /* ReferenceVirtual = 0xFD, */ michael@0: /* CodecState = 0xA4, */ michael@0: /* Slices = 0x8E, */ michael@0: /* TimeSlice = 0xE8, */ michael@0: LaceNumber = 0xCC, michael@0: /* FrameNumber = 0xCD, */ michael@0: /* BlockAdditionID = 0xCB, */ michael@0: /* MkvDelay = 0xCE, */ michael@0: /* Cluster_Duration = 0xCF, */ michael@0: SimpleBlock = 0xA3, michael@0: /* EncryptedBlock = 0xAF, */ michael@0: /* Track */ michael@0: Tracks = 0x1654AE6B, michael@0: TrackEntry = 0xAE, michael@0: TrackNumber = 0xD7, michael@0: TrackUID = 0x73C5, michael@0: TrackType = 0x83, michael@0: FlagEnabled = 0xB9, michael@0: FlagDefault = 0x88, michael@0: FlagForced = 0x55AA, michael@0: FlagLacing = 0x9C, michael@0: /* MinCache = 0x6DE7, */ michael@0: /* MaxCache = 0x6DF8, */ michael@0: DefaultDuration = 0x23E383, michael@0: /* TrackTimecodeScale = 0x23314F, */ michael@0: /* TrackOffset = 0x537F, */ michael@0: MaxBlockAdditionID = 0x55EE, michael@0: Name = 0x536E, michael@0: Language = 0x22B59C, michael@0: CodecID = 0x86, michael@0: CodecPrivate = 0x63A2, michael@0: CodecName = 0x258688, michael@0: /* AttachmentLink = 0x7446, */ michael@0: /* CodecSettings = 0x3A9697, */ michael@0: /* CodecInfoURL = 0x3B4040, */ michael@0: /* CodecDownloadURL = 0x26B240, */ michael@0: /* CodecDecodeAll = 0xAA, */ michael@0: /* TrackOverlay = 0x6FAB, */ michael@0: /* TrackTranslate = 0x6624, */ michael@0: /* TrackTranslateEditionUID = 0x66FC, */ michael@0: /* TrackTranslateCodec = 0x66BF, */ michael@0: /* TrackTranslateTrackID = 0x66A5, */ michael@0: /* video */ michael@0: Video = 0xE0, michael@0: FlagInterlaced = 0x9A, michael@0: WEBM_StereoMode = 0x53B8, michael@0: AlphaMode = 0x53C0, michael@0: PixelWidth = 0xB0, michael@0: PixelHeight = 0xBA, michael@0: PixelCropBottom = 0x54AA, michael@0: PixelCropTop = 0x54BB, michael@0: PixelCropLeft = 0x54CC, michael@0: PixelCropRight = 0x54DD, michael@0: DisplayWidth = 0x54B0, michael@0: DisplayHeight = 0x54BA, michael@0: DisplayUnit = 0x54B2, michael@0: AspectRatioType = 0x54B3, michael@0: /* ColourSpace = 0x2EB524, */ michael@0: /* GammaValue = 0x2FB523, */ michael@0: FrameRate = 0x2383E3, michael@0: /* end video */ michael@0: /* audio */ michael@0: Audio = 0xE1, michael@0: SamplingFrequency = 0xB5, michael@0: OutputSamplingFrequency = 0x78B5, michael@0: Channels = 0x9F, michael@0: /* ChannelPositions = 0x7D7B, */ michael@0: BitDepth = 0x6264, michael@0: /* end audio */ michael@0: /* content encoding */ michael@0: /* ContentEncodings = 0x6d80, */ michael@0: /* ContentEncoding = 0x6240, */ michael@0: /* ContentEncodingOrder = 0x5031, */ michael@0: /* ContentEncodingScope = 0x5032, */ michael@0: /* ContentEncodingType = 0x5033, */ michael@0: /* ContentCompression = 0x5034, */ michael@0: /* ContentCompAlgo = 0x4254, */ michael@0: /* ContentCompSettings = 0x4255, */ michael@0: /* ContentEncryption = 0x5035, */ michael@0: /* ContentEncAlgo = 0x47e1, */ michael@0: /* ContentEncKeyID = 0x47e2, */ michael@0: /* ContentSignature = 0x47e3, */ michael@0: /* ContentSigKeyID = 0x47e4, */ michael@0: /* ContentSigAlgo = 0x47e5, */ michael@0: /* ContentSigHashAlgo = 0x47e6, */ michael@0: /* end content encoding */ michael@0: /* Cueing Data */ michael@0: Cues = 0x1C53BB6B, michael@0: CuePoint = 0xBB, michael@0: CueTime = 0xB3, michael@0: CueTrackPositions = 0xB7, michael@0: CueTrack = 0xF7, michael@0: CueClusterPosition = 0xF1, michael@0: CueBlockNumber = 0x5378 michael@0: /* CueCodecState = 0xEA, */ michael@0: /* CueReference = 0xDB, */ michael@0: /* CueRefTime = 0x96, */ michael@0: /* CueRefCluster = 0x97, */ michael@0: /* CueRefNumber = 0x535F, */ michael@0: /* CueRefCodecState = 0xEB, */ michael@0: /* Attachment */ michael@0: /* Attachments = 0x1941A469, */ michael@0: /* AttachedFile = 0x61A7, */ michael@0: /* FileDescription = 0x467E, */ michael@0: /* FileName = 0x466E, */ michael@0: /* FileMimeType = 0x4660, */ michael@0: /* FileData = 0x465C, */ michael@0: /* FileUID = 0x46AE, */ michael@0: /* FileReferral = 0x4675, */ michael@0: /* Chapters */ michael@0: /* Chapters = 0x1043A770, */ michael@0: /* EditionEntry = 0x45B9, */ michael@0: /* EditionUID = 0x45BC, */ michael@0: /* EditionFlagHidden = 0x45BD, */ michael@0: /* EditionFlagDefault = 0x45DB, */ michael@0: /* EditionFlagOrdered = 0x45DD, */ michael@0: /* ChapterAtom = 0xB6, */ michael@0: /* ChapterUID = 0x73C4, */ michael@0: /* ChapterTimeStart = 0x91, */ michael@0: /* ChapterTimeEnd = 0x92, */ michael@0: /* ChapterFlagHidden = 0x98, */ michael@0: /* ChapterFlagEnabled = 0x4598, */ michael@0: /* ChapterSegmentUID = 0x6E67, */ michael@0: /* ChapterSegmentEditionUID = 0x6EBC, */ michael@0: /* ChapterPhysicalEquiv = 0x63C3, */ michael@0: /* ChapterTrack = 0x8F, */ michael@0: /* ChapterTrackNumber = 0x89, */ michael@0: /* ChapterDisplay = 0x80, */ michael@0: /* ChapString = 0x85, */ michael@0: /* ChapLanguage = 0x437C, */ michael@0: /* ChapCountry = 0x437E, */ michael@0: /* ChapProcess = 0x6944, */ michael@0: /* ChapProcessCodecID = 0x6955, */ michael@0: /* ChapProcessPrivate = 0x450D, */ michael@0: /* ChapProcessCommand = 0x6911, */ michael@0: /* ChapProcessTime = 0x6922, */ michael@0: /* ChapProcessData = 0x6933, */ michael@0: /* Tagging */ michael@0: /* Tags = 0x1254C367, */ michael@0: /* Tag = 0x7373, */ michael@0: /* Targets = 0x63C0, */ michael@0: /* TargetTypeValue = 0x68CA, */ michael@0: /* TargetType = 0x63CA, */ michael@0: /* Tagging_TrackUID = 0x63C5, */ michael@0: /* Tagging_EditionUID = 0x63C9, */ michael@0: /* Tagging_ChapterUID = 0x63C4, */ michael@0: /* AttachmentUID = 0x63C6, */ michael@0: /* SimpleTag = 0x67C8, */ michael@0: /* TagName = 0x45A3, */ michael@0: /* TagLanguage = 0x447A, */ michael@0: /* TagDefault = 0x4484, */ michael@0: /* TagString = 0x4487, */ michael@0: /* TagBinary = 0x4485, */ michael@0: }; michael@0: #endif