39 #ifndef __TCOMMOTIONINFO__
40 #define __TCOMMOTIONINFO__
103 template <
typename T>
158 #if REDUCED_ENCODER_MEMORY
167 #endif // __TCOMMOTIONINFO__
static const Int NOT_VALID
Void setRefIdx(Int refIdx)
Int getRefIdx(Int iIdx) const
Void linkToWithOffset(TComCUMvField const *src, Int offset)
Defines version information, constants and small in-line functions.
Void setAllRefIdx(Int iRefIdx, PartSize eMbMode, Int iPartAddr, UInt uiDepth, Int iPartIdx=0)
TComMv const & getMv() const
class for motion vector with reference index
TComMv const & getMvd(Int iIdx) const
TComMv m_acMvCand[AMVP_MAX_NUM_CANDS]
array of motion vector predictor candidates
Void copyFrom(TComCUMvField const *pcCUMvFieldSrc, Int iNumPartSrc, Int iPartAddrDst)
class for motion information in one CU
PartSize
supported partition shape
Void setMvField(TComMv const &cMv, Int iRefIdx)
Int iN
number of motion vector predictor candidates
Void setAllMvField(TComMvField const &mvField, PartSize eMbMode, Int iPartAddr, UInt uiDepth, Int iPartIdx=0)
Void setAll(T *p, T const &val, PartSize eCUMode, Int iPartAddr, UInt uiDepth, Int iPartIdx)
static const Int AMVP_MAX_NUM_CANDS
AMVP: advanced motion vector prediction - max number of final candidates.
Void setNumPartition(Int iNumPart)
TComMv const & getMv(Int iIdx) const
motion vector class (header)
struct _AMVPInfo AMVPInfo
parameters for AMVP
Void copyTo(TComCUMvField *pcCUMvFieldDst, Int iPartAddrDst) const
Void compress(SChar *pePredMode, const SChar *pePredModeSource, const Int scale, const TComCUMvField &source)
Void setAllMvd(TComMv const &rcMvd, PartSize eCUMode, Int iPartAddr, UInt uiDepth, Int iPartIdx=0)
basic motion vector class
UInt numSpatialMVPCandidates
Void create(UInt uiNumPartition)
Void setAllMv(TComMv const &rcMv, PartSize eCUMode, Int iPartAddr, UInt uiDepth, Int iPartIdx=0)