Dirac - A Video Codec

Created by the British Broadcasting Corporation.


dirac::MvCostData Class Reference

Class for recording costs derived in motion estimation.

#include <motion.h>

Public Member Functions

 MvCostData ()
 Constructor.
void SetTotal (const float lambda)

Public Attributes

float SAD
 The Sum of Absolute Differences - easier to compute than Sum-Squared Differences.
float mvcost
 The (Lagrangian-weighted) motion vector cost - the difference of a motion vector from its neighbouring vectors.
float total
 Total=SAD+mvcost.

Constructor & Destructor Documentation

◆ MvCostData()

dirac::MvCostData::MvCostData ( )
inline

References mvcost, SAD, and total.

Member Function Documentation

◆ SetTotal()

void dirac::MvCostData::SetTotal ( const float lambda)
inline

References mvcost, SAD, and total.

Member Data Documentation

◆ mvcost

float dirac::MvCostData::mvcost

Referenced by MvCostData(), and SetTotal().

◆ SAD

float dirac::MvCostData::SAD

Referenced by MvCostData(), and SetTotal().

◆ total

float dirac::MvCostData::total

Referenced by MvCostData(), and SetTotal().


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.