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_CONTEXT Struct Reference

#include <model.hpp>

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

Classes

struct  FreqData
 

Public Member Functions

void encodeBinSymbol (ModelPPM *Model, int symbol)
 
void encodeSymbol1 (ModelPPM *Model, int symbol)
 
void encodeSymbol2 (ModelPPM *Model, int symbol)
 
void decodeBinSymbol (ModelPPM *Model)
 
bool decodeSymbol1 (ModelPPM *Model)
 
bool decodeSymbol2 (ModelPPM *Model)
 
void update1 (ModelPPM *Model, RARPPM_STATE *p)
 
void update2 (ModelPPM *Model, RARPPM_STATE *p)
 
void rescale (ModelPPM *Model)
 
RARPPM_CONTEXTcreateChild (ModelPPM *Model, RARPPM_STATE *pStats, RARPPM_STATE &FirstState)
 
RARPPM_SEE2_CONTEXTmakeEscFreq2 (ModelPPM *Model, int Diff)
 

Public Attributes

ushort NumStats
 
union {
   FreqData   U
 
   RARPPM_STATE   OneState
 
}; 
 
RARPPM_CONTEXTSuffix
 

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 54 of file model.hpp.

Member Function Documentation

◆ createChild()

RARPPM_CONTEXT * RARPPM_CONTEXT::createChild ( ModelPPM Model,
RARPPM_STATE pStats,
RARPPM_STATE FirstState 
)
inline

◆ decodeBinSymbol()

◆ decodeSymbol1()

◆ decodeSymbol2()

◆ encodeBinSymbol()

void RARPPM_CONTEXT::encodeBinSymbol ( ModelPPM Model,
int  symbol 
)
inline

◆ encodeSymbol1()

void RARPPM_CONTEXT::encodeSymbol1 ( ModelPPM Model,
int  symbol 
)
inline

◆ encodeSymbol2()

void RARPPM_CONTEXT::encodeSymbol2 ( ModelPPM Model,
int  symbol 
)
inline

◆ makeEscFreq2()

◆ rescale()

◆ update1()

void RARPPM_CONTEXT::update1 ( ModelPPM Model,
RARPPM_STATE p 
)
inline

◆ update2()

void RARPPM_CONTEXT::update2 ( ModelPPM Model,
RARPPM_STATE p 
)
inline

Member Data Documentation

◆ 

union { ... } RARPPM_CONTEXT::@10

◆ NumStats

◆ OneState

RARPPM_STATE RARPPM_CONTEXT::OneState

◆ Suffix

◆ U


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