Inherits DD::Image::Iop.
Public Member Functions | |
void | _validate (bool) |
void | _request (int x, int y, int r, int t, ChannelMask, int count) |
void | engine (int y, int x, int r, ChannelMask, Row &) |
template<typename TileType > | |
void | doEngine (int y, int x, int r, ChannelMask, Row &) |
UpRez (Node *node) | |
int | factor () const |
void | factor (int v) |
void | factor (int v, int w) |
int | factor_x () const |
void | factor_x (int v) |
int | factor_y () const |
void | factor_y (int v) |
const char * | Class () const |
const char * | node_help () const |
Scale up the image by an integer factor and using bilinear interpolation. This is fast and predictable and will invert DownRez without shifting the image any, so the pair can be used by the fast blur.
void UpRez::_validate | ( | bool | for_real | ) | [virtual] |
_validate() sets the output size to include the 1/2 of an unscaled pixel that will be filled outside the image.
Reimplemented from DD::Image::Iop.
References DD::Image::IopInfoOwner::info(), DD::Image::IopInfoOwner::info_, DD::Image::Iop::input0(), DD::Image::Mask_All, DD::Image::Box::r(), DD::Image::Iop::set_out_channels(), DD::Image::Box::t(), DD::Image::Op::validate(), DD::Image::Box::x(), and DD::Image::Box::y().
void UpRez::_request | ( | int | x, |
int | y, | ||
int | r, | ||
int | t, | ||
ChannelMask | m, | ||
int | count | ||
) | [virtual] |
request() has to request an extra pixel outside the area.
Reimplemented from DD::Image::Iop.
References DD::Image::Iop::input0(), and DD::Image::Iop::request().