TuttleOFX  1
AVWriterProcess.hpp
Go to the documentation of this file.
00001 #ifndef _TUTTLE_PLUGIN_FFMPEG_WRITER_PROCESS_HPP_
00002 #define _TUTTLE_PLUGIN_FFMPEG_WRITER_PROCESS_HPP_
00003 
00004 #include <libav/LibAVVideoWriter.hpp>
00005 
00006 #include <tuttle/plugin/ImageGilFilterProcessor.hpp>
00007 #include <tuttle/plugin/exceptions.hpp>
00008 
00009 #include <terry/globals.hpp>
00010 
00011 #include <boost/scoped_ptr.hpp>
00012 
00013 namespace tuttle {
00014 namespace plugin {
00015 namespace av {
00016 namespace writer {
00017 
00018 /**
00019  * @brief FFMpeg process
00020  *
00021  */
00022 template<class View>
00023 class AVWriterProcess : public ImageGilFilterProcessor<View>
00024 {
00025 protected:
00026         AVWriterPlugin& _plugin;        ///< Rendering plugin
00027         AVProcessParams _params;
00028 
00029 public:
00030         AVWriterProcess( AVWriterPlugin& instance );
00031 
00032         void multiThreadProcessImages( const OfxRectI& procWindowRoW );
00033 };
00034 
00035 }
00036 }
00037 }
00038 }
00039 
00040 #include "AVWriterProcess.tcc"
00041 
00042 #endif