Created by the British Broadcasting Corporation.
#include <picture_compress.h>
dirac::PictureCompressor::PictureCompressor | ( | EncoderParams & | encp | ) |
Creates a FrameEncoder with specific set of parameters the control the compression process. It encodes motion data before encoding each component of the picture.
encp | encoder parameters |
dirac::PictureCompressor::~PictureCompressor | ( | ) |
dirac::PictureCompressor::PictureCompressor | ( | const PictureCompressor & | cpy | ) | [private] |
Copy constructor is private and body-less. This class should not be copied.
bool dirac::PictureCompressor::MotionEstimate | ( | const PictureBuffer & | my_fbuffer, | |
int | fnum | |||
) |
Performs motion estimation for a picture and writes the data locally
my_fbuffer | picture buffer of uncoded originals | |
fnum | picture number to compress |
PictureByteIO* dirac::PictureCompressor::Compress | ( | PictureBuffer & | my_fbuffer, | |
int | fnum | |||
) |
Compresses a specified picture within a group of pictures.
my_fbuffer | picture buffer in which the reference frames resides | |
fnum | picture number to compress |
bool dirac::PictureCompressor::IsSkipped | ( | ) | [inline] |
bool dirac::PictureCompressor::IsMEDataAvail | ( | ) | const [inline] |
const MEData* dirac::PictureCompressor::GetMEData | ( | ) | const |
PictureCompressor& dirac::PictureCompressor::operator= | ( | const PictureCompressor & | rhs | ) | [private] |
Assignment = is private and body-less. This class should not be assigned.
void dirac::PictureCompressor::InitCoeffData | ( | CoeffArray & | coeff_data, | |
const int | xl, | |||
const int | yl | |||
) | [private] |
void dirac::PictureCompressor::AnalyseMEData | ( | const MEData & | ) | [private] |
void dirac::PictureCompressor::CompressMVData | ( | MvDataByteIO * | mv_data | ) | [private] |
float dirac::PictureCompressor::GetCompLambda | ( | const PictureParams & | fparams, | |
const CompSort | csort | |||
) | [private] |
void dirac::PictureCompressor::SelectQuantisers | ( | CoeffArray & | coeff_data, | |
SubbandList & | bands, | |||
const float | lambda, | |||
OneDArray< unsigned int > & | est_counts, | |||
const CodeBlockMode | cb_mode, | |||
const PictureParams & | pp, | |||
const CompSort | csort | |||
) | [private] |
int dirac::PictureCompressor::SelectMultiQuants | ( | CoeffArray & | coeff_data, | |
SubbandList & | bands, | |||
const int | band_num, | |||
const float | lambda, | |||
const PictureParams & | pp, | |||
const CompSort | csort | |||
) | [private] |
void dirac::PictureCompressor::SetupCodeBlocks | ( | SubbandList & | bands | ) | [private] |
void dirac::PictureCompressor::AddSubAverage | ( | CoeffArray & | coeff_data, | |
int | xl, | |||
int | yl, | |||
AddOrSub | dirn | |||
) | [private] |
MEData* dirac::PictureCompressor::m_me_data [private] |
bool dirac::PictureCompressor::m_skipped [private] |
bool dirac::PictureCompressor::m_use_global [private] |
bool dirac::PictureCompressor::m_use_block_mv [private] |
bool dirac::PictureCompressor::m_medata_avail [private] |
bool dirac::PictureCompressor::m_is_a_cut [private] |
double dirac::PictureCompressor::m_intra_ratio [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.