Binary and m-ary arithmetic coders. More...
Classes | |
class | SPL::MultiArithEncoder |
M-ary arithmetic encoder class. More... | |
class | SPL::MultiArithDecoder |
M-ary arithmetic decoder class. More... | |
struct | SPL::BinArithCoderContextStat |
Binary Arithmetic Coder Context Statistics Class. More... | |
class | SPL::BinArithEncoder |
Binary arithmetic encoder class. More... | |
class | SPL::BinArithDecoder |
Binary arithmetic decoder class. More... | |
Functions | |
static std::ostream & | SPL::MultiArithEncoder::getDebugStream () |
Get the stream for debugging output. More... | |
OutputBitStream * | SPL::MultiArithEncoder::getOutput () |
Get the bit stream used for output. More... | |
void | SPL::MultiArithEncoder::setOutput (OutputBitStream *out) |
Set the bit stream used for output. More... | |
SPL_ArithCoder_ulong | SPL::MultiArithEncoder::getSymCount () const |
Get the number of symbols encoded so far. More... | |
SPL_ArithCoder_ulong | SPL::MultiArithEncoder::getBitCount () const |
Get the number of bits of output generated so far including bits awaiting output. More... | |
static void | SPL::MultiArithEncoder::setDebugLevel (int debugLevel) |
Set the debug level. More... | |
static void | SPL::MultiArithEncoder::setDebugStream (std::ostream &out) |
Set the stream for debugging output. More... | |
int | SPL::MultiArithEncoder::getMaxContexts () const |
Get the maximum number of contexts. More... | |
static std::ostream & | SPL::MultiArithDecoder::getDebugStream () |
Get the stream used for debugging output. More... | |
InputBitStream * | SPL::MultiArithDecoder::getInput () const |
Get the bit stream from which to read encoded data. More... | |
void | SPL::MultiArithDecoder::setInput (InputBitStream *in) |
Set the bit stream from which to read encoded data. More... | |
SPL_ArithCoder_ulong | SPL::MultiArithDecoder::getBitCount () const |
Get the number of bits read so far. More... | |
SPL_ArithCoder_ulong | SPL::MultiArithDecoder::getSymCount () const |
Get the number of symbols decoded so far. More... | |
static void | SPL::MultiArithDecoder::setDebugLevel (int debugLevel) |
Set the debug level. More... | |
static void | SPL::MultiArithDecoder::setDebugStream (std::ostream &out) |
Set the stream to use for debugging output. More... | |
int | SPL::MultiArithDecoder::getMaxContexts () const |
Get the maximum number of contexts. More... | |
SPL_ArithCoder_ulong | SPL::BinArithEncoder::getSymCount () const |
Get the number of symbols output so far. More... | |
SPL_ArithCoder_ulong | SPL::BinArithEncoder::getBitCount () const |
Get the number of bits output so far. More... | |
OutputBitStream * | SPL::BinArithEncoder::getOutput () const |
Get the bit stream to which encoded data should be written. More... | |
int | SPL::BinArithEncoder::getNumContexts () const |
Get the number of contexts. More... | |
static void | SPL::BinArithEncoder::setDebugStream (std::ostream &out) |
Set the stream to use for debugging output. More... | |
static std::ostream & | SPL::BinArithEncoder::getDebugStream () |
Get the stream used for debugging output. More... | |
static void | SPL::BinArithEncoder::setDebugLevel (int debugLevel) |
Set the debug level. More... | |
void | SPL::BinArithEncoder::setOutput (OutputBitStream *out) |
Set the bit stream to which encoded data should be written. More... | |
SPL_ArithCoder_ulong | SPL::BinArithDecoder::getSymCount () const |
Get the number of symbols decoded so far. More... | |
SPL_ArithCoder_ulong | SPL::BinArithDecoder::getBitCount () const |
Get the number of bits read so far. More... | |
InputBitStream * | SPL::BinArithDecoder::getInput () const |
Get the bit stream from which to read encoded data. More... | |
int | SPL::BinArithDecoder::getNumContexts () const |
Get the number of contexts. More... | |
static void | SPL::BinArithDecoder::setDebugStream (std::ostream &out) |
Set the stream to be used for debugging output. More... | |
static std::ostream & | SPL::BinArithDecoder::getDebugStream () |
Get the stream used for debugging output. More... | |
static void | SPL::BinArithDecoder::setDebugLevel (int debugLevel) |
Set the debug level. More... | |
void | SPL::BinArithDecoder::setInput (InputBitStream *in) |
Set the bit stream from which to read encoded data. More... | |
Binary and m-ary arithmetic coders.
|
inline |
Get the number of bits of output generated so far including bits awaiting output.
|
inline |
Get the number of bits read so far.
|
inline |
Get the number of bits output so far.
This function gets the number of bits output so far by the arithmetic encoder.
|
inline |
Get the number of bits read so far.
This function gets the number of bits read so far by the arithmetic decoder.
|
inlinestatic |
Get the stream for debugging output.
|
inlinestatic |
Get the stream used for debugging output.
|
inlinestatic |
Get the stream used for debugging output.
|
inlinestatic |
Get the stream used for debugging output.
|
inline |
Get the bit stream from which to read encoded data.
|
inline |
Get the bit stream from which to read encoded data.
This function gets the bit stream from which to read encoded data.
|
inline |
Get the maximum number of contexts.
|
inline |
Get the maximum number of contexts.
|
inline |
Get the number of contexts.
This function gets the number of contexts employed by the arithmetic encoder.
|
inline |
Get the number of contexts.
This function gets the number of contexts employed by the arithmetic decoder.
|
inline |
Get the bit stream used for output.
|
inline |
Get the bit stream to which encoded data should be written.
This function gets the bit stream to which encoded data should be written.
|
inline |
Get the number of symbols encoded so far.
|
inline |
Get the number of symbols decoded so far.
|
inline |
Get the number of symbols output so far.
This function gets the number of symbols output so far by the arithmetic encoder.
|
inline |
Get the number of symbols decoded so far.
This function gets the number of symbols decoded so far by the arithmetic decoder.
|
inlinestatic |
Set the debug level.
|
inlinestatic |
Set the debug level.
|
inlinestatic |
Set the debug level.
|
inlinestatic |
Set the debug level.
|
inlinestatic |
Set the stream for debugging output.
|
inlinestatic |
Set the stream to use for debugging output.
|
inlinestatic |
Set the stream to use for debugging output.
|
inlinestatic |
Set the stream to be used for debugging output.
|
inline |
Set the bit stream from which to read encoded data.
|
inline |
Set the bit stream from which to read encoded data.
in | The input bit stream. |
This function sets the bit stream from which to read encoded data to in
.
|
inline |
Set the bit stream used for output.
|
inline |
Set the bit stream to which encoded data should be written.
out | The output bit stream. |
This function sets the bit stream to which encoded data should be written.