TuttleOFX
1
|
00001 #ifndef _TUTTLE_PLUGIN_OUTPUTBUFFER_DEFINITIONS_HPP_ 00002 #define _TUTTLE_PLUGIN_OUTPUTBUFFER_DEFINITIONS_HPP_ 00003 00004 #include <tuttle/plugin/global.hpp> 00005 00006 #include <ofxsImageEffect.h> 00007 00008 namespace tuttle { 00009 namespace plugin { 00010 namespace outputBuffer { 00011 00012 static const std::string kParamOutputCallbackPointer = "callbackPointer"; 00013 static const std::string kParamOutputCustomData = "customData"; 00014 static const std::string kParamOutputCallbackDestroyCustomData = "callbackDestroyCustomData"; 00015 00016 extern "C" { 00017 typedef void* CustomDataPtr; 00018 typedef void (*CallbackOutputImagePtr)( OfxTime time, CustomDataPtr outputCustomData, void* rawdata, int width, int height, int rowSizeBytes, OFX::EBitDepth bitDepth, OFX::EPixelComponent components, OFX::EField field ); 00019 typedef void (*CallbackDestroyCustomDataPtr)( CustomDataPtr outputCustomData ); 00020 } 00021 00022 } 00023 } 00024 } 00025 00026 #endif