media/libmkv/EbmlBufferWriter.h

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:057f5596aa79
1 #ifndef EBMLBUFFERWRITER_HPP
2 #define EBMLBUFFERWRITER_HPP
3
4 typedef struct {
5 unsigned long long offset;
6 } EbmlLoc;
7
8 typedef struct {
9 unsigned char *buf;
10 unsigned int length;
11 unsigned int offset;
12 } EbmlGlobal;
13
14 void Ebml_Write(EbmlGlobal *glob, const void *buffer_in, unsigned long len);
15 void Ebml_Serialize(EbmlGlobal *glob, const void *buffer_in,
16 int buffer_size, unsigned long len);
17 void Ebml_StartSubElement(EbmlGlobal *glob, EbmlLoc *ebmlLoc, unsigned long class_id);
18 void Ebml_EndSubElement(EbmlGlobal *glob, EbmlLoc *ebmlLoc);
19
20 #endif

mercurial