Created by the British Broadcasting Corporation.
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. | |
UpConverter & | operator= (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 |
Class to upconvert data by a factor of 2 in both dimensions
dirac::UpConverter::UpConverter | ( | int | min_val, |
int | max_val, | ||
int | orig_xlen, | ||
int | orig_ylen ) |
Referenced by operator=(), and UpConverter().
|
inline |
|
private |
References UpConverter().
Upconvert the picture data, where the parameters are
pic_data | is the original data |
up_data | is the upconverted data |
|
private |
References UpConverter().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
© 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.