unrarsrc  6.1.7
About: unrar extracts, views and tests the contents of archives created with the RAR archiver.
  Fossies Dox: unrarsrc-6.1.7.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

RARPPM_SEE2_CONTEXT Struct Reference

#include <model.hpp>

Inheritance diagram for RARPPM_SEE2_CONTEXT:
[legend]
Collaboration diagram for RARPPM_SEE2_CONTEXT:
[legend]

Public Member Functions

void init (int InitVal)
 
uint getMean ()
 
void update ()
 

Public Attributes

ushort Summ
 
byte Shift
 
byte Count
 

Additional Inherited Members

- Static Public Attributes inherited from RARPPM_DEF
static const int INT_BITS =7
 
static const int PERIOD_BITS =7
 
static const int TOT_BITS =INT_BITS+PERIOD_BITS
 
static const int INTERVAL =1 << INT_BITS
 
static const int BIN_SCALE =1 << TOT_BITS
 
static const int MAX_FREQ =124
 

Detailed Description

Definition at line 17 of file model.hpp.

Member Function Documentation

◆ getMean()

uint RARPPM_SEE2_CONTEXT::getMean ( )
inline

Definition at line 26 of file model.hpp.

References GET_SHORT16, Shift, and Summ.

Referenced by RARPPM_CONTEXT::makeEscFreq2().

◆ init()

void RARPPM_SEE2_CONTEXT::init ( int  InitVal)
inline

Definition at line 21 of file model.hpp.

References Count, RARPPM_DEF::PERIOD_BITS, Shift, and Summ.

◆ update()

void RARPPM_SEE2_CONTEXT::update ( )
inline

Definition at line 32 of file model.hpp.

References Count, RARPPM_DEF::PERIOD_BITS, Shift, and Summ.

Referenced by RARPPM_CONTEXT::decodeSymbol2().

Member Data Documentation

◆ Count

byte RARPPM_SEE2_CONTEXT::Count

Definition at line 20 of file model.hpp.

Referenced by init(), and update().

◆ Shift

byte RARPPM_SEE2_CONTEXT::Shift

Definition at line 20 of file model.hpp.

Referenced by getMean(), init(), ModelPPM::StartModelRare(), and update().

◆ Summ

ushort RARPPM_SEE2_CONTEXT::Summ

Definition at line 19 of file model.hpp.

Referenced by RARPPM_CONTEXT::decodeSymbol2(), getMean(), init(), and update().


The documentation for this struct was generated from the following file: