Assimp  v4.1. (December 2018)
o3dgc::Arithmetic_Codec Class Reference

Public Member Functions

 Arithmetic_Codec (void)
 
 Arithmetic_Codec (unsigned max_code_bytes, unsigned char *user_buffer=0)
 
unsigned char * buffer (void)
 
unsigned decode (Static_Bit_Model &)
 
unsigned decode (Static_Data_Model &)
 
unsigned decode (Adaptive_Bit_Model &)
 
unsigned decode (Adaptive_Data_Model &)
 
void encode (unsigned bit, Static_Bit_Model &)
 
void encode (unsigned data, Static_Data_Model &)
 
void encode (unsigned bit, Adaptive_Bit_Model &)
 
void encode (unsigned data, Adaptive_Data_Model &)
 
unsigned ExpGolombDecode (int k, Static_Bit_Model &bModel0, Adaptive_Bit_Model &bModel1)
 
void ExpGolombEncode (unsigned int symbol, int k, Static_Bit_Model &bModel0, Adaptive_Bit_Model &bModel1)
 
unsigned get_bit (void)
 
unsigned get_bits (unsigned number_of_bits)
 
void put_bit (unsigned bit)
 
void put_bits (unsigned data, unsigned number_of_bits)
 
void read_from_file (FILE *code_file)
 
void set_buffer (unsigned max_code_bytes, unsigned char *user_buffer=0)
 
void start_decoder (void)
 
void start_encoder (void)
 
void stop_decoder (void)
 
unsigned stop_encoder (void)
 
unsigned write_to_file (FILE *code_file)
 
 ~Arithmetic_Codec (void)
 

Constructor & Destructor Documentation

◆ Arithmetic_Codec() [1/2]

o3dgc::Arithmetic_Codec::Arithmetic_Codec ( void  )

◆ ~Arithmetic_Codec()

o3dgc::Arithmetic_Codec::~Arithmetic_Codec ( void  )

◆ Arithmetic_Codec() [2/2]

o3dgc::Arithmetic_Codec::Arithmetic_Codec ( unsigned  max_code_bytes,
unsigned char *  user_buffer = 0 
)

Member Function Documentation

◆ buffer()

unsigned char* o3dgc::Arithmetic_Codec::buffer ( void  )
inline

◆ decode() [1/4]

unsigned o3dgc::Arithmetic_Codec::decode ( Static_Bit_Model M)

◆ decode() [2/4]

unsigned o3dgc::Arithmetic_Codec::decode ( Static_Data_Model M)

◆ decode() [3/4]

unsigned o3dgc::Arithmetic_Codec::decode ( Adaptive_Bit_Model M)

◆ decode() [4/4]

unsigned o3dgc::Arithmetic_Codec::decode ( Adaptive_Data_Model M)

◆ encode() [1/4]

void o3dgc::Arithmetic_Codec::encode ( unsigned  bit,
Static_Bit_Model M 
)

◆ encode() [2/4]

void o3dgc::Arithmetic_Codec::encode ( unsigned  data,
Static_Data_Model M 
)

◆ encode() [3/4]

void o3dgc::Arithmetic_Codec::encode ( unsigned  bit,
Adaptive_Bit_Model M 
)

◆ encode() [4/4]

void o3dgc::Arithmetic_Codec::encode ( unsigned  data,
Adaptive_Data_Model M 
)

◆ ExpGolombDecode()

unsigned o3dgc::Arithmetic_Codec::ExpGolombDecode ( int  k,
Static_Bit_Model bModel0,
Adaptive_Bit_Model bModel1 
)
inline

◆ ExpGolombEncode()

void o3dgc::Arithmetic_Codec::ExpGolombEncode ( unsigned int  symbol,
int  k,
Static_Bit_Model bModel0,
Adaptive_Bit_Model bModel1 
)
inline

◆ get_bit()

unsigned o3dgc::Arithmetic_Codec::get_bit ( void  )

◆ get_bits()

unsigned o3dgc::Arithmetic_Codec::get_bits ( unsigned  number_of_bits)

◆ put_bit()

void o3dgc::Arithmetic_Codec::put_bit ( unsigned  bit)

◆ put_bits()

void o3dgc::Arithmetic_Codec::put_bits ( unsigned  data,
unsigned  number_of_bits 
)

◆ read_from_file()

void o3dgc::Arithmetic_Codec::read_from_file ( FILE *  code_file)

◆ set_buffer()

void o3dgc::Arithmetic_Codec::set_buffer ( unsigned  max_code_bytes,
unsigned char *  user_buffer = 0 
)

◆ start_decoder()

void o3dgc::Arithmetic_Codec::start_decoder ( void  )

◆ start_encoder()

void o3dgc::Arithmetic_Codec::start_encoder ( void  )

◆ stop_decoder()

void o3dgc::Arithmetic_Codec::stop_decoder ( void  )

◆ stop_encoder()

unsigned o3dgc::Arithmetic_Codec::stop_encoder ( void  )

◆ write_to_file()

unsigned o3dgc::Arithmetic_Codec::write_to_file ( FILE *  code_file)

The documentation for this class was generated from the following files: