Parameters for overlapped block motion compensation.
#include <common.h>
List of all members.
Public Member Functions |
| OLBParams () |
| Default constructor does nothing.
|
| OLBParams (const int xblen, const int yblen, const int xbsep, const int ybsep) |
| Constructor.
|
int | Xblen () const |
| Returns the horizontal block length.
|
int | Yblen () const |
| Returns the vertical block length.
|
int | Xbsep () const |
| Returns the horizontal block separation.
|
int | Ybsep () const |
| Returns the vertical block separation.
|
int | Xoffset () const |
| The offset in the horizontal start of the block caused by overlap,=(XBLEN-XBSEP)/2.
|
int | Yoffset () const |
| The offset in the vertical start of the block caused by overlap,=(YBLEN-YBSEP)/2.
|
void | SetXblen (int xblen) |
| Sets the block width.
|
void | SetYblen (int yblen) |
| Sets the block height.
|
void | SetXbsep (int xbsep) |
| Sets the block horizontal separation.
|
void | SetYbsep (int ybsep) |
| Sets the block vertical separation.
|
bool | operator== (const OLBParams bparams) const |
Constructor & Destructor Documentation
dirac::OLBParams::OLBParams |
( |
| ) |
|
|
inline |
dirac::OLBParams::OLBParams |
( |
const int |
xblen, |
|
|
const int |
yblen, |
|
|
const int |
xbsep, |
|
|
const int |
ybsep |
|
) |
| |
Member Function Documentation
bool dirac::OLBParams::operator== |
( |
const OLBParams |
bparams | ) |
const |
void dirac::OLBParams::SetXblen |
( |
int |
xblen | ) |
|
|
inline |
void dirac::OLBParams::SetXbsep |
( |
int |
xbsep | ) |
|
|
inline |
void dirac::OLBParams::SetYblen |
( |
int |
yblen | ) |
|
|
inline |
void dirac::OLBParams::SetYbsep |
( |
int |
ybsep | ) |
|
|
inline |
int dirac::OLBParams::Xblen |
( |
| ) |
const |
|
inline |
int dirac::OLBParams::Xbsep |
( |
| ) |
const |
|
inline |
int dirac::OLBParams::Xoffset |
( |
| ) |
const |
|
inline |
int dirac::OLBParams::Yblen |
( |
| ) |
const |
|
inline |
int dirac::OLBParams::Ybsep |
( |
| ) |
const |
|
inline |
int dirac::OLBParams::Yoffset |
( |
| ) |
const |
|
inline |
Friends And Related Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
, |
|
|
OLBParams & |
|
|
) |
| |
|
friend |
std::istream& operator>> |
( |
std::istream & |
, |
|
|
OLBParams & |
|
|
) |
| |
|
friend |
Member Data Documentation
int dirac::OLBParams::m_xblen |
|
private |
int dirac::OLBParams::m_xbsep |
|
private |
int dirac::OLBParams::m_xoffset |
|
private |
int dirac::OLBParams::m_yblen |
|
private |
int dirac::OLBParams::m_ybsep |
|
private |
int dirac::OLBParams::m_yoffset |
|
private |
The documentation for this class was generated from the following file: