Created by the British Broadcasting Corporation.
A class for doing block differences to pixel accuracy, inherited from BlockDiff.
#include <me_utils.h>
dirac::PelBlockDiff::PelBlockDiff | ( | const PelBlockDiff & | cpy | ) | [private] |
float dirac::PelBlockDiff::Diff | ( | const BlockDiffParams & | dparams, |
const MVector & | mv | ||
) | [virtual] |
Do the difference, returning SAD
dparams | block parameters |
mv | the motion vector being used |
Implements dirac::BlockDiff.
void dirac::PelBlockDiff::Diff | ( | const BlockDiffParams & | dparams, |
const MVector & | mv, | ||
float & | best_sum, | ||
MVector & | best_mv | ||
) |
Do the difference, overwriting the best MV so far if appropriate, and bailing out if we do worse
dparams | block parameters |
mv | the motion vector being used |
best_sum | the best SAD value obtain yet |
best_mv | the MV giving the best SAD value so far |
PelBlockDiff& dirac::PelBlockDiff::operator= | ( | const PelBlockDiff & | rhs | ) | [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.