#include <Wav_entropy.h>
List of all members.
Public Member Functions |
| | EscapeCoder (int histoCapacity) |
| | EscapeCoder (int histoCapacity, int nSym) |
| | ~EscapeCoder () |
| Real | write (Encoder *encoder, int symbol, char update, int context1=-1, int context2=-1) |
| int | read (Decoder *decoder, char update, int context1=-1, int context2=-1) |
| Real | cost (int symbol, char update, int context1=-1, int context2=-1) |
| void | reset () |
| void | setNSym (int newNSym) |
Public Attributes |
| iHistogram * | freq |
| iHistogram * | uniform |
| char * | seen |
Constructor & Destructor Documentation
| EscapeCoder::EscapeCoder |
( |
int |
histoCapacity | ) |
|
| EscapeCoder::EscapeCoder |
( |
int |
histoCapacity, |
|
|
int |
nSym |
|
) |
| |
| EscapeCoder::~EscapeCoder |
( |
| ) |
|
Member Function Documentation
| Real EscapeCoder::cost |
( |
int |
symbol, |
|
|
char |
update, |
|
|
int |
context1 = -1, |
|
|
int |
context2 = -1 |
|
) |
| [virtual] |
| int EscapeCoder::read |
( |
Decoder * |
decoder, |
|
|
char |
update, |
|
|
int |
context1 = -1, |
|
|
int |
context2 = -1 |
|
) |
| [virtual] |
| void EscapeCoder::reset |
( |
| ) |
[virtual] |
| void EscapeCoder::setNSym |
( |
int |
newNSym | ) |
[virtual] |
| Real EscapeCoder::write |
( |
Encoder * |
encoder, |
|
|
int |
symbol, |
|
|
char |
update, |
|
|
int |
context1 = -1, |
|
|
int |
context2 = -1 |
|
) |
| [virtual] |
Member Data Documentation
The documentation for this class was generated from the following files: