MEPP2 Project
Public Member Functions | Private Attributes | Friends | List of all members
Static_Data_Model Class Reference

#include <arithmetic_codec.hpp>

Collaboration diagram for Static_Data_Model:
Collaboration graph

Public Member Functions

 Static_Data_Model (void)
 
 ~Static_Data_Model (void)
 
unsigned model_symbols (void)
 
void set_distribution (unsigned number_of_symbols, const double probability[]=0)
 

Private Attributes

unsigned * distribution
 
unsigned * decoder_table
 
unsigned data_symbols
 
unsigned last_symbol
 
unsigned table_size
 
unsigned table_shift
 

Friends

class Arithmetic_Codec
 

Detailed Description

Definition at line 70 of file arithmetic_codec.hpp.

Constructor & Destructor Documentation

◆ Static_Data_Model()

Static_Data_Model::Static_Data_Model ( void  )
inline

Definition at line 836 of file arithmetic_codec.inl.

◆ ~Static_Data_Model()

Static_Data_Model::~Static_Data_Model ( void  )
inline

Definition at line 843 of file arithmetic_codec.inl.

Member Function Documentation

◆ model_symbols()

unsigned Static_Data_Model::model_symbols ( void  )
inline

Definition at line 76 of file arithmetic_codec.hpp.

◆ set_distribution()

void Static_Data_Model::set_distribution ( unsigned  number_of_symbols,
const double  probability[] = 0 
)
inline

Definition at line 849 of file arithmetic_codec.inl.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ Arithmetic_Codec

friend class Arithmetic_Codec
friend

Definition at line 84 of file arithmetic_codec.hpp.

Member Data Documentation

◆ data_symbols

unsigned Static_Data_Model::data_symbols
private

Definition at line 83 of file arithmetic_codec.hpp.

◆ decoder_table

unsigned * Static_Data_Model::decoder_table
private

Definition at line 82 of file arithmetic_codec.hpp.

◆ distribution

unsigned* Static_Data_Model::distribution
private

Definition at line 82 of file arithmetic_codec.hpp.

◆ last_symbol

unsigned Static_Data_Model::last_symbol
private

Definition at line 83 of file arithmetic_codec.hpp.

◆ table_shift

unsigned Static_Data_Model::table_shift
private

Definition at line 83 of file arithmetic_codec.hpp.

◆ table_size

unsigned Static_Data_Model::table_size
private

Definition at line 83 of file arithmetic_codec.hpp.


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