DD::Image::UpRez Class Reference

Inherits DD::Image::Iop.

List of all members.

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 &)
 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


Detailed Description

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.

Member Function Documentation

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::Iop::input0(), DD::Image::Mask_All, DD::Image::Iop::set_out_channels(), and DD::Image::Op::validate().

void UpRez::_request ( int  x,
int  y,
int  r,
int  t,
ChannelMask  m,
int  n 
) [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().

void UpRez::engine ( int  y,
int  x,
int  r,
ChannelMask  channels,
Row row 
) [virtual]



©2009 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.thefoundry.co.uk