TuttleOFX
1
|
Dpx reader. More...
#include <DPXReaderPlugin.hpp>
Public Member Functions | |
DPXReaderPlugin (OfxImageEffectHandle handle) | |
DPXReaderProcessParams | getProcessParams (const OfxTime time) |
void | changedParam (const OFX::InstanceChangedArgs &args, const std::string ¶mName) |
called when a param has just had its value changed | |
bool | getRegionOfDefinition (const OFX::RegionOfDefinitionArguments &args, OfxRectD &rod) |
The get RoD action. | |
void | getClipPreferences (OFX::ClipPreferencesSetter &clipPreferences) |
get the clip preferences | |
void | render (const OFX::RenderArguments &args) |
The overridden render function. |
Dpx reader.
Definition at line 19 of file DPXReaderPlugin.hpp.
tuttle::plugin::dpx::reader::DPXReaderPlugin::DPXReaderPlugin | ( | OfxImageEffectHandle | handle | ) |
Definition at line 17 of file DPXReaderPlugin.cpp.
void tuttle::plugin::dpx::reader::DPXReaderPlugin::changedParam | ( | const OFX::InstanceChangedArgs & | args, |
const std::string & | paramName | ||
) | [virtual] |
called when a param has just had its value changed
Reimplemented from tuttle::plugin::ReaderPlugin.
Definition at line 30 of file DPXReaderPlugin.cpp.
References OFX::Message::eMessageMessage, tuttle::plugin::ReaderPlugin::getAbsoluteFilenameAt(), tuttle::plugin::dpx::reader::kParamDisplayHeader, OFX::ImageEffect::sendMessage(), OFX::InstanceChangedArgs::time, TUTTLE_INFO, and TUTTLE_TLOG.
void tuttle::plugin::dpx::reader::DPXReaderPlugin::getClipPreferences | ( | OFX::ClipPreferencesSetter & | clipPreferences | ) | [virtual] |
get the clip preferences
Reimplemented from tuttle::plugin::ReaderPlugin.
Definition at line 61 of file DPXReaderPlugin.cpp.
References tuttle::plugin::ReaderPlugin::_clipDst, OFX::eBitDepthFloat, OFX::eBitDepthNone, OFX::eBitDepthUByte, OFX::eBitDepthUShort, OFX::ePixelComponentRGB, OFX::ePixelComponentRGBA, tuttle::plugin::ReaderPlugin::getAbsoluteFirstFilename(), OFX::ClipPreferencesSetter::setClipBitDepth(), OFX::ClipPreferencesSetter::setClipComponents(), and OFX::ClipPreferencesSetter::setPixelAspectRatio().
DPXReaderProcessParams tuttle::plugin::dpx::reader::DPXReaderPlugin::getProcessParams | ( | const OfxTime | time | ) |
Definition at line 21 of file DPXReaderPlugin.cpp.
References tuttle::plugin::dpx::reader::DPXReaderProcessParams::_filepath, and tuttle::plugin::ReaderPlugin::getAbsoluteFilenameAt().
bool tuttle::plugin::dpx::reader::DPXReaderPlugin::getRegionOfDefinition | ( | const OFX::RegionOfDefinitionArguments & | args, |
OfxRectD & | rod | ||
) | [virtual] |
The get RoD action.
If the effect wants change the rod from the default value (which is the union of RoD's of all input clips) it should set the rod argument and return true.
This is all in cannonical coordinates.
Implements tuttle::plugin::ReaderPlugin.
Definition at line 49 of file DPXReaderPlugin.cpp.
References tuttle::plugin::ReaderPlugin::_clipDst, tuttle::plugin::ReaderPlugin::getAbsoluteFilenameAt(), OFX::Clip::getPixelAspectRatio(), OFX::RegionOfDefinitionArguments::time, OfxRectD::x1, OfxRectD::x2, OfxRectD::y1, and OfxRectD::y2.
void tuttle::plugin::dpx::reader::DPXReaderPlugin::render | ( | const OFX::RenderArguments & | args | ) | [virtual] |
The overridden render function.
[in] | args | Rendering parameters |
Reimplemented from tuttle::plugin::ReaderPlugin.
Definition at line 126 of file DPXReaderPlugin.cpp.
References tuttle::plugin::ReaderPlugin::_clipDst, OFX::ePixelComponentAlpha, OFX::ePixelComponentCustom, OFX::ePixelComponentNone, OFX::ePixelComponentRGB, OFX::ePixelComponentRGBA, OFX::Clip::getPixelComponents(), OFX::Clip::getPixelDepth(), and OFX::mapPixelComponentEnumToString().