TuttleOFX
1
|
#include <BitDepthProcess.hpp>
Public Member Functions | |
BitDepthProcess (BitDepthPlugin &instance) | |
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 | |
BitDepthPlugin & | _plugin |
Rendering plugin. | |
OFX::Clip * | _clipSrc |
Source image clip. | |
boost::scoped_ptr< OFX::Image > | _src |
OfxRectI | _srcPixelRod |
SView | _srcView |
source clip (filters have only one input) | |
Private Types | |
typedef SView::value_type | sPixel |
typedef DView::value_type | dPixel |
Definition at line 16 of file BitDepthProcess.hpp.
typedef DView::value_type tuttle::plugin::bitDepth::BitDepthProcess< SView, DView >::dPixel [private] |
Definition at line 19 of file BitDepthProcess.hpp.
typedef SView::value_type tuttle::plugin::bitDepth::BitDepthProcess< SView, DView >::sPixel [private] |
Definition at line 18 of file BitDepthProcess.hpp.
tuttle::plugin::bitDepth::BitDepthProcess< SView, DView >::BitDepthProcess | ( | BitDepthPlugin & | instance | ) |
Definition at line 13 of file BitDepthProcess.tcc.
References tuttle::plugin::bitDepth::BitDepthProcess< SView, DView >::_clipSrc, tuttle::plugin::bitDepth::BitDepthProcess< SView, DView >::_plugin, OFX::ImageEffect::fetchClip(), and kOfxImageEffectSimpleSourceClipName.
void tuttle::plugin::bitDepth::BitDepthProcess< SView, DView >::multiThreadProcessImages | ( | const OfxRectI & | procWindowRoW | ) | [virtual] |
Function called by rendering thread each time a process must be done.
[in] | procWindowRoW | Processing window in RoW |
Implements tuttle::plugin::ImageProcessor.
Definition at line 49 of file BitDepthProcess.tcc.
References terry::subimage_view(), OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.
void tuttle::plugin::bitDepth::BitDepthProcess< SView, DView >::setup | ( | const OFX::RenderArguments & | args | ) | [virtual] |
Reimplemented from tuttle::plugin::ImageGilProcessor< DView >.
Definition at line 21 of file BitDepthProcess.tcc.
References OFX::getImageEffectHostDescription(), OFX::RenderArguments::renderScale, and OFX::RenderArguments::time.
OFX::Clip* tuttle::plugin::bitDepth::BitDepthProcess< SView, DView >::_clipSrc [protected] |
Source image clip.
Definition at line 23 of file BitDepthProcess.hpp.
Referenced by tuttle::plugin::bitDepth::BitDepthProcess< SView, DView >::BitDepthProcess().
BitDepthPlugin& tuttle::plugin::bitDepth::BitDepthProcess< SView, DView >::_plugin [protected] |
Rendering plugin.
Definition at line 22 of file BitDepthProcess.hpp.
Referenced by tuttle::plugin::bitDepth::BitDepthProcess< SView, DView >::BitDepthProcess().
boost::scoped_ptr<OFX::Image> tuttle::plugin::bitDepth::BitDepthProcess< SView, DView >::_src [protected] |
Definition at line 24 of file BitDepthProcess.hpp.
OfxRectI tuttle::plugin::bitDepth::BitDepthProcess< SView, DView >::_srcPixelRod [protected] |
Definition at line 25 of file BitDepthProcess.hpp.
SView tuttle::plugin::bitDepth::BitDepthProcess< SView, DView >::_srcView [protected] |
source clip (filters have only one input)
Definition at line 26 of file BitDepthProcess.hpp.