Dirac Video Codec

# Dirac - A Video Codec

Created by the British Broadcasting Corporation.

# dirac::VHFilterHAAR2 Class Reference

Class to do Haar wavelet filtering operations with a double shift per level.

`#include <wavelet_utils.h>`

Inheritance diagram for dirac::VHFilterHAAR2:
[legend]
Collaboration diagram for dirac::VHFilterHAAR2:
[legend]

List of all members.

## Public Member Functions

- void Split (const int xp, const int yp, const int xl, const int yl, CoeffArray &coeff_data)
    Split a subband into 4.
- void Synth (const int xp, const int yp, const int xl, const int yl, CoeffArray &coeff_data)
    Create a single band from 4 quadrant bands.
- double GetLowFactor () const
    Return a correction factor to compensate for non-unity power gain of low-pass filter.
- double GetHighFactor () const
    Return a correction factor to compensate for non-unity power gain of high-pass filter.
- int GetShift () const
    Return the value of the additional bitshift.

## Member Function Documentation

void dirac::VHFilterHAAR2::Split | ( | const int | xp,
|  | const int | yp,
|  | const int | xl,
|  | const int | yl,
|  | CoeffArray & | coeff_data |
| ) |  |  | `[virtual]`

Implements dirac::VHFilter.

void dirac::VHFilterHAAR2::Synth | ( | const int | xp,
|  | const int | yp,
|  | const int | xl,
|  | const int | yl,
|  | CoeffArray & | coeff_data |
| ) |  |  | `[virtual]`

Implements dirac::VHFilter.

double dirac::VHFilterHAAR2::GetLowFactor | ( |  | ) | const`[inline]`

double dirac::VHFilterHAAR2::GetHighFactor | ( |  | ) | const`[inline]`

int dirac::VHFilterHAAR2::GetShift | ( |  | ) | const`[inline, virtual]`

Implements dirac::VHFilter.

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

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