TuttleOFX
1
|
Pinning process. More...
#include <PinningProcess.hpp>
Public Types | |
typedef PinningPlugin::Scalar | Scalar |
Public Member Functions | |
PinningProcess (PinningPlugin &effect) | |
void | setup (const OFX::RenderArguments &args) |
void | multiThreadProcessImages (const OfxRectI &procWindowRoW) |
Function called by rendering thread each time a process must be done. | |
Protected Attributes | |
PinningPlugin & | _plugin |
Rendering plugin. | |
PinningProcessParams< Scalar > | _params |
Private Member Functions | |
template<class Sampler > | |
void | resample (View &srcView, View &dstView, const terry::Rect< std::ssize_t > &procWindow, const Sampler &sampler=Sampler()) |
Pinning process.
Definition at line 17 of file PinningProcess.hpp.
typedef PinningPlugin::Scalar tuttle::plugin::pinning::PinningProcess< View >::Scalar |
Definition at line 20 of file PinningProcess.hpp.
tuttle::plugin::pinning::PinningProcess< View >::PinningProcess | ( | PinningPlugin & | effect | ) |
Definition at line 15 of file PinningProcess.tcc.
void tuttle::plugin::pinning::PinningProcess< View >::multiThreadProcessImages | ( | const OfxRectI & | procWindowRoW | ) | [virtual] |
Function called by rendering thread each time a process must be done.
[in] | procWindowRoW | Processing window |
Implements tuttle::plugin::ImageProcessor.
Definition at line 34 of file PinningProcess.tcc.
References terry::sampler::eParamFilterBC, tuttle::plugin::swscale::eParamFilterBicubic, tuttle::plugin::swscale::eParamFilterBilinear, terry::sampler::eParamFilterCatrom, terry::sampler::eParamFilterGaussian, terry::sampler::eParamFilterKeys, tuttle::plugin::swscale::eParamFilterLanczos, terry::sampler::eParamFilterLanczos12, terry::sampler::eParamFilterLanczos3, terry::sampler::eParamFilterLanczos4, terry::sampler::eParamFilterLanczos6, terry::sampler::eParamFilterMitchell, terry::sampler::eParamFilterNearest, terry::sampler::eParamFilterParzen, terry::sampler::eParamFilterRifman, terry::sampler::eParamFilterSimon, and tuttle::plugin::ofxToGil().
void tuttle::plugin::pinning::PinningProcess< View >::resample | ( | View & | srcView, |
View & | dstView, | ||
const terry::Rect< std::ssize_t > & | procWindow, | ||
const Sampler & | sampler = Sampler() |
||
) | [private] |
Definition at line 133 of file PinningProcess.tcc.
References tuttle::plugin::pinning::eParamMethodAffine, tuttle::plugin::pinning::eParamMethodBilinear, and tuttle::plugin::pinning::eParamMethodPerspective.
void tuttle::plugin::pinning::PinningProcess< View >::setup | ( | const OFX::RenderArguments & | args | ) | [virtual] |
Reimplemented from tuttle::plugin::ImageGilFilterProcessor< View >.
Definition at line 22 of file PinningProcess.tcc.
References OFX::RenderArguments::renderScale, and OFX::RenderArguments::time.
PinningProcessParams<Scalar> tuttle::plugin::pinning::PinningProcess< View >::_params [protected] |
Definition at line 24 of file PinningProcess.hpp.
PinningPlugin& tuttle::plugin::pinning::PinningProcess< View >::_plugin [protected] |
Rendering plugin.
Definition at line 22 of file PinningProcess.hpp.