TuttleOFX
1
|
Raw reader. More...
#include <RawReaderPlugin.hpp>
Raw reader.
Definition at line 43 of file RawReaderPlugin.hpp.
typedef boost::gil::point2<double> tuttle::plugin::raw::reader::RawReaderPlugin::Point2 |
Definition at line 47 of file RawReaderPlugin.hpp.
typedef float tuttle::plugin::raw::reader::RawReaderPlugin::Scalar |
Definition at line 46 of file RawReaderPlugin.hpp.
tuttle::plugin::raw::reader::RawReaderPlugin::RawReaderPlugin | ( | OfxImageEffectHandle | handle | ) |
Definition at line 18 of file RawReaderPlugin.cpp.
References _paramAperture, _paramArtist, _paramBlueAbber, _paramBright, _paramDateOfShooting, _paramDesc, _paramDocumentMode, _paramExposure, _paramExposurePreserve, _paramFiltering, _paramFourColorRgb, _paramGammaPower, _paramGammaToe, _paramGPS, _paramGreyboxPoint, _paramGreyboxSize, _paramHighlight, _paramInterpolation, _paramIso, _paramManufacturer, _paramModel, _paramRedAbber, _paramShutter, _paramThreshold, _paramWhiteBalance, OFX::ParamSet::fetchBooleanParam(), OFX::ParamSet::fetchChoiceParam(), OFX::ParamSet::fetchDouble2DParam(), OFX::ParamSet::fetchDoubleParam(), OFX::ParamSet::fetchIntParam(), OFX::ParamSet::fetchStringParam(), tuttle::plugin::raw::reader::kParamAperture, tuttle::plugin::raw::reader::kParamArtist, tuttle::plugin::raw::reader::kParamBlueAbber, tuttle::plugin::raw::reader::kParamBright, tuttle::plugin::raw::reader::kParamDateOfShooting, tuttle::plugin::raw::reader::kParamDesc, tuttle::plugin::raw::reader::kParamDocumentMode, tuttle::plugin::raw::reader::kParamExposure, tuttle::plugin::raw::reader::kParamExposurePreserve, tuttle::plugin::raw::reader::kParamFiltering, tuttle::plugin::raw::reader::kParamFourColorRgb, tuttle::plugin::raw::reader::kParamGammaPower, tuttle::plugin::raw::reader::kParamGammaToe, tuttle::plugin::raw::reader::kParamGPS, tuttle::plugin::raw::reader::kParamGreyboxPoint, tuttle::plugin::raw::reader::kParamGreyboxSize, tuttle::plugin::raw::reader::kParamHighlight, tuttle::plugin::raw::reader::kParamInterpolation, tuttle::plugin::raw::reader::kParamIso, tuttle::plugin::raw::reader::kParamManufacturer, tuttle::plugin::raw::reader::kParamModel, tuttle::plugin::raw::reader::kParamRedAbber, tuttle::plugin::raw::reader::kParamShutter, tuttle::plugin::raw::reader::kParamThreshold, and tuttle::plugin::raw::reader::kParamWhiteBalance.
void tuttle::plugin::raw::reader::RawReaderPlugin::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 207 of file RawReaderPlugin.cpp.
void tuttle::plugin::raw::reader::RawReaderPlugin::getClipPreferences | ( | OFX::ClipPreferencesSetter & | clipPreferences | ) | [virtual] |
get the clip preferences
Reimplemented from tuttle::plugin::ReaderPlugin.
Definition at line 253 of file RawReaderPlugin.cpp.
References tuttle::plugin::ReaderPlugin::_clipDst, OFX::eBitDepthFloat, OFX::eBitDepthNone, OFX::eBitDepthUByte, OFX::eBitDepthUShort, tuttle::plugin::eParamReaderBitDepthAuto, OFX::ePixelComponentRGBA, tuttle::plugin::ReaderPlugin::getExplicitBitDepthConversion(), OFX::ClipPreferencesSetter::setClipBitDepth(), OFX::ClipPreferencesSetter::setClipComponents(), and OFX::ClipPreferencesSetter::setPixelAspectRatio().
RawReaderProcessParams< RawReaderPlugin::Scalar > tuttle::plugin::raw::reader::RawReaderPlugin::getProcessParams | ( | const OfxTime | time | ) |
Definition at line 57 of file RawReaderPlugin.cpp.
References tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_blueAbber, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_bright, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_documentMode, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_exposure, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_exposurePreserve, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_filepath, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_filtering, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_fourColorRgb, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_gammaPower, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_gammaToe, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_greyboxPoint, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_greyboxSize, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_hightlight, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_interpolation, _paramBlueAbber, _paramBright, _paramDocumentMode, _paramExposure, _paramExposurePreserve, _paramFiltering, _paramFourColorRgb, _paramGammaPower, _paramGammaToe, _paramGreyboxPoint, _paramGreyboxSize, _paramHighlight, _paramInterpolation, _paramRedAbber, _paramThreshold, _paramWhiteBalance, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_redAbber, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_threshold, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_whiteBalance, tuttle::plugin::ReaderPlugin::getAbsoluteFilenameAt(), OFX::DoubleParam::getValue(), OFX::Double2DParam::getValue(), OFX::ChoiceParam::getValue(), and OFX::BooleanParam::getValue().
Referenced by getRegionOfDefinition(), and updateInfos().
bool tuttle::plugin::raw::reader::RawReaderPlugin::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 219 of file RawReaderPlugin.cpp.
References tuttle::plugin::ReaderPlugin::_clipDst, tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_filepath, OFX::Clip::getPixelAspectRatio(), getProcessParams(), OFX::RegionOfDefinitionArguments::time, updateInfos(), OfxRectD::x1, OfxRectD::x2, OfxRectD::y1, and OfxRectD::y2.
void tuttle::plugin::raw::reader::RawReaderPlugin::render | ( | const OFX::RenderArguments & | args | ) | [virtual] |
The overridden render function.
[in] | args | Rendering parameters |
Reimplemented from tuttle::plugin::ReaderPlugin.
Definition at line 285 of file RawReaderPlugin.cpp.
void tuttle::plugin::raw::reader::RawReaderPlugin::updateInfos | ( | const OfxTime | time | ) |
Definition at line 92 of file RawReaderPlugin.cpp.
References tuttle::plugin::raw::reader::RawReaderProcessParams< Scalar >::_filepath, _paramAperture, _paramArtist, _paramDateOfShooting, _paramDesc, _paramGPS, _paramIso, _paramManufacturer, _paramModel, _paramShutter, getProcessParams(), OFX::IntParam::setValue(), OFX::DoubleParam::setValue(), OFX::StringParam::setValue(), TUTTLE_INFO, and TUTTLE_LOG_DEBUG.
Referenced by getRegionOfDefinition().
Definition at line 94 of file RawReaderPlugin.hpp.
Referenced by RawReaderPlugin(), and updateInfos().
Definition at line 98 of file RawReaderPlugin.hpp.
Referenced by RawReaderPlugin(), and updateInfos().
Definition at line 71 of file RawReaderPlugin.hpp.
Referenced by getProcessParams(), and RawReaderPlugin().
Definition at line 74 of file RawReaderPlugin.hpp.
Referenced by getProcessParams(), and RawReaderPlugin().
Definition at line 95 of file RawReaderPlugin.hpp.
Referenced by RawReaderPlugin(), and updateInfos().
Definition at line 97 of file RawReaderPlugin.hpp.
Referenced by RawReaderPlugin(), and updateInfos().
Definition at line 77 of file RawReaderPlugin.hpp.
Referenced by getProcessParams(), and RawReaderPlugin().
Definition at line 81 of file RawReaderPlugin.hpp.
Referenced by getProcessParams(), and RawReaderPlugin().
Definition at line 82 of file RawReaderPlugin.hpp.
Referenced by getProcessParams(), and RawReaderPlugin().
Filtering mode.
Definition at line 65 of file RawReaderPlugin.hpp.
Referenced by getProcessParams(), and RawReaderPlugin().
Definition at line 76 of file RawReaderPlugin.hpp.
Referenced by getProcessParams(), and RawReaderPlugin().
Definition at line 68 of file RawReaderPlugin.hpp.
Referenced by getProcessParams(), and RawReaderPlugin().
Definition at line 69 of file RawReaderPlugin.hpp.
Referenced by getProcessParams(), and RawReaderPlugin().
Definition at line 96 of file RawReaderPlugin.hpp.
Referenced by RawReaderPlugin(), and updateInfos().
Definition at line 86 of file RawReaderPlugin.hpp.
Referenced by getProcessParams(), and RawReaderPlugin().
Definition at line 87 of file RawReaderPlugin.hpp.
Referenced by getProcessParams(), and RawReaderPlugin().
Definition at line 79 of file RawReaderPlugin.hpp.
Referenced by getProcessParams(), and RawReaderPlugin().
Definition at line 66 of file RawReaderPlugin.hpp.
Referenced by getProcessParams(), and RawReaderPlugin().
Definition at line 92 of file RawReaderPlugin.hpp.
Referenced by RawReaderPlugin(), and updateInfos().
metadata
Definition at line 90 of file RawReaderPlugin.hpp.
Referenced by RawReaderPlugin(), and updateInfos().
Definition at line 91 of file RawReaderPlugin.hpp.
Referenced by RawReaderPlugin(), and updateInfos().
Definition at line 70 of file RawReaderPlugin.hpp.
Referenced by getProcessParams(), and RawReaderPlugin().
Definition at line 93 of file RawReaderPlugin.hpp.
Referenced by RawReaderPlugin(), and updateInfos().
Definition at line 75 of file RawReaderPlugin.hpp.
Referenced by getProcessParams(), and RawReaderPlugin().
Definition at line 84 of file RawReaderPlugin.hpp.
Referenced by getProcessParams(), and RawReaderPlugin().