Dirac - A Video Codec

Created by the British Broadcasting Corporation.


Public Member Functions | Protected Attributes | Private Member Functions | List of all members
dirac::ArithCodecToVLCAdapter Class Referenceabstract

#include <band_vlc.h>

Inheritance diagram for dirac::ArithCodecToVLCAdapter:
Inheritance graph
[legend]
Collaboration diagram for dirac::ArithCodecToVLCAdapter:
Collaboration graph
[legend]

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

ByteIOm_byteio
 

Private Member Functions

 ArithCodecToVLCAdapter (const ArithCodecToVLCAdapter &cpy)
 Private, bodyless copy constructor: class should not be copied. More...
 
ArithCodecToVLCAdapteroperator= (const ArithCodecToVLCAdapter &rhs)
 Private, bodyless copy operator=: class should not be assigned. More...
 

Detailed Description

Abstract VLC entropy codec base class

Constructor & Destructor Documentation

◆ ArithCodecToVLCAdapter() [1/2]

dirac::ArithCodecToVLCAdapter::ArithCodecToVLCAdapter ( SubbandByteIO subband_byteio,
size_t  number_of_contexts 
)

Constructor

◆ ~ArithCodecToVLCAdapter()

virtual dirac::ArithCodecToVLCAdapter::~ArithCodecToVLCAdapter ( )
inlinevirtual

Virtual Destructor

◆ ArithCodecToVLCAdapter() [2/2]

dirac::ArithCodecToVLCAdapter::ArithCodecToVLCAdapter ( const ArithCodecToVLCAdapter cpy)
private

Member Function Documentation

◆ Compress()

int dirac::ArithCodecToVLCAdapter::Compress ( CoeffArray in_data)

◆ DecodeSymbol()

bool dirac::ArithCodecToVLCAdapter::DecodeSymbol ( int  )
inline

◆ Decompress()

void dirac::ArithCodecToVLCAdapter::Decompress ( CoeffArray out_data,
int  num_bytes 
)

◆ DoWorkCode()

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 >.

◆ DoWorkDecode()

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 >.

◆ EncodeSymbol()

void dirac::ArithCodecToVLCAdapter::EncodeSymbol ( bool  val,
int   
)
inline

◆ operator=()

ArithCodecToVLCAdapter & dirac::ArithCodecToVLCAdapter::operator= ( const ArithCodecToVLCAdapter rhs)
private

Member Data Documentation

◆ m_byteio

ByteIO* dirac::ArithCodecToVLCAdapter::m_byteio
protected

Input/output stream for Dirac-format bytes

Referenced by DecodeSymbol(), and EncodeSymbol().


The documentation for this class was generated from the following file:

© 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.