TuttleOFX  1
BitDepthPlugin.hpp
Go to the documentation of this file.
00001 #ifndef _BITDEPTH_PLUGIN_HPP_
00002 #define _BITDEPTH_PLUGIN_HPP_
00003 
00004 #include <tuttle/plugin/ImageEffectGilPlugin.hpp>
00005 
00006 namespace tuttle {
00007 namespace plugin {
00008 namespace bitDepth {
00009 
00010 /**
00011  * @brief
00012  *
00013  */
00014 class BitDepthPlugin : public ImageEffectGilPlugin
00015 {
00016 public:
00017         BitDepthPlugin( OfxImageEffectHandle handle );
00018 
00019 public:
00020         void getClipPreferences( OFX::ClipPreferencesSetter& clipPreferences );
00021 
00022         void render( const OFX::RenderArguments& args );
00023 
00024 private:
00025         template<class sview_t>
00026         void setupDestView( const OFX::RenderArguments& args );
00027 
00028 public:
00029         OFX::ChoiceParam* _paramOutBitDepth;      ///< Output bit depth
00030 };
00031 
00032 }
00033 }
00034 }
00035 
00036 #endif