hvirtual/toolame-02l/bitstream.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int refill_buffer (Bit_stream_struc *)
void empty_buffer (Bit_stream_struc *, int)
void open_bit_stream_w (Bit_stream_struc *, char *, int)
void close_bit_stream_w (Bit_stream_struc *)
void alloc_buffer (Bit_stream_struc *, int)
void desalloc_buffer (Bit_stream_struc *)
void back_track_buffer (Bit_stream_struc *, int)
unsigned int get1bit (Bit_stream_struc *)
void put1bit (Bit_stream_struc *, int)
unsigned long look_ahead (Bit_stream_struc *, int)
unsigned long getbits (Bit_stream_struc *, int)
INLINE void putbits (Bit_stream_struc *, unsigned int, int)
void byte_ali_putbits (Bit_stream_struc *, unsigned int, int)
unsigned long byte_ali_getbits (Bit_stream_struc *, int)
unsigned long sstell (Bit_stream_struc *)
int end_bs (Bit_stream_struc *)
int seek_sync (Bit_stream_struc *, long, int)
unsigned int hget1bit (void)
unsigned long hgetbits (int)
unsigned long hsstell (void)
void hputbuf (unsigned int, int)


Function Documentation

void alloc_buffer ( Bit_stream_struc ,
int   
)

Definition at line 147 of file bitstream.c.

References bit_stream_struc::buf, bit_stream_struc::buf_size, and mem_alloc().

Referenced by open_bit_stream_w().

Here is the call graph for this function:

void back_track_buffer ( Bit_stream_struc ,
int   
)

unsigned long byte_ali_getbits ( Bit_stream_struc ,
int   
)

void byte_ali_putbits ( Bit_stream_struc ,
unsigned  int,
int   
)

Definition at line 227 of file bitstream.c.

References fprintf, MAX_LENGTH, putbits(), and sstell().

Here is the call graph for this function:

void close_bit_stream_w ( Bit_stream_struc  ) 

Definition at line 138 of file bitstream.c.

References bit_stream_struc::buf_byte_idx, desalloc_buffer(), empty_buffer(), fclose(), bit_stream_struc::pt, and putbits().

Referenced by toolame().

Here is the call graph for this function:

void desalloc_buffer ( Bit_stream_struc  ) 

Definition at line 155 of file bitstream.c.

References bit_stream_struc::buf.

Referenced by close_bit_stream_w().

void empty_buffer ( Bit_stream_struc ,
int   
)

Definition at line 103 of file bitstream.c.

References bit_stream_struc::buf, bit_stream_struc::buf_bit_idx, bit_stream_struc::buf_byte_idx, bit_stream_struc::buf_size, fwrite(), and bit_stream_struc::pt.

Referenced by close_bit_stream_w(), put1bit(), and putbits().

Here is the call graph for this function:

int end_bs ( Bit_stream_struc  ) 

Definition at line 250 of file bitstream.c.

References bit_stream_struc::eobs.

unsigned int get1bit ( Bit_stream_struc  ) 

unsigned long getbits ( Bit_stream_struc ,
int   
)

unsigned int hget1bit ( void   ) 

unsigned long hgetbits ( int   ) 

void hputbuf ( unsigned  int,
int   
)

Definition at line 275 of file bitstream.c.

References buf, BUFSIZE, fprintf, and offset.

unsigned long hsstell ( void   ) 

Definition at line 266 of file bitstream.c.

References totbit.

unsigned long look_ahead ( Bit_stream_struc ,
int   
)

void open_bit_stream_w ( Bit_stream_struc ,
char *  ,
int   
)

void put1bit ( Bit_stream_struc ,
int   
)

Definition at line 185 of file bitstream.c.

References bit_stream_struc::buf, bit_stream_struc::buf_bit_idx, bit_stream_struc::buf_byte_idx, empty_buffer(), minimum, and bit_stream_struc::totbit.

Referenced by encode_info(), toolame(), and write_header().

Here is the call graph for this function:

INLINE void putbits ( Bit_stream_struc ,
unsigned  int,
int   
)

Definition at line 201 of file bitstream.c.

References bit_stream_struc::buf, bit_stream_struc::buf_bit_idx, bit_stream_struc::buf_byte_idx, empty_buffer(), MIN, minimum, putmask, and bit_stream_struc::totbit.

Here is the call graph for this function:

int refill_buffer ( Bit_stream_struc  ) 

int seek_sync ( Bit_stream_struc ,
long  ,
int   
)

unsigned long sstell ( Bit_stream_struc  ) 

Definition at line 242 of file bitstream.c.

References bit_stream_struc::totbit.

Referenced by byte_ali_putbits(), and toolame().


Generated on Mon Apr 28 13:58:54 2008 for Cinelerra by  doxygen 1.5.5