r105: This commit was manufactured by cvs2svn to create tag
[cinelerra_cv/mob.git] / hvirtual / toolame-02l / bitstream.h
blob66f8ae4a7f0727a6a40b5c234e0e8f14044b46a3
1 int refill_buffer (Bit_stream_struc *);
2 void empty_buffer (Bit_stream_struc *, int);
3 void open_bit_stream_w (Bit_stream_struc *, char *, int);
4 void close_bit_stream_w (Bit_stream_struc *);
5 void alloc_buffer (Bit_stream_struc *, int);
6 void desalloc_buffer (Bit_stream_struc *);
7 void back_track_buffer (Bit_stream_struc *, int);
8 unsigned int get1bit (Bit_stream_struc *);
9 void put1bit (Bit_stream_struc *, int);
10 unsigned long look_ahead (Bit_stream_struc *, int);
11 unsigned long getbits (Bit_stream_struc *, int);
12 INLINE void putbits (Bit_stream_struc *, unsigned int, int);
13 void byte_ali_putbits (Bit_stream_struc *, unsigned int, int);
14 unsigned long byte_ali_getbits (Bit_stream_struc *, int);
15 unsigned long sstell (Bit_stream_struc *);
16 int end_bs (Bit_stream_struc *);
17 int seek_sync (Bit_stream_struc *, long, int);
18 unsigned int hget1bit (void); /* MI */
19 unsigned long hgetbits (int);
20 unsigned long hsstell (void);
21 void hputbuf (unsigned int, int);