Dirac - A Video Codec

Created by the British Broadcasting Corporation.


Public Member Functions | Private Member Functions | List of all members
dirac::BiBlockHalfPel Class Reference

A class for computing a bidirection difference for half-pel vectors.

#include <me_utils.h>

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

Public Member Functions

 BiBlockHalfPel (const PicArray &ref1, const PicArray &ref2, const PicArray &pic)
 Constructor, initialising the references and picture data. More...
 
float Diff (const BlockDiffParams &dparams, const MVector &mv1, const MVector &mv2)
 Do the difference, returning SAD. More...
 
- Public Member Functions inherited from dirac::BiBlockDiff
 BiBlockDiff (const PicArray &ref1, const PicArray &ref2, const PicArray &pic)
 Constructor, initialising the references and picture data. More...
 
virtual ~BiBlockDiff ()
 Virtual destructor. More...
 
virtual float Diff (const BlockDiffParams &dparams, const MVector &mv1, const MVector &mv2)=0
 Do the difference, returning SAD. More...
 

Private Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from dirac::BiBlockDiff
const PicArraym_pic_data
 
const PicArraym_ref_data1
 
const PicArraym_ref_data2
 

Constructor & Destructor Documentation

◆ BiBlockHalfPel() [1/2]

dirac::BiBlockHalfPel::BiBlockHalfPel ( const PicArray ref1,
const PicArray ref2,
const PicArray pic 
)

◆ BiBlockHalfPel() [2/2]

dirac::BiBlockHalfPel::BiBlockHalfPel ( const BiBlockHalfPel cpy)
private

Member Function Documentation

◆ Diff()

float dirac::BiBlockHalfPel::Diff ( const BlockDiffParams dparams,
const MVector mv1,
const MVector mv2 
)
virtual

Do the difference, returning SAD

Parameters
dparamsblock parameters
mv1the motion vector being used for reference 1
mv2the motion vector being used for reference 2

Implements dirac::BiBlockDiff.

◆ operator=()

BiBlockHalfPel & dirac::BiBlockHalfPel::operator= ( const BiBlockHalfPel 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.