Dirac - A Video Codec

Created by the British Broadcasting Corporation.


dirac::Subband Class Reference

Class encapsulating all the metadata relating to a wavelet subband.

#include <wavelet_utils.h>

Collaboration diagram for dirac::Subband:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Private Attributes


Constructor & Destructor Documentation

dirac::Subband::Subband  ) 
 

dirac::Subband::Subband int  xpos,
int  ypos,
int  xlen,
int  ylen
 

The constructor parameters are

Parameters:
xpos the xposition of the subband when packed into a big array with all the others
ypos the xposition of the subband
xlen the width of the subband
ylen the height of the subband

dirac::Subband::Subband int  xpos,
int  ypos,
int  xlen,
int  ylen,
int  d
 

The constructor parameters are

Parameters:
xpos the xposition of the subband when packed into a big array with all the others
ypos the xposition of the subband
xlen the width of the subband
ylen the height of the subband
d the depth of the subband in the wavelet transform

dirac::Subband::~Subband  ) 
 


Member Function Documentation

void dirac::Subband::AddChild const int  c  )  [inline]
 

int dirac::Subband::Child const int  n  )  const [inline]
 

const std::vector<int>& dirac::Subband::Children  )  const [inline]
 

int dirac::Subband::Depth  )  const [inline]
 

const TwoDArray<CodeBlock>& dirac::Subband::GetCodeBlocks  )  const [inline]
 

TwoDArray<CodeBlock>& dirac::Subband::GetCodeBlocks  )  [inline]
 

int dirac::Subband::Max  )  const [inline]
 

int dirac::Subband::Parent  )  const [inline]
 

int dirac::Subband::QIndex  )  const [inline]
 

int dirac::Subband::Scale  )  const [inline]
 

void dirac::Subband::SetChildren const std::vector< int > &  clist  )  [inline]
 

void dirac::Subband::SetDepth const int  d  )  [inline]
 

void dirac::Subband::SetMax const int  m  )  [inline]
 

void dirac::Subband::SetNumBlocks const int  ynum,
const int  xnum
 

void dirac::Subband::SetParent const int  p  )  [inline]
 

void dirac::Subband::SetQIndex const int  idx  )  [inline]
 

void dirac::Subband::SetSkip const bool  skip  )  [inline]
 

void dirac::Subband::SetUsingMultiQuants const bool  multi  )  [inline]
 

void dirac::Subband::SetWt const float  w  ) 
 

bool dirac::Subband::Skipped  )  const [inline]
 

bool dirac::Subband::UsingMultiQuants  )  const [inline]
 

double dirac::Subband::Wt  )  const [inline]
 

int dirac::Subband::Xl  )  const [inline]
 

int dirac::Subband::Xp  )  const [inline]
 

int dirac::Subband::Yl  )  const [inline]
 

int dirac::Subband::Yp  )  const [inline]
 


Member Data Documentation

std::vector<int> dirac::Subband::m_children [private]
 

TwoDArray<CodeBlock> dirac::Subband::m_code_block_array [private]
 

int dirac::Subband::m_depth [private]
 

int dirac::Subband::m_max_bit [private]
 

bool dirac::Subband::m_multi_quants [private]
 

int dirac::Subband::m_parent [private]
 

int dirac::Subband::m_qindex [private]
 

bool dirac::Subband::m_skipped [private]
 

double dirac::Subband::m_wt [private]
 

int dirac::Subband::m_xl [private]
 

int dirac::Subband::m_xp [private]
 

int dirac::Subband::m_yl [private]
 

int dirac::Subband::m_yp [private]
 


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.