Dirac - A Video Codec

Created by the British Broadcasting Corporation.


Public Member Functions | Private Member Functions

dirac::PelBlockDiff Class Reference

A class for doing block differences to pixel accuracy, inherited from BlockDiff.

#include <me_utils.h>

Inheritance diagram for dirac::PelBlockDiff:
Inheritance graph
[legend]
Collaboration diagram for dirac::PelBlockDiff:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Private Member Functions


Constructor & Destructor Documentation

dirac::PelBlockDiff::PelBlockDiff ( const PicArray ref,
const PicArray pic 
)
dirac::PelBlockDiff::PelBlockDiff ( const PelBlockDiff cpy) [private]

Member Function Documentation

float dirac::PelBlockDiff::Diff ( const BlockDiffParams dparams,
const MVector mv 
) [virtual]

Do the difference, returning SAD

Parameters:
dparamsblock parameters
mvthe 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

Parameters:
dparamsblock parameters
mvthe motion vector being used
best_sumthe best SAD value obtain yet
best_mvthe MV giving the best SAD value so far
PelBlockDiff& dirac::PelBlockDiff::operator= ( const PelBlockDiff rhs) [private]

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

© 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.