TuttleOFX  1
tuttle::plugin::swscale::SwscaleProcess Class Reference

Swscale process. More...

#include <SwscaleProcess.hpp>

Inheritance diagram for tuttle::plugin::swscale::SwscaleProcess:
Collaboration diagram for tuttle::plugin::swscale::SwscaleProcess:

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

Detailed Description

Swscale process.

Definition at line 16 of file SwscaleProcess.hpp.


Constructor & Destructor Documentation

tuttle::plugin::swscale::SwscaleProcess::SwscaleProcess ( SwscalePlugin effect)

Definition at line 7 of file SwscaleProcess.cpp.

References tuttle::plugin::ImageProcessor::setNoMultiThreading().

Here is the call graph for this function:


Member Function Documentation

void tuttle::plugin::swscale::SwscaleProcess::multiThreadProcessImages ( const OfxRectI procWindow) [virtual]

Function called by rendering thread each time a process must be done.

Parameters:
[in]procWindowRoWProcessing 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().

Here is the call graph for this function:

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.

Here is the call graph for this function:


Field Documentation

struct SwsContext* tuttle::plugin::swscale::SwscaleProcess::_context [protected]

Definition at line 21 of file SwscaleProcess.hpp.

Referenced by multiThreadProcessImages(), and postProcess().

Rendering plugin.

Definition at line 19 of file SwscaleProcess.hpp.

Referenced by setup().


The documentation for this class was generated from the following files: