HEVC Test Model (HM)  HM-16.18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
TComCUMvField Class Reference

class for motion information in one CU More...

#include <TComMotionInfo.h>

Collaboration diagram for TComCUMvField:
Collaboration graph
[legend]

Public Member Functions

 TComCUMvField ()
 
 ~TComCUMvField ()
 
TComMv const & getMv (Int iIdx) const
 
TComMv const & getMvd (Int iIdx) const
 
Int getRefIdx (Int iIdx) const
 
AMVPInfogetAMVPInfo ()
 
Void setNumPartition (Int iNumPart)
 
Void linkToWithOffset (TComCUMvField const *src, Int offset)
 

Private Attributes

TComMvm_pcMv
 
TComMvm_pcMvd
 
SCharm_piRefIdx
 
UInt m_uiNumPartition
 
AMVPInfo m_cAMVPInfo
 
template<typename T >
Void setAll (T *p, T const &val, PartSize eCUMode, Int iPartAddr, UInt uiDepth, Int iPartIdx)
 
Void create (UInt uiNumPartition)
 
Void destroy ()
 
Void clearMvField ()
 
Void copyFrom (TComCUMvField const *pcCUMvFieldSrc, Int iNumPartSrc, Int iPartAddrDst)
 
Void copyTo (TComCUMvField *pcCUMvFieldDst, Int iPartAddrDst) const
 
Void copyTo (TComCUMvField *pcCUMvFieldDst, Int iPartAddrDst, UInt uiOffset, UInt uiNumPart) const
 
Void setAllMv (TComMv const &rcMv, PartSize eCUMode, Int iPartAddr, UInt uiDepth, Int iPartIdx=0)
 
Void setAllMvd (TComMv const &rcMvd, PartSize eCUMode, Int iPartAddr, UInt uiDepth, Int iPartIdx=0)
 
Void setAllRefIdx (Int iRefIdx, PartSize eMbMode, Int iPartAddr, UInt uiDepth, Int iPartIdx=0)
 
Void setAllMvField (TComMvField const &mvField, PartSize eMbMode, Int iPartAddr, UInt uiDepth, Int iPartIdx=0)
 
Void compress (SChar *pePredMode, const SChar *pePredModeSource, const Int scale, const TComCUMvField &source)
 

Detailed Description

class for motion information in one CU

Definition at line 94 of file TComMotionInfo.h.

Constructor & Destructor Documentation

TComCUMvField::TComCUMvField ( )
inline

Definition at line 107 of file TComMotionInfo.h.

TComCUMvField::~TComCUMvField ( )
inline

Definition at line 108 of file TComMotionInfo.h.

Member Function Documentation

Void TComCUMvField::clearMvField ( )

Definition at line 88 of file TComMotionInfo.cpp.

Void TComCUMvField::compress ( SChar pePredMode,
const SChar pePredModeSource,
const Int  scale,
const TComCUMvField source 
)

Subsampling of the stored prediction mode, reference index and motion vector

Parameters
pePredModePointer to prediction modes
scaleFactor by which to subsample motion information

Definition at line 331 of file TComMotionInfo.cpp.

Void TComCUMvField::copyFrom ( TComCUMvField const *  pcCUMvFieldSrc,
Int  iNumPartSrc,
Int  iPartAddrDst 
)

Definition at line 99 of file TComMotionInfo.cpp.

Void TComCUMvField::copyTo ( TComCUMvField pcCUMvFieldDst,
Int  iPartAddrDst 
) const

Definition at line 108 of file TComMotionInfo.cpp.

Void TComCUMvField::copyTo ( TComCUMvField pcCUMvFieldDst,
Int  iPartAddrDst,
UInt  uiOffset,
UInt  uiNumPart 
) const

Definition at line 113 of file TComMotionInfo.cpp.

Void TComCUMvField::destroy ( )

Definition at line 67 of file TComMotionInfo.cpp.

AMVPInfo* TComCUMvField::getAMVPInfo ( )
inline

Definition at line 135 of file TComMotionInfo.h.

TComMv const& TComCUMvField::getMv ( Int  iIdx) const
inline

Definition at line 131 of file TComMotionInfo.h.

TComMv const& TComCUMvField::getMvd ( Int  iIdx) const
inline

Definition at line 132 of file TComMotionInfo.h.

Int TComCUMvField::getRefIdx ( Int  iIdx) const
inline

Definition at line 133 of file TComMotionInfo.h.

Void TComCUMvField::linkToWithOffset ( TComCUMvField const *  src,
Int  offset 
)
inline

Definition at line 151 of file TComMotionInfo.h.

template<typename T >
Void TComCUMvField::setAll ( T *  p,
T const &  val,
PartSize  eCUMode,
Int  iPartAddr,
UInt  uiDepth,
Int  iPartIdx 
)
private

Definition at line 128 of file TComMotionInfo.cpp.

Void TComCUMvField::setAllMv ( TComMv const &  rcMv,
PartSize  eCUMode,
Int  iPartAddr,
UInt  uiDepth,
Int  iPartIdx = 0 
)

Definition at line 305 of file TComMotionInfo.cpp.

Void TComCUMvField::setAllMvd ( TComMv const &  rcMvd,
PartSize  eCUMode,
Int  iPartAddr,
UInt  uiDepth,
Int  iPartIdx = 0 
)

Definition at line 310 of file TComMotionInfo.cpp.

Void TComCUMvField::setAllMvField ( TComMvField const &  mvField,
PartSize  eMbMode,
Int  iPartAddr,
UInt  uiDepth,
Int  iPartIdx = 0 
)

Definition at line 320 of file TComMotionInfo.cpp.

Void TComCUMvField::setAllRefIdx ( Int  iRefIdx,
PartSize  eMbMode,
Int  iPartAddr,
UInt  uiDepth,
Int  iPartIdx = 0 
)

Definition at line 315 of file TComMotionInfo.cpp.

Void TComCUMvField::setNumPartition ( Int  iNumPart)
inline

Definition at line 146 of file TComMotionInfo.h.

Member Data Documentation

AMVPInfo TComCUMvField::m_cAMVPInfo
private

Definition at line 101 of file TComMotionInfo.h.

TComMv* TComCUMvField::m_pcMv
private

Definition at line 97 of file TComMotionInfo.h.

TComMv* TComCUMvField::m_pcMvd
private

Definition at line 98 of file TComMotionInfo.h.

SChar* TComCUMvField::m_piRefIdx
private

Definition at line 99 of file TComMotionInfo.h.

UInt TComCUMvField::m_uiNumPartition
private

Definition at line 100 of file TComMotionInfo.h.


The documentation for this class was generated from the following files: