TuttleOFX
1
|
00001 #ifndef _TUTTLE_PLUGIN_TURBOJPEG_READER_PROCESS_HPP_ 00002 #define _TUTTLE_PLUGIN_TURBOJPEG_READER_PROCESS_HPP_ 00003 00004 #include <tuttle/plugin/ImageGilProcessor.hpp> 00005 00006 namespace tuttle { 00007 namespace plugin { 00008 namespace turboJpeg { 00009 namespace reader { 00010 00011 /** 00012 * @brief TurboJpeg process 00013 * 00014 */ 00015 template<class View> 00016 class TurboJpegReaderProcess : public ImageGilProcessor<View> 00017 { 00018 protected: 00019 TurboJpegReaderPlugin& _plugin; ///< Rendering plugin 00020 TurboJpegReaderProcessParams _params; ///< parameters 00021 00022 public: 00023 TurboJpegReaderProcess( TurboJpegReaderPlugin& effect ); 00024 00025 void setup( const OFX::RenderArguments& args ); 00026 00027 void multiThreadProcessImages( const OfxRectI& procWindowRoW ); 00028 00029 void readImage( View& dst ); 00030 }; 00031 00032 } 00033 } 00034 } 00035 } 00036 00037 #include "TurboJpegReaderProcess.tcc" 00038 00039 #endif