# Dirac - A Video Codec

Created by the British Broadcasting Corporation.

# dirac::BiBlockQuarterPel Class Reference

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

`#include <me_utils.h>`

Inheritance diagram for dirac::BiBlockQuarterPel:

[legend]
Collaboration diagram for dirac::BiBlockQuarterPel:

[legend]

List of all members.

## Public Member Functions

- BiBlockQuarterPel (const PicArray &ref1, const PicArray &ref2, const PicArray &pic)
    Constructor, initialising the references and picture data.
- float Diff (const BlockDiffParams &dparams, const MVector &mv1, const MVector &mv2)
    Do the difference, returning SAD.

## Private Member Functions

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

## Constructor & Destructor Documentation

dirac::BiBlockQuarterPel::BiBlockQuarterPel | ( | const PicArray & | ref1,
|  | const PicArray & | ref2,
|  | const PicArray & | pic |
| ) |  |  |

dirac::BiBlockQuarterPel::BiBlockQuarterPel | ( | const BiBlockQuarterPel & | cpy | ) | `[private]`

## Member Function Documentation

float dirac::BiBlockQuarterPel::Diff | ( | const BlockDiffParams & | dparams,
|  | const MVector & | mv1,
|  | const MVector & | mv2 |
| ) |  |  | `[virtual]`

Do the difference, returning SAD

Parameters:

  | dparams | block parameters
  | mv1 | the motion vector being used for reference 1
  | mv2 | the motion vector being used for reference 2

Implements dirac::BiBlockDiff.

BiBlockQuarterPel& dirac::BiBlockQuarterPel::operator= | ( | const BiBlockQuarterPel & | rhs | ) | `[private]`

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

- me_utils.h

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