TuttleOFX  1
tuttle::plugin::turboJpeg::reader::TurboJpegReaderPlugin Class Reference

TurboJpeg plugin. More...

#include <TurboJpegReaderPlugin.hpp>

Inheritance diagram for tuttle::plugin::turboJpeg::reader::TurboJpegReaderPlugin:
Collaboration diagram for tuttle::plugin::turboJpeg::reader::TurboJpegReaderPlugin:

Public Member Functions

 TurboJpegReaderPlugin (OfxImageEffectHandle handle)
TurboJpegReaderProcessParams getProcessParams (const OfxTime time) const
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.

Data Fields

OFX::ChoiceParam_optimization
 TurboJpeg SIMD optimization.
OFX::BooleanParam_fastUpsampling
 TurboJpeg fast upsampling for U,V channels.

Detailed Description

TurboJpeg plugin.

Definition at line 23 of file TurboJpegReaderPlugin.hpp.


Constructor & Destructor Documentation

tuttle::plugin::turboJpeg::reader::TurboJpegReaderPlugin::TurboJpegReaderPlugin ( OfxImageEffectHandle  handle)

Member Function Documentation

void tuttle::plugin::turboJpeg::reader::TurboJpegReaderPlugin::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 32 of file TurboJpegReaderPlugin.cpp.

bool tuttle::plugin::turboJpeg::reader::TurboJpegReaderPlugin::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 37 of file TurboJpegReaderPlugin.cpp.

References tuttle::plugin::ReaderPlugin::_clipDst, tuttle::plugin::ReaderPlugin::getAbsoluteFilenameAt(), OFX::Clip::getPixelAspectRatio(), height, OFX::RegionOfDefinitionArguments::time, width, OfxRectD::x1, OfxRectD::x2, OfxRectD::y1, and OfxRectD::y2.

Here is the call graph for this function:

void tuttle::plugin::turboJpeg::reader::TurboJpegReaderPlugin::render ( const OFX::RenderArguments args) [virtual]

The overridden render function.

Parameters:
[in]argsRendering parameters

Reimplemented from tuttle::plugin::ReaderPlugin.

Definition at line 126 of file TurboJpegReaderPlugin.cpp.


Field Documentation


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