TuttleOFX
1
|
#include <BitDepthPlugin.hpp>
Public Member Functions | |
BitDepthPlugin (OfxImageEffectHandle handle) | |
void | getClipPreferences (OFX::ClipPreferencesSetter &clipPreferences) |
get the clip preferences | |
void | render (const OFX::RenderArguments &args) |
The overridden render function. | |
Data Fields | |
OFX::ChoiceParam * | _paramOutBitDepth |
Output bit depth. | |
Private Member Functions | |
template<class sview_t > | |
void | setupDestView (const OFX::RenderArguments &args) |
Interpret source and then destination. |
Definition at line 14 of file BitDepthPlugin.hpp.
tuttle::plugin::bitDepth::BitDepthPlugin::BitDepthPlugin | ( | OfxImageEffectHandle | handle | ) |
Definition at line 16 of file BitDepthPlugin.cpp.
References _paramOutBitDepth, OFX::ParamSet::fetchChoiceParam(), and tuttle::plugin::bitDepth::kParamOutputBitDepth.
void tuttle::plugin::bitDepth::BitDepthPlugin::getClipPreferences | ( | OFX::ClipPreferencesSetter & | clipPreferences | ) | [virtual] |
get the clip preferences
Reimplemented from OFX::ImageEffect.
Definition at line 22 of file BitDepthPlugin.cpp.
References tuttle::plugin::ImageEffectGilPlugin::_clipDst, _paramOutBitDepth, OFX::ChoiceParam::getValue(), and OFX::ClipPreferencesSetter::setClipBitDepth().
void tuttle::plugin::bitDepth::BitDepthPlugin::render | ( | const OFX::RenderArguments & | args | ) | [virtual] |
The overridden render function.
[in] | args | Rendering parameters |
Implements OFX::ImageEffect.
Definition at line 34 of file BitDepthPlugin.cpp.
References tuttle::plugin::ImageEffectGilPlugin::_clipSrc, OFX::eBitDepthCustom, OFX::eBitDepthFloat, OFX::eBitDepthNone, OFX::eBitDepthUByte, OFX::eBitDepthUShort, OFX::ePixelComponentAlpha, OFX::ePixelComponentCustom, OFX::ePixelComponentNone, OFX::ePixelComponentRGB, OFX::ePixelComponentRGBA, OFX::Clip::getPixelComponents(), OFX::Clip::getPixelDepth(), kOfxStatErrUnsupported, OFX::mapBitDepthEnumToString(), and OFX::mapPixelComponentEnumToString().
void tuttle::plugin::bitDepth::BitDepthPlugin::setupDestView | ( | const OFX::RenderArguments & | args | ) | [private] |
Interpret source and then destination.
[in] | args | Rendering parameters |
Definition at line 140 of file BitDepthPlugin.cpp.
References tuttle::plugin::ImageEffectGilPlugin::_clipDst, OFX::eBitDepthCustom, OFX::eBitDepthFloat, OFX::eBitDepthNone, OFX::eBitDepthUByte, OFX::eBitDepthUShort, OFX::ePixelComponentAlpha, OFX::ePixelComponentCustom, OFX::ePixelComponentNone, OFX::ePixelComponentRGB, OFX::ePixelComponentRGBA, OFX::Clip::getPixelComponents(), OFX::Clip::getPixelDepth(), OFX::mapBitDepthEnumToString(), OFX::mapPixelComponentEnumToString(), and tuttle::plugin::ImageProcessor::setupAndProcess().
Output bit depth.
Definition at line 29 of file BitDepthPlugin.hpp.
Referenced by BitDepthPlugin(), and getClipPreferences().