HEVC Test Model (HM)  HM-16.3
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
 
Charm_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 (Char *pePredMode, Int scale)
 

Detailed Description

class for motion information in one CU

Definition at line 91 of file TComMotionInfo.h.

Constructor & Destructor Documentation

TComCUMvField::TComCUMvField ( )
inline

Definition at line 104 of file TComMotionInfo.h.

TComCUMvField::~TComCUMvField ( )
inline

Definition at line 105 of file TComMotionInfo.h.

Member Function Documentation

Void TComCUMvField::clearMvField ( )

Definition at line 88 of file TComMotionInfo.cpp.

Void TComCUMvField::compress ( Char pePredMode,
Int  scale 
)

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 330 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 132 of file TComMotionInfo.h.

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

Definition at line 128 of file TComMotionInfo.h.

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

Definition at line 129 of file TComMotionInfo.h.

Int TComCUMvField::getRefIdx ( Int  iIdx) const
inline

Definition at line 130 of file TComMotionInfo.h.

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

Definition at line 148 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 143 of file TComMotionInfo.h.

Member Data Documentation

AMVPInfo TComCUMvField::m_cAMVPInfo
private

Definition at line 98 of file TComMotionInfo.h.

TComMv* TComCUMvField::m_pcMv
private

Definition at line 94 of file TComMotionInfo.h.

TComMv* TComCUMvField::m_pcMvd
private

Definition at line 95 of file TComMotionInfo.h.

Char* TComCUMvField::m_piRefIdx
private

Definition at line 96 of file TComMotionInfo.h.

UInt TComCUMvField::m_uiNumPartition
private

Definition at line 97 of file TComMotionInfo.h.


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