Created by the British Broadcasting Corporation.
Parameters for overlapped block motion compensation.
#include <common.h>
Public Member Functions | |
OLBParams () | |
Default constructor does nothing. More... | |
OLBParams (const int xblen, const int yblen, const int xbsep, const int ybsep) | |
Constructor. More... | |
int | Xblen () const |
Returns the horizontal block length. More... | |
int | Yblen () const |
Returns the vertical block length. More... | |
int | Xbsep () const |
Returns the horizontal block separation. More... | |
int | Ybsep () const |
Returns the vertical block separation. More... | |
int | Xoffset () const |
The offset in the horizontal start of the block caused by overlap,=(XBLEN-XBSEP)/2. More... | |
int | Yoffset () const |
The offset in the vertical start of the block caused by overlap,=(YBLEN-YBSEP)/2. More... | |
void | SetXblen (int xblen) |
Sets the block width. More... | |
void | SetYblen (int yblen) |
Sets the block height. More... | |
void | SetXbsep (int xbsep) |
Sets the block horizontal separation. More... | |
void | SetYbsep (int ybsep) |
Sets the block vertical separation. More... | |
bool | operator== (const OLBParams bparams) const |
Private Attributes | |
int | m_xblen |
int | m_yblen |
int | m_xbsep |
int | m_ybsep |
int | m_xoffset |
int | m_yoffset |
Friends | |
std::ostream & | operator<< (std::ostream &, OLBParams &) |
std::istream & | operator>> (std::istream &, OLBParams &) |
|
inline |
dirac::OLBParams::OLBParams | ( | const int | xblen, |
const int | yblen, | ||
const int | xbsep, | ||
const int | ybsep | ||
) |
bool dirac::OLBParams::operator== | ( | const OLBParams | bparams | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
References dirac::operator<<(), and dirac::operator>>().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
© 2004 British Broadcasting Corporation.
Dirac code licensed under the Mozilla Public License (MPL) Version 1.1.
HTML documentation generated by Dimitri van Heesch's
excellent Doxygen tool.