Tizen 2.0 Release
[framework/multimedia/gst-plugins-good0.10.git] / gst / matroska / ebml-ids.h
1 /* GStreamer EBML I/O
2  * (c) 2003 Ronald Bultje <rbultje@ronald.bitfreak.net>
3  *
4  * ebml-ids.h: definition of EBML data IDs
5  *
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.
10  *
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.
15  *
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.
20  */
21
22 #ifndef __GST_EBML_IDS_H__
23 #define __GST_EBML_IDS_H__
24
25 G_BEGIN_DECLS
26
27 /* EBML version supported */
28 #define GST_EBML_VERSION 1
29
30 /* Unknown size (all bits set to 1) */
31 #define GST_EBML_SIZE_UNKNOWN          G_GINT64_CONSTANT(0x00ffffffffffffff)
32
33 /* top-level master-IDs */
34 #define GST_EBML_ID_HEADER             0x1A45DFA3
35
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
44
45 /* general EBML types */
46 #define GST_EBML_ID_VOID               0xEC
47 #define GST_EBML_ID_CRC32              0xBF
48
49 /* EbmlDate offset from the unix epoch in seconds, 2001/01/01 00:00:00 UTC */
50 #define GST_EBML_DATE_OFFSET           978307200
51
52 G_END_DECLS
53
54 #endif /* __GST_EBML_IDS_H__ */