2 * (c) 2003 Ronald Bultje <rbultje@ronald.bitfreak.net>
4 * ebml-ids.h: definition of EBML data IDs
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
22 #ifndef __GST_EBML_IDS_H__
23 #define __GST_EBML_IDS_H__
27 /* EBML version supported */
28 #define GST_EBML_VERSION 1
30 /* Unknown size (all bits set to 1) */
31 #define GST_EBML_SIZE_UNKNOWN G_GINT64_CONSTANT(0x00ffffffffffffff)
33 /* top-level master-IDs */
34 #define GST_EBML_ID_HEADER 0x1A45DFA3
36 /* IDs in the HEADER master */
37 #define GST_EBML_ID_EBMLVERSION 0x4286
38 #define GST_EBML_ID_EBMLREADVERSION 0x42F7
39 #define GST_EBML_ID_EBMLMAXIDLENGTH 0x42F2
40 #define GST_EBML_ID_EBMLMAXSIZELENGTH 0x42F3
41 #define GST_EBML_ID_DOCTYPE 0x4282
42 #define GST_EBML_ID_DOCTYPEVERSION 0x4287
43 #define GST_EBML_ID_DOCTYPEREADVERSION 0x4285
45 /* general EBML types */
46 #define GST_EBML_ID_VOID 0xEC
48 /* EbmlDate offset from the unix epoch in seconds, 2001/01/01 00:00:00 UTC */
49 #define GST_EBML_DATE_OFFSET 978307200
53 #endif /* __GST_EBML_IDS_H__ */