void BasicExamplePluginFactory::describe(OFX::ImageEffectDescriptor& desc) { // basic labels desc.setLabels("Gain", "Gain", "Gain"); desc.setPluginGrouping("OFX"); // add the supported contexts, only filter at the moment desc.addSupportedContext(eContextFilter); desc.addSupportedContext(eContextGeneral); desc.addSupportedContext(eContextPaint); // add supported pixel depths desc.addSupportedBitDepth(eBitDepthUByte); desc.addSupportedBitDepth(eBitDepthUShort); desc.addSupportedBitDepth(eBitDepthFloat); // set a few flags desc.setSingleInstance(false); desc.setHostFrameThreading(false); desc.setSupportsMultiResolution(true); desc.setSupportsTiles(true); desc.setTemporalClipAccess(false); desc.setRenderTwiceAlways(false); desc.setSupportsMultipleClipPARs(false); desc.setOverlayInteractDescriptor( new BasicExampleOverlayDescriptor); }
void InvertPluginFactory::describe(OFX::ImageEffectDescriptor &desc) { // basic labels desc.setLabels(kPluginName, kPluginName, kPluginName); desc.setPluginGrouping(kPluginGrouping); desc.setPluginDescription(kPluginDescription); // add the supported contexts desc.addSupportedContext(eContextFilter); desc.addSupportedContext(eContextGeneral); desc.addSupportedContext(eContextPaint); // add supported pixel depths desc.addSupportedBitDepth(eBitDepthUByte); desc.addSupportedBitDepth(eBitDepthUShort); desc.addSupportedBitDepth(eBitDepthFloat); // set a few flags desc.setSingleInstance(false); desc.setHostFrameThreading(false); desc.setSupportsMultiResolution(true); desc.setSupportsTiles(true); desc.setTemporalClipAccess(false); desc.setRenderTwiceAlways(false); desc.setSupportsMultipleClipPARs(false); }
/** * @brief Override this to describe the writer. * You should call the base-class version at the end like this: * GenericWriterPluginFactory<YOUR_FACTORY>::describe(desc); **/ void GenericWriterDescribe(OFX::ImageEffectDescriptor &desc) { desc.setPluginGrouping(kWriterGrouping); #ifdef OFX_EXTENSIONS_TUTTLE desc.addSupportedContext(OFX::eContextWriter); #endif desc.addSupportedContext(OFX::eContextGeneral); // OCIO is only supported for float images. //desc.addSupportedBitDepth(eBitDepthUByte); //desc.addSupportedBitDepth(eBitDepthUShort); desc.addSupportedBitDepth(eBitDepthFloat); // set a few flags desc.setSingleInstance(false); desc.setHostFrameThreading(false); desc.setSupportsMultiResolution(false); desc.setSupportsTiles(false); desc.setTemporalClipAccess(false); // say we will be doing random time access on clips desc.setRenderTwiceAlways(false); desc.setSupportsMultipleClipPARs(false); desc.setRenderThreadSafety(OFX::eRenderInstanceSafe); }
void CrossFadeExamplePluginFactory::describe(OFX::ImageEffectDescriptor &desc) { // basic labels desc.setLabels("Cross Fade", "Cross Fade", "Cross Fade"); desc.setPluginGrouping("OFX"); // Say we are a transition context desc.addSupportedContext(eContextTransition); desc.addSupportedContext(eContextGeneral); // Add supported pixel depths desc.addSupportedBitDepth(eBitDepthUByte); desc.addSupportedBitDepth(eBitDepthUShort); desc.addSupportedBitDepth(eBitDepthFloat); // set a few flags desc.setSingleInstance(false); desc.setHostFrameThreading(false); desc.setSupportsMultiResolution(true); desc.setSupportsTiles(true); desc.setTemporalClipAccess(false); desc.setRenderTwiceAlways(false); desc.setSupportsMultipleClipPARs(false); }
void SwitchPluginFactory::describe(OFX::ImageEffectDescriptor &desc) { // basic labels desc.setLabels(kPluginName, kPluginName, kPluginName); desc.setPluginGrouping(kPluginGrouping); desc.setPluginDescription(kPluginDescription); // add the supported contexts desc.addSupportedContext(eContextGeneral); desc.addSupportedContext(eContextFilter); // add supported pixel depths desc.addSupportedBitDepth(eBitDepthUByte); desc.addSupportedBitDepth(eBitDepthUShort); desc.addSupportedBitDepth(eBitDepthFloat); // set a few flags desc.setSingleInstance(false); desc.setHostFrameThreading(false); desc.setSupportsMultiResolution(true); desc.setSupportsTiles(true); desc.setTemporalClipAccess(false); desc.setRenderTwiceAlways(false); desc.setSupportsMultipleClipPARs(false); #ifdef OFX_EXTENSIONS_NUKE // Enable transform by the host. // It is only possible for transforms which can be represented as a 3x3 matrix. desc.setCanTransform(true); #endif }
void NoiseExamplePluginFactory::describe(OFX::ImageEffectDescriptor &desc) { desc.setLabels("Noise", "Noise", "Noise"); desc.setPluginGrouping("OFX"); desc.addSupportedContext(eContextGenerator); desc.addSupportedBitDepth(eBitDepthUByte); desc.addSupportedBitDepth(eBitDepthUShort); desc.addSupportedBitDepth(eBitDepthFloat); desc.setSingleInstance(false); desc.setHostFrameThreading(false); desc.setSupportsMultiResolution(true); desc.setSupportsTiles(true); desc.setTemporalClipAccess(false); desc.setRenderTwiceAlways(false); desc.setSupportsMultipleClipPARs(false); desc.setRenderTwiceAlways(false); }
/** * @brief Function called to describe the plugin main features. * @param[in, out] desc Effect descriptor */ void TimeShiftPluginFactory::describe( OFX::ImageEffectDescriptor& desc ) { desc.setLabels( "TuttleTimeShift", "TimeShift", "TimeShift" ); desc.setPluginGrouping( "tuttle/image/process/time" ); // add the supported contexts desc.addSupportedContext( OFX::eContextFilter ); desc.addSupportedContext( OFX::eContextGeneral ); // add supported pixel depths desc.addSupportedBitDepth( OFX::eBitDepthUByte ); desc.addSupportedBitDepth( OFX::eBitDepthUShort ); desc.addSupportedBitDepth( OFX::eBitDepthFloat ); // plugin flags desc.setTemporalClipAccess( true ); desc.setSupportsTiles( true ); desc.setRenderThreadSafety( OFX::eRenderFullySafe ); }
void LensCalibrationPluginFactory::describe(OFX::ImageEffectDescriptor& desc) { //Plugin Labels desc.setLabels( "LensCalibration", "LensCalibration", "openMVG LensCalibration"); //Plugin grouping desc.setPluginGrouping("openMVG"); //Plugin description desc.setPluginDescription( "LensCalibration estimates the best distortion parameters " "according to the couple camera/optics of a dataset." "\n" "The plugin supports video file & folder containing images or " "image sequence." ); //Supported contexts desc.addSupportedContext(OFX::eContextFilter); desc.addSupportedContext(OFX::eContextGeneral); desc.addSupportedContext(OFX::eContextPaint); //Supported pixel depths desc.addSupportedBitDepth(OFX::eBitDepthUByte); desc.addSupportedBitDepth(OFX::eBitDepthUShort); desc.addSupportedBitDepth(OFX::eBitDepthFloat); //Flags desc.setSingleInstance(false); desc.setHostFrameThreading(false); desc.setSupportsMultiResolution(false); desc.setSupportsTiles(false); desc.setTemporalClipAccess(false); desc.setRenderTwiceAlways(false); desc.setSupportsMultipleClipPARs(false); desc.setOverlayInteractDescriptor( new LensCalibrationOverlayDescriptor); }