doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions
ogg.h File Reference
#include "os_types.h"

Go to the source code of this file.

Classes

struct  oggpack_buffer
 
struct  ogg_page
 
struct  ogg_stream_state
 
struct  ogg_packet
 
struct  ogg_sync_state
 

Functions

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

Function Documentation

void ogg_packet_clear ( ogg_packet op)

Definition at line 894 of file framing.c.

int ogg_page_bos ( ogg_page og)

Definition at line 37 of file framing.c.

void ogg_page_checksum_set ( ogg_page og)

Definition at line 248 of file framing.c.

int ogg_page_continued ( ogg_page og)

Definition at line 33 of file framing.c.

int ogg_page_eos ( ogg_page og)

Definition at line 41 of file framing.c.

ogg_int64_t ogg_page_granulepos ( ogg_page og)

Definition at line 45 of file framing.c.

int ogg_page_packets ( ogg_page og)

Definition at line 91 of file framing.c.

long ogg_page_pageno ( ogg_page og)

Definition at line 65 of file framing.c.

int ogg_page_serialno ( ogg_page og)

Definition at line 58 of file framing.c.

int ogg_page_version ( ogg_page og)

Definition at line 29 of file framing.c.

int ogg_stream_clear ( ogg_stream_state os)

Definition at line 207 of file framing.c.

int ogg_stream_destroy ( ogg_stream_state os)

Definition at line 218 of file framing.c.

int ogg_stream_eos ( ogg_stream_state os)

Definition at line 461 of file framing.c.

int ogg_stream_flush ( ogg_stream_state os,
ogg_page og 
)

Definition at line 334 of file framing.c.

int ogg_stream_init ( ogg_stream_state os,
int  serialno 
)

Definition at line 188 of file framing.c.

int ogg_stream_packetin ( ogg_stream_state os,
ogg_packet op 
)

Definition at line 272 of file framing.c.

int ogg_stream_packetout ( ogg_stream_state os,
ogg_packet op 
)

Definition at line 886 of file framing.c.

int ogg_stream_packetpeek ( ogg_stream_state os,
ogg_packet op 
)

Definition at line 890 of file framing.c.

int ogg_stream_pagein ( ogg_stream_state os,
ogg_page og 
)

Definition at line 674 of file framing.c.

int ogg_stream_pageout ( ogg_stream_state os,
ogg_page og 
)

Definition at line 447 of file framing.c.

int ogg_stream_reset ( ogg_stream_state os)

Definition at line 807 of file framing.c.

int ogg_stream_reset_serialno ( ogg_stream_state os,
int  serialno 
)

Definition at line 826 of file framing.c.

char* ogg_sync_buffer ( ogg_sync_state oy,
long  size 
)

Definition at line 506 of file framing.c.

int ogg_sync_clear ( ogg_sync_state oy)

Definition at line 490 of file framing.c.

int ogg_sync_destroy ( ogg_sync_state oy)

Definition at line 498 of file framing.c.

int ogg_sync_init ( ogg_sync_state oy)

Definition at line 482 of file framing.c.

int ogg_sync_pageout ( ogg_sync_state oy,
ogg_page og 
)

Definition at line 643 of file framing.c.

long ogg_sync_pageseek ( ogg_sync_state oy,
ogg_page og 
)

Definition at line 547 of file framing.c.

int ogg_sync_reset ( ogg_sync_state oy)

Definition at line 798 of file framing.c.

int ogg_sync_wrote ( ogg_sync_state oy,
long  bytes 
)

Definition at line 531 of file framing.c.

void oggpack_adv ( oggpack_buffer b,
int  bits 
)

Definition at line 288 of file bitwise.c.

void oggpack_adv1 ( oggpack_buffer b)

Definition at line 299 of file bitwise.c.

long oggpack_bits ( oggpack_buffer b)

Definition at line 430 of file bitwise.c.

long oggpack_bytes ( oggpack_buffer b)

Definition at line 426 of file bitwise.c.

unsigned char* oggpack_get_buffer ( oggpack_buffer b)

Definition at line 442 of file bitwise.c.

long oggpack_look ( oggpack_buffer b,
int  bits 
)

Definition at line 225 of file bitwise.c.

long oggpack_look1 ( oggpack_buffer b)

Definition at line 278 of file bitwise.c.

long oggpack_read ( oggpack_buffer b,
int  bits 
)

Definition at line 312 of file bitwise.c.

long oggpack_read1 ( oggpack_buffer b)

Definition at line 382 of file bitwise.c.

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

Definition at line 214 of file bitwise.c.

void oggpack_reset ( oggpack_buffer b)

Definition at line 195 of file bitwise.c.

void oggpack_write ( oggpack_buffer b,
unsigned long  value,
int  bits 
)

Definition at line 69 of file bitwise.c.

void oggpack_writealign ( oggpack_buffer b)

Definition at line 136 of file bitwise.c.

void oggpack_writeclear ( oggpack_buffer b)

Definition at line 205 of file bitwise.c.

void oggpack_writecopy ( oggpack_buffer b,
void source,
long  bits 
)

Definition at line 187 of file bitwise.c.

void oggpack_writeinit ( oggpack_buffer b)

Definition at line 39 of file bitwise.c.

void oggpack_writetrunc ( oggpack_buffer b,
long  bits 
)

Definition at line 50 of file bitwise.c.

void oggpackB_adv ( oggpack_buffer b,
int  bits 
)

Definition at line 295 of file bitwise.c.

void oggpackB_adv1 ( oggpack_buffer b)

Definition at line 307 of file bitwise.c.

long oggpackB_bits ( oggpack_buffer b)

Definition at line 438 of file bitwise.c.

long oggpackB_bytes ( oggpack_buffer b)

Definition at line 434 of file bitwise.c.

unsigned char* oggpackB_get_buffer ( oggpack_buffer b)

Definition at line 446 of file bitwise.c.

long oggpackB_look ( oggpack_buffer b,
int  bits 
)

Definition at line 252 of file bitwise.c.

long oggpackB_look1 ( oggpack_buffer b)

Definition at line 283 of file bitwise.c.

long oggpackB_read ( oggpack_buffer b,
int  bits 
)

Definition at line 348 of file bitwise.c.

long oggpackB_read1 ( oggpack_buffer b)

Definition at line 404 of file bitwise.c.

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

Definition at line 220 of file bitwise.c.

void oggpackB_reset ( oggpack_buffer b)

Definition at line 201 of file bitwise.c.

void oggpackB_write ( oggpack_buffer b,
unsigned long  value,
int  bits 
)

Definition at line 103 of file bitwise.c.

void oggpackB_writealign ( oggpack_buffer b)

Definition at line 142 of file bitwise.c.

void oggpackB_writeclear ( oggpack_buffer b)

Definition at line 210 of file bitwise.c.

void oggpackB_writecopy ( oggpack_buffer b,
void source,
long  bits 
)

Definition at line 191 of file bitwise.c.

void oggpackB_writeinit ( oggpack_buffer b)

Definition at line 46 of file bitwise.c.

void oggpackB_writetrunc ( oggpack_buffer b,
long  bits 
)

Definition at line 59 of file bitwise.c.