GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
gpac_ogg.c File Reference
+ Include dependency graph for gpac_ogg.c:

Macros

#define BUFFER_INCREMENT   256
 

Functions

void oggpack_writeinit (oggpack_buffer *b)
 
void oggpackB_writeinit (oggpack_buffer *b)
 
void oggpack_writetrunc (oggpack_buffer *b, s32 bits)
 
void oggpackB_writetrunc (oggpack_buffer *b, s32 bits)
 
void oggpack_write (oggpack_buffer *b, u32 value, s32 bits)
 
void oggpackB_write (oggpack_buffer *b, u32 value, s32 bits)
 
void oggpack_writealign (oggpack_buffer *b)
 
void oggpackB_writealign (oggpack_buffer *b)
 
static void oggpack_writecopy_helper (oggpack_buffer *b, void *source, s32 bits, void(*w)(oggpack_buffer *, u32, s32), s32 msb)
 
void oggpack_writecopy (oggpack_buffer *b, void *source, s32 bits)
 
void oggpackB_writecopy (oggpack_buffer *b, void *source, s32 bits)
 
void oggpack_reset (oggpack_buffer *b)
 
void oggpackB_reset (oggpack_buffer *b)
 
void oggpack_writeclear (oggpack_buffer *b)
 
void oggpackB_writeclear (oggpack_buffer *b)
 
void oggpack_readinit (oggpack_buffer *b, unsigned char *buf, s32 bytes)
 
void oggpackB_readinit (oggpack_buffer *b, unsigned char *buf, s32 bytes)
 
s32 oggpack_look (oggpack_buffer *b, s32 bits)
 
s32 oggpackB_look (oggpack_buffer *b, s32 bits)
 
s32 oggpack_look1 (oggpack_buffer *b)
 
s32 oggpackB_look1 (oggpack_buffer *b)
 
void oggpack_adv (oggpack_buffer *b, s32 bits)
 
void oggpackB_adv (oggpack_buffer *b, s32 bits)
 
void oggpack_adv1 (oggpack_buffer *b)
 
void oggpackB_adv1 (oggpack_buffer *b)
 
s32 oggpack_read (oggpack_buffer *b, s32 bits)
 
s32 oggpackB_read (oggpack_buffer *b, s32 bits)
 
s32 oggpack_read1 (oggpack_buffer *b)
 
s32 oggpackB_read1 (oggpack_buffer *b)
 
s32 oggpack_bytes (oggpack_buffer *b)
 
s32 oggpack_bits (oggpack_buffer *b)
 
s32 oggpackB_bytes (oggpack_buffer *b)
 
s32 oggpackB_bits (oggpack_buffer *b)
 
unsigned char * oggpack_get_buffer (oggpack_buffer *b)
 
unsigned char * oggpackB_get_buffer (oggpack_buffer *b)
 
s32 ogg_page_version (ogg_page *og)
 
s32 ogg_page_continued (ogg_page *og)
 
s32 ogg_page_bos (ogg_page *og)
 
s32 ogg_page_eos (ogg_page *og)
 
s64 ogg_page_granulepos (ogg_page *og)
 
s32 ogg_page_serialno (ogg_page *og)
 
s32 ogg_page_pageno (ogg_page *og)
 
s32 ogg_page_packets (ogg_page *og)
 
s32 ogg_stream_init (ogg_stream_state *os, s32 serialno)
 
s32 ogg_stream_clear (ogg_stream_state *os)
 
s32 ogg_stream_destroy (ogg_stream_state *os)
 
static void _os_body_expand (ogg_stream_state *os, s32 needed)
 
static void _os_lacing_expand (ogg_stream_state *os, s32 needed)
 
void ogg_page_checksum_set (ogg_page *og)
 
s32 ogg_stream_packetin (ogg_stream_state *os, ogg_packet *op)
 
s32 ogg_stream_flush (ogg_stream_state *os, ogg_page *og)
 
s32 ogg_stream_pageout (ogg_stream_state *os, ogg_page *og)
 
s32 ogg_stream_eos (ogg_stream_state *os)
 
s32 ogg_sync_init (ogg_sync_state *oy)
 
s32 ogg_sync_clear (ogg_sync_state *oy)
 
s32 ogg_sync_destroy (ogg_sync_state *oy)
 
