TuttleOFX
1
|
Jpeg reader. More...
#include <JpegReaderPlugin.hpp>
Public Member Functions | |
JpegReaderPlugin (OfxImageEffectHandle handle) | |
JpegReaderProcessParams | 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. |
Jpeg reader.
Definition at line 20 of file JpegReaderPlugin.hpp.
tuttle::plugin::jpeg::reader::JpegReaderPlugin::JpegReaderPlugin | ( | OfxImageEffectHandle | handle | ) |
Definition at line 16 of file JpegReaderPlugin.cpp.
void tuttle::plugin::jpeg::reader::JpegReaderPlugin::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 29 of file JpegReaderPlugin.cpp.
void tuttle::plugin::jpeg::reader::JpegReaderPlugin::getClipPreferences | ( | OFX::ClipPreferencesSetter & | clipPreferences | ) | [virtual] |
get the clip preferences
Reimplemented from tuttle::plugin::ReaderPlugin.
Definition at line 60 of file JpegReaderPlugin.cpp.
References tuttle::plugin::ReaderPlugin::_clipDst, OFX::eBitDepthUByte, tuttle::plugin::eParamReaderBitDepthAuto, tuttle::plugin::eParamReaderChannelAuto, OFX::ePixelComponentRGB, OFX::ePixelComponentRGBA, tuttle::plugin::ReaderPlugin::getExplicitBitDepthConversion(), tuttle::plugin::ReaderPlugin::getExplicitChannelConversion(), OFX::getImageEffectHostDescription(), OFX::ClipPreferencesSetter::setClipBitDepth(), OFX::ClipPreferencesSetter::setClipComponents(), and OFX::ClipPreferencesSetter::setPixelAspectRatio().
JpegReaderProcessParams tuttle::plugin::jpeg::reader::JpegReaderPlugin::getProcessParams | ( | const OfxTime | time | ) |
Definition at line 20 of file JpegReaderPlugin.cpp.
References tuttle::plugin::jpeg::reader::JpegReaderProcessParams::_filepath, and tuttle::plugin::ReaderPlugin::getAbsoluteFilenameAt().
bool tuttle::plugin::jpeg::reader::JpegReaderPlugin::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 34 of file JpegReaderPlugin.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::jpeg::reader::JpegReaderPlugin::render | ( | const OFX::RenderArguments & | args | ) | [virtual] |
The overridden render function.
[in] | args | Rendering parameters |
Reimplemented from tuttle::plugin::ReaderPlugin.
Definition at line 88 of file JpegReaderPlugin.cpp.