111 #if !ME_ENABLE_ROUNDING_OF_MVS
120 #if ME_ENABLE_ROUNDING_OF_MVS
124 Int offset = (i == 0) ? 0 : 1 << (i - 1);
164 return TComMv( mvx, mvy );
Bool operator!=(const TComMv &rcMv) const
Bool operator==(const TComMv &rcMv) const
const TComMv & operator+=(const TComMv &rcMv)
Defines version information, constants and small in-line functions.
const TComMv operator-(const TComMv &rcMv) const
const TComMv & operator<<=(const Int i)
const TComMv operator+(const TComMv &rcMv) const
TComMv(Short iHor, Short iVer)
T Clip3(const T minVal, const T maxVal, const T a)
general min/max clip
const TComMv & operator-=(const TComMv &rcMv)
Short m_iVer
vertical component of motion vector
Short m_iHor
horizontal component of motion vector
basic motion vector class
Void divideByPowerOf2(const Int i)
shift right with rounding
const TComMv scaleMv(Int iScale) const
Void set(Short iHor, Short iVer)