TuttleOFX
1
|
OutputBuffer plugin. More...
#include <OutputBufferPlugin.hpp>
Public Member Functions | |
OutputBufferPlugin (OfxImageEffectHandle handle) | |
~OutputBufferPlugin () | |
void | changedParam (const OFX::InstanceChangedArgs &args, const std::string ¶mName) |
called when a param has just had its value changed | |
OutputBufferProcessParams | getProcessParams () const |
void | render (const OFX::RenderArguments &args) |
client render function, this is one of the few that must be overridden | |
Data Fields | |
CustomDataPtr | _tempStoreCustomDataPtr |
OFX::Clip * | _clipSrc |
Input image clip. | |
OFX::Clip * | _clipDst |
Ouput image clip. | |
OFX::StringParam * | _paramCallbackOutputPointer |
OFX::StringParam * | _paramCustomData |
OFX::StringParam * | _paramCallbackDestroyCustomData |
OutputBuffer plugin.
Definition at line 22 of file OutputBufferPlugin.hpp.
tuttle::plugin::outputBuffer::OutputBufferPlugin::OutputBufferPlugin | ( | OfxImageEffectHandle | handle | ) |
Definition at line 19 of file OutputBufferPlugin.cpp.
References _clipDst, _clipSrc, _paramCallbackDestroyCustomData, _paramCallbackOutputPointer, _paramCustomData, OFX::ImageEffect::fetchClip(), OFX::ParamSet::fetchStringParam(), kOfxImageEffectOutputClipName, kOfxImageEffectSimpleSourceClipName, tuttle::plugin::outputBuffer::kParamOutputCallbackDestroyCustomData, tuttle::plugin::outputBuffer::kParamOutputCallbackPointer, and tuttle::plugin::outputBuffer::kParamOutputCustomData.
tuttle::plugin::outputBuffer::OutputBufferPlugin::~OutputBufferPlugin | ( | ) |
Definition at line 31 of file OutputBufferPlugin.cpp.
References tuttle::plugin::outputBuffer::OutputBufferProcessParams::_callbackDestroyPtr, tuttle::plugin::outputBuffer::OutputBufferProcessParams::_customDataPtr, and getProcessParams().
void tuttle::plugin::outputBuffer::OutputBufferPlugin::changedParam | ( | const OFX::InstanceChangedArgs & | args, |
const std::string & | paramName | ||
) | [virtual] |
called when a param has just had its value changed
Reimplemented from OFX::ImageEffect.
Definition at line 38 of file OutputBufferPlugin.cpp.
References tuttle::plugin::outputBuffer::OutputBufferProcessParams::_callbackDestroyPtr, _paramCustomData, _tempStoreCustomDataPtr, getProcessParams(), OFX::StringParam::getValue(), tuttle::plugin::outputBuffer::kParamOutputCustomData, and tuttle::plugin::memoryBuffer::stringToPointer().
OutputBufferProcessParams tuttle::plugin::outputBuffer::OutputBufferPlugin::getProcessParams | ( | ) | const |
Definition at line 49 of file OutputBufferPlugin.cpp.
References tuttle::plugin::outputBuffer::OutputBufferProcessParams::_callbackDestroyPtr, tuttle::plugin::outputBuffer::OutputBufferProcessParams::_callbackPtr, tuttle::plugin::outputBuffer::OutputBufferProcessParams::_customDataPtr, _paramCallbackDestroyCustomData, _paramCallbackOutputPointer, _paramCustomData, OFX::StringParam::getValue(), and tuttle::plugin::memoryBuffer::stringToPointer().
Referenced by changedParam(), render(), and ~OutputBufferPlugin().
void tuttle::plugin::outputBuffer::OutputBufferPlugin::render | ( | const OFX::RenderArguments & | args | ) | [virtual] |
client render function, this is one of the few that must be overridden
Implements OFX::ImageEffect.
Definition at line 58 of file OutputBufferPlugin.cpp.
References tuttle::plugin::outputBuffer::OutputBufferProcessParams::_callbackPtr, _clipDst, _clipSrc, tuttle::plugin::outputBuffer::OutputBufferProcessParams::_customDataPtr, OFX::Clip::fetchImage(), getProcessParams(), OFX::RenderArguments::time, TUTTLE_INFO, and TUTTLE_TLOG.
Ouput image clip.
Definition at line 38 of file OutputBufferPlugin.hpp.
Referenced by OutputBufferPlugin(), and render().
Input image clip.
Attributes
Definition at line 37 of file OutputBufferPlugin.hpp.
Referenced by OutputBufferPlugin(), and render().
Definition at line 42 of file OutputBufferPlugin.hpp.
Referenced by getProcessParams(), and OutputBufferPlugin().
Definition at line 40 of file OutputBufferPlugin.hpp.
Referenced by getProcessParams(), and OutputBufferPlugin().
Definition at line 41 of file OutputBufferPlugin.hpp.
Referenced by changedParam(), getProcessParams(), and OutputBufferPlugin().
Definition at line 45 of file OutputBufferPlugin.hpp.
Referenced by changedParam().