Created by the British Broadcasting Corporation.
An abstract class for doing block difference calculations.
#include <me_utils.h>
Public Member Functions | |
BlockDiff (const PicArray &ref, const PicArray &pic) | |
Constructor, initialising the reference and picture data. | |
virtual | ~BlockDiff () |
Destructor. | |
virtual float | Diff (const BlockDiffParams &dparams, const MVector &mv)=0 |
Do the difference, returning SAD. |
Protected Attributes | |
const PicArray & | m_pic_data |
const PicArray & | m_ref_data |
Private Member Functions | |
BlockDiff (const BlockDiff &cpy) | |
Private, bodyless copy-constructor: class should not be copied. | |
BlockDiff & | operator= (const BlockDiff &rhs) |
Private, bodyless assignment=: class should not be assigned. |
Referenced by BlockDiff(), and operator=().
|
inlinevirtual |
|
private |
References BlockDiff().
|
pure virtual |
Do the difference, returning SAD
dparams | block parameters |
mv | the motion vector being used |
Implemented in dirac::BlockDiffEighthPel, dirac::BlockDiffHalfPel, dirac::BlockDiffQuarterPel, dirac::BlockDiffUp, and dirac::PelBlockDiff.
References BlockDiff().
|
protected |
|
protected |
© 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.