Remove remaining %lf printf conversions
[mplayer/glamo.git] / libmpdemux / ebml_defs.c
blob918c5055c5dc03cd3fcb193aefd8a151e2a7b475
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)
10 #define N simple_tag
11 E_S("SimpleTag", 3)
12 F(MATROSKA_ID_TAGNAME, tag_name, 0)
13 F(MATROSKA_ID_TAGLANGUAGE, tag_language, 0)
14 F(MATROSKA_ID_TAGSTRING, tag_string, 0)
15 }};
16 #undef N
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)
28 #define N targets
29 E_S("Targets", 5)
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)
35 }};
36 #undef N
38 #define N tag
39 E_S("Tag", 2)
40 F(MATROSKA_ID_TARGETS, targets, 0)
41 F(MATROSKA_ID_SIMPLETAG, simple_tag, 1)
42 }};
43 #undef N
45 #define N tags
46 E_S("Tags", 1)
47 F(MATROSKA_ID_TAG, tag, 1)
48 }};
49 #undef N
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)
59 }};
60 #undef N
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
77 E_S("ChapterAtom", 8)
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)
86 }};
87 #undef N
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)
105 #undef N
107 #define N chapters
108 E_S("Chapters", 1)
109 F(MATROSKA_ID_EDITIONENTRY, edition_entry, 1)
111 #undef N
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)
128 #undef N
130 #define N attachments
131 E_S("Attachments", 1)
132 F(MATROSKA_ID_ATTACHEDFILE, attached_file, 1)
134 #undef N
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)
145 #undef N
147 E("CueTime", cue_time, EBML_TYPE_UINT)
149 #define N cue_point
150 E_S("CuePoint", 2)
151 F(MATROSKA_ID_CUETIME, cue_time, 0)
152 F(MATROSKA_ID_CUETRACKPOSITIONS, cue_track_positions, 1)
154 #undef N
156 #define N cues
157 E_S("Cues", 1)
158 F(MATROSKA_ID_CUEPOINT, cue_point, 1)
160 #undef N
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)
171 #undef N
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)
186 #undef N
188 #define N content_encodings
189 E_S("ContentEncodings", 1)
190 F(MATROSKA_ID_CONTENTENCODING, content_encoding, 1)
192 #undef N
194 E("BitDepth", bit_depth, EBML_TYPE_UINT)
196 E("Channels", channels, EBML_TYPE_UINT)
198 E("SamplingFrequency", sampling_frequency, EBML_TYPE_FLOAT)
200 #define N audio
201 E_S("Audio", 3)
202 F(MATROSKA_ID_SAMPLINGFREQUENCY, sampling_frequency, 0)
203 F(MATROSKA_ID_CHANNELS, channels, 0)
204 F(MATROSKA_ID_BITDEPTH, bit_depth, 0)
206 #undef N
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)
220 #define N video
221 E_S("Video", 6)
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)
229 #undef N
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)
285 #undef N
287 #define N tracks
288 E_S("Tracks", 1)
289 F(MATROSKA_ID_TRACKENTRY, track_entry, 1)
291 #undef N
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
302 E_S("BlockGroup", 3)
303 F(MATROSKA_ID_BLOCK, block, 0)
304 F(MATROSKA_ID_BLOCKDURATION, block_duration, 0)
305 F(MATROSKA_ID_REFERENCEBLOCK, reference_block, 1)
307 #undef N
309 E("Timecode", timecode, EBML_TYPE_UINT)
311 #define N cluster
312 E_S("Cluster", 3)
313 F(MATROSKA_ID_TIMECODE, timecode, 0)
314 F(MATROSKA_ID_BLOCKGROUP, block_group, 1)
315 F(MATROSKA_ID_SIMPLEBLOCK, simple_block, 1)
317 #undef N
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)
337 #define N info
338 E_S("Info", 9)
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)
349 #undef N
351 E("SeekPosition", seek_position, EBML_TYPE_UINT)
353 E("SeekID", seek_id, EBML_TYPE_EBML_ID)
355 #define N seek
356 E_S("Seek", 2)
357 F(MATROSKA_ID_SEEKID, seek_id, 0)
358 F(MATROSKA_ID_SEEKPOSITION, seek_position, 0)
360 #undef N
362 #define N seek_head
363 E_S("SeekHead", 1)
364 F(MATROSKA_ID_SEEK, seek, 1)
366 #undef N
368 #define N segment
369 E_S("Segment", 8)
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)
379 #undef N
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)
399 #define N ebml
400 E_S("EBML", 7)
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)
409 #undef N