Dirac - A Video Codec

Created by the British Broadcasting Corporation.


dirac::SubbandList Class Reference

A class encapulating all the subbands produced by a transform.

#include <wavelet_utils.h>

List of all members.

Public Member Functions

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

dirac::SubbandList::SubbandList  )  [inline]
 

dirac::SubbandList::~SubbandList  )  [inline]
 


Member Function Documentation

void dirac::SubbandList::AddBand const Subband b  )  [inline]
 

void dirac::SubbandList::Clear  )  [inline]
 

void dirac::SubbandList::Init const int  depth,
const int  xlen,
const int  ylen
 

int dirac::SubbandList::Length  )  const [inline]
 

const Subband& dirac::SubbandList::operator() const int  n  )  const [inline]
 

Subband& dirac::SubbandList::operator() const int  n  )  [inline]
 

float dirac::SubbandList::PerceptualWeight const float  xf,
const float  yf,
const CompSort  cs
[private]
 

void dirac::SubbandList::SetBandWeights const float  cpd,
const FrameSort fsort,
const ChromaFormat cformat,
const CompSort  csort
 

Sets perceptual weights for the subbands. Takes into account both perceptual factors (weight noise less at higher spatial frequencies) and the scaling needed for the wavelet transform.

Parameters:
cpd perctual factor - the number of cycles per degree
fsort the frame sort (I, L1 or L2)
cformat the chroma format
csort the component type (Y, U or V)


Member Data Documentation

std::vector<Subband> dirac::SubbandList::bands [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.