TuttleOFX  1
tuttle::plugin::invert::InvertProcess< View > Class Template Reference

#include <InvertProcess.hpp>

Inheritance diagram for tuttle::plugin::invert::InvertProcess< View >:
Collaboration diagram for tuttle::plugin::invert::InvertProcess< View >:

Public Member Functions

 InvertProcess (InvertPlugin &instance)
void setup (const OFX::RenderArguments &args)
void preProcess ()
 called before any MP is done
void multiThreadProcessImages (const OfxRectI &procWindowRoW)
 Function called by rendering thread each time a process must be done.
template<>
void multiThreadProcessImages (const OfxRectI &procWindowRoW)
 this is called by multiThreadFunction to actually process images, override in derived classes
template<>
void multiThreadProcessImages (const OfxRectI &procWindowRoW)
 this is called by multiThreadFunction to actually process images, override in derived classes
template<>
void multiThreadProcessImages (const OfxRectI &procWindowRoW)
 this is called by multiThreadFunction to actually process images, override in derived classes
template<>
void multiThreadProcessImages (const OfxRectI &procWindowRoW)
 this is called by multiThreadFunction to actually process images, override in derived classes
template<>
void multiThreadProcessImages (const OfxRectI &procWindowRoW)
 this is called by multiThreadFunction to actually process images, override in derived classes
template<>
void multiThreadProcessImages (const OfxRectI &procWindowRoW)
 this is called by multiThreadFunction to actually process images, override in derived classes
template<>
void multiThreadProcessImages (const OfxRectI &procWindowRoW)
 this is called by multiThreadFunction to actually process images, override in derived classes
template<>
void multiThreadProcessImages (const OfxRectI &procWindowRoW)
 this is called by multiThreadFunction to actually process images, override in derived classes
template<>
void multiThreadProcessImages (const OfxRectI &procWindowRoW)
 this is called by multiThreadFunction to actually process images, override in derived classes
template<>
void multiThreadProcessImages (const OfxRectI &procWindowRoW)
 this is called by multiThreadFunction to actually process images, override in derived classes
template<>
void multiThreadProcessImages (const OfxRectI &procWindowRoW)
 this is called by multiThreadFunction to actually process images, override in derived classes
template<>
void multiThreadProcessImages (const OfxRectI &procWindowRoW)
 this is called by multiThreadFunction to actually process images, override in derived classes

Protected Member Functions

template<typename WorkView >
void invertRGBAPixels (WorkView &src, WorkView &dst, bool red, bool green, bool blue, bool alpha)
template<typename WorkView >
void invertRGBPixels (WorkView &src, WorkView &dst, bool red, bool green, bool blue)
template<typename WorkView >
void invertGrayPixels (WorkView &src, WorkView &dst, bool alpha)

Protected Attributes

InvertPlugin_plugin
 Rendering plugin.
InvertProcessParams _params
 parameters

Detailed Description

template<class View>
class tuttle::plugin::invert::InvertProcess< View >

Definition at line 20 of file InvertProcess.hpp.


Constructor & Destructor Documentation

template<class View >
tuttle::plugin::invert::InvertProcess< View >::InvertProcess ( InvertPlugin instance)

Definition at line 19 of file InvertProcess.tcc.


Member Function Documentation

template<class View >
template<typename WorkView >
void tuttle::plugin::invert::InvertProcess< View >::invertGrayPixels ( WorkView &  src,
WorkView &  dst,
bool  alpha 
) [protected]

Definition at line 440 of file InvertProcess.tcc.

References tuttle::plugin::merge::copy_pixels(), and terry::algorithm::transform_pixels_progress().

Here is the call graph for this function:

template<class View >
template<typename WorkView >
void tuttle::plugin::invert::InvertProcess< View >::invertRGBAPixels ( WorkView &  src,
WorkView &  dst,
bool  red,
bool  green,
bool  blue,
bool  alpha 
) [protected]

Definition at line 261 of file InvertProcess.tcc.

References tuttle::plugin::merge::copy_pixels(), and terry::algorithm::transform_pixels_progress().

Here is the call graph for this function:

template<class View >
template<typename WorkView >
void tuttle::plugin::invert::InvertProcess< View >::invertRGBPixels ( WorkView &  src,
WorkView &  dst,
bool  red,
bool  green,
bool  blue 
) [protected]

Definition at line 366 of file InvertProcess.tcc.

References tuttle::plugin::merge::copy_pixels(), and terry::algorithm::transform_pixels_progress().

Here is the call graph for this function:

template<class View >
void tuttle::plugin::invert::InvertProcess< View >::multiThreadProcessImages ( const OfxRectI procWindowRoW) [virtual]

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

Parameters:
[in]procWindowRoWProcessing window in RoW

Implements tuttle::plugin::ImageProcessor.

Definition at line 45 of file InvertProcess.tcc.

References TUTTLE_LOG_ERROR.

template<>
void tuttle::plugin::invert::InvertProcess< terry::rgba32f_view_t >::multiThreadProcessImages ( const OfxRectI windowRoW) [virtual]

this is called by multiThreadFunction to actually process images, override in derived classes

Implements tuttle::plugin::ImageProcessor.

Definition at line 52 of file InvertProcess.tcc.

References terry::subimage_view(), OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.

