21 #ifndef DE265_BITSTREAM_H
22 #define DE265_BITSTREAM_H
35 #define MAX_UVLC_LEADING_ZEROS 20
36 #define UVLC_ERROR -99999
void bitreader_refill(bitreader *)
void skip_bits(bitreader *, int n)
void skip_bits_fast(bitreader *, int n)
int get_uvlc(bitreader *)
void bitreader_init(bitreader *, unsigned char *buffer, int len)
int peek_bits(bitreader *, int n)
int get_bits(bitreader *, int n)
bool check_rbsp_trailing_bits(bitreader *)
int next_bit(bitreader *)
void skip_to_byte_boundary(bitreader *)
int next_bit_norefill(bitreader *)
int get_bits_fast(bitreader *, int n)
void prepare_for_CABAC(bitreader *)
int get_svlc(bitreader *)
Definition: bitstream.h:39
uint8_t * data
Definition: bitstream.h:40
int bytes_remaining
Definition: bitstream.h:41
uint64_t nextbits
Definition: bitstream.h:43
int nextbits_cnt
Definition: bitstream.h:44