Created by the British Broadcasting Corporation.
A class for wavelet coefficient data. More...
#include <wavelet_utils.h>
A class for encapsulating coefficient data, derived from TwoDArray..
dirac::CoeffArray::CoeffArray | ( | ) | [inline] |
Default constructor creates an empty array.
dirac::CoeffArray::CoeffArray | ( | int | height, |
int | width, | ||
CompSort | cs = Y_COMP |
||
) | [inline] |
Contructor creates a two-D array, with specified size and colour format.
dirac::CoeffArray::~CoeffArray | ( | ) | [inline] |
SubbandList& dirac::CoeffArray::BandList | ( | ) | [inline] |
References m_band_list.
const SubbandList& dirac::CoeffArray::BandList | ( | ) | const [inline] |
References m_band_list.
float dirac::CoeffArray::PerceptualWeight | ( | float | xf, |
float | yf, | ||
CompSort | cs | ||
) | [private] |
void dirac::CoeffArray::SetBandWeights | ( | const EncoderParams & | encparams, |
const PictureParams & | pparams, | ||
const CompSort | csort, | ||
const float | cpd_scale_factor | ||
) |
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.
SubbandList dirac::CoeffArray::m_band_list [private] |
Referenced by BandList().
CompSort dirac::CoeffArray::m_csort [private] |
Referenced by CSort(), and SetCSort().
© 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.