Dirac - A Video Codec

Created by the British Broadcasting Corporation.


Public Member Functions | Private Attributes | List of all members
dirac::BlockDiffParams Class Reference

A class encapsulating parameters for calculating a block difference value (a single instance of matching)

#include <me_utils.h>

Public Member Functions

 BlockDiffParams ()
 Constructor. More...
 
 BlockDiffParams (const int x_p, const int y_p, const int x_l, const int y_l)
 Constructor. More...
 
void SetBlockLimits (const OLBParams &bparams, const PicArray &pic_data, const int xbpos, const int ybpos)
 Set the limits of the block to fit in a picture. More...
 
int Xp () const
 Return the x-position of the top-left block corner. More...
 
int Yp () const
 Return the y-position of the top-left block corner. More...
 
int Xl () const
 Return the block width. More...
 
int Yl () const
 Return the block height. More...
 
int Xend () const
 Return the block horizontal endpoint. More...
 
int Yend () const
 Return the block vertical endpoint. More...
 

Private Attributes

int m_xp
 
int m_yp
 
int m_xl
 
int m_yl
 
int m_xend
 
int m_yend
 

Constructor & Destructor Documentation

◆ BlockDiffParams() [1/2]

dirac::BlockDiffParams::BlockDiffParams ( )
inline

◆ BlockDiffParams() [2/2]

dirac::BlockDiffParams::BlockDiffParams ( const int  x_p,
const int  y_p,
const int  x_l,
const int  y_l 
)
inline

Member Function Documentation

◆ SetBlockLimits()

void dirac::BlockDiffParams::SetBlockLimits ( const OLBParams bparams,
const PicArray pic_data,
const int  xbpos,
const int  ybpos 
)

◆ Xend()

int dirac::BlockDiffParams::Xend ( ) const
inline

References m_xend.

◆ Xl()

int dirac::BlockDiffParams::Xl ( ) const
inline

References m_xl.

◆ Xp()

int dirac::BlockDiffParams::Xp ( ) const
inline

References m_xp.

◆ Yend()

int dirac::BlockDiffParams::Yend ( ) const
inline

References m_yend.

◆ Yl()

int dirac::BlockDiffParams::Yl ( ) const
inline

References m_yl.

◆ Yp()

int dirac::BlockDiffParams::Yp ( ) const
inline

References m_yp.

Member Data Documentation

◆ m_xend

int dirac::BlockDiffParams::m_xend
private

Referenced by Xend().

◆ m_xl

int dirac::BlockDiffParams::m_xl
private

Referenced by Xl().

◆ m_xp

int dirac::BlockDiffParams::m_xp
private

Referenced by Xp().

◆ m_yend

int dirac::BlockDiffParams::m_yend
private

Referenced by Yend().

◆ m_yl

int dirac::BlockDiffParams::m_yl
private

Referenced by Yl().

◆ m_yp

int dirac::BlockDiffParams::m_yp
private

Referenced by Yp().


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

© 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.