Add runtime translation support
[mplayer/glamo.git] / libmpdemux / ebml_defs.c
blobf0296a3d62bb21e54764c643c3759254768015cb
1 // Generated by TOOLS/matroska.py, do not edit manually
4 E("TargetTypeValue", target_type_value, EBML_TYPE_UINT)
6 #define N targets
7 E_S("Targets", 1)
8 F(MATROSKA_ID_TARGETTYPEVALUE, target_type_value, 0)
9 }};
10 #undef N
12 #define N tag
13 E_S("Tag", 1)
14 F(MATROSKA_ID_TARGETS, targets, 0)
15 }};
16 #undef N
18 #define N tags
19 E_S("Tags", 1)
20 F(MATROSKA_ID_TAG, tag, 1)
21 }};
22 #undef N
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)
32 }};
33 #undef N
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
50 E_S("ChapterAtom", 8)
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)
59 }};
60 #undef N
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)
77 }};
78 #undef N
80 #define N chapters
81 E_S("Chapters", 1)
82 F(MATROSKA_ID_EDITIONENTRY, edition_entry, 1)
83 }};
84 #undef N
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)
101 #undef N
103 #define N attachments
104 E_S("Attachments", 1)
105 F(MATROSKA_ID_ATTACHEDFILE, attached_file, 1)
107 #undef N
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)
118 #undef N
120 E("CueTime", cue_time, EBML_TYPE_UINT)
122 #define N cue_point
123 E_S("CuePoint", 2)
124 F(MATROSKA_ID_CUETIME, cue_time, 0)
125 F(MATROSKA_ID_CUETRACKPOSITIONS, cue_track_positions, 1)
127 #undef N
129 #define N cues
130 E_S("Cues", 1)
131 F(MATROSKA_ID_CUEPOINT, cue_point, 1)
133 #undef N
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)
144 #undef N
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)
159 #undef N
161 #define N content_encodings
162 E_S("ContentEncodings", 1)
163 F(MATROSKA_ID_CONTENTENCODING, content_encoding, 1)
165 #undef N
167 E("BitDepth", bit_depth, EBML_TYPE_UINT)
169 E("Channels", channels, EBML_TYPE_UINT)
171 E("SamplingFrequency", sampling_frequency, EBML_TYPE_FLOAT)
173 #define N audio
174 E_S("Audio", 3)
175 F(MATROSKA_ID_SAMPLINGFREQUENCY, sampling_frequency, 0)
176 F(MATROSKA_ID_CHANNELS, channels, 0)
177 F(MATROSKA_ID_BITDEPTH, bit_depth, 0)
179 #undef N
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)
193 #define N video
194 E_S("Video", 6)
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)
202 #undef N
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)
258 #undef N
260 #define N tracks
261 E_S("Tracks", 1)
262 F(MATROSKA_ID_TRACKENTRY, track_entry, 1)
264 #undef N
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
275 E_S("BlockGroup", 3)
276 F(MATROSKA_ID_BLOCK, block, 0)
277 F(MATROSKA_ID_BLOCKDURATION, block_duration, 0)
278 F(MATROSKA_ID_REFERENCEBLOCK, reference_block, 1)
280 #undef N
282 E("Timecode", timecode, EBML_TYPE_UINT)
284 #define N cluster
285 E_S("Cluster", 3)
286 F(MATROSKA_ID_TIMECODE, timecode, 0)
287 F(MATROSKA_ID_BLOCKGROUP, block_group, 1)
288 F(MATROSKA_ID_SIMPLEBLOCK, simple_block, 1)
290 #undef N
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)
310 #define N info
311 E_S("Info", 9)
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)
322 #undef N
324 E("SeekPosition", seek_position, EBML_TYPE_UINT)
326 E("SeekID", seek_id, EBML_TYPE_EBML_ID)
328 #define N seek
329 E_S("Seek", 2)
330 F(MATROSKA_ID_SEEKID, seek_id, 0)
331 F(MATROSKA_ID_SEEKPOSITION, seek_position, 0)
333 #undef N
335 #define N seek_head
336 E_S("SeekHead", 1)
337 F(MATROSKA_ID_SEEK, seek, 1)
339 #undef N
341 #define N segment
342 E_S("Segment", 8)
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)
352 #undef N
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)
372 #define N ebml
373 E_S("EBML", 7)
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)
382 #undef N