Created by the British Broadcasting Corporation.
A class for doing differences with eighth-pixel accurate vectors.
#include <me_utils.h>
dirac::BlockDiffEighthPel::~BlockDiffEighthPel | ( | ) | [inline] |
dirac::BlockDiffEighthPel::BlockDiffEighthPel | ( | const BlockDiffEighthPel & | cpy | ) | [private] |
float dirac::BlockDiffEighthPel::Diff | ( | const BlockDiffParams & | dparams, |
const MVector & | mv | ||
) | [virtual] |
Do the difference, returning SAD
dparams | block parameters |
mv | the motion vector being used |
Implements dirac::BlockDiffUp.
void dirac::BlockDiffEighthPel::Diff | ( | const BlockDiffParams & | dparams, |
const MVector & | mv, | ||
const float | mvcost, | ||
const float | lambda, | ||
MvCostData & | best_costs, | ||
MVector & | best_mv | ||
) | [virtual] |
Do the actual 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 |
mvcost | the (prediction) cost of the motion vector mv |
lambda | the weighting to be given to mvcost |
best_costs | the best Lagrangian costs obtained yet |
best_mv | the MV giving the best Lagrangian costs so far |
Implements dirac::BlockDiffUp.
BlockDiffEighthPel& dirac::BlockDiffEighthPel::operator= | ( | const BlockDiffEighthPel & | 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.