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>

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

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

References m_xl.

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

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

References m_yl.

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

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

References m_max_bit.

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

References m_wt.

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

References m_depth.

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

References m_depth.

int dirac::Subband::QuantIndex (  )  const [inline]

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

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

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

References m_children.

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

References m_children.

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

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

References m_code_block_array.

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

References m_skipped.

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

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

References m_parent.

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

References m_depth.

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

References m_max_bit.

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

void dirac::Subband::SetQuantIndex ( const int  idx  )  [inline]

References m_qindex.

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

References m_multi_quants.

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

References m_skipped.


Member Data Documentation

int dirac::Subband::m_xp [private]

Referenced by Xp().

int dirac::Subband::m_yp [private]

Referenced by Yp().

int dirac::Subband::m_xl [private]

Referenced by Xl().

int dirac::Subband::m_yl [private]

Referenced by Yl().

double dirac::Subband::m_wt [private]

Referenced by Wt().

int dirac::Subband::m_depth [private]

Referenced by Depth(), Scale(), and SetDepth().

int dirac::Subband::m_qindex [private]

Referenced by QuantIndex(), and SetQuantIndex().

int dirac::Subband::m_parent [private]

Referenced by Parent(), and SetParent().

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

Referenced by Child(), and Children().

Referenced by Max(), and SetMax().

Referenced by GetCodeBlocks().

bool dirac::Subband::m_skipped [private]

Referenced by SetSkip(), and Skipped().


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.