A class for doing differences with quarter-pixel accurate vectors.
#include <me_utils.h>
|
| | BlockDiffQuarterPel (const PicArray &ref, const PicArray &pic) |
| | Constructor, initialising the reference and picture data. More...
|
| |
| | ~BlockDiffQuarterPel () |
| | Destructor. More...
|
| |
| float | Diff (const BlockDiffParams &dparams, const MVector &mv) |
| | Do the difference, returning SAD. More...
|
| |
| void | Diff (const BlockDiffParams &dparams, const MVector &mv, const float mvcost, const float lambda, MvCostData &best_costs, MVector &best_mv) |
| | Do the actual difference, overwriting the best MV so far if appropriate. More...
|
| |
| | BlockDiffUp (const PicArray &ref, const PicArray &pic) |
| | Constructor, initialising the reference and picture data. More...
|
| |
| virtual | ~BlockDiffUp () |
| | Destructor. More...
|
| |
| virtual float | Diff (const BlockDiffParams &dparams, const MVector &mv)=0 |
| | Do the difference, returning SAD. More...
|
| |
| virtual void | Diff (const BlockDiffParams &dparams, const MVector &mv, const float mvcost, const float lambda, MvCostData &best_costs, MVector &best_mv)=0 |
| | Do the actual difference, overwriting the best MV so far if appropriate. More...
|
| |
| | 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...
|
| |
◆ BlockDiffQuarterPel() [1/2]
| dirac::BlockDiffQuarterPel::BlockDiffQuarterPel |
( |
const PicArray & |
ref, |
|
|
const PicArray & |
pic |
|
) |
| |
◆ ~BlockDiffQuarterPel()
| dirac::BlockDiffQuarterPel::~BlockDiffQuarterPel |
( |
| ) |
|
|
inline |
◆ BlockDiffQuarterPel() [2/2]
◆ Diff() [1/2]
Do the difference, returning SAD
- Parameters
-
| dparams | block parameters |
| mv | the motion vector being used |
Implements dirac::BlockDiffUp.
◆ Diff() [2/2]
Do the actual 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 |
| 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.
◆ operator=()
The documentation for this class was generated from the following file: