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