Dirac - A Video Codec

Created by the British Broadcasting Corporation.


BandCodec Class Reference

A general class for coding and decoding wavelet subband data. More...

#include <band_codec.h>

Inheritance diagram for BandCodec:

ArithCodec< PicArray > IntraDCBandCodec LFBandCodec List of all members.

Public Member Functions

Protected Member Functions

Protected Attributes

Private Member Functions


Detailed Description

A general class for coding and decoding wavelet subband data, deriving from the abstract ArithCodec class.


Constructor & Destructor Documentation

BandCodec::BandCodec BasicOutputManager bits_out,
size_t  number_of_contexts,
const SubbandList band_list,
int  band_num
 

Creates a BandCodec object to encode subband data /param bits_out the output for the encoded bits /param ctxs the contexts used in the encoding process /param band_list the set of all the subbands /param band_num the number of the subband being coded

BandCodec::BandCodec BitInputManager bits_in,
size_t  number_of_contexts,
const SubbandList band_list,
int  band_num
 

Creates a BandCodec object to decode subband data. /param bits_in the input for the encoded bits /param ctxs the contexts used in the decoding process /param band_list the set of all the subbands /param band_num the number of the subband being decoded

BandCodec::BandCodec const BandCodec cpy  )  [private]
 


Member Function Documentation

int BandCodec::ChooseContext const PicArray data  )  const [private, virtual]
 

Implements ArithCodec< PicArray >.

int BandCodec::ChooseContext const PicArray data,
const int  bin_number
const [private, virtual]
 

Implements ArithCodec< PicArray >.

int BandCodec::ChooseSignContext const PicArray data  )  const [private]
 

void BandCodec::CodeVal PicArray in_data,
const ValueType  val
[protected]
 

void BandCodec::DecodeVal PicArray out_data  )  [protected]
 

virtual void BandCodec::DoWorkCode PicArray in_data  )  [private, virtual]
 

Implements ArithCodec< PicArray >.

Reimplemented in LFBandCodec, and IntraDCBandCodec.

virtual void BandCodec::DoWorkDecode PicArray in_data,
int  num_bits
[private, virtual]
 

Implements ArithCodec< PicArray >.

Reimplemented in LFBandCodec, and IntraDCBandCodec.

void BandCodec::InitContexts  )  [virtual]
 

Implements ArithCodec< PicArray >.

BandCodec& BandCodec::operator= const BandCodec rhs  )  [private]
 

void BandCodec::ResetAll  )  [private, virtual]
 

Implements ArithCodec< PicArray >.

void BandCodec::Resize const int  context_num  )  [private, virtual]
 

Implements ArithCodec< PicArray >.

void BandCodec::Update const bool  symbol,
const int  context_num
[private, virtual]
 

Implements ArithCodec< PicArray >.


Member Data Documentation

int BandCodec::m_bnum [protected]
 

int BandCodec::m_coeff_count [protected]
 

ValueType BandCodec::m_cut_off_point [protected]
 

ValueType BandCodec::m_nhood_sum [protected]
 

const Subband BandCodec::m_node [protected]
 

ValueType BandCodec::m_offset [protected]
 

bool BandCodec::m_parent_notzero [protected]
 

Subband BandCodec::m_pnode [protected]
 

int BandCodec::m_pxl [protected]
 

int BandCodec::m_pxp [protected]
 

int BandCodec::m_pxpos [protected]
 

int BandCodec::m_pyl [protected]
 

int BandCodec::m_pyp [protected]
 

int BandCodec::m_pypos [protected]
 

int BandCodec::m_qf [protected]
 

int BandCodec::m_qfinv [protected]
 

int BandCodec::m_reset_coeff_num [protected]
 

int BandCodec::m_vol [protected]
 

int BandCodec::m_xl [protected]
 

int BandCodec::m_xp [protected]
 

int BandCodec::m_xpos [protected]
 

int BandCodec::m_yl [protected]
 

int BandCodec::m_yp [protected]
 

int BandCodec::m_ypos [protected]
 


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.