Merge other top-level C code
[platform/upstream/libvpx.git] / libmkv / EbmlIDs.h
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   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   StereoMode = 0x53B8,
123   PixelWidth = 0xB0,
124   PixelHeight = 0xBA,
125   PixelCropBottom = 0x54AA,
126   PixelCropTop = 0x54BB,
127   PixelCropLeft = 0x54CC,
128   PixelCropRight = 0x54DD,
129   DisplayWidth = 0x54B0,
130   DisplayHeight = 0x54BA,
131   DisplayUnit = 0x54B2,
132   AspectRatioType = 0x54B3,
133 //  ColourSpace = 0x2EB524,
134 //  GammaValue = 0x2FB523,
135   FrameRate = 0x2383E3,
136   // end video
137   // audio
138   Audio = 0xE1,
139   SamplingFrequency = 0xB5,
140   OutputSamplingFrequency = 0x78B5,
141   Channels = 0x9F,
142 //  ChannelPositions = 0x7D7B,
143   BitDepth = 0x6264,
144   // end audio
145   // content encoding
146 //  ContentEncodings = 0x6d80,
147 //  ContentEncoding = 0x6240,
148 //  ContentEncodingOrder = 0x5031,
149 //  ContentEncodingScope = 0x5032,
150 //  ContentEncodingType = 0x5033,
151 //  ContentCompression = 0x5034,
152 //  ContentCompAlgo = 0x4254,
153 //  ContentCompSettings = 0x4255,
154 //  ContentEncryption = 0x5035,
155 //  ContentEncAlgo = 0x47e1,
156 //  ContentEncKeyID = 0x47e2,
157 //  ContentSignature = 0x47e3,
158 //  ContentSigKeyID = 0x47e4,
159 //  ContentSigAlgo = 0x47e5,
160 //  ContentSigHashAlgo = 0x47e6,
161   // end content encoding
162   // Cueing Data
163   Cues = 0x1C53BB6B,
164   CuePoint = 0xBB,
165   CueTime = 0xB3,
166   CueTrackPositions = 0xB7,
167   CueTrack = 0xF7,
168   CueClusterPosition = 0xF1,
169   CueBlockNumber = 0x5378,
170 //  CueCodecState = 0xEA,
171 //  CueReference = 0xDB,
172 //  CueRefTime = 0x96,
173 //  CueRefCluster = 0x97,
174 //  CueRefNumber = 0x535F,
175 //  CueRefCodecState = 0xEB,
176   // Attachment
177 //  Attachments = 0x1941A469,
178 //  AttachedFile = 0x61A7,
179 //  FileDescription = 0x467E,
180 //  FileName = 0x466E,
181 //  FileMimeType = 0x4660,
182 //  FileData = 0x465C,
183 //  FileUID = 0x46AE,
184 //  FileReferral = 0x4675,
185   // Chapters
186 //  Chapters = 0x1043A770,
187 //  EditionEntry = 0x45B9,
188 //  EditionUID = 0x45BC,
189 //  EditionFlagHidden = 0x45BD,
190 //  EditionFlagDefault = 0x45DB,
191 //  EditionFlagOrdered = 0x45DD,
192 //  ChapterAtom = 0xB6,
193 //  ChapterUID = 0x73C4,
194 //  ChapterTimeStart = 0x91,
195 //  ChapterTimeEnd = 0x92,
196 //  ChapterFlagHidden = 0x98,
197 //  ChapterFlagEnabled = 0x4598,
198 //  ChapterSegmentUID = 0x6E67,
199 //  ChapterSegmentEditionUID = 0x6EBC,
200 //  ChapterPhysicalEquiv = 0x63C3,
201 //  ChapterTrack = 0x8F,
202 //  ChapterTrackNumber = 0x89,
203 //  ChapterDisplay = 0x80,
204 //  ChapString = 0x85,
205 //  ChapLanguage = 0x437C,
206 //  ChapCountry = 0x437E,
207 //  ChapProcess = 0x6944,
208 //  ChapProcessCodecID = 0x6955,
209 //  ChapProcessPrivate = 0x450D,
210 //  ChapProcessCommand = 0x6911,
211 //  ChapProcessTime = 0x6922,
212 //  ChapProcessData = 0x6933,
213   // Tagging
214 //  Tags = 0x1254C367,
215 //  Tag = 0x7373,
216 //  Targets = 0x63C0,
217 //  TargetTypeValue = 0x68CA,
218 //  TargetType = 0x63CA,
219 //  Tagging_TrackUID = 0x63C5,
220 //  Tagging_EditionUID = 0x63C9,
221 //  Tagging_ChapterUID = 0x63C4,
222 //  AttachmentUID = 0x63C6,
223 //  SimpleTag = 0x67C8,
224 //  TagName = 0x45A3,
225 //  TagLanguage = 0x447A,
226 //  TagDefault = 0x4484,
227 //  TagString = 0x4487,
228 //  TagBinary = 0x4485,
229 };
230 #endif