char * ogg_sync_buffer (ogg_sync_state *oy, s32 size)
 
s32 ogg_sync_wrote (ogg_sync_state *oy, s32 bytes)
 
s32 ogg_sync_pageseek (ogg_sync_state *oy, ogg_page *og)
 
s32 ogg_sync_pageout (ogg_sync_state *oy, ogg_page *og)
 
s32 ogg_stream_pagein (ogg_stream_state *os, ogg_page *og)
 
s32 ogg_sync_reset (ogg_sync_state *oy)
 
s32 ogg_stream_reset (ogg_stream_state *os)
 
s32 ogg_stream_reset_serialno (ogg_stream_state *os, s32 serialno)
 
static s32 _packetout (ogg_stream_state *os, ogg_packet *op, s32 adv)
 
s32 ogg_stream_packetout (ogg_stream_state *os, ogg_packet *op)
 
s32 ogg_stream_packetpeek (ogg_stream_state *os, ogg_packet *op)
 
void ogg_packet_clear (ogg_packet *op)
 

Variables

static u32 mask []
 
static u32 mask8B []
 
static u32 crc_lookup [256]
 

Macro Definition Documentation

#define BUFFER_INCREMENT   256

Function Documentation

void oggpack_writeinit ( oggpack_buffer b)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void oggpackB_writeinit ( oggpack_buffer b)

+ Here is the call graph for this function:

