TuttleOFX  1
JpegReaderProcess.hpp
Go to the documentation of this file.
00001 #ifndef _TUTTLE_PLUGIN_JPEG_READER_PROCESS_HPP_
00002 #define _TUTTLE_PLUGIN_JPEG_READER_PROCESS_HPP_
00003 
00004 #include <tuttle/plugin/ImageGilProcessor.hpp>
00005 
00006 #include <boost/scoped_ptr.hpp>
00007 #include <boost/filesystem/fstream.hpp>
00008 
00009 namespace tuttle {
00010 namespace plugin {
00011 namespace jpeg {
00012 namespace reader {
00013 
00014 /**
00015  *
00016  */
00017 template<class View>
00018 class JpegReaderProcess : public ImageGilProcessor<View>
00019 {
00020 protected:
00021         JpegReaderPlugin&    _plugin;        ///< Rendering plugin
00022 
00023         JpegReaderProcessParams _params;
00024         
00025 public:
00026         JpegReaderProcess( JpegReaderPlugin& instance );
00027 
00028         void setup( const OFX::RenderArguments& args );
00029         void multiThreadProcessImages( const OfxRectI& procWindowRoW );
00030 
00031         View& readImage( View& dst );
00032 };
00033 
00034 }
00035 }
00036 }
00037 }
00038 
00039 #include "JpegReaderProcess.tcc"
00040 
00041 #endif