Video Processing Framework
EntropyCoder Class Reference

#include <Wav_entropy.h>

Inheritance diagram for EntropyCoder:
MonoLayerCoder MultiLayerCoder EscapeCoder LayerCoder

List of all members.

Public Member Functions

 EntropyCoder (int histoCapacity)
virtual ~EntropyCoder ()
virtual Real write (Encoder *encoder, int symbol, char update, int context1=-1, int context2=-1)=0
virtual int read (Decoder *decoder, char update, int context1=-1, int context2=-1)=0
virtual Real cost (int symbol, char update, int context1=-1, int context2=-1)=0
Real updateCost (int symbol, int context1=-1, int context2=-1)
void update (int symbol, int context1=-1, int context2=-1)
virtual void reset ()=0
Real entropy (Real p)

Public Attributes

int histoCapacity

Constructor & Destructor Documentation

EntropyCoder::EntropyCoder ( int  histoCapacity)
virtual EntropyCoder::~EntropyCoder ( ) [inline, virtual]

Member Function Documentation

virtual Real EntropyCoder::cost ( int  symbol,
char  update,
int  context1 = -1,
int  context2 = -1 
) [pure virtual]

Implemented in EscapeCoder, and LayerCoder.

Real EntropyCoder::entropy ( Real  p) [inline]
virtual int EntropyCoder::read ( Decoder decoder,
char  update,
int  context1 = -1,
int  context2 = -1 
) [pure virtual]

Implemented in EscapeCoder, and LayerCoder.

virtual void EntropyCoder::reset ( ) [pure virtual]

Implemented in EscapeCoder, and LayerCoder.

void EntropyCoder::update ( int  symbol,
int  context1 = -1,
int  context2 = -1 
) [inline]
Real EntropyCoder::updateCost ( int  symbol,
int  context1 = -1,
int  context2 = -1 
) [inline]
virtual Real EntropyCoder::write ( Encoder encoder,
int  symbol,
char  update,
int  context1 = -1,
int  context2 = -1 
) [pure virtual]

Implemented in EscapeCoder, and LayerCoder.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines