HEVC Test Model (HM)  HM-16.3
Public Member Functions | Private Attributes | List of all members

basic motion vector class More...

#include <TComMv.h>

Public Member Functions

 TComMv ()
 
 TComMv (Short iHor, Short iVer)
 
Void set (Short iHor, Short iVer)
 
Void setHor (Short i)
 
Void setVer (Short i)
 
Void setZero ()
 
Int getHor () const
 
Int getVer () const
 
Int getAbsHor () const
 
Int getAbsVer () const
 
const TComMvoperator+= (const TComMv &rcMv)
 
const TComMvoperator-= (const TComMv &rcMv)
 
const TComMvoperator>>= (const Int i)
 
const TComMvoperator<<= (const Int i)
 
const TComMv operator- (const TComMv &rcMv) const
 
const TComMv operator+ (const TComMv &rcMv) const
 
Bool operator== (const TComMv &rcMv) const
 
Bool operator!= (const TComMv &rcMv) const
 
const TComMv scaleMv (Int iScale) const
 

Private Attributes

Short m_iHor
 horizontal component of motion vector More...
 
Short m_iVer
 vertical component of motion vector More...
 

Detailed Description

basic motion vector class

Definition at line 51 of file TComMv.h.

Constructor & Destructor Documentation

TComMv::TComMv ( )
inline

Definition at line 63 of file TComMv.h.

TComMv::TComMv ( Short  iHor,
Short  iVer 
)
inline

Definition at line 69 of file TComMv.h.

Member Function Documentation

Int TComMv::getAbsHor ( ) const
inline

Definition at line 90 of file TComMv.h.

Int TComMv::getAbsVer ( ) const
inline

Definition at line 91 of file TComMv.h.

Int TComMv::getHor ( ) const
inline

Definition at line 88 of file TComMv.h.

Int TComMv::getVer ( ) const
inline

Definition at line 89 of file TComMv.h.

Bool TComMv::operator!= ( const TComMv rcMv) const
inline

Definition at line 140 of file TComMv.h.

const TComMv TComMv::operator+ ( const TComMv rcMv) const
inline

Definition at line 130 of file TComMv.h.

const TComMv& TComMv::operator+= ( const TComMv rcMv)
inline

Definition at line 97 of file TComMv.h.

const TComMv TComMv::operator- ( const TComMv rcMv) const
inline

Definition at line 125 of file TComMv.h.

const TComMv& TComMv::operator-= ( const TComMv rcMv)
inline

Definition at line 104 of file TComMv.h.

const TComMv& TComMv::operator<<= ( const Int  i)
inline

Definition at line 118 of file TComMv.h.

Bool TComMv::operator== ( const TComMv rcMv) const
inline

Definition at line 135 of file TComMv.h.

const TComMv& TComMv::operator>>= ( const Int  i)
inline

Definition at line 111 of file TComMv.h.

const TComMv TComMv::scaleMv ( Int  iScale) const
inline

Definition at line 145 of file TComMv.h.

Void TComMv::set ( Short  iHor,
Short  iVer 
)
inline

Definition at line 79 of file TComMv.h.

Void TComMv::setHor ( Short  i)
inline

Definition at line 80 of file TComMv.h.

Void TComMv::setVer ( Short  i)
inline

Definition at line 81 of file TComMv.h.

Void TComMv::setZero ( )
inline

Definition at line 82 of file TComMv.h.

Member Data Documentation

Short TComMv::m_iHor
private

horizontal component of motion vector

Definition at line 54 of file TComMv.h.

Short TComMv::m_iVer
private

vertical component of motion vector

Definition at line 55 of file TComMv.h.


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