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
Parameters:
ypos the xposition of the subband
Parameters:
xlen the width of the subband
Parameters:
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
Parameters:
ypos the xposition of the subband
Parameters:
xlen the width of the subband
Parameters:
ylen the height of the subband
Parameters:
d the depth of the subband in the wavelet transform
dirac::Subband::~Subband (  ) 

Member Function Documentation

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

References m_children.

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

References m_children.

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

References m_depth.

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

References m_code_block_array.

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

References m_max_bit.

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

References m_depth.

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::SetParent ( const int  p  )  [inline]

References m_parent.

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

References m_qindex.

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

References m_skipped.

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

References m_multi_quants.

void dirac::Subband::SetWt ( const float  w  ) 
bool dirac::Subband::Skipped (  )  const [inline]

References m_skipped.

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

References m_wt.

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]

Member Data Documentation

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

Referenced by Child(), and Children().

Referenced by GetCodeBlocks().

int dirac::Subband::m_depth [private]

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

Referenced by Max(), and SetMax().

int dirac::Subband::m_parent [private]

Referenced by Parent(), and SetParent().

int dirac::Subband::m_qindex [private]

Referenced by QuantIndex(), and SetQuantIndex().

bool dirac::Subband::m_skipped [private]

Referenced by SetSkip(), and Skipped().

double dirac::Subband::m_wt [private]

Referenced by Wt().

int dirac::Subband::m_xl [private]

Referenced by Xl().

int dirac::Subband::m_xp [private]

Referenced by Xp().

int dirac::Subband::m_yl [private]

Referenced by Yl().

int dirac::Subband::m_yp [private]

Referenced by Yp().


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.