Created by the British Broadcasting Corporation.
Compress a picture component. More...
#include <comp_compress.h>
This class compresses one of the three components (Y, U, or V) of a picture according to a given set or parameters. CompCompressor is used by PictureCompressor.
dirac::CompCompressor::CompCompressor | ( | EncoderParams & | encp, |
const PictureParams & | fp | ||
) |
Create and initialize a component compressor with the given characteristics.
encp | encoding parameters |
fp | picture parameters |
dirac::CompCompressor::CompCompressor | ( | const CompCompressor & | cpy | ) | [private] |
ComponentByteIO* dirac::CompCompressor::Compress | ( | CoeffArray & | coeff_data, |
SubbandList & | bands, | ||
CompSort | csort, | ||
const OneDArray< unsigned int > & | estimated_bits | ||
) |
Compress a PicArray containing a picture component (Y, U, or V).
coeff_data | the component data to be compressed |
bands | Subbands list |
csort | Chroma format |
estimated_bits | the list of estimated number of bits in each subband |
CompCompressor& dirac::CompCompressor::operator= | ( | const CompCompressor & | rhs | ) | [private] |
void dirac::CompCompressor::SetToVal | ( | CoeffArray & | coeff_data, |
const Subband & | node, | ||
ValueType | val | ||
) | [private] |
const ChromaFormat& dirac::CompCompressor::m_cformat [private] |
EncoderParams& dirac::CompCompressor::m_encparams [private] |
float dirac::CompCompressor::m_lambda [private] |
const PictureParams& dirac::CompCompressor::m_pparams [private] |
const PictureSort& dirac::CompCompressor::m_psort [private] |
© 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.