Created by the British Broadcasting Corporation.
#include <enc_picture.h>
Public Member Functions | |
EncPicture (const PictureParams &pp) | |
virtual | ~EncPicture () |
void | InitMEData (const PicturePredParams &predparams, const int num_refs) |
Initialise the motion estimation data arrays. | |
MEData & | GetMEData () |
Returns the motion data. | |
const MEData & | GetMEData () const |
Returns the motion data. | |
void | DropRef (int rindex) |
Drops a reference from the motion vector data. | |
const PicArray & | OrigData (CompSort c) const |
Returns a given component of the original data. | |
const PicArray & | UpOrigData (CompSort cs) const |
Returns a given upconverted component of the original data. | |
void | SetOrigData () |
Initialises a copy of the data arrays into the original data. | |
const PicArray & | DataForME (bool combined_me) const |
Returns a version of the picture data suitable for motion estimation. | |
const PicArray & | UpDataForME (bool combined_me) const |
Returns a version of the picture data suitable for subpel motion estimation. | |
void | UpdateStatus (const unsigned int mask) |
void | FlipStatus (const unsigned int mask) |
void | SetStatus (const int status) |
unsigned int | GetStatus () const |
double | GetComplexity () const |
void | SetComplexity (double c) |
double | GetNormComplexity () const |
void | SetNormComplexity (double c) |
double | GetPredBias () const |
void | SetPredBias (double b) |
![]() | |
Picture (const PictureParams &pp) | |
Constructor. | |
Picture (const Picture &cpy) | |
Copy constructor. Private as not currently used [may want to implement reference counting later.]. | |
virtual | ~Picture () |
Destructor. | |
Picture & | operator= (const Picture &rhs) |
Assignment =. Private as not currently used [may want to implement reference counting later.]. | |
void | Fill (ValueType val) |
Picture Fill. | |
PictureParams & | GetPparams () const |
Gets the picture parameters. | |
void | SetPictureSort (const PictureSort ps) |
Sets the picture sort. | |
void | SetPictureType (const PictureType ftype) |
Sets the picture type. | |
void | SetReferenceType (const ReferenceType rtype) |
Sets the picture type. | |
void | ReconfigPicture (const PictureParams &pp) |
Reconfigures to the new parameters. | |
PicArray & | Data (CompSort cs) |
Returns a given component. | |
const PicArray & | Data (CompSort cs) const |
Returns a given component. | |
PicArray & | UpData (CompSort cs) |
Returns a given upconverted component. | |
const PicArray & | UpData (CompSort cs) const |
Returns a given upconverted component. | |
const CoeffArray & | WltData (CompSort c) const |
Returns the wavelet coefficient data. | |
CoeffArray & | WltData (CompSort c) |
Returns the wavelet coefficient data. | |
void | InitWltData (const int transform_depth) |
Initialises the wavelet coefficient data arrays;. | |
void | Clip () |
Clip the data to prevent overshoot. | |
void | ClipUpData () |
Clip the upconverted data to prevent overshoot. |
Private Member Functions | |
virtual void | ClearData () |
Delete all the data. | |
void | AntiAliasFilter (PicArray &out_data, const PicArray &in_data) const |
Filters a (field) picture vertically to reduce aliasing for motion estimation purposes. | |
const PicArray & | FiltData (CompSort c) const |
Returns an anti-aliased version of the original data. | |
const PicArray & | CombinedData () const |
const PicArray & | UpCombinedData () const |
void | Combine (PicArray &comb_data, const PicArray &y_data, const PicArray &u_data, const PicArray &v_data) const |
const PicArray & | UpFiltData (CompSort c) const |
Returns an upconverted anti-aliased version of the original data. | |
void | SetOrigData (const int c) |
Private Attributes | |
PicArray * | m_orig_data [3] |
PicArray * | m_orig_up_data [3] |
PicArray * | m_filt_data [3] |
PicArray * | m_filt_up_data [3] |
MEData * | m_me_data |
unsigned int | m_status |
double | m_complexity |
double | m_norm_complexity |
double | m_pred_bias |
Additional Inherited Members | |
![]() | |
virtual void | Init () |
Initialises the picture once the picture parameters have been set. | |
void | ClipComponent (PicArray &pic_data, CompSort cs) const |
Clip an individual component. | |
![]() | |
PictureParams | m_pparams |
PicArray * | m_pic_data [3] |
PicArray * | m_up_pic_data [3] |
CoeffArray | m_wlt_data [3] |
dirac::EncPicture::EncPicture | ( | const PictureParams & | pp | ) |
|
virtual |
|
private |
|
privatevirtual |
Reimplemented from dirac::Picture.
|
private |
|
private |
const PicArray& dirac::EncPicture::DataForME | ( | bool | combined_me | ) | const |
void dirac::EncPicture::DropRef | ( | int | rindex | ) |
|
inline |
References m_status.
|
inline |
References m_complexity.
|
inline |
References m_norm_complexity.
|
inline |
References m_pred_bias.
|
inline |
References m_status.
void dirac::EncPicture::InitMEData | ( | const PicturePredParams & | predparams, |
const int | num_refs | ||
) |
References m_orig_data.
|
inline |
References m_complexity.
|
inline |
References m_norm_complexity.
void dirac::EncPicture::SetOrigData | ( | ) |
|
private |
|
inline |
References m_pred_bias.
|
inline |
References m_status.
|
private |
const PicArray& dirac::EncPicture::UpDataForME | ( | bool | combined_me | ) | const |
|
inline |
References m_status.
|
private |
Referenced by GetComplexity(), and SetComplexity().
|
mutableprivate |
|
mutableprivate |
|
private |
Referenced by GetMEData().
|
private |
Referenced by GetNormComplexity(), and SetNormComplexity().
|
private |
Referenced by OrigData().
|
mutableprivate |
|
private |
Referenced by GetPredBias(), and SetPredBias().
|
private |
Referenced by FlipStatus(), GetStatus(), SetStatus(), and UpdateStatus().
© 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.