TuttleOFX
1
|
00001 #ifndef _TUTTLE_PLUGIN_AV_READER_PROCESS_HPP_ 00002 #define _TUTTLE_PLUGIN_AV_READER_PROCESS_HPP_ 00003 00004 #include <terry/globals.hpp> 00005 00006 #include <tuttle/plugin/ImageGilProcessor.hpp> 00007 #include <tuttle/plugin/exceptions.hpp> 00008 00009 #include <boost/scoped_ptr.hpp> 00010 00011 namespace tuttle { 00012 namespace plugin { 00013 namespace av { 00014 namespace reader { 00015 00016 /** 00017 * @brief Audio Video process 00018 * 00019 */ 00020 template<class View> 00021 class AVReaderProcess : public ImageGilProcessor<View> 00022 { 00023 protected: 00024 AVReaderPlugin& _plugin; ///< Rendering plugin 00025 00026 public: 00027 AVReaderProcess( AVReaderPlugin& instance ); 00028 00029 void setup( const OFX::RenderArguments& args ); 00030 // Do some processing 00031 void multiThreadProcessImages( const OfxRectI& procWindowRoW ); 00032 }; 00033 00034 } 00035 } 00036 } 00037 } 00038 00039 #include "AVReaderProcess.tcc" 00040 00041 #endif