Created by the British Broadcasting Corporation.
#include <band_vlc.h>
Abstract VLC entropy codec base class
dirac::ArithCodecToVLCAdapter::ArithCodecToVLCAdapter | ( | SubbandByteIO * | subband_byteio, |
size_t | number_of_contexts | ||
) |
Constructor
virtual dirac::ArithCodecToVLCAdapter::~ArithCodecToVLCAdapter | ( | ) | [inline, virtual] |
Virtual Destructor
dirac::ArithCodecToVLCAdapter::ArithCodecToVLCAdapter | ( | const ArithCodecToVLCAdapter & | cpy | ) | [private] |
int dirac::ArithCodecToVLCAdapter::Compress | ( | CoeffArray & | in_data | ) |
bool dirac::ArithCodecToVLCAdapter::DecodeSymbol | ( | int | ) | [inline] |
References m_byteio, and dirac::ByteIO::ReadBoolB().
void dirac::ArithCodecToVLCAdapter::Decompress | ( | CoeffArray & | out_data, |
int | num_bytes | ||
) |
virtual void dirac::ArithCodecToVLCAdapter::DoWorkCode | ( | CoeffArray & | in_data | ) | [pure virtual] |
Purely virtual function that does the actual encoding. Derived classes must define it
Implemented in dirac::GenericBandCodec< ArithCodecToVLCAdapter >.
virtual void dirac::ArithCodecToVLCAdapter::DoWorkDecode | ( | CoeffArray & | out_data | ) | [pure virtual] |
Purely virtual function that does the actual decoding. Derived classes must define it
Implemented in dirac::GenericBandCodec< ArithCodecToVLCAdapter >.
void dirac::ArithCodecToVLCAdapter::EncodeSymbol | ( | bool | val, |
int | |||
) | [inline] |
References m_byteio, and dirac::ByteIO::WriteBit().
ArithCodecToVLCAdapter& dirac::ArithCodecToVLCAdapter::operator= | ( | const ArithCodecToVLCAdapter & | rhs | ) | [private] |
ByteIO* dirac::ArithCodecToVLCAdapter::m_byteio [protected] |
Input/output stream for Dirac-format bytes
Referenced by DecodeSymbol(), and EncodeSymbol().
© 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.