Dirac - A Video Codec

Created by the British Broadcasting Corporation.


WaveletTransform Class Reference

A class to do wavelet transforms. More...

#include <wavelet_utils.h>

List of all members.

Public Member Functions

Private Member Functions

Private Attributes


Detailed Description

A class to do forward and backward wavelet transforms by iteratively splitting or merging the lowest frequency band.


Constructor & Destructor Documentation

WaveletTransform::WaveletTransform int  d = 4,
WltFilter  f = DAUB
 

virtual WaveletTransform::~WaveletTransform  )  [virtual]
 

WaveletTransform::WaveletTransform const WaveletTransform cpy  )  [private]
 


Member Function Documentation

const SubbandList& WaveletTransform::BandList  )  const [inline]
 

SubbandList& WaveletTransform::BandList  )  [inline]
 

WaveletTransform& WaveletTransform::operator= const WaveletTransform rhs  )  [private]
 

float WaveletTransform::PerceptualWeight float  xf,
float  yf,
CompSort  cs
[private]
 

void WaveletTransform::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)

void WaveletTransform::Transform const Direction  d,
PicArray pic_data
 

Transforms the data to and from the wavelet domain. /param d the direction of the transform /param pic_data the data to be transformed

void WaveletTransform::VHSplit const int  xp,
const int  yp,
const int  xl,
const int  yl,
PicArray pic_data
[private]
 

void WaveletTransform::VHSplit2 const int  xp,
const int  yp,
const int  xl,
const int  yl,
PicArray pic_data
[private]
 

void WaveletTransform::VHSynth const int  xp,
const int  yp,
const int  xl,
const int  yl,
PicArray pic_data
[private]
 

void WaveletTransform::VHSynth2 const int  xp,
const int  yp,
const int  xl,
const int  yl,
PicArray pic_data
[private]
 


Member Data Documentation

SubbandList WaveletTransform::band_list [private]
 

int WaveletTransform::depth [private]
 

WltFilter WaveletTransform::filt_sort [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.