Dirac - A Video Codec

Created by the British Broadcasting Corporation.


dirac::IntraBlockDiff Class Reference

A class for calculating the difference between a block and its DC value (average)

#include <me_utils.h>

Collaboration diagram for dirac::IntraBlockDiff:

Public Member Functions

 IntraBlockDiff (const PicArray &pic)
 Constructor, initialising the picture data.
float Diff (const BlockDiffParams &dparams, ValueType &dc_val)
 Do the difference, calculating the DC value and returning SAD.
ValueType CalcDC (const BlockDiffParams &dparams)
 Calculate a DC value.

Private Member Functions

 IntraBlockDiff (const IntraBlockDiff &cpy)
 Private, bodyless copy-constructor: class should not be copied.
IntraBlockDiffoperator= (const IntraBlockDiff &rhs)
 Private, bodyless assignment=: class should not be assigned.

Private Attributes

const PicArraym_pic_data

Constructor & Destructor Documentation

◆ IntraBlockDiff() [1/2]

dirac::IntraBlockDiff::IntraBlockDiff ( const PicArray & pic)

Referenced by IntraBlockDiff(), and operator=().

◆ IntraBlockDiff() [2/2]

dirac::IntraBlockDiff::IntraBlockDiff ( const IntraBlockDiff & cpy)
private

References IntraBlockDiff().

Member Function Documentation

◆ CalcDC()

ValueType dirac::IntraBlockDiff::CalcDC ( const BlockDiffParams & dparams)

◆ Diff()

float dirac::IntraBlockDiff::Diff ( const BlockDiffParams & dparams,
ValueType & dc_val )

Do the difference, calculating the DC value and returning SAD

Parameters
dparamsblock parameters
dc_valDC value

◆ operator=()

IntraBlockDiff & dirac::IntraBlockDiff::operator= ( const IntraBlockDiff & rhs)
private

References IntraBlockDiff().

Member Data Documentation

◆ m_pic_data

const PicArray& dirac::IntraBlockDiff::m_pic_data
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.