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. More... | |
virtual | ~BlockDiff () |
Destructor More... | |
virtual float | Diff (const BlockDiffParams &dparams, const MVector &mv)=0 |
Do the difference, returning SAD. More... | |
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. More... | |
BlockDiff & | operator= (const BlockDiff &rhs) |
Private, bodyless assignment=: class should not be assigned. More... | |
|
inlinevirtual |
|
private |
|
pure virtual |
Do the difference, returning SAD
dparams | block parameters |
mv | the motion vector being used |
Implemented in dirac::PelBlockDiff, dirac::BlockDiffHalfPel, dirac::BlockDiffQuarterPel, dirac::BlockDiffEighthPel, and dirac::BlockDiffUp.
|
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.