Created by the British Broadcasting Corporation.
A virtual class for bi-directional differences.
#include <me_utils.h>
Public Member Functions | |
BiBlockDiff (const PicArray &ref1, const PicArray &ref2, const PicArray &pic) | |
Constructor, initialising the references and picture data. | |
virtual | ~BiBlockDiff () |
Virtual destructor. | |
virtual float | Diff (const BlockDiffParams &dparams, const MVector &mv1, const MVector &mv2)=0 |
Do the difference, returning SAD. |
Protected Attributes | |
const PicArray & | m_pic_data |
const PicArray & | m_ref_data1 |
const PicArray & | m_ref_data2 |
Private Member Functions | |
BiBlockDiff (const BiBlockDiff &cpy) | |
Private, bodyless copy-constructor: class should not be copied. | |
BiBlockDiff & | operator= (const BiBlockDiff &rhs) |
Private, bodyless assignment=: class should not be assigned. |
dirac::BiBlockDiff::BiBlockDiff | ( | const PicArray & | ref1, |
const PicArray & | ref2, | ||
const PicArray & | pic | ||
) |
|
inlinevirtual |
|
private |
|
pure virtual |
Do the difference, returning SAD
dparams | block parameters |
mv1 | the motion vector being used for reference 1 |
mv2 | the motion vector being used for reference 2 |
Implemented in dirac::BiBlockEighthPel, dirac::BiBlockQuarterPel, and dirac::BiBlockHalfPel.
|
private |
|
protected |
|
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.