digiKam
bitstream.h File Reference

Go to the source code of this file.

Classes

struct  bitreader
 

Macros

#define MAX_UVLC_LEADING_ZEROS   20
 
#define UVLC_ERROR   -99999
 

Functions

void bitreader_init (bitreader *, unsigned char *buffer, int len)
 
void bitreader_refill (bitreader *)
 
bool check_rbsp_trailing_bits (bitreader *)
 
int get_bits (bitreader *, int n)
 
int get_bits_fast (bitreader *, int n)
 
int get_svlc (bitreader *)
 
int get_uvlc (bitreader *)
 
int next_bit (bitreader *)
 
int next_bit_norefill (bitreader *)
 
int peek_bits (bitreader *, int n)
 
void prepare_for_CABAC (bitreader *)
 
void skip_bits (bitreader *, int n)
 
void skip_bits_fast (bitreader *, int n)
 
void skip_to_byte_boundary (bitreader *)
 

Macro Definition Documentation

◆ MAX_UVLC_LEADING_ZEROS

#define MAX_UVLC_LEADING_ZEROS   20

◆ UVLC_ERROR

#define UVLC_ERROR   -99999

Function Documentation

◆ bitreader_init()

void bitreader_init ( bitreader ,
unsigned char *  buffer,
int  len 
)

◆ bitreader_refill()

void bitreader_refill ( bitreader )

◆ check_rbsp_trailing_bits()

bool check_rbsp_trailing_bits ( bitreader )

◆ get_bits()

int get_bits ( bitreader ,
int  n 
)

◆ get_bits_fast()

int get_bits_fast ( bitreader ,
int  n 
)

◆ get_svlc()

int get_svlc ( bitreader )

◆ get_uvlc()

int get_uvlc ( bitreader )

◆ next_bit()

int next_bit ( bitreader )

◆ next_bit_norefill()

int next_bit_norefill ( bitreader )

◆ peek_bits()

int peek_bits ( bitreader ,
int  n 
)

◆ prepare_for_CABAC()

void prepare_for_CABAC ( bitreader )

◆ skip_bits()

void skip_bits ( bitreader ,
int  n 
)

◆ skip_bits_fast()

void skip_bits_fast ( bitreader ,
int  n 
)

◆ skip_to_byte_boundary()

void skip_to_byte_boundary ( bitreader )