Bug 1882468 - Add BUG_COMPONENT for migrated monorepo files in mobile/android/moz...
[gecko.git] / media / libmkv / EbmlBufferWriter.h
blobd5116ce37ba28186e4bdce3176fd87ffa57266c7
1 #ifndef EBMLBUFFERWRITER_HPP
2 #define EBMLBUFFERWRITER_HPP
4 typedef struct {
5 unsigned long long offset;
6 } EbmlLoc;
8 typedef struct {
9 unsigned char *buf;
10 unsigned int length;
11 unsigned int offset;
12 } EbmlGlobal;
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);
20 #endif