#include <Wav_entropy.h>
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] |
| Real EntropyCoder::entropy |
( |
Real |
p | ) |
[inline] |
| virtual int EntropyCoder::read |
( |
Decoder * |
decoder, |
|
|
char |
update, |
|
|
int |
context1 = -1, |
|
|
int |
context2 = -1 |
|
) |
| [pure virtual] |
| virtual void EntropyCoder::reset |
( |
| ) |
[pure virtual] |
| 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] |
Member Data Documentation
The documentation for this class was generated from the following files: