TuttleOFX  1
tuttle::plugin::jpeg::reader::JpegReaderPlugin Class Reference

Jpeg reader. More...

#include <JpegReaderPlugin.hpp>

Inheritance diagram for tuttle::plugin::jpeg::reader::JpegReaderPlugin:
Collaboration diagram for tuttle::plugin::jpeg::reader::JpegReaderPlugin:

Public Member Functions

 JpegReaderPlugin (OfxImageEffectHandle handle)
JpegReaderProcessParams getProcessParams (const OfxTime time)
void changedParam (const OFX::InstanceChangedArgs &args, const std::string &paramName)
 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.

Detailed Description

Jpeg reader.

Definition at line 20 of file JpegReaderPlugin.hpp.


Constructor & Destructor Documentation

tuttle::plugin::jpeg::reader::JpegReaderPlugin::JpegReaderPlugin ( OfxImageEffectHandle  handle)

Definition at line 16 of file JpegReaderPlugin.cpp.


Member Function Documentation

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.

JpegReaderProcessParams tuttle::plugin::jpeg::reader::JpegReaderPlugin::getProcessParams ( const OfxTime  time)
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.

Here is the call graph for this function:

void tuttle::plugin::jpeg::reader::JpegReaderPlugin::render ( const OFX::RenderArguments args) [virtual]

The overridden render function.

Parameters:
[in]argsRendering parameters

Reimplemented from tuttle::plugin::ReaderPlugin.

Definition at line 88 of file JpegReaderPlugin.cpp.


The documentation for this class was generated from the following files: