Created by the British Broadcasting Corporation.
#include <arith_codec.h>
dirac::Context::Context | ( | ) | [inline] |
Default constructor initialises counts to 1 each of 0 and 1.
unsigned int dirac::Context::GetScaledProb0 | ( | ) | const [inline] |
References m_prob0.
Referenced by dirac::ArithCodecBase::DecodeSymbol(), and dirac::ArithCodecBase::EncodeSymbol().
void dirac::Context::Update | ( | bool | symbol | ) | [inline] |
Referenced by dirac::ArithCodecBase::DecodeSymbol(), and dirac::ArithCodecBase::EncodeSymbol().
const unsigned int dirac::Context::lut[256] [static, private] |
Referenced by Update().
int dirac::Context::m_prob0 [private] |
Referenced by GetScaledProb0(), and Update().
© 2004 British Broadcasting Corporation.
Dirac code licensed under the Mozilla Public License (MPL) Version 1.1.
HTML documentation generated by Dimitri van Heesch's
excellent Doxygen tool.