TuttleOFX  1
tuttle::plugin::bitDepth::BitDepthProcess< SView, DView > Class Template Reference

#include <BitDepthProcess.hpp>

Inheritance diagram for tuttle::plugin::bitDepth::BitDepthProcess< SView, DView >:
Collaboration diagram for tuttle::plugin::bitDepth::BitDepthProcess< SView, DView >:

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

Detailed Description

template<class SView, class DView>
class tuttle::plugin::bitDepth::BitDepthProcess< SView, DView >

Definition at line 16 of file BitDepthProcess.hpp.


Member Typedef Documentation

template<class SView, class DView>
typedef DView::value_type tuttle::plugin::bitDepth::BitDepthProcess< SView, DView >::dPixel [private]

Definition at line 19 of file BitDepthProcess.hpp.

template<class SView, class DView>
typedef SView::value_type tuttle::plugin::bitDepth::BitDepthProcess< SView, DView >::sPixel [private]

Definition at line 18 of file BitDepthProcess.hpp.


Constructor & Destructor Documentation


Member Function Documentation

template<class SView , class DView >
void tuttle::plugin::bitDepth::BitDepthProcess< SView, DView >::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 49 of file BitDepthProcess.tcc.

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

Here is the call graph for this function:

template<class SView , class DView >
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.

Here is the call graph for this function:


Field Documentation

template<class SView, class DView>
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().

template<class SView, class DView>
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().

template<class SView, class DView>
boost::scoped_ptr<OFX::Image> tuttle::plugin::bitDepth::BitDepthProcess< SView, DView >::_src [protected]

Definition at line 24 of file BitDepthProcess.hpp.

template<class SView, class DView>
OfxRectI tuttle::plugin::bitDepth::BitDepthProcess< SView, DView >::_srcPixelRod [protected]

Definition at line 25 of file BitDepthProcess.hpp.

template<class SView, class DView>
SView tuttle::plugin::bitDepth::BitDepthProcess< SView, DView >::_srcView [protected]

source clip (filters have only one input)

Definition at line 26 of file BitDepthProcess.hpp.


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