TuttleOFX
1
|
#include <DPXWriterPlugin.hpp>
Public Member Functions | |
DPXWriterPlugin (OfxImageEffectHandle handle) | |
DPXWriterProcessParams | getProcessParams (const OfxTime time) |
void | changedParam (const OFX::InstanceChangedArgs &args, const std::string ¶mName) |
called when a param has just had its value changed | |
void | render (const OFX::RenderArguments &args) |
The overridden render function. | |
Protected Attributes | |
OFX::ChoiceParam * | _bitDepth |
Dpx bit depth. | |
OFX::ChoiceParam * | _descriptor |
Dpx descriptor. | |
OFX::ChoiceParam * | _transfer |
Dpx transfer. | |
OFX::ChoiceParam * | _colorimetric |
Dpx colorimetric. | |
OFX::ChoiceParam * | _packed |
Dpx packed method. | |
OFX::BooleanParam * | _swapEndian |
Dpx swap endian. | |
OFX::ChoiceParam * | _encoding |
Dpx encoding. | |
OFX::ChoiceParam * | _orientation |
Dpx orientation. | |
OFX::StringParam * | _project |
Dpx metadata Project. | |
OFX::StringParam * | _copyright |
Dpx metadata Copyright. |
Definition at line 35 of file DPXWriterPlugin.hpp.
tuttle::plugin::dpx::writer::DPXWriterPlugin::DPXWriterPlugin | ( | OfxImageEffectHandle | handle | ) |
Definition at line 21 of file DPXWriterPlugin.cpp.
References _bitDepth, _colorimetric, _copyright, _descriptor, _encoding, _orientation, _packed, _project, _swapEndian, _transfer, OFX::ParamSet::fetchBooleanParam(), OFX::ParamSet::fetchChoiceParam(), OFX::ParamSet::fetchStringParam(), tuttle::plugin::dpx::writer::kParamColorimetric, tuttle::plugin::dpx::writer::kParamCopyright, tuttle::plugin::dpx::writer::kParamEncoding, tuttle::plugin::dpx::writer::kParamOrientation, tuttle::plugin::dpx::writer::kParamPacked, tuttle::plugin::dpx::writer::kParamProject, tuttle::plugin::dpx::writer::kParamSwapEndian, tuttle::plugin::dpx::writer::kParamTransfer, tuttle::plugin::kTuttlePluginBitDepth, and tuttle::plugin::kTuttlePluginChannel.
void tuttle::plugin::dpx::writer::DPXWriterPlugin::changedParam | ( | const OFX::InstanceChangedArgs & | args, |
const std::string & | paramName | ||
) | [virtual] |
called when a param has just had its value changed
Reimplemented from tuttle::plugin::WriterPlugin.
Definition at line 562 of file DPXWriterPlugin.cpp.
DPXWriterProcessParams tuttle::plugin::dpx::writer::DPXWriterPlugin::getProcessParams | ( | const OfxTime | time | ) |
Definition at line 36 of file DPXWriterPlugin.cpp.
References tuttle::plugin::dpx::writer::DPXWriterProcessParams::_bitDepth, _bitDepth, tuttle::plugin::WriterPlugin::_clipSrc, tuttle::plugin::dpx::writer::DPXWriterProcessParams::_colorimetric, _colorimetric, tuttle::plugin::dpx::writer::DPXWriterProcessParams::_copyright, _copyright, tuttle::plugin::dpx::writer::DPXWriterProcessParams::_descriptor, _descriptor, tuttle::plugin::dpx::writer::DPXWriterProcessParams::_encoding, _encoding, tuttle::plugin::dpx::writer::DPXWriterProcessParams::_filepath, tuttle::plugin::dpx::writer::DPXWriterProcessParams::_iBitDepth, tuttle::plugin::dpx::writer::DPXWriterProcessParams::_orientation, _orientation, tuttle::plugin::dpx::writer::DPXWriterProcessParams::_packed, _packed, tuttle::plugin::dpx::writer::DPXWriterProcessParams::_project, _project, tuttle::plugin::dpx::writer::DPXWriterProcessParams::_swapEndian, _swapEndian, tuttle::plugin::dpx::writer::DPXWriterProcessParams::_transfer, _transfer, OFX::ePixelComponentAlpha, OFX::ePixelComponentRGB, OFX::ePixelComponentRGBA, tuttle::plugin::dpx::writer::eTuttlePluginBitDepth10, tuttle::plugin::dpx::writer::eTuttlePluginBitDepth12, tuttle::plugin::dpx::writer::eTuttlePluginBitDepth16, tuttle::plugin::dpx::writer::eTuttlePluginBitDepth32, tuttle::plugin::dpx::writer::eTuttlePluginBitDepth64, tuttle::plugin::dpx::writer::eTuttlePluginBitDepth8, tuttle::plugin::WriterPlugin::getAbsoluteFilenameAt(), OFX::Clip::getPixelComponents(), OFX::StringParam::getValue(), OFX::ChoiceParam::getValue(), OFX::BooleanParam::getValue(), dpx::kABGR, dpx::kAlpha, dpx::kBlue, dpx::kCbYACrYA, dpx::kCbYCr, dpx::kCbYCrA, dpx::kCbYCrY, dpx::kColorDifference, dpx::kCompositeVideo, dpx::kDepth, dpx::kGreen, dpx::kLuma, dpx::kRed, dpx::kRGB, dpx::kRGBA, dpx::kUndefinedCharacteristic, dpx::kUndefinedDescriptor, dpx::kUserDefined2Comp, dpx::kUserDefined3Comp, dpx::kUserDefined4Comp, dpx::kUserDefined5Comp, dpx::kUserDefined6Comp, dpx::kUserDefined7Comp, dpx::kUserDefined8Comp, and dpx::kUserDefinedDescriptor.
Referenced by render().
void tuttle::plugin::dpx::writer::DPXWriterPlugin::render | ( | const OFX::RenderArguments & | args | ) | [virtual] |
The overridden render function.
[in] | args | Rendering parameters |
Reimplemented from tuttle::plugin::WriterPlugin.
Definition at line 129 of file DPXWriterPlugin.cpp.
References tuttle::plugin::dpx::writer::DPXWriterProcessParams::_bitDepth, tuttle::plugin::WriterPlugin::_clipSrc, tuttle::plugin::dpx::writer::DPXWriterProcessParams::_colorimetric, tuttle::plugin::dpx::writer::DPXWriterProcessParams::_copyright, tuttle::plugin::dpx::writer::DPXWriterProcessParams::_descriptor, tuttle::plugin::dpx::writer::DPXWriterProcessParams::_encoding, tuttle::plugin::dpx::writer::DPXWriterProcessParams::_iBitDepth, tuttle::plugin::dpx::writer::DPXWriterProcessParams::_orientation, tuttle::plugin::dpx::writer::DPXWriterProcessParams::_packed, tuttle::plugin::dpx::writer::DPXWriterProcessParams::_project, tuttle::plugin::dpx::writer::DPXWriterProcessParams::_swapEndian, tuttle::plugin::dpx::writer::DPXWriterProcessParams::_transfer, OutStream::Close(), convertGrayToRGB(), convertRGBAToABGR(), convertRGBAToRGB(), OFX::eBitDepthCustom, OFX::eBitDepthFloat, OFX::eBitDepthNone, OFX::eBitDepthUByte, OFX::eBitDepthUShort, OFX::ePixelComponentAlpha, OFX::ePixelComponentRGB, OFX::ePixelComponentRGBA, tuttle::plugin::dpx::writer::eTuttlePluginBitDepth10, tuttle::plugin::dpx::writer::eTuttlePluginBitDepth12, tuttle::plugin::dpx::writer::eTuttlePluginBitDepth16, tuttle::plugin::dpx::writer::eTuttlePluginBitDepth32, tuttle::plugin::dpx::writer::eTuttlePluginBitDepth64, tuttle::plugin::dpx::writer::eTuttlePluginBitDepth8, OFX::Clip::fetchImage(), dpx::Writer::Finish(), tuttle::plugin::WriterPlugin::getAbsoluteFilenameAt(), OFX::Clip::getPixelComponents(), OFX::Clip::getPixelDepth(), OFX::Clip::getPixelRodSize(), getProcessParams(), dpx::Writer::header, dpx::kABGR, dpx::kAlpha, dpx::kBlue, dpx::kByte, dpx::kCbYACrYA, dpx::kCbYCr, dpx::kCbYCrA, dpx::kCbYCrY, dpx::kColorDifference, dpx::kCompositeVideo, dpx::kDepth, dpx::kFloat, dpx::kGreen, dpx::kLuma, dpx::kRed, dpx::kRGB, dpx::kRGBA, dpx::kUndefinedDescriptor, dpx::kUserDefined2Comp, dpx::kUserDefined3Comp, dpx::kUserDefined4Comp, dpx::kUserDefined5Comp, dpx::kUserDefined6Comp, dpx::kUserDefined7Comp, dpx::kUserDefined8Comp, dpx::kUserDefinedDescriptor, dpx::kWord, OutStream::Open(), dpx::Writer::SetElement(), dpx::Writer::SetFileInfo(), dpx::Writer::SetImageInfo(), dpx::Writer::SetOutStream(), dpx::Writer::Start(), OFX::RenderArguments::time, dpx::Writer::WriteElement(), dpx::Writer::WriteHeader(), OfxPointI::x, and OfxPointI::y.
Dpx bit depth.
Definition at line 48 of file DPXWriterPlugin.hpp.
Referenced by DPXWriterPlugin(), and getProcessParams().
Dpx colorimetric.
Definition at line 51 of file DPXWriterPlugin.hpp.
Referenced by DPXWriterPlugin(), and getProcessParams().
Dpx metadata Copyright.
Definition at line 57 of file DPXWriterPlugin.hpp.
Referenced by DPXWriterPlugin(), and getProcessParams().
Dpx descriptor.
Definition at line 49 of file DPXWriterPlugin.hpp.
Referenced by DPXWriterPlugin(), and getProcessParams().
Dpx encoding.
Definition at line 54 of file DPXWriterPlugin.hpp.
Referenced by DPXWriterPlugin(), and getProcessParams().
Dpx orientation.
Definition at line 55 of file DPXWriterPlugin.hpp.
Referenced by DPXWriterPlugin(), and getProcessParams().
Dpx packed method.
Definition at line 52 of file DPXWriterPlugin.hpp.
Referenced by DPXWriterPlugin(), and getProcessParams().
Dpx metadata Project.
Definition at line 56 of file DPXWriterPlugin.hpp.
Referenced by DPXWriterPlugin(), and getProcessParams().
Dpx swap endian.
Definition at line 53 of file DPXWriterPlugin.hpp.
Referenced by DPXWriterPlugin(), and getProcessParams().
Dpx transfer.
Definition at line 50 of file DPXWriterPlugin.hpp.
Referenced by DPXWriterPlugin(), and getProcessParams().