Here is the call graph for this function:

template<>
void tuttle::plugin::invert::InvertProcess< terry::rgba32_view_t >::multiThreadProcessImages ( const OfxRectI windowRoW) [virtual]

this is called by multiThreadFunction to actually process images, override in derived classes

Implements tuttle::plugin::ImageProcessor.

Definition at line 70 of file InvertProcess.tcc.

References terry::subimage_view(), OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.

Here is the call graph for this function:

template<>
void tuttle::plugin::invert::InvertProcess< terry::rgba16_view_t >::multiThreadProcessImages ( const OfxRectI windowRoW) [virtual]

this is called by multiThreadFunction to actually process images, override in derived classes

Implements tuttle::plugin::ImageProcessor.

Definition at line 88 of file InvertProcess.tcc.

References terry::subimage_view(), OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.

Here is the call graph for this function:

template<>
void tuttle::plugin::invert::InvertProcess< terry::rgba8_view_t >::multiThreadProcessImages ( const OfxRectI windowRoW) [virtual]

this is called by multiThreadFunction to actually process images, override in derived classes

Implements tuttle::plugin::ImageProcessor.

Definition at line 106 of file InvertProcess.tcc.

References terry::subimage_view(), OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.

Here is the call graph for this function:

template<>
void tuttle::plugin::invert::InvertProcess< terry::rgb32f_view_t >::multiThreadProcessImages ( const OfxRectI windowRoW) [virtual]

this is called by multiThreadFunction to actually process images, override in derived classes

Implements tuttle::plugin::ImageProcessor.

Definition at line 124 of file InvertProcess.tcc.

References terry::subimage_view(), OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.

Here is the call graph for this function:

template<>
void tuttle::plugin::invert::InvertProcess< terry::rgb32_view_t >::multiThreadProcessImages ( const OfxRectI windowRoW) [virtual]

this is called by multiThreadFunction to actually process images, override in derived classes

Implements tuttle::plugin::ImageProcessor.

Definition at line 141 of file InvertProcess.tcc.

References terry::subimage_view(), OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.

Here is the call graph for this function:

template<>
void tuttle::plugin::invert::InvertProcess< terry::rgb16_view_t >::multiThreadProcessImages ( const OfxRectI windowRoW) [virtual]

this is called by multiThreadFunction to actually process images, override in derived classes

Implements tuttle::plugin::ImageProcessor.

Definition at line 158 of file InvertProcess.tcc.

References terry::subimage_view(), OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.

Here is the call graph for this function:

template<>
void tuttle::plugin::invert::InvertProcess< terry::rgb8_view_t >::multiThreadProcessImages ( const OfxRectI windowRoW) [virtual]

this is called by multiThreadFunction to actually process images, override in derived classes

Implements tuttle::plugin::ImageProcessor.

Definition at line 175 of file InvertProcess.tcc.

References terry::subimage_view(), OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.

Here is the call graph for this function:

template<>
void tuttle::plugin::invert::InvertProcess< terry::gray32f_view_t >::multiThreadProcessImages ( const OfxRectI windowRoW) [virtual]

this is called by multiThreadFunction to actually process images, override in derived classes

Implements tuttle::plugin::ImageProcessor.

Definition at line 192 of file InvertProcess.tcc.

References terry::subimage_view(), OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.

Here is the call graph for this function:

template<>
void tuttle::plugin::invert::InvertProcess< terry::gray32_view_t >::multiThreadProcessImages ( const OfxRectI windowRoW) [virtual]

this is called by multiThreadFunction to actually process images, override in derived classes

Implements tuttle::plugin::ImageProcessor.

Definition at line 209 of file InvertProcess.tcc.

References terry::subimage_view(), OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.

Here is the call graph for this function:

template<>
void tuttle::plugin::invert::InvertProcess< terry::gray16_view_t >::multiThreadProcessImages ( const OfxRectI windowRoW) [virtual]

this is called by multiThreadFunction to actually process images, override in derived classes

Implements tuttle::plugin::ImageProcessor.

Definition at line 226 of file InvertProcess.tcc.

References terry::subimage_view(), OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.

Here is the call graph for this function:

template<>
void tuttle::plugin::invert::InvertProcess< terry::gray8_view_t >::multiThreadProcessImages ( const OfxRectI windowRoW) [virtual]

this is called by multiThreadFunction to actually process images, override in derived classes

Implements tuttle::plugin::ImageProcessor.

Definition at line 243 of file InvertProcess.tcc.

References terry::subimage_view(), OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.

Here is the call graph for this function:

template<class View >
void tuttle::plugin::invert::InvertProcess< View >::preProcess ( ) [virtual]

called before any MP is done

Reimplemented from tuttle::plugin::ImageProcessor.

Definition at line 33 of file InvertProcess.tcc.

template<class View >
void tuttle::plugin::invert::InvertProcess< View >::setup ( const OFX::RenderArguments args) [virtual]

Field Documentation

template<class View >
InvertProcessParams tuttle::plugin::invert::InvertProcess< View >::_params [protected]

parameters

Definition at line 24 of file InvertProcess.hpp.

template<class View >
InvertPlugin& tuttle::plugin::invert::InvertProcess< View >::_plugin [protected]

Rendering plugin.

Definition at line 23 of file InvertProcess.hpp.


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