1 // Generated by TOOLS/matroska.py, do not edit manually
4 E("TargetTypeValue", target_type_value
, EBML_TYPE_UINT
)
8 F(MATROSKA_ID_TARGETTYPEVALUE
, target_type_value
, 0)
14 F(MATROSKA_ID_TARGETS
, targets
, 0)
20 F(MATROSKA_ID_TAG
, tag
, 1)
24 E("ChapLanguage", chap_language
, EBML_TYPE_STR
)
26 E("ChapString", chap_string
, EBML_TYPE_STR
)
28 #define N chapter_display
29 E_S("ChapterDisplay", 2)
30 F(MATROSKA_ID_CHAPSTRING
, chap_string
, 0)
31 F(MATROSKA_ID_CHAPLANGUAGE
, chap_language
, 1)
35 E("ChapterSegmentEditionUID", chapter_segment_edition_uid
, EBML_TYPE_UINT
)
37 E("ChapterSegmentUID", chapter_segment_uid
, EBML_TYPE_BINARY
)
39 E("ChapterFlagEnabled", chapter_flag_enabled
, EBML_TYPE_UINT
)
41 E("ChapterFlagHidden", chapter_flag_hidden
, EBML_TYPE_UINT
)
43 E("ChapterTimeEnd", chapter_time_end
, EBML_TYPE_UINT
)
45 E("ChapterTimeStart", chapter_time_start
, EBML_TYPE_UINT
)
47 E("ChapterUID", chapter_uid
, EBML_TYPE_UINT
)
49 #define N chapter_atom
51 F(MATROSKA_ID_CHAPTERUID
, chapter_uid
, 0)
52 F(MATROSKA_ID_CHAPTERTIMESTART
, chapter_time_start
, 0)
53 F(MATROSKA_ID_CHAPTERTIMEEND
, chapter_time_end
, 0)
54 F(MATROSKA_ID_CHAPTERFLAGHIDDEN
, chapter_flag_hidden
, 0)
55 F(MATROSKA_ID_CHAPTERFLAGENABLED
, chapter_flag_enabled
, 0)
56 F(MATROSKA_ID_CHAPTERSEGMENTUID
, chapter_segment_uid
, 0)
57 F(MATROSKA_ID_CHAPTERSEGMENTEDITIONUID
, chapter_segment_edition_uid
, 0)
58 F(MATROSKA_ID_CHAPTERDISPLAY
, chapter_display
, 1)
62 E("EditionFlagOrdered", edition_flag_ordered
, EBML_TYPE_UINT
)
64 E("EditionFlagDefault", edition_flag_default
, EBML_TYPE_UINT
)
66 E("EditionFlagHidden", edition_flag_hidden
, EBML_TYPE_UINT
)
68 E("EditionUID", edition_uid
, EBML_TYPE_UINT
)
70 #define N edition_entry
71 E_S("EditionEntry", 5)
72 F(MATROSKA_ID_EDITIONUID
, edition_uid
, 0)
73 F(MATROSKA_ID_EDITIONFLAGHIDDEN
, edition_flag_hidden
, 0)
74 F(MATROSKA_ID_EDITIONFLAGDEFAULT
, edition_flag_default
, 0)
75 F(MATROSKA_ID_EDITIONFLAGORDERED
, edition_flag_ordered
, 0)
76 F(MATROSKA_ID_CHAPTERATOM
, chapter_atom
, 1)
82 F(MATROSKA_ID_EDITIONENTRY
, edition_entry
, 1)
86 E("FileUID", file_uid
, EBML_TYPE_UINT
)
88 E("FileData", file_data
, EBML_TYPE_BINARY
)
90 E("FileMimeType", file_mime_type
, EBML_TYPE_STR
)
92 E("FileName", file_name
, EBML_TYPE_STR
)
94 #define N attached_file
95 E_S("AttachedFile", 4)
96 F(MATROSKA_ID_FILENAME
, file_name
, 0)
97 F(MATROSKA_ID_FILEMIMETYPE
, file_mime_type
, 0)
98 F(MATROSKA_ID_FILEDATA
, file_data
, 0)
99 F(MATROSKA_ID_FILEUID
, file_uid
, 0)
103 #define N attachments
104 E_S("Attachments", 1)
105 F(MATROSKA_ID_ATTACHEDFILE
, attached_file
, 1)
109 E("CueClusterPosition", cue_cluster_position
, EBML_TYPE_UINT
)
111 E("CueTrack", cue_track
, EBML_TYPE_UINT
)
113 #define N cue_track_positions
114 E_S("CueTrackPositions", 2)
115 F(MATROSKA_ID_CUETRACK
, cue_track
, 0)
116 F(MATROSKA_ID_CUECLUSTERPOSITION
, cue_cluster_position
, 0)
120 E("CueTime", cue_time
, EBML_TYPE_UINT
)
124 F(MATROSKA_ID_CUETIME
, cue_time
, 0)
125 F(MATROSKA_ID_CUETRACKPOSITIONS
, cue_track_positions
, 1)
131 F(MATROSKA_ID_CUEPOINT
, cue_point
, 1)
135 E("ContentCompSettings", content_comp_settings
, EBML_TYPE_BINARY
)
137 E("ContentCompAlgo", content_comp_algo
, EBML_TYPE_UINT
)
139 #define N content_compression
140 E_S("ContentCompression", 2)
141 F(MATROSKA_ID_CONTENTCOMPALGO
, content_comp_algo
, 0)
142 F(MATROSKA_ID_CONTENTCOMPSETTINGS
, content_comp_settings
, 0)
146 E("ContentEncodingType", content_encoding_type
, EBML_TYPE_UINT
)
148 E("ContentEncodingScope", content_encoding_scope
, EBML_TYPE_UINT
)
150 E("ContentEncodingOrder", content_encoding_order
, EBML_TYPE_UINT
)
152 #define N content_encoding
153 E_S("ContentEncoding", 4)
154 F(MATROSKA_ID_CONTENTENCODINGORDER
, content_encoding_order
, 0)
155 F(MATROSKA_ID_CONTENTENCODINGSCOPE
, content_encoding_scope
, 0)
156 F(MATROSKA_ID_CONTENTENCODINGTYPE
, content_encoding_type
, 0)
157 F(MATROSKA_ID_CONTENTCOMPRESSION
, content_compression
, 0)
161 #define N content_encodings
162 E_S("ContentEncodings", 1)
163 F(MATROSKA_ID_CONTENTENCODING
, content_encoding
, 1)
167 E("BitDepth", bit_depth
, EBML_TYPE_UINT
)
169 E("Channels", channels
, EBML_TYPE_UINT
)
171 E("SamplingFrequency", sampling_frequency
, EBML_TYPE_FLOAT
)
175 F(MATROSKA_ID_SAMPLINGFREQUENCY
, sampling_frequency
, 0)
176 F(MATROSKA_ID_CHANNELS
, channels
, 0)
177 F(MATROSKA_ID_BITDEPTH
, bit_depth
, 0)
181 E("FrameRate", frame_rate
, EBML_TYPE_FLOAT
)
183 E("DisplayHeight", display_height
, EBML_TYPE_UINT
)
185 E("DisplayWidth", display_width
, EBML_TYPE_UINT
)
187 E("PixelHeight", pixel_height
, EBML_TYPE_UINT
)
189 E("PixelWidth", pixel_width
, EBML_TYPE_UINT
)
191 E("FlagInterlaced", flag_interlaced
, EBML_TYPE_UINT
)
195 F(MATROSKA_ID_FLAGINTERLACED
, flag_interlaced
, 0)
196 F(MATROSKA_ID_PIXELWIDTH
, pixel_width
, 0)
197 F(MATROSKA_ID_PIXELHEIGHT
, pixel_height
, 0)
198 F(MATROSKA_ID_DISPLAYWIDTH
, display_width
, 0)
199 F(MATROSKA_ID_DISPLAYHEIGHT
, display_height
, 0)
200 F(MATROSKA_ID_FRAMERATE
, frame_rate
, 0)
204 E("CodecDecodeAll", codec_decode_all
, EBML_TYPE_UINT
)
206 E("CodecPrivate", codec_private
, EBML_TYPE_BINARY
)
208 E("CodecID", codec_id
, EBML_TYPE_STR
)
210 E("Language", language
, EBML_TYPE_STR
)
212 E("Name", name
, EBML_TYPE_STR
)
214 E("MaxBlockAdditionID", max_block_addition_id
, EBML_TYPE_UINT
)
216 E("TrackTimecodeScale", track_timecode_scale
, EBML_TYPE_FLOAT
)
218 E("DefaultDuration", default_duration
, EBML_TYPE_UINT
)
220 E("MinCache", min_cache
, EBML_TYPE_UINT
)
222 E("FlagLacing", flag_lacing
, EBML_TYPE_UINT
)
224 E("FlagForced", flag_forced
, EBML_TYPE_UINT
)
226 E("FlagDefault", flag_default
, EBML_TYPE_UINT
)
228 E("FlagEnabled", flag_enabled
, EBML_TYPE_UINT
)
230 E("TrackType", track_type
, EBML_TYPE_UINT
)
232 E("TrackUID", track_uid
, EBML_TYPE_UINT
)
234 E("TrackNumber", track_number
, EBML_TYPE_UINT
)
236 #define N track_entry
237 E_S("TrackEntry", 19)
238 F(MATROSKA_ID_TRACKNUMBER
, track_number
, 0)
239 F(MATROSKA_ID_TRACKUID
, track_uid
, 0)
240 F(MATROSKA_ID_TRACKTYPE
, track_type
, 0)
241 F(MATROSKA_ID_FLAGENABLED
, flag_enabled
, 0)
242 F(MATROSKA_ID_FLAGDEFAULT
, flag_default
, 0)
243 F(MATROSKA_ID_FLAGFORCED
, flag_forced
, 0)
244 F(MATROSKA_ID_FLAGLACING
, flag_lacing
, 0)
245 F(MATROSKA_ID_MINCACHE
, min_cache
, 0)
246 F(MATROSKA_ID_DEFAULTDURATION
, default_duration
, 0)
247 F(MATROSKA_ID_TRACKTIMECODESCALE
, track_timecode_scale
, 0)
248 F(MATROSKA_ID_MAXBLOCKADDITIONID
, max_block_addition_id
, 0)
249 F(MATROSKA_ID_NAME
, name
, 0)
250 F(MATROSKA_ID_LANGUAGE
, language
, 0)
251 F(MATROSKA_ID_CODECID
, codec_id
, 0)
252 F(MATROSKA_ID_CODECPRIVATE
, codec_private
, 0)
253 F(MATROSKA_ID_CODECDECODEALL
, codec_decode_all
, 0)
254 F(MATROSKA_ID_VIDEO
, video
, 0)
255 F(MATROSKA_ID_AUDIO
, audio
, 0)
256 F(MATROSKA_ID_CONTENTENCODINGS
, content_encodings
, 0)
262 F(MATROSKA_ID_TRACKENTRY
, track_entry
, 1)
266 E("SimpleBlock", simple_block
, EBML_TYPE_BINARY
)
268 E("ReferenceBlock", reference_block
, EBML_TYPE_SINT
)
270 E("BlockDuration", block_duration
, EBML_TYPE_UINT
)
272 E("Block", block
, EBML_TYPE_BINARY
)
274 #define N block_group
276 F(MATROSKA_ID_BLOCK
, block
, 0)
277 F(MATROSKA_ID_BLOCKDURATION
, block_duration
, 0)
278 F(MATROSKA_ID_REFERENCEBLOCK
, reference_block
, 1)
282 E("Timecode", timecode
, EBML_TYPE_UINT
)
286 F(MATROSKA_ID_TIMECODE
, timecode
, 0)
287 F(MATROSKA_ID_BLOCKGROUP
, block_group
, 1)
288 F(MATROSKA_ID_SIMPLEBLOCK
, simple_block
, 1)
292 E("Duration", duration
, EBML_TYPE_FLOAT
)
294 E("WritingApp", writing_app
, EBML_TYPE_STR
)
296 E("MuxingApp", muxing_app
, EBML_TYPE_STR
)
298 E("Title", title
, EBML_TYPE_STR
)
300 E("DateUTC", date_utc
, EBML_TYPE_SINT
)
302 E("TimecodeScale", timecode_scale
, EBML_TYPE_UINT
)
304 E("NextUID", next_uid
, EBML_TYPE_BINARY
)
306 E("PrevUID", prev_uid
, EBML_TYPE_BINARY
)
308 E("SegmentUID", segment_uid
, EBML_TYPE_BINARY
)
312 F(MATROSKA_ID_SEGMENTUID
, segment_uid
, 0)
313 F(MATROSKA_ID_PREVUID
, prev_uid
, 0)
314 F(MATROSKA_ID_NEXTUID
, next_uid
, 0)
315 F(MATROSKA_ID_TIMECODESCALE
, timecode_scale
, 0)
316 F(MATROSKA_ID_DATEUTC
, date_utc
, 0)
317 F(MATROSKA_ID_TITLE
, title
, 0)
318 F(MATROSKA_ID_MUXINGAPP
, muxing_app
, 0)
319 F(MATROSKA_ID_WRITINGAPP
, writing_app
, 0)
320 F(MATROSKA_ID_DURATION
, duration
, 0)
324 E("SeekPosition", seek_position
, EBML_TYPE_UINT
)
326 E("SeekID", seek_id
, EBML_TYPE_EBML_ID
)
330 F(MATROSKA_ID_SEEKID
, seek_id
, 0)
331 F(MATROSKA_ID_SEEKPOSITION
, seek_position
, 0)
337 F(MATROSKA_ID_SEEK
, seek
, 1)
343 F(MATROSKA_ID_SEEKHEAD
, seek_head
, 1)
344 F(MATROSKA_ID_INFO
, info
, 1)
345 F(MATROSKA_ID_CLUSTER
, cluster
, 1)
346 F(MATROSKA_ID_TRACKS
, tracks
, 1)
347 F(MATROSKA_ID_CUES
, cues
, 0)
348 F(MATROSKA_ID_ATTACHMENTS
, attachments
, 0)
349 F(MATROSKA_ID_CHAPTERS
, chapters
, 0)
350 F(MATROSKA_ID_TAGS
, tags
, 1)
354 E("Void", void, EBML_TYPE_BINARY
)
356 E("CRC32", crc32
, EBML_TYPE_BINARY
)
358 E("DocTypeReadVersion", doc_type_read_version
, EBML_TYPE_UINT
)
360 E("DocTypeVersion", doc_type_version
, EBML_TYPE_UINT
)
362 E("DocType", doc_type
, EBML_TYPE_STR
)
364 E("EBMLMaxSizeLength", ebml_max_size_length
, EBML_TYPE_UINT
)
366 E("EBMLMaxIDLength", ebml_max_id_length
, EBML_TYPE_UINT
)
368 E("EBMLReadVersion", ebml_read_version
, EBML_TYPE_UINT
)
370 E("EBMLVersion", ebml_version
, EBML_TYPE_UINT
)
374 F(EBML_ID_EBMLVERSION
, ebml_version
, 0)
375 F(EBML_ID_EBMLREADVERSION
, ebml_read_version
, 0)
376 F(EBML_ID_EBMLMAXIDLENGTH
, ebml_max_id_length
, 0)
377 F(EBML_ID_EBMLMAXSIZELENGTH
, ebml_max_size_length
, 0)
378 F(EBML_ID_DOCTYPE
, doc_type
, 0)
379 F(EBML_ID_DOCTYPEVERSION
, doc_type_version
, 0)
380 F(EBML_ID_DOCTYPEREADVERSION
, doc_type_read_version
, 0)