void oggpack_writetrunc ( oggpack_buffer b,
s32  bits 
)
void oggpackB_writetrunc ( oggpack_buffer b,
s32  bits 
)
void oggpack_write ( oggpack_buffer b,
u32  value,
s32  bits 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void oggpackB_write ( oggpack_buffer b,
u32  value,
s32  bits 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void oggpack_writealign ( oggpack_buffer b)

+ Here is the call graph for this function:

void oggpackB_writealign ( oggpack_buffer b)

+ Here is the call graph for this function:

static void oggpack_writecopy_helper ( oggpack_buffer b,
void *  source,
s32  bits,
void(*)(oggpack_buffer *, u32, s32 w,
s32  msb 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void oggpack_writecopy ( oggpack_buffer b,
void *  source,
s32  bits 
)

+ Here is the call graph for this function:

void oggpackB_writecopy ( oggpack_buffer b,
void *  source,
s32  bits 
)

+ Here is the call graph for this function:

void oggpack_reset ( oggpack_buffer b)

+ Here is the caller graph for this function:

void oggpackB_reset ( oggpack_buffer b)

+ Here is the call graph for this function:

void oggpack_writeclear ( oggpack_buffer b)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void oggpackB_writeclear ( oggpack_buffer b)

+ Here is the call graph for this function:

void oggpack_readinit ( oggpack_buffer b,
unsigned char *  buf,
s32  bytes 
)

+ Here is the caller graph for this function:

void oggpackB_readinit ( oggpack_buffer b,
unsigned char *  buf,
s32  bytes 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

s32 oggpack_look ( oggpack_buffer b,
s32  bits 
)
s32 oggpackB_look ( oggpack_buffer b,
s32  bits 
)
s32 oggpack_look1 ( oggpack_buffer b)
s32 oggpackB_look1 ( oggpack_buffer b)
void oggpack_adv ( oggpack_buffer b,
s32  bits 
)

+ Here is the caller graph for this function:

void oggpackB_adv ( oggpack_buffer b,
s32  bits 
)

+ Here is the call graph for this function:

void oggpack_adv1 ( oggpack_buffer b)

+ Here is the caller graph for this function:

void oggpackB_adv1 ( oggpack_buffer b)

+ Here is the call graph for this function:

s32 oggpack_read ( oggpack_buffer b,
s32  bits 
)

+ Here is the caller graph for this function:

s32 oggpackB_read ( oggpack_buffer b,
s32  bits 
)

+ Here is the caller graph for this function:

s32 oggpack_read1 ( oggpack_buffer b)
s32 oggpackB_read1 ( oggpack_buffer b)
s32 oggpack_bytes ( oggpack_buffer b)

+ Here is the caller graph for this function:

s32 oggpack_bits ( oggpack_buffer b)

+ Here is the caller graph for this function:

s32 oggpackB_bytes ( oggpack_buffer b)

+ Here is the call graph for this function:

s32 oggpackB_bits ( oggpack_buffer b)

+ Here is the call graph for this function:

unsigned char* oggpack_get_buffer ( oggpack_buffer b)

+ Here is the caller graph for this function:

unsigned char* oggpackB_get_buffer ( oggpack_buffer b)

+ Here is the call graph for this function:

s32 ogg_page_version ( ogg_page og)

+ Here is the caller graph for this function:

s32 ogg_page_continued ( ogg_page og)

+ Here is the caller graph for this function:

s32 ogg_page_bos ( ogg_page og)

+ Here is the caller graph for this function:

s32 ogg_page_eos ( ogg_page og)

+ Here is the caller graph for this function:

s64 ogg_page_granulepos ( ogg_page og)

+ Here is the caller graph for this function:

s32 ogg_page_serialno ( ogg_page og)

+ Here is the caller graph for this function:

s32 ogg_page_pageno ( ogg_page og)

+ Here is the caller graph for this function:

s32 ogg_page_packets ( ogg_page og)
s32 ogg_stream_init ( ogg_stream_state os,
s32  serialno 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

s32 ogg_stream_clear ( ogg_stream_state os)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

s32 ogg_stream_destroy ( ogg_stream_state os)

+ Here is the call graph for this function:

static void _os_body_expand ( ogg_stream_state os,
s32  needed 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void _os_lacing_expand ( ogg_stream_state os,
s32  needed 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ogg_page_checksum_set ( ogg_page og)

+ Here is the caller graph for this function:

s32 ogg_stream_packetin ( ogg_stream_state os,
ogg_packet op 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

s32 ogg_stream_flush ( ogg_stream_state os,
ogg_page og 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

s32 ogg_stream_pageout ( ogg_stream_state os,
ogg_page og 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

s32 ogg_stream_eos ( ogg_stream_state os)
s32 ogg_sync_init ( ogg_sync_state oy)

+ Here is the caller graph for this function:

s32 ogg_sync_clear ( ogg_sync_state oy)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

s32 ogg_sync_destroy ( ogg_sync_state oy)

+ Here is the call graph for this function:

char* ogg_sync_buffer ( ogg_sync_state oy,
s32  size 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

s32 ogg_sync_wrote ( ogg_sync_state oy,
s32  bytes 
)

+ Here is the caller graph for this function:

s32 ogg_sync_pageseek ( ogg_sync_state oy,
ogg_page og 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

s32 ogg_sync_pageout ( ogg_sync_state oy,
ogg_page og 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

s32 ogg_stream_pagein ( ogg_stream_state os,
ogg_page og 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

s32 ogg_sync_reset ( ogg_sync_state oy)
s32 ogg_stream_reset ( ogg_stream_state os)

+ Here is the caller graph for this function:

s32 ogg_stream_reset_serialno ( ogg_stream_state os,
s32  serialno 
)

+ Here is the call graph for this function:

static s32 _packetout ( ogg_stream_state os,
ogg_packet op,
s32  adv 
)
static

+ Here is the caller graph for this function:

s32 ogg_stream_packetout ( ogg_stream_state os,
ogg_packet op 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

s32 ogg_stream_packetpeek ( ogg_stream_state os,
ogg_packet op 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ogg_packet_clear ( ogg_packet op)

+ Here is the call graph for this function:

Variable Documentation

u32 mask[]
static
Initial value:
=
{0x00000000,0x00000001,0x00000003,0x00000007,0x0000000f,
0x0000001f,0x0000003f,0x0000007f,0x000000ff,0x000001ff,
0x000003ff,0x000007ff,0x00000fff,0x00001fff,0x00003fff,
0x00007fff,0x0000ffff,0x0001ffff,0x0003ffff,0x0007ffff,
0x000fffff,0x001fffff,0x003fffff,0x007fffff,0x00ffffff,
0x01ffffff,0x03ffffff,0x07ffffff,0x0fffffff,0x1fffffff,
0x3fffffff,0x7fffffff,0xffffffff }
u32 mask8B[]
static
Initial value:
=
{0x00,0x80,0xc0,0xe0,0xf0,0xf8,0xfc,0xfe,0xff}
u32 crc_lookup[256]
static