A class for doing block differences to pixel accuracy, inherited from BlockDiff.
#include <me_utils.h>
List of all members.
Public Member Functions |
| PelBlockDiff (const PicArray &ref, const PicArray &pic) |
| Constructor, initialising the reference and picture data.
|
float | Diff (const BlockDiffParams &dparams, const MVector &mv) |
| Do the difference, returning SAD.
|
void | Diff (const BlockDiffParams &dparams, const MVector &mv, float &best_sum, MVector &best_mv) |
| Do the difference, overwriting the best MV so far if appropriate.
|
| BlockDiff (const PicArray &ref, const PicArray &pic) |
| Constructor, initialising the reference and picture data.
|
virtual | ~BlockDiff () |
| Destructor.
|
Constructor & Destructor Documentation
dirac::PelBlockDiff::PelBlockDiff |
( |
const PicArray & |
ref, |
|
|
const PicArray & |
pic |
|
) |
| |
dirac::PelBlockDiff::PelBlockDiff |
( |
const PelBlockDiff & |
cpy | ) |
|
|
private |
Member Function Documentation
Do the difference, returning SAD
- Parameters:
-
dparams | block parameters |
mv | the motion vector being used |
Implements dirac::BlockDiff.
Do the difference, overwriting the best MV so far if appropriate, and bailing out if we do worse
- Parameters:
-
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 |
The documentation for this class was generated from the following file: