1 // Generated by TOOLS/matroska.py, do not edit manually
4 E("TagString", tag_string
, EBML_TYPE_STR
)
6 E("TagLanguage", tag_language
, EBML_TYPE_STR
)
8 E("TagName", tag_name
, EBML_TYPE_STR
)
12 F(MATROSKA_ID_TAGNAME
, tag_name
, 0)
13 F(MATROSKA_ID_TAGLANGUAGE
, tag_language
, 0)
14 F(MATROSKA_ID_TAGSTRING
, tag_string
, 0)
18 E("TargetAttachmentUID", target_attachment_uid
, EBML_TYPE_UINT
)
20 E("TargetChapterUID", target_chapter_uid
, EBML_TYPE_UINT
)
22 E("TargetEditionUID", target_edition_uid
, EBML_TYPE_UINT
)
24 E("TargetTrackUID", target_track_uid
, EBML_TYPE_UINT
)
26 E("TargetTypeValue", target_type_value
, EBML_TYPE_UINT
)
30 F(MATROSKA_ID_TARGETTYPEVALUE
, target_type_value
, 0)
31 F(MATROSKA_ID_TARGETTRACKUID
, target_track_uid
, 0)
32 F(MATROSKA_ID_TARGETEDITIONUID
, target_edition_uid
, 0)
33 F(MATROSKA_ID_TARGETCHAPTERUID
, target_chapter_uid
, 0)
34 F(MATROSKA_ID_TARGETATTACHMENTUID
, target_attachment_uid
, 0)
40 F(MATROSKA_ID_TARGETS
, targets
, 0)
41 F(MATROSKA_ID_SIMPLETAG
, simple_tag
, 1)
47 F(MATROSKA_ID_TAG
, tag
, 1)
51 E("ChapLanguage", chap_language
, EBML_TYPE_STR
)
53 E("ChapString", chap_string
, EBML_TYPE_STR
)
55 #define N chapter_display
56 E_S("ChapterDisplay", 2)
57 F(MATROSKA_ID_CHAPSTRING
, chap_string
, 0)
58 F(MATROSKA_ID_CHAPLANGUAGE
, chap_language
, 1)
62 E("ChapterSegmentEditionUID", chapter_segment_edition_uid
, EBML_TYPE_UINT
)
64 E("ChapterSegmentUID", chapter_segment_uid
, EBML_TYPE_BINARY
)
66 E("ChapterFlagEnabled", chapter_flag_enabled
, EBML_TYPE_UINT
)
68 E("ChapterFlagHidden", chapter_flag_hidden
, EBML_TYPE_UINT
)
70 E("ChapterTimeEnd", chapter_time_end
, EBML_TYPE_UINT
)
72 E("ChapterTimeStart", chapter_time_start
, EBML_TYPE_UINT
)
74 E("ChapterUID", chapter_uid
, EBML_TYPE_UINT
)
76 #define N chapter_atom
78 F(MATROSKA_ID_CHAPTERUID
, chapter_uid
, 0)
79 F(MATROSKA_ID_CHAPTERTIMESTART
, chapter_time_start
, 0)
80 F(MATROSKA_ID_CHAPTERTIMEEND
, chapter_time_end
, 0)
81 F(MATROSKA_ID_CHAPTERFLAGHIDDEN
, chapter_flag_hidden
, 0)
82 F(MATROSKA_ID_CHAPTERFLAGENABLED
, chapter_flag_enabled
, 0)
83 F(MATROSKA_ID_CHAPTERSEGMENTUID
, chapter_segment_uid
, 0)
84 F(MATROSKA_ID_CHAPTERSEGMENTEDITIONUID
, chapter_segment_edition_uid
, 0)
85 F(MATROSKA_ID_CHAPTERDISPLAY
, chapter_display
, 1)
89 E("EditionFlagOrdered", edition_flag_ordered
, EBML_TYPE_UINT
)
91 E("EditionFlagDefault", edition_flag_default
, EBML_TYPE_UINT
)
93 E("EditionFlagHidden", edition_flag_hidden
, EBML_TYPE_UINT
)
95 E("EditionUID", edition_uid
, EBML_TYPE_UINT
)
97 #define N edition_entry
98 E_S("EditionEntry", 5)
99 F(MATROSKA_ID_EDITIONUID
, edition_uid
, 0)
100 F(MATROSKA_ID_EDITIONFLAGHIDDEN
, edition_flag_hidden
, 0)
101 F(MATROSKA_ID_EDITIONFLAGDEFAULT
, edition_flag_default
, 0)
102 F(MATROSKA_ID_EDITIONFLAGORDERED
, edition_flag_ordered
, 0)
103 F(MATROSKA_ID_CHAPTERATOM
, chapter_atom
, 1)
109 F(MATROSKA_ID_EDITIONENTRY
, edition_entry
, 1)
113 E("FileUID", file_uid
, EBML_TYPE_UINT
)
115 E("FileData", file_data
, EBML_TYPE_BINARY
)
117 E("FileMimeType", file_mime_type
, EBML_TYPE_STR
)
119 E("FileName", file_name
, EBML_TYPE_STR
)
121 #define N attached_file
122 E_S("AttachedFile", 4)
123 F(MATROSKA_ID_FILENAME
, file_name
, 0)
124 F(MATROSKA_ID_FILEMIMETYPE
, file_mime_type
, 0)
125 F(MATROSKA_ID_FILEDATA
, file_data
, 0)
126 F(MATROSKA_ID_FILEUID
, file_uid
, 0)
130 #define N attachments
131 E_S("Attachments", 1)
132 F(MATROSKA_ID_ATTACHEDFILE
, attached_file
, 1)
136 E("CueClusterPosition", cue_cluster_position
, EBML_TYPE_UINT
)
138 E("CueTrack", cue_track
, EBML_TYPE_UINT
)
140 #define N cue_track_positions
141 E_S("CueTrackPositions", 2)
142 F(MATROSKA_ID_CUETRACK
, cue_track
, 0)
143 F(MATROSKA_ID_CUECLUSTERPOSITION
, cue_cluster_position
, 0)
147 E("CueTime", cue_time
, EBML_TYPE_UINT
)
151 F(MATROSKA_ID_CUETIME
, cue_time
, 0)
152 F(MATROSKA_ID_CUETRACKPOSITIONS
, cue_track_positions
, 1)
158 F(MATROSKA_ID_CUEPOINT
, cue_point
, 1)
162 E("ContentCompSettings", content_comp_settings
, EBML_TYPE_BINARY
)
164 E("ContentCompAlgo", content_comp_algo
, EBML_TYPE_UINT
)
166 #define N content_compression
167 E_S("ContentCompression", 2)
168 F(MATROSKA_ID_CONTENTCOMPALGO
, content_comp_algo
, 0)
169 F(MATROSKA_ID_CONTENTCOMPSETTINGS
, content_comp_settings
, 0)
173 E("ContentEncodingType", content_encoding_type
, EBML_TYPE_UINT
)
175 E("ContentEncodingScope", content_encoding_scope
, EBML_TYPE_UINT
)
177 E("ContentEncodingOrder", content_encoding_order
, EBML_TYPE_UINT
)
179 #define N content_encoding
180 E_S("ContentEncoding", 4)
181 F(MATROSKA_ID_CONTENTENCODINGORDER
, content_encoding_order
, 0)
182 F(MATROSKA_ID_CONTENTENCODINGSCOPE
, content_encoding_scope
, 0)
183 F(MATROSKA_ID_CONTENTENCODINGTYPE
, content_encoding_type
, 0)
184 F(MATROSKA_ID_CONTENTCOMPRESSION
, content_compression
, 0)
188 #define N content_encodings
189 E_S("ContentEncodings", 1)
190 F(MATROSKA_ID_CONTENTENCODING
, content_encoding
, 1)
194 E("BitDepth", bit_depth
, EBML_TYPE_UINT
)
196 E("Channels", channels
, EBML_TYPE_UINT
)
198 E("SamplingFrequency", sampling_frequency
, EBML_TYPE_FLOAT
)
202 F(MATROSKA_ID_SAMPLINGFREQUENCY
, sampling_frequency
, 0)
203 F(MATROSKA_ID_CHANNELS
, channels
, 0)
204 F(MATROSKA_ID_BITDEPTH
, bit_depth
, 0)
208 E("FrameRate", frame_rate
, EBML_TYPE_FLOAT
)
210 E("DisplayHeight", display_height
, EBML_TYPE_UINT
)
212 E("DisplayWidth", display_width
, EBML_TYPE_UINT
)
214 E("PixelHeight", pixel_height
, EBML_TYPE_UINT
)
216 E("PixelWidth", pixel_width
, EBML_TYPE_UINT
)
218 E("FlagInterlaced", flag_interlaced
, EBML_TYPE_UINT
)
222 F(MATROSKA_ID_FLAGINTERLACED
, flag_interlaced
, 0)
223 F(MATROSKA_ID_PIXELWIDTH
, pixel_width
, 0)
224 F(MATROSKA_ID_PIXELHEIGHT
, pixel_height
, 0)
225 F(MATROSKA_ID_DISPLAYWIDTH
, display_width
, 0)
226 F(MATROSKA_ID_DISPLAYHEIGHT
, display_height
, 0)
227 F(MATROSKA_ID_FRAMERATE
, frame_rate
, 0)
231 E("CodecDecodeAll", codec_decode_all
, EBML_TYPE_UINT
)
233 E("CodecPrivate", codec_private
, EBML_TYPE_BINARY
)
235 E("CodecID", codec_id
, EBML_TYPE_STR
)
237 E("Language", language
, EBML_TYPE_STR
)
239 E("Name", name
, EBML_TYPE_STR
)
241 E("MaxBlockAdditionID", max_block_addition_id
, EBML_TYPE_UINT
)
243 E("TrackTimecodeScale", track_timecode_scale
, EBML_TYPE_FLOAT
)
245 E("DefaultDuration", default_duration
, EBML_TYPE_UINT
)
247 E("MinCache", min_cache
, EBML_TYPE_UINT
)
249 E("FlagLacing", flag_lacing
, EBML_TYPE_UINT
)
251 E("FlagForced", flag_forced
, EBML_TYPE_UINT
)
253 E("FlagDefault", flag_default
, EBML_TYPE_UINT
)
255 E("FlagEnabled", flag_enabled
, EBML_TYPE_UINT
)
257 E("TrackType", track_type
, EBML_TYPE_UINT
)
259 E("TrackUID", track_uid
, EBML_TYPE_UINT
)
261 E("TrackNumber", track_number
, EBML_TYPE_UINT
)
263 #define N track_entry
264 E_S("TrackEntry", 19)
265 F(MATROSKA_ID_TRACKNUMBER
, track_number
, 0)
266 F(MATROSKA_ID_TRACKUID
, track_uid
, 0)
267 F(MATROSKA_ID_TRACKTYPE
, track_type
, 0)
268 F(MATROSKA_ID_FLAGENABLED
, flag_enabled
, 0)
269 F(MATROSKA_ID_FLAGDEFAULT
, flag_default
, 0)
270 F(MATROSKA_ID_FLAGFORCED
, flag_forced
, 0)
271 F(MATROSKA_ID_FLAGLACING
, flag_lacing
, 0)
272 F(MATROSKA_ID_MINCACHE
, min_cache
, 0)
273 F(MATROSKA_ID_DEFAULTDURATION
, default_duration
, 0)
274 F(MATROSKA_ID_TRACKTIMECODESCALE
, track_timecode_scale
, 0)
275 F(MATROSKA_ID_MAXBLOCKADDITIONID
, max_block_addition_id
, 0)
276 F(MATROSKA_ID_NAME
, name
, 0)
277 F(MATROSKA_ID_LANGUAGE
, language
, 0)
278 F(MATROSKA_ID_CODECID
, codec_id
, 0)
279 F(MATROSKA_ID_CODECPRIVATE
, codec_private
, 0)
280 F(MATROSKA_ID_CODECDECODEALL
, codec_decode_all
, 0)
281 F(MATROSKA_ID_VIDEO
, video
, 0)
282 F(MATROSKA_ID_AUDIO
, audio
, 0)
283 F(MATROSKA_ID_CONTENTENCODINGS
, content_encodings
, 0)
289 F(MATROSKA_ID_TRACKENTRY
, track_entry
, 1)
293 E("SimpleBlock", simple_block
, EBML_TYPE_BINARY
)
295 E("ReferenceBlock", reference_block
, EBML_TYPE_SINT
)
297 E("BlockDuration", block_duration
, EBML_TYPE_UINT
)
299 E("Block", block
, EBML_TYPE_BINARY
)
301 #define N block_group
303 F(MATROSKA_ID_BLOCK
, block
, 0)
304 F(MATROSKA_ID_BLOCKDURATION
, block_duration
, 0)
305 F(MATROSKA_ID_REFERENCEBLOCK
, reference_block
, 1)
309 E("Timecode", timecode
, EBML_TYPE_UINT
)
313 F(MATROSKA_ID_TIMECODE
, timecode
, 0)
314 F(MATROSKA_ID_BLOCKGROUP
, block_group
, 1)
315 F(MATROSKA_ID_SIMPLEBLOCK
, simple_block
, 1)
319 E("Duration", duration
, EBML_TYPE_FLOAT
)
321 E("WritingApp", writing_app
, EBML_TYPE_STR
)
323 E("MuxingApp", muxing_app
, EBML_TYPE_STR
)
325 E("Title", title
, EBML_TYPE_STR
)
327 E("DateUTC", date_utc
, EBML_TYPE_SINT
)
329 E("TimecodeScale", timecode_scale
, EBML_TYPE_UINT
)
331 E("NextUID", next_uid
, EBML_TYPE_BINARY
)
333 E("PrevUID", prev_uid
, EBML_TYPE_BINARY
)
335 E("SegmentUID", segment_uid
, EBML_TYPE_BINARY
)
339 F(MATROSKA_ID_SEGMENTUID
, segment_uid
, 0)
340 F(MATROSKA_ID_PREVUID
, prev_uid
, 0)
341 F(MATROSKA_ID_NEXTUID
, next_uid
, 0)
342 F(MATROSKA_ID_TIMECODESCALE
, timecode_scale
, 0)
343 F(MATROSKA_ID_DATEUTC
, date_utc
, 0)
344 F(MATROSKA_ID_TITLE
, title
, 0)
345 F(MATROSKA_ID_MUXINGAPP
, muxing_app
, 0)
346 F(MATROSKA_ID_WRITINGAPP
, writing_app
, 0)
347 F(MATROSKA_ID_DURATION
, duration
, 0)
351 E("SeekPosition", seek_position
, EBML_TYPE_UINT
)
353 E("SeekID", seek_id
, EBML_TYPE_EBML_ID
)
357 F(MATROSKA_ID_SEEKID
, seek_id
, 0)
358 F(MATROSKA_ID_SEEKPOSITION
, seek_position
, 0)
364 F(MATROSKA_ID_SEEK
, seek
, 1)
370 F(MATROSKA_ID_SEEKHEAD
, seek_head
, 1)
371 F(MATROSKA_ID_INFO
, info
, 1)
372 F(MATROSKA_ID_CLUSTER
, cluster
, 1)
373 F(MATROSKA_ID_TRACKS
, tracks
, 1)
374 F(MATROSKA_ID_CUES
, cues
, 0)
375 F(MATROSKA_ID_ATTACHMENTS
, attachments
, 0)
376 F(MATROSKA_ID_CHAPTERS
, chapters
, 0)
377 F(MATROSKA_ID_TAGS
, tags
, 1)
381 E("Void", void, EBML_TYPE_BINARY
)
383 E("CRC32", crc32
, EBML_TYPE_BINARY
)
385 E("DocTypeReadVersion", doc_type_read_version
, EBML_TYPE_UINT
)
387 E("DocTypeVersion", doc_type_version
, EBML_TYPE_UINT
)
389 E("DocType", doc_type
, EBML_TYPE_STR
)
391 E("EBMLMaxSizeLength", ebml_max_size_length
, EBML_TYPE_UINT
)
393 E("EBMLMaxIDLength", ebml_max_id_length
, EBML_TYPE_UINT
)
395 E("EBMLReadVersion", ebml_read_version
, EBML_TYPE_UINT
)
397 E("EBMLVersion", ebml_version
, EBML_TYPE_UINT
)
401 F(EBML_ID_EBMLVERSION
, ebml_version
, 0)
402 F(EBML_ID_EBMLREADVERSION
, ebml_read_version
, 0)
403 F(EBML_ID_EBMLMAXIDLENGTH
, ebml_max_id_length
, 0)
404 F(EBML_ID_EBMLMAXSIZELENGTH
, ebml_max_size_length
, 0)
405 F(EBML_ID_DOCTYPE
, doc_type
, 0)
406 F(EBML_ID_DOCTYPEVERSION
, doc_type_version
, 0)
407 F(EBML_ID_DOCTYPEREADVERSION
, doc_type_read_version
, 0)