Dirac - A Video Codec

Created by the British Broadcasting Corporation.


Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
dirac::DownConverter Class Reference

A class for fast downconversion of picture data. More...

#include <downconvert.h>

Public Member Functions

 DownConverter ()
 Constructor. More...
 
 ~DownConverter ()
 Destructor. More...
 
void DoDownConvert (const PicArray &old_data, PicArray &new_data)
 A function to do the actual down-conversion. More...
 

Private Member Functions

 DownConverter (const DownConverter &cpy)
 
DownConverteroperator= (const DownConverter &rhs)
 
void RowLoop (const int colpos, PicArray &new_data)
 

Private Attributes

ValueTypem_row_buffer
 

Static Private Attributes

static const int Stage_I_Size = 6
 
static const int StageI_I = 86
 
static const int StageI_II = 46
 
static const int StageI_III = 4
 
static const int StageI_IV = -8
 
static const int StageI_V = -4
 
static const int StageI_VI = 4
 
static const int StageI_Shift = 8
 

Detailed Description

A class for fast down-conversion of picture data. The picture data is downconverted by a factor of two in each dimension, using fast filtering techniques. The filter is a half-band filter designed to trade off frequency response, ringiness, and aliasing

Constructor & Destructor Documentation

◆ DownConverter() [1/2]

dirac::DownConverter::DownConverter ( )

◆ ~DownConverter()

dirac::DownConverter::~DownConverter ( )
inline

◆ DownConverter() [2/2]

dirac::DownConverter::DownConverter ( const DownConverter cpy)
private

Member Function Documentation

◆ DoDownConvert()

void dirac::DownConverter::DoDownConvert ( const PicArray old_data,
PicArray new_data 
)

A function to do the actual downconversion.

Parameters
old_datathe picture data to be downconverted
new_datathe resulting down-converted data. The array must be of the correct size.

◆ operator=()

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

◆ RowLoop()

void dirac::DownConverter::RowLoop ( const int  colpos,
PicArray new_data 
)
private

Member Data Documentation

◆ m_row_buffer

ValueType* dirac::DownConverter::m_row_buffer
private

◆ Stage_I_Size

const int dirac::DownConverter::Stage_I_Size = 6
staticprivate

◆ StageI_I

const int dirac::DownConverter::StageI_I = 86
staticprivate

◆ StageI_II

const int dirac::DownConverter::StageI_II = 46
staticprivate

◆ StageI_III

const int dirac::DownConverter::StageI_III = 4
staticprivate

◆ StageI_IV

const int dirac::DownConverter::StageI_IV = -8
staticprivate

◆ StageI_Shift

const int dirac::DownConverter::StageI_Shift = 8
staticprivate

◆ StageI_V

const int dirac::DownConverter::StageI_V = -4
staticprivate

◆ StageI_VI

const int dirac::DownConverter::StageI_VI = 4
staticprivate

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.