Created by the British Broadcasting Corporation.
Class for all the motion vector data. More...
#include <motion.h>
Public Member Functions | |
MvData (const PicturePredParams &predparams, const int num_refs) | |
Constructor. | |
~MvData () | |
Destructor. | |
PicturePredParams & | GetPicPredParams () |
Return a reference to the local picture prediction params. | |
const PicturePredParams & | GetPicPredParams () const |
Return a reference to the local picture prediction params. | |
MvArray & | Vectors (const int ref_id) |
Get the MVs for a reference. | |
const MvArray & | Vectors (const int ref_id) const |
Get the MVs for a reference. | |
MvArray & | GlobalMotionVectors (const int ref_id) |
Get the global MVs for a reference. | |
const MvArray & | GlobalMotionVectors (const int ref_id) const |
Get the global MVs for a reference. | |
TwoDArray< ValueType > & | DC (CompSort cs) |
Get the DC values for each component. | |
const TwoDArray< ValueType > & | DC (CompSort cs) const |
Get the DC values for each component. | |
const OneDArray< TwoDArray < ValueType > * > & | DC () const |
Get a reference to the vector holding component DC values. | |
TwoDArray< PredMode > & | Mode () |
Get the block prediction modes. | |
const TwoDArray< PredMode > & | Mode () const |
Get the block prediction modes. | |
TwoDArray< int > & | SBSplit () |
Get the SB split level. | |
const TwoDArray< int > & | SBSplit () const |
Get the SB split level. | |
OneDArray< float > & | GlobalMotionParameters (const int ref_id) |
Get the global motion model parameters. | |
const OneDArray< float > & | GlobalMotionParameters (const int ref_id) const |
Get the global motion model parameters. |
Protected Member Functions | |
void | InitMvData () |
Protected Attributes | |
PicturePredParams | m_predparams |
OneDArray< MvArray * > | m_vectors |
OneDArray< MvArray * > | m_gm_vectors |
TwoDArray< PredMode > | m_modes |
OneDArray< TwoDArray < ValueType > * > | m_dc |
TwoDArray< int > | m_sb_split |
OneDArray< OneDArray< float > * > | m_gm_params |
Motion vector data: the motion vectors themselves, the blocks and macroblock modes.
dirac::MvData::MvData | ( | const PicturePredParams & | predparams, |
const int | num_refs | ||
) |
Constructor takes:
predparams | Picture prediction parameters |
num_refs | the number of references being used for the picture |
dirac::MvData::~MvData | ( | ) |
|
inline |
References m_predparams.
|
inline |
References m_predparams.
|
inline |
References m_gm_params.
|
inline |
References m_gm_params.
|
inline |
References m_gm_vectors.
|
inline |
References m_gm_vectors.
|
protected |
|
inline |
References m_sb_split.
|
inline |
References m_sb_split.
Referenced by GlobalMotionParameters().
Referenced by GlobalMotionVectors().
|
protected |
Referenced by GetPicPredParams().
© 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.