Created by the British Broadcasting Corporation.
#include <band_vlc.h>
Public Member Functions | |
| ArithCodecToVLCAdapter (SubbandByteIO *subband_byteio, size_t number_of_contexts) | |
| virtual | ~ArithCodecToVLCAdapter () |
| int | Compress (CoeffArray &in_data) |
| void | Decompress (CoeffArray &out_data, int num_bytes) |
| void | EncodeSymbol (bool val, int) |
| bool | DecodeSymbol (int) |
| virtual void | DoWorkCode (CoeffArray &in_data)=0 |
| virtual void | DoWorkDecode (CoeffArray &out_data)=0 |
Protected Attributes | |
| ByteIO * | m_byteio |
Private Member Functions | |
| ArithCodecToVLCAdapter (const ArithCodecToVLCAdapter &cpy) | |
| Private, bodyless copy constructor: class should not be copied. More... | |
| ArithCodecToVLCAdapter & | operator= (const ArithCodecToVLCAdapter &rhs) |
| Private, bodyless copy operator=: class should not be assigned. More... | |
Abstract VLC entropy codec base class
| dirac::ArithCodecToVLCAdapter::ArithCodecToVLCAdapter | ( | SubbandByteIO * | subband_byteio, |
| size_t | number_of_contexts | ||
| ) |
Constructor
|
inlinevirtual |
Virtual Destructor
|
private |
| int dirac::ArithCodecToVLCAdapter::Compress | ( | CoeffArray & | in_data | ) |
|
inline |
References m_byteio, and dirac::ByteIO::ReadBoolB().
| void dirac::ArithCodecToVLCAdapter::Decompress | ( | CoeffArray & | out_data, |
| int | num_bytes | ||
| ) |
|
pure virtual |
Purely virtual function that does the actual encoding. Derived classes must define it
Implemented in dirac::GenericBandCodec< ArithCodecToVLCAdapter >.
|
pure virtual |
Purely virtual function that does the actual decoding. Derived classes must define it
Implemented in dirac::GenericBandCodec< ArithCodecToVLCAdapter >.
|
inline |
References m_byteio, and dirac::ByteIO::WriteBit().
|
private |
|
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.