Dirac - A Video Codec

Created by the British Broadcasting Corporation.


dirac::BandVLC Class Reference

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

#include <band_vlc.h>

Inheritance diagram for dirac::BandVLC:

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

Collaboration graph
[legend]
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 using variable length coding,


Constructor & Destructor Documentation

dirac::BandVLC::BandVLC (  SubbandByteIO *  subband_byteio,
const SubbandList &  band_list,
int  band_num,
const bool  is_intra
) 
 

Creates a BandVLC object to encode subband data

Parameters:
subband_byteio input/output for the encoded bits
band_list the set of all the subbands
band_num the number of the subband being coded
is_intra Flag indicating whether the band comes from an intra picture

virtual dirac::BandVLC::~BandVLC (   )  [inline, virtual]
 

dirac::BandVLC::BandVLC (  const BandVLC &  cpy  )  [private]
 


Member Function Documentation

void dirac::BandVLC::ClearBlock (  const CodeBlock &  code_block,
CoeffArray &  coeff_data
)  [inline, protected]
 

virtual void dirac::BandVLC::CodeCoeffBlock (  const CodeBlock &  code_block,
CoeffArray &  in_data
)  [private, virtual]
 

Reimplemented in dirac::IntraDCBandVLC.

void dirac::BandVLC::CodeQuantIndexOffset (  const int  offset  )  [protected]
 

void dirac::BandVLC::CodeVal (  CoeffArray &  in_data,
const int  xpos,
const int  ypos,
const CoeffType  val
)  [inline, protected]
 

int dirac::BandVLC::Compress (  CoeffArray &  in_data  ) 
 

virtual void dirac::BandVLC::DecodeCoeffBlock (  const CodeBlock &  code_block,
CoeffArray &  out_data
)  [private, virtual]
 

Reimplemented in dirac::IntraDCBandVLC.

int dirac::BandVLC::DecodeQuantIndexOffset (   )  [protected]
 

void dirac::BandVLC::DecodeVal (  CoeffArray &  out_data,
const int  xpos,
const int  ypos
)  [inline, protected]
 

void dirac::BandVLC::Decompress (  CoeffArray &  out_data,
int  num_bytes
) 
 

virtual void dirac::BandVLC::DoWorkCode (  CoeffArray &  in_data  )  [private, virtual]
 

Reimplemented in dirac::IntraDCBandVLC.

virtual void dirac::BandVLC::DoWorkDecode (  CoeffArray &  out_data  )  [private, virtual]
 

Reimplemented in dirac::IntraDCBandVLC.

BandVLC& dirac::BandVLC::operator= (  const BandVLC &  rhs  )  [private]
 

void dirac::BandVLC::SetToVal (  const CodeBlock &  code_block,
CoeffArray &  coeff_data,
const CoeffType  val
)  [inline, protected]
 


Member Data Documentation

int dirac::BandVLC::m_bnum [protected]
 

ByteIO* dirac::BandVLC::m_byteio [protected]
 

bool dirac::BandVLC::m_is_intra [protected]
 

int dirac::BandVLC::m_last_qf_idx [protected]
 

const Subband dirac::BandVLC::m_node [protected]
 

CoeffType dirac::BandVLC::m_offset [protected]
 

int dirac::BandVLC::m_qf [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.