- Main Page
- Namespaces
- Classes
- Files
- Directories

- Class List
- Class Hierarchy
- Class Members

# dirac::BlockDiff Class Reference

An abstract class for doing block difference calculations. More...

`#include <me_utils.h>`

Inheritance diagram for dirac::BlockDiff:

List of all members.

## Public Member Functions
| BlockDiff (const PicArray &ref, const PicArray &pic)
| Constructor, initialising the reference and picture data.
virtual | ~BlockDiff ()
| Destructor.
virtual float | Diff (const BlockDiffParams &dparams, const MVector &mv)=0
| Do the actual difference - virtual function must be overridden.
## Protected Attributes
const PicArray & | pic_data
const PicArray & | ref_data

## Detailed Description

An abstract class for doing block difference calculations.

Definition at line 110 of file me_utils.h.

## Member Function Documentation

virtual float dirac::BlockDiff::Diff | ( | const BlockDiffParams & | dparams,
|  | const MVector & | mv
| ) | `[pure virtual]`

  | Do the actual difference - virtual function must be overridden. Do the actual difference Parameters:
  | dparams | the parameters in which costs, block parameters etc are stored
  | mv | the motion vector being used
Implemented in dirac::SimpleBlockDiff, dirac::BChkBlockDiff, dirac::BlockDiffUp, dirac::SimpleBlockDiffUp, and dirac::BChkBlockDiffUp. Referenced by dirac::BlockMatcher::FindBestMatch(), and dirac::BlockMatcher::FindBestMatchSubp().

The documentation for this class was generated from the following files:

- C:/guliverkli/src/filters/parser/diracsplitter/libdirac/libdirac_motionest/me_utils.h
- C:/guliverkli/src/filters/parser/diracsplitter/libdirac/libdirac_motionest/me_utils.cpp