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. More... | |
| ~MvData () | |
| Destructor. More... | |
| PicturePredParams & | GetPicPredParams () |
| Return a reference to the local picture prediction params. More... | |
| const PicturePredParams & | GetPicPredParams () const |
| Return a reference to the local picture prediction params. More... | |
| MvArray & | Vectors (const int ref_id) |
| Get the MVs for a reference. More... | |
| const MvArray & | Vectors (const int ref_id) const |
| Get the MVs for a reference. More... | |
| MvArray & | GlobalMotionVectors (const int ref_id) |
| Get the global MVs for a reference. More... | |
| const MvArray & | GlobalMotionVectors (const int ref_id) const |
| Get the global MVs for a reference. More... | |
| TwoDArray< ValueType > & | DC (CompSort cs) |
| Get the DC values for each component. More... | |
| const TwoDArray< ValueType > & | DC (CompSort cs) const |
| Get the DC values for each component. More... | |
| const OneDArray< TwoDArray< ValueType > * > & | DC () const |
| Get a reference to the vector holding component DC values. More... | |
| TwoDArray< PredMode > & | Mode () |
| Get the block prediction modes. More... | |
| const TwoDArray< PredMode > & | Mode () const |
| Get the block prediction modes. More... | |
| TwoDArray< int > & | SBSplit () |
| Get the SB split level. More... | |
| const TwoDArray< int > & | SBSplit () const |
| Get the SB split level. More... | |
| OneDArray< float > & | GlobalMotionParameters (const int ref_id) |
| Get the global motion model parameters. More... | |
| const OneDArray< float > & | GlobalMotionParameters (const int ref_id) const |
| Get the global motion model parameters. More... | |
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.