Created by the British Broadcasting Corporation.
#include <comp_compress.h>
Collaboration diagram for dirac::CompCompressor:
dirac::CompCompressor::CompCompressor | ( | EncoderParams & | encp, | |
const FrameParams & | fp | |||
) |
Create and initialize a component compressor with the given characteristics.
encp | encoding parameters | |
fp | frame parameters |
dirac::CompCompressor::CompCompressor | ( | const CompCompressor & | cpy | ) | [private] |
ComponentByteIO* dirac::CompCompressor::Compress | ( | PicArray & | pic_data, | |
const bool | is_a_cut, | |||
const double | intra_ratio = 100.0 , |
|||
MEData * | me_data = 0 | |||
) |
Compress a PicArray containing a frame component (Y, U, or V).
pic_data | the component data to be compressed | |
is_a_cut | cut detection flag. | |
intra_ratio | proportion of intra blocks that motion estimation has found | |
me_data | Pointer to the motion vector data |
CompCompressor& dirac::CompCompressor::operator= | ( | const CompCompressor & | rhs | ) | [private] |
void dirac::CompCompressor::SetCompLambda | ( | const double | intra_ratio, | |
const bool | is_a_cut | |||
) | [private] |
void dirac::CompCompressor::SelectQuantisers | ( | PicArray & | pic_data, | |
SubbandList & | bands, | |||
OneDArray< unsigned int > & | est_counts, | |||
const CodeBlockMode | cb_mode | |||
) | [private] |
int dirac::CompCompressor::SelectMultiQuants | ( | PicArray & | pic_data, | |
SubbandList & | bands, | |||
const int | band_num | |||
) | [private] |
void dirac::CompCompressor::SetupCodeBlocks | ( | SubbandList & | bands | ) | [private] |
void dirac::CompCompressor::SetToVal | ( | PicArray & | pic_data, | |
const Subband & | node, | |||
ValueType | val | |||
) | [private] |
void dirac::CompCompressor::AddSubAverage | ( | PicArray & | pic_data, | |
int | xl, | |||
int | yl, | |||
AddOrSub | dirn | |||
) | [private] |
EncoderParams& dirac::CompCompressor::m_encparams [private] |
const FrameParams& dirac::CompCompressor::m_fparams [private] |
const FrameSort& dirac::CompCompressor::m_fsort [private] |
const ChromaFormat& dirac::CompCompressor::m_cformat [private] |
CompSort dirac::CompCompressor::m_csort [private] |
float dirac::CompCompressor::m_lambda [private] |
MEData* dirac::CompCompressor::m_me_data [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.