Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
ArithmeticModel Class Reference

#include <arithmeticmodel.hpp>

Public Member Functions

 ArithmeticModel (U32 symbols, BOOL compress)
 
I32 init (U32 *table=0)
 
 ~ArithmeticModel ()
 

Private Member Functions

void update ()
 

Private Attributes

BOOL compress
 
U32decoder_table
 
U32distribution
 
U32 last_symbol
 
U32symbol_count
 
U32 symbols
 
U32 symbols_until_update
 
U32 table_shift
 
U32 table_size
 
U32 total_count
 
U32 update_cycle
 

Friends

class ArithmeticDecoder
 
class ArithmeticEncoder
 

Detailed Description

Definition at line 57 of file arithmeticmodel.hpp.

Constructor & Destructor Documentation

◆ ArithmeticModel()

ArithmeticModel::ArithmeticModel ( U32  symbols,
BOOL  compress 
)

Definition at line 75 of file arithmeticmodel.cpp.

◆ ~ArithmeticModel()

ArithmeticModel::~ArithmeticModel ( )

Definition at line 82 of file arithmeticmodel.cpp.

Member Function Documentation

◆ init()

I32 ArithmeticModel::init ( U32 table = 0)

Definition at line 87 of file arithmeticmodel.cpp.

◆ update()

void ArithmeticModel::update ( )
private

Definition at line 131 of file arithmeticmodel.cpp.

Friends And Related Function Documentation

◆ ArithmeticDecoder

friend class ArithmeticDecoder
friend

Definition at line 72 of file arithmeticmodel.hpp.

◆ ArithmeticEncoder

friend class ArithmeticEncoder
friend

Definition at line 71 of file arithmeticmodel.hpp.

Member Data Documentation

◆ compress

BOOL ArithmeticModel::compress
private

Definition at line 70 of file arithmeticmodel.hpp.

◆ decoder_table

U32 * ArithmeticModel::decoder_table
private

Definition at line 67 of file arithmeticmodel.hpp.

◆ distribution

U32* ArithmeticModel::distribution
private

Definition at line 67 of file arithmeticmodel.hpp.

◆ last_symbol

U32 ArithmeticModel::last_symbol
private

Definition at line 69 of file arithmeticmodel.hpp.

◆ symbol_count

U32 * ArithmeticModel::symbol_count
private

Definition at line 67 of file arithmeticmodel.hpp.

◆ symbols

U32 ArithmeticModel::symbols
private

Definition at line 69 of file arithmeticmodel.hpp.

◆ symbols_until_update

U32 ArithmeticModel::symbols_until_update
private

Definition at line 68 of file arithmeticmodel.hpp.

◆ table_shift

U32 ArithmeticModel::table_shift
private

Definition at line 69 of file arithmeticmodel.hpp.

◆ table_size

U32 ArithmeticModel::table_size
private

Definition at line 69 of file arithmeticmodel.hpp.

◆ total_count

U32 ArithmeticModel::total_count
private

Definition at line 68 of file arithmeticmodel.hpp.

◆ update_cycle

U32 ArithmeticModel::update_cycle
private

Definition at line 68 of file arithmeticmodel.hpp.


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


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:26