Dirac - A Video Codec

Created by the British Broadcasting Corporation.


Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
dirac::GenericBandCodec Class Reference

A template class for coding and decoding wavelet subband data.

#include <band_codec.h>

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

List of all members.

Public Member Functions

Protected Member Functions

Protected Attributes

Private Member Functions


Constructor & Destructor Documentation

dirac::GenericBandCodec::GenericBandCodec ( SubbandByteIO subband_byteio,
size_t  number_of_contexts,
const SubbandList band_list,
int  band_num,
const bool  is_intra 
)

Creates a BandCodec object to encode subband data

Parameters:
subband_byteioinput/output for the encoded bits
number_of_contextsthe number of contexts used in the encoding process
band_listthe set of all the subbands
band_numthe number of the subband being coded
is_intraFlag indicating whether the band comes from an intra picture
dirac::GenericBandCodec::GenericBandCodec ( const GenericBandCodec cpy) [private]

Member Function Documentation

int dirac::GenericBandCodec::ChooseFollowContext ( const int  bin_number) const [inline, protected]
int dirac::GenericBandCodec::ChooseInfoContext ( ) const [inline, protected]
int dirac::GenericBandCodec::ChooseSignContext ( const CoeffArray data,
const int  xpos,
const int  ypos 
) const [inline, protected]
virtual void dirac::GenericBandCodec::ClearBlock ( const CodeBlock code_block,
CoeffArray coeff_data 
) [protected, virtual]

Reimplemented in dirac::GenericIntraDCBandCodec.

virtual void dirac::GenericBandCodec::CodeCoeff ( CoeffArray in_data,
const int  xpos,
const int  ypos 
) [protected, virtual]
virtual void dirac::GenericBandCodec::CodeCoeffBlock ( const CodeBlock code_block,
CoeffArray in_data 
) [protected, virtual]
void dirac::GenericBandCodec::CodeQuantIndexOffset ( const int  offset) [protected]
void dirac::GenericBandCodec::CodeVal ( CoeffArray in_data,
const int  xpos,
const int  ypos,
const CoeffType  val 
) [inline, protected]
virtual void dirac::GenericBandCodec::DecodeCoeff ( CoeffArray in_data,
const int  xpos,
const int  ypos 
) [protected, virtual]
virtual void dirac::GenericBandCodec::DecodeCoeffBlock ( const CodeBlock code_block,
CoeffArray out_data 
) [protected, virtual]

Reimplemented in dirac::GenericIntraDCBandCodec.

int dirac::GenericBandCodec::DecodeQuantIndexOffset ( ) [protected]
void dirac::GenericBandCodec::DecodeVal ( CoeffArray out_data,
const int  xpos,
const int  ypos 
) [inline, protected]
virtual void dirac::GenericBandCodec::DoWorkCode ( CoeffArray in_data) [protected, virtual]
virtual void dirac::GenericBandCodec::DoWorkDecode ( CoeffArray out_data) [protected, virtual]
GenericBandCodec& dirac::GenericBandCodec::operator= ( const GenericBandCodec rhs) [private]
void dirac::GenericBandCodec::SetToVal ( const CodeBlock code_block,
CoeffArray coeff_data,
const CoeffType  val 
) [inline, protected]

Member Data Documentation


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.