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

Adaptive data model. More...

#include <arithmetic_codec.hpp>

Collaboration diagram for Adaptive_Data_Model:
Collaboration graph

Public Member Functions

 Adaptive_Data_Model (void)
 
 Adaptive_Data_Model (unsigned number_of_symbols)
 
 ~Adaptive_Data_Model (void)
 
unsigned model_symbols (void)
 
void reset (void)
 
void set_alphabet (unsigned number_of_symbols)
 

Private Member Functions

void update (bool)
 

Private Attributes

unsigned * distribution
 
unsigned * symbol_count
 
unsigned * decoder_table
 
unsigned total_count
 
unsigned update_cycle
 
unsigned symbols_until_update
 
unsigned data_symbols
 
unsigned last_symbol
 
unsigned table_size
 
unsigned table_shift
 

Friends

class Arithmetic_Codec
 

Detailed Description

Adaptive data model.

Definition at line 119 of file arithmetic_codec.hpp.

Constructor & Destructor Documentation

◆ Adaptive_Data_Model() [1/2]

Adaptive_Data_Model::Adaptive_Data_Model ( void  )
inline

Definition at line 914 of file arithmetic_codec.inl.

◆ Adaptive_Data_Model() [2/2]

Adaptive_Data_Model::Adaptive_Data_Model ( unsigned  number_of_symbols)
inline

Definition at line 921 of file arithmetic_codec.inl.

Here is the call graph for this function:

◆ ~Adaptive_Data_Model()

Adaptive_Data_Model::~Adaptive_Data_Model ( void  )
inline

Definition at line 929 of file arithmetic_codec.inl.

Member Function Documentation

◆ model_symbols()

unsigned Adaptive_Data_Model::model_symbols ( void  )
inline

Definition at line 126 of file arithmetic_codec.hpp.

◆ reset()

void Adaptive_Data_Model::reset ( void  )
inline

Definition at line 1020 of file arithmetic_codec.inl.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_alphabet()

void Adaptive_Data_Model::set_alphabet ( unsigned  number_of_symbols)
inline

Definition at line 935 of file arithmetic_codec.inl.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ update()

void Adaptive_Data_Model::update ( bool  from_encoder)
inlineprivate

Definition at line 974 of file arithmetic_codec.inl.

Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Function Documentation

◆ Arithmetic_Codec

friend class Arithmetic_Codec
friend

Definition at line 136 of file arithmetic_codec.hpp.

Member Data Documentation

◆ data_symbols

unsigned Adaptive_Data_Model::data_symbols
private

Definition at line 135 of file arithmetic_codec.hpp.

◆ decoder_table

unsigned * Adaptive_Data_Model::decoder_table
private

Definition at line 133 of file arithmetic_codec.hpp.

◆ distribution

unsigned* Adaptive_Data_Model::distribution
private

Definition at line 133 of file arithmetic_codec.hpp.

◆ last_symbol

unsigned Adaptive_Data_Model::last_symbol
private

Definition at line 135 of file arithmetic_codec.hpp.

◆ symbol_count

unsigned * Adaptive_Data_Model::symbol_count
private

Definition at line 133 of file arithmetic_codec.hpp.

◆ symbols_until_update

unsigned Adaptive_Data_Model::symbols_until_update
private

Definition at line 134 of file arithmetic_codec.hpp.

◆ table_shift

unsigned Adaptive_Data_Model::table_shift
private

Definition at line 135 of file arithmetic_codec.hpp.

◆ table_size

unsigned Adaptive_Data_Model::table_size
private

Definition at line 135 of file arithmetic_codec.hpp.

◆ total_count

unsigned Adaptive_Data_Model::total_count
private

Definition at line 134 of file arithmetic_codec.hpp.

◆ update_cycle

unsigned Adaptive_Data_Model::update_cycle
private

Definition at line 134 of file arithmetic_codec.hpp.


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