TuttleOFX
1
|
Swscale process. More...
#include <SwscaleProcess.hpp>
Public Member Functions | |
SwscaleProcess (SwscalePlugin &effect) | |
void | setup (const OFX::RenderArguments &args) |
void | multiThreadProcessImages (const OfxRectI &procWindowRoW) |
Function called by rendering thread each time a process must be done. | |
void | postProcess () |
called before any MP is done | |
Protected Attributes | |
SwscalePlugin & | _plugin |
Rendering plugin. | |
SwscaleProcessParams | _params |
parameters | |
struct SwsContext * | _context |
Swscale process.
Definition at line 16 of file SwscaleProcess.hpp.
tuttle::plugin::swscale::SwscaleProcess::SwscaleProcess | ( | SwscalePlugin & | effect | ) |
Definition at line 7 of file SwscaleProcess.cpp.
References tuttle::plugin::ImageProcessor::setNoMultiThreading().
void tuttle::plugin::swscale::SwscaleProcess::multiThreadProcessImages | ( | const OfxRectI & | procWindow | ) | [virtual] |
Function called by rendering thread each time a process must be done.
[in] | procWindowRoW | Processing window |
Implements tuttle::plugin::ImageProcessor.
Definition at line 77 of file SwscaleProcess.cpp.
References _context, tuttle::plugin::ImageProcessor::_dst, _params, tuttle::plugin::ImageFilterProcessor::_src, tuttle::plugin::swscale::SwscaleProcessParams::_sws_filter, and tuttle::plugin::swscale::ofxPixelComponentToSwsPixelFormat().
void tuttle::plugin::swscale::SwscaleProcess::postProcess | ( | ) | [virtual] |
called before any MP is done
Reimplemented from tuttle::plugin::ImageProcessor.
Definition at line 131 of file SwscaleProcess.cpp.
References _context.
void tuttle::plugin::swscale::SwscaleProcess::setup | ( | const OFX::RenderArguments & | args | ) | [virtual] |
Reimplemented from tuttle::plugin::ImageFilterProcessor.
Definition at line 16 of file SwscaleProcess.cpp.
References _params, _plugin, tuttle::plugin::swscale::SwscalePlugin::getProcessParams(), and OFX::RenderArguments::renderScale.
struct SwsContext* tuttle::plugin::swscale::SwscaleProcess::_context [protected] |
Definition at line 21 of file SwscaleProcess.hpp.
Referenced by multiThreadProcessImages(), and postProcess().
parameters
Definition at line 20 of file SwscaleProcess.hpp.
Referenced by multiThreadProcessImages(), and setup().