#include <arith_codec.h>
List of all members.
Public Member Functions |
| Context () |
| Default Constructor.
|
unsigned int | GetScaledProb0 () const |
| Returns estimate of probability of 0 (false) scaled to 2**16.
|
void | Update (bool symbol) |
| Updates context counts.
|
Static Private Attributes |
static const unsigned int | lut [256] |
Constructor & Destructor Documentation
dirac::Context::Context |
( |
| ) |
|
|
inline |
Default constructor initialises counts to 1 each of 0 and 1.
Member Function Documentation
unsigned int dirac::Context::GetScaledProb0 |
( |
| ) |
const |
|
inline |
void dirac::Context::Update |
( |
bool |
symbol | ) |
|
|
inline |
Member Data Documentation
const unsigned int dirac::Context::lut[256] |
|
staticprivate |
int dirac::Context::m_prob0 |
|
private |
The documentation for this class was generated from the following file: