TuttleOFX
1
|
00001 #ifndef _TUTTLE_PLUGIN_SWSCALE_PROCESS_HPP_ 00002 #define _TUTTLE_PLUGIN_SWSCALE_PROCESS_HPP_ 00003 00004 #include "SwscalePlugin.hpp" 00005 00006 #include <tuttle/plugin/ImageFilterProcessor.hpp> 00007 00008 namespace tuttle { 00009 namespace plugin { 00010 namespace swscale { 00011 00012 /** 00013 * @brief Swscale process 00014 * 00015 */ 00016 class SwscaleProcess : public ImageFilterProcessor 00017 { 00018 protected: 00019 SwscalePlugin& _plugin; ///< Rendering plugin 00020 SwscaleProcessParams _params; ///< parameters 00021 struct SwsContext* _context; 00022 00023 public: 00024 SwscaleProcess( SwscalePlugin& effect ); 00025 00026 void setup( const OFX::RenderArguments& args ); 00027 00028 void multiThreadProcessImages( const OfxRectI& procWindowRoW ); 00029 00030 void postProcess(); 00031 }; 00032 00033 } 00034 } 00035 } 00036 00037 #endif