Dirac - A Video Codec

Created by the British Broadcasting Corporation.


dirac::UpConverter Class Reference

Upconversion class. More...

#include <upconvert.h>

Public Member Functions

 UpConverter (int min_val, int max_val, int orig_xlen, int orig_ylen)
 Constructor.
 ~UpConverter ()
 Destructor.
void DoUpConverter (const PicArray &pic_data, PicArray &up_data)
 Upconvert the picture data.

Private Member Functions

 UpConverter (const UpConverter &cpy)
 Private body-less copy constructor: class should not be copied.
UpConverteroperator= (const UpConverter &rhs)
 Private body-less assignment: class should not be assigned.
void RowLoop (PicArray &up_data, const int row_num, const int filter_size, const int filter_shift, const short taps[4])
 Applies the filter to a row and its successor.

Private Attributes

int m_width_old
int m_height_old
int m_width_new
int m_height_new
const int m_min_val
const int m_max_val
const int m_orig_xl
const int m_orig_yl

Detailed Description

Class to upconvert data by a factor of 2 in both dimensions

Constructor & Destructor Documentation

◆ UpConverter() [1/2]

dirac::UpConverter::UpConverter ( int min_val,
int max_val,
int orig_xlen,
int orig_ylen )

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

◆ ~UpConverter()

dirac::UpConverter::~UpConverter ( )
inline

◆ UpConverter() [2/2]

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

References UpConverter().

Member Function Documentation

◆ DoUpConverter()

void dirac::UpConverter::DoUpConverter ( const PicArray & pic_data,
PicArray & up_data )

Upconvert the picture data, where the parameters are

Parameters
pic_datais the original data
up_datais the upconverted data

◆ operator=()

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

References UpConverter().

◆ RowLoop()

void dirac::UpConverter::RowLoop ( PicArray & up_data,
const int row_num,
const int filter_size,
const int filter_shift,
const short taps[4] )
private

Member Data Documentation

◆ m_height_new

int dirac::UpConverter::m_height_new
private

◆ m_height_old

int dirac::UpConverter::m_height_old
private

◆ m_max_val

const int dirac::UpConverter::m_max_val
private

◆ m_min_val

const int dirac::UpConverter::m_min_val
private

◆ m_orig_xl

const int dirac::UpConverter::m_orig_xl
private

◆ m_orig_yl

const int dirac::UpConverter::m_orig_yl
private

◆ m_width_new

int dirac::UpConverter::m_width_new
private

◆ m_width_old

int dirac::UpConverter::m_width_old
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.