TuttleOFX  1
Image Effect Property Definitions
Collaboration diagram for Image Effect Property Definitions:

Defines

#define kOfxImageEffectPropSupportedContexts   "OfxImageEffectPropSupportedContexts"
 Indicates to the host the contexts a plugin can be used in.
#define kOfxImageEffectPropPluginHandle   "OfxImageEffectPropPluginHandle"
 The plugin handle passed to the initial 'describe' action.
#define kOfxImageEffectHostPropIsBackground   "OfxImageEffectHostPropIsBackground"
 Indicates if a host is a background render.
#define kOfxImageEffectPluginPropSingleInstance   "OfxImageEffectPluginPropSingleInstance"
 Indicates whether only one instance of a plugin can exist at the same time.
#define kOfxImageEffectPluginRenderThreadSafety   "OfxImageEffectPluginRenderThreadSafety"
 Indicates how many simultaneous renders the plugin can deal with.
#define kOfxImageEffectRenderUnsafe   "OfxImageEffectRenderUnsafe"
 String used to label render threads as un thread safe, see, kOfxImageEffectPluginRenderThreadSafety.
#define kOfxImageEffectRenderInstanceSafe   "OfxImageEffectRenderInstanceSafe"
 String used to label render threads as instance thread safe, kOfxImageEffectPluginRenderThreadSafety.
#define kOfxImageEffectRenderFullySafe   "OfxImageEffectRenderFullySafe"
 String used to label render threads as fully thread safe, kOfxImageEffectPluginRenderThreadSafety.
#define kOfxImageEffectPluginPropHostFrameThreading   "OfxImageEffectPluginPropHostFrameThreading"
 Indicates whether a plugin lets the host perform per frame SMP threading.
#define kOfxImageEffectPropSupportsMultipleClipDepths   "OfxImageEffectPropMultipleClipDepths"
 Indicates whether a host or plugin can support clips of differing component depths going into/out of an effect.
#define kOfxImageEffectPropSupportsMultipleClipPARs   "OfxImageEffectPropSupportsMultipleClipPARs"
 Indicates whether a host or plugin can support clips of differing pixel aspect ratios going into/out of an effect.
#define kOfxImageEffectPropClipPreferencesSlaveParam   "OfxImageEffectPropClipPreferencesSlaveParam"
 Indicates the set of parameters on which a value change will trigger a change to clip preferences.
#define kOfxImageEffectPropSetableFrameRate   "OfxImageEffectPropSetableFrameRate"
 Indicates whether the host will let a plugin set the frame rate of the output clip.
#define kOfxImageEffectPropSetableFielding   "OfxImageEffectPropSetableFielding"
 Indicates whether the host will let a plugin set the fielding of the output clip.
#define kOfxImageEffectInstancePropSequentialRender   "OfxImageEffectInstancePropSequentialRender"
 Indicates whether a plugin needs sequential rendering, and a host support it.
#define kOfxImageEffectPropSequentialRenderStatus   "OfxImageEffectPropSequentialRenderStatus"
 Property on all the render action that indicate the current sequential render status of a host.
#define kOfxImageEffectPropInteractiveRenderStatus   "OfxImageEffectPropInteractiveRenderStatus"
 Property that indicates if a plugin is being rendered in response to user interaction.
#define kOfxImageEffectPluginPropGrouping   "OfxImageEffectPluginPropGrouping"
 Indicates the effect group for this plugin.
#define kOfxImageEffectPropSupportsOverlays   "OfxImageEffectPropSupportsOverlays"
 Indicates whether a host support image effect ImageEffectOverlays.
#define kOfxImageEffectPluginPropOverlayInteractV1   "OfxImageEffectPluginPropOverlayInteractV1"
 Sets the entry for an effect's overlay interaction.
#define kOfxImageEffectPropSupportsMultiResolution   "OfxImageEffectPropSupportsMultiResolution"
 Indicates whether a plugin or host support multiple resolution images.
#define kOfxImageEffectPropSupportsTiles   "OfxImageEffectPropSupportsTiles"
 Indicates whether a clip, plugin or host supports tiled images.
#define kOfxImageEffectPropInAnalysis   "OfxImageEffectPropInAnalysis"
 Indicates whether an effect is performing an analysis pass.
#define kOfxImageEffectPropTemporalClipAccess   "OfxImageEffectPropTemporalClipAccess"
 Indicates support for random temporal access to images in a clip.
#define kOfxImageEffectPropContext   "OfxImageEffectPropContext"
 Indicates the context a plugin instance has been created for.
#define kOfxImageEffectPropPixelDepth   "OfxImageEffectPropPixelDepth"
 Indicates the type of each component in a clip or image (after any mapping)
#define kOfxImageEffectPropComponents   "OfxImageEffectPropComponents"
 Indicates the current component type in a clip or image (after any mapping)
#define kOfxImagePropUniqueIdentifier   "OfxImagePropUniqueIdentifier"
 Uniquely labels an image.
#define kOfxImageClipPropContinuousSamples   "OfxImageClipPropContinuousSamples"
 Clip and action argument property which indicates that the clip can be sampled continously.
#define kOfxImageClipPropUnmappedPixelDepth   "OfxImageClipPropUnmappedPixelDepth"
 Indicates the type of each component in a clip before any mapping by clip preferences.
#define kOfxImageClipPropUnmappedComponents   "OfxImageClipPropUnmappedComponents"
 Indicates the current 'raw' component type on a clip before any mapping by clip preferences.
#define kOfxImageEffectPropPreMultiplication   "OfxImageEffectPropPreMultiplication"
 Indicates the premultiplication state of a clip or image.
#define kOfxImageOpaque   "OfxImageOpaque"
#define kOfxImagePreMultiplied   "OfxImageAlphaPremultiplied"
#define kOfxImageUnPreMultiplied   "OfxImageAlphaUnPremultiplied"
#define kOfxImageEffectPropSupportedPixelDepths   "OfxImageEffectPropSupportedPixelDepths"
 Indicates the bit depths support by a plug-in or host.
#define kOfxImageEffectPropSupportedComponents   "OfxImageEffectPropSupportedComponents"
 Indicates the components supported by a clip or host,.
#define kOfxImageClipPropOptional   "OfxImageClipPropOptional"
 Indicates if a clip is optional.
#define kOfxImageClipPropIsMask   "OfxImageClipPropIsMask"
 Indicates that a clip is intended to be used as a mask input.
#define kOfxImagePropPixelAspectRatio   "OfxImagePropPixelAspectRatio"
 The pixel aspect ratio of a clip or image.
#define kOfxImageEffectPropFrameRate   "OfxImageEffectPropFrameRate"
 The frame rate of a clip or instance's project.
#define kOfxImageEffectPropUnmappedFrameRate   "OfxImageEffectPropUnmappedFrameRate"
 Indicates the original unmapped frame rate (frames/second) of a clip.
#define kOfxImageEffectPropFrameStep   "OfxImageEffectPropFrameStep"
 The frame step used for a sequence of renders.
#define kOfxImageEffectPropFrameRange   "OfxImageEffectPropFrameRange"
 The frame range over which a clip has images.
#define kOfxImageEffectPropUnmappedFrameRange   "OfxImageEffectPropUnmappedFrameRange"
 The unmaped frame range over which an output clip has images.
#define kOfxImageClipPropConnected   "OfxImageClipPropConnected"
 Says whether the clip is actually connected at the moment.
#define kOfxImageEffectFrameVarying   "OfxImageEffectFrameVarying"
 Indicates whether an effect will generate different images from frame to frame.
#define kOfxImageEffectPropRenderScale   "OfxImageEffectPropRenderScale"
 The proxy render scale currently being applied.
#define kOfxImageEffectPropProjectExtent   "OfxImageEffectPropProjectExtent"
 The extent of the current project in canonical coordinates.
#define kOfxImageEffectPropProjectSize   "OfxImageEffectPropProjectSize"
 The size of the current project in canonical coordinates.
#define kOfxImageEffectPropProjectOffset   "OfxImageEffectPropProjectOffset"
 The offset of the current project in canonical coordinates.
#define kOfxImageEffectPropProjectPixelAspectRatio   "OfxImageEffectPropPixelAspectRatio"
 The pixel aspect ratio of the current project.
#define kOfxImageEffectInstancePropEffectDuration   "OfxImageEffectInstancePropEffectDuration"
 The duration of the effect.
#define kOfxImageClipPropFieldOrder   "OfxImageClipPropFieldOrder"
 Which spatial field occurs temporally first in a frame.
#define kOfxImagePropData   "OfxImagePropData"
 The pixel data pointer of an image.
#define kOfxImagePropBounds   "OfxImagePropBounds"
 The bounds of an image's pixels.
#define kOfxImagePropRegionOfDefinition   "OfxImagePropRegionOfDefinition"
 The full region of definition of an image.
#define kOfxImagePropRowBytes   "OfxImagePropRowBytes"
 The number of bytes in a row of an image.
#define kOfxImagePropField   "OfxImagePropField"
 Which fields are present in the image.
#define kOfxImageEffectPluginPropFieldRenderTwiceAlways   "OfxImageEffectPluginPropFieldRenderTwiceAlways"
 Controls how a plugin renders fielded footage.
#define kOfxImageClipPropFieldExtraction   "OfxImageClipPropFieldExtraction"
 Controls how a plugin fetched fielded imagery from a clip.
#define kOfxImageEffectPropFieldToRender   "OfxImageEffectPropFieldToRender"
 Indicates which field is being rendered.
#define kOfxImageEffectPropRegionOfDefinition   "OfxImageEffectPropRegionOfDefinition"
 Used to indicate the region of definition of a plug-in.
#define kOfxImageEffectPropRegionOfInterest   "OfxImageEffectPropRegionOfInterest"
 The value of a region of interest.
#define kOfxImageEffectPropRenderWindow   "OfxImageEffectPropRenderWindow"
 The region to be rendered.
#define kOfxImageFieldNone   "OfxFieldNone"
#define kOfxImageFieldLower   "OfxFieldLower"
#define kOfxImageFieldUpper   "OfxFieldUpper"
#define kOfxImageFieldBoth   "OfxFieldBoth"
#define kOfxImageFieldSingle   "OfxFieldSingle"
#define kOfxImageFieldDoubled   "OfxFieldDoubled"

Detailed Description

These are the list of properties used by the Image Effects API.


Define Documentation

#define kOfxImageClipPropConnected   "OfxImageClipPropConnected"

Says whether the clip is actually connected at the moment.

  • Type - int X 1
  • Property Set - clip instance (read only)
  • Valid Values - This must be one of 0 or 1

An instance may have a clip may not be connected to an object that can produce image data. Use this to find out.

Any clip that is not optional will always be connected during a render action. However, during interface actions, even non optional clips may be unconnected.

Definition at line 714 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::attribute::OfxhClipAccessor::isConnected(), OFX::Clip::isConnected(), tuttle::host::ofx::attribute::OfxhClip::OfxhClip(), and tuttle::host::ofx::attribute::OfxhClipAccessor::setConnected().

#define kOfxImageClipPropContinuousSamples   "OfxImageClipPropContinuousSamples"

Clip and action argument property which indicates that the clip can be sampled continously.

  • Type - int X 1
  • Property Set - clip instance (read only), as an out argument to kOfxImageEffectActionGetClipPreferences action (read/write)
  • Default - 0 as an out argument to the kOfxImageEffectActionGetClipPreferences action
  • Valid Values - This must be one of...
    • 0 if the images can only be sampled at discreet times (eg: the clip is a sequence of frames),
    • 1 if the images can only be sampled continuously (eg: the clip is infact an animating roto spline and can be rendered anywhen).

If this is set to true, then the frame rate of a clip is effectively infinite, so to stop arithmetic errors the frame rate should then be set to 0.

Definition at line 529 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::attribute::OfxhClipImage::getContinuousSamples(), OFX::Clip::hasContinuousSamples(), tuttle::host::ofx::attribute::OfxhClipImage::OfxhClipImage(), OFX::ClipPreferencesSetter::setOutputHasContinousSamples(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::setupClipInstancePreferences(), and tuttle::host::ofx::imageEffect::OfxhImageEffectNode::setupClipPreferencesArgs().

#define kOfxImageClipPropFieldExtraction   "OfxImageClipPropFieldExtraction"

Controls how a plugin fetched fielded imagery from a clip.

  • Type - string X 1
  • Property Set - a clip descriptor (read/write)
  • Default - kOfxImageFieldDoubled
  • Valid Values - This must be one of
    • kOfxImageFieldBoth - fetch a full frame interlaced image
    • kOfxImageFieldSingle - fetch a single field, making a half height image
    • kOfxImageFieldDoubled - fetch a single field, but doubling each line and so making a full height image

This controls how a plug-in wishes to fetch images from a fielded clip, so it can tune it behaviour when it renders fielded footage.

Note that if it fetches kOfxImageFieldSingle and the host stores images natively as both fields interlaced, it can return a single image by doubling rowbytes and tweaking the starting address of the image data. This saves on a buffer copy.

Definition at line 908 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::attribute::OfxhClipImageAccessor::getFieldExtraction(), tuttle::host::ofx::attribute::OfxhClipImage::getFieldExtraction(), tuttle::host::ofx::attribute::OfxhClipImageDescriptor::init(), and OFX::ClipDescriptor::setFieldExtraction().

#define kOfxImageClipPropFieldOrder   "OfxImageClipPropFieldOrder"

Which spatial field occurs temporally first in a frame.

  • Type - string X 1
  • Property Set - a clip instance (read only)
  • Valid Values - This must be one of

Definition at line 810 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::attribute::OfxhClipImage::getFieldOrder(), OFX::Clip::getFieldOrder(), tuttle::host::ofx::attribute::OfxhClipImage::OfxhClipImage(), OFX::ClipPreferencesSetter::setOutputFielding(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::setupClipInstancePreferences(), and tuttle::host::ofx::imageEffect::OfxhImageEffectNode::setupClipPreferencesArgs().

#define kOfxImageClipPropIsMask   "OfxImageClipPropIsMask"

Indicates that a clip is intended to be used as a mask input.

  • Type - int X 1
  • Property Set - clip descriptor (read/write)
  • Default - 0
  • Valid Values - This must be one of 0 or 1

Set this property on any clip which will only ever have single channel alpha images fetched from it. Typically on an optional clip such as a junk matte in a keyer.

This property acts as a hint to hosts indicating that they could feed the effect from a rotoshape (or similar) rather than an 'ordinary' clip.

Definition at line 633 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::attribute::OfxhClipImageDescriptor::init(), tuttle::host::ofx::attribute::OfxhClipImageAccessor::isMask(), and OFX::ClipDescriptor::setIsMask().

#define kOfxImageClipPropOptional   "OfxImageClipPropOptional"

Indicates if a clip is optional.

  • Type - int X 1
  • Property Set - clip descriptor (read/write)
  • Default - 0
  • Valid Values - This must be one of 0 or 1

Definition at line 620 of file ofxImageEffect.h.

Referenced by sam::coutClipsWithDetails(), tuttle::host::ofx::attribute::OfxhClipAccessor::isOptional(), tuttle::host::ofx::attribute::OfxhClipDescriptor::OfxhClipDescriptor(), and OFX::ClipDescriptor::setOptional().

#define kOfxImageClipPropUnmappedComponents   "OfxImageClipPropUnmappedComponents"

Indicates the current 'raw' component type on a clip before any mapping by clip preferences.

  • Type - string X 1
  • Property Set - clip instance (read only),
  • Valid Values - This must be one of
    • kOfxImageComponentNone (implying a clip is unconnected)
    • kOfxImageComponentRGBA
    • kOfxImageComponentRGB
    • kOfxImageComponentAlpha

Definition at line 555 of file ofxImageEffect.h.

Referenced by tuttle::host::attribute::ClipImage::getUnmappedComponents(), tuttle::host::ofx::attribute::OfxhClipImage::getUnmappedComponents(), OFX::Clip::getUnmappedPixelComponents(), OFX::Clip::getUnmappedPixelComponentsProperty(), and tuttle::host::ofx::attribute::OfxhClipImage::OfxhClipImage().

#define kOfxImageClipPropUnmappedPixelDepth   "OfxImageClipPropUnmappedPixelDepth"

Indicates the type of each component in a clip before any mapping by clip preferences.

  • Type - string X 1
  • Property Set - clip instance (read only)
  • Valid Values - This must be one of
    • kOfxBitDepthNone (implying a clip is unconnected image)
    • kOfxBitDepthByte
    • kOfxBitDepthShort
    • kOfxBitDepthFloat

This is the actual value of the component depth, before any mapping by clip preferences.

Definition at line 543 of file ofxImageEffect.h.

Referenced by tuttle::host::attribute::ClipImage::getUnmappedBitDepth(), tuttle::host::ofx::attribute::OfxhClipImage::getUnmappedBitDepth(), OFX::Clip::getUnmappedPixelDepth(), and tuttle::host::ofx::attribute::OfxhClipImage::OfxhClipImage().

#define kOfxImageEffectFrameVarying   "OfxImageEffectFrameVarying"

Indicates whether an effect will generate different images from frame to frame.

This property indicates whether a plugin will generate a different image from frame to frame, even if no parameters or input image changes. For example a generater that creates random noise pixel at each frame.

Definition at line 726 of file ofxImageEffect.h.

Referenced by OFX::ClipPreferencesSetter::setOutputFrameVarying(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::setupClipInstancePreferences(), and tuttle::host::ofx::imageEffect::OfxhImageEffectNode::setupClipPreferencesArgs().

#define kOfxImageEffectHostPropIsBackground   "OfxImageEffectHostPropIsBackground"

Indicates if a host is a background render.

  • Type - int X 1
  • Property Set - host descriptor (read only)
  • Valid Values - This must be one of
    • 0 if the host is a foreground host, it may open the effect in an interactive session (or not)
    • 1 if the host is a background 'processing only' host, and the effect will never be opened in an interactive session.

Definition at line 214 of file ofxImageEffect.h.

Referenced by OFX::Private::fetchHostDescription(), and tuttle::host::Host::Host().

#define kOfxImageEffectInstancePropEffectDuration   "OfxImageEffectInstancePropEffectDuration"

The duration of the effect.

  • Type - double X 1
  • Property Set - a plugin instance (read only)

This contains the duration of the plug-in effect, in frames.

Definition at line 799 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::imageEffect::OfxhImageEffectNode::getDoubleProperty(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::getDoublePropertyN(), and OFX::ImageEffect::getEffectDuration().

#define kOfxImageEffectInstancePropSequentialRender   "OfxImageEffectInstancePropSequentialRender"

Indicates whether a plugin needs sequential rendering, and a host support it.

  • Type - int X 1
  • Property Set - plugin descriptor (read/write) or plugin instance (read/write), and host descriptor (read only)
  • Default - 0
  • Valid Values -
    • 0 - for a plugin, indicates that a plugin does not need to be sequentially rendered to be correct, for a host, indicates that it cannot ever guarantee sequential rendering,
    • 1 - for a plugin, indicates that it needs to be sequentially rendered to be correct, for a host, indicates that it can always support sequential rendering of plugins that are sequentially rendered,
    • 2 - for a plugin, indicates that it is best to render sequentially, but will still produce correct results if not, for a host, indicates that it can sometimes render sequentially, and will have set kOfxImageEffectPropSequentialRenderStatus on the relevant actions

Some effects have temporal dependancies, some information from from the rendering of frame N-1 is needed to render frame N correctly. This property is set by an effect to indicate such a situation. Also, some effects are more efficient if they run sequentially, but can still render correct images even if they do not, eg: a complex particle system.

During an interactive session a host may attempt to render a frame out of sequence (for example when the user scrubs the current time), and the effect needs to deal with such a situation as best it can to provide feedback to the user.

However if a host caches output, any frame frame generated in random temporal order needs to be considered invalid and needs to be re-rendered when the host finally performs a first to last render of the output sequence.

In all cases, a host will set the kOfxImageEffectPropSequentialRenderStatus flag to indicate its sequential render status.

Definition at line 345 of file ofxImageEffect.h.

Referenced by OFX::ImageEffect::getSequentialRender(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::initHook(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::OfxhImageEffectNode(), and OFX::ImageEffect::setSequentialRender().

#define kOfxImageEffectPluginPropFieldRenderTwiceAlways   "OfxImageEffectPluginPropFieldRenderTwiceAlways"

Controls how a plugin renders fielded footage.

  • Type - integer X 1
  • Property Set - a plugin descriptor (read/write)
  • Default - 1
  • Valid Values - This must be one of
    • 0 - the plugin is to have its render function called twice, only if there is animation in any of its parameters
    • 1 - the plugin is to have its render function called twice always

Definition at line 892 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::imageEffect::OfxhImageEffectNodeBase::fieldRenderTwiceAlways(), and OFX::ImageEffectDescriptor::setRenderTwiceAlways().

#define kOfxImageEffectPluginPropGrouping   "OfxImageEffectPluginPropGrouping"

Indicates the effect group for this plugin.

  • Type - UTF8 string X 1
  • Property Set - plugin descriptor (read/write)
  • Default - ""

This is purely a user interface hint for the host so it can group related effects on any menus it may have.

Definition at line 385 of file ofxImageEffect.h.

Referenced by displayNodeHelp(), tuttle::host::ofx::imageEffect::OfxhImageEffectNodeBase::getPluginGrouping(), main(), and OFX::ImageEffectDescriptor::setPluginGrouping().

#define kOfxImageEffectPluginPropHostFrameThreading   "OfxImageEffectPluginPropHostFrameThreading"

Indicates whether a plugin lets the host perform per frame SMP threading.

  • Type - int X 1
  • Property Set - plugin descriptor (read/write)
  • Default - 1
  • Valid Values - This must be one of
    • 0 - which means that the plugin will perform any per frame SMP threading
    • 1 - which means the host can call an instance's render function simultaneously at the same frame, but with different windows to render.

Definition at line 257 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::imageEffect::OfxhImageEffectNodeBase::getHostFrameThreading(), and OFX::ImageEffectDescriptor::setHostFrameThreading().

#define kOfxImageEffectPluginPropOverlayInteractV1   "OfxImageEffectPluginPropOverlayInteractV1"

Sets the entry for an effect's overlay interaction.

  • Type - pointer X 1
  • Property Set - plugin descriptor (read/write)
  • Default - NULL
  • Valid Values - must point to an OfxPluginEntryPoint

The entry point pointed to must be one that handles custom interaction actions.

Definition at line 406 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::imageEffect::OfxhImageEffectNodeBase::getOverlayInteractMainEntry(), and OFX::ImageEffectDescriptor::setOverlayInteractDescriptor().

#define kOfxImageEffectPluginPropSingleInstance   "OfxImageEffectPluginPropSingleInstance"

Indicates whether only one instance of a plugin can exist at the same time.

  • Type - int X 1
  • Property Set - plugin descriptor (read/write)
  • Default - 0
  • Valid Values - This must be one of
    • 0 - which means multiple instances can exist simultaneously,
    • 1 - which means only one instance can exist at any one time.

Some plugins, for whatever reason, may only be able to have a single instance in existance at any one time. This plugin property is used to indicate that.

Definition at line 227 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::imageEffect::OfxhImageEffectNodeBase::isSingleInstance(), and OFX::ImageEffectDescriptor::setSingleInstance().

#define kOfxImageEffectPluginRenderThreadSafety   "OfxImageEffectPluginRenderThreadSafety"

Indicates how many simultaneous renders the plugin can deal with.

Definition at line 239 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::imageEffect::OfxhImageEffectNodeBase::getRenderThreadSafety(), and OFX::ImageEffectDescriptor::setRenderThreadSafety().

#define kOfxImageEffectPropClipPreferencesSlaveParam   "OfxImageEffectPropClipPreferencesSlaveParam"

Indicates the set of parameters on which a value change will trigger a change to clip preferences.

  • Type - string X N
  • Property Set - plugin descriptor (read/write)
  • Default - none set
  • Valid Values - the name of any described parameter

The plugin uses this to inform the host of the subset of parameters that affect the effect's clip preferences. A value change in any one of these will trigger a call to the clip preferences action.

The plugin can be slaved to multiple parameters (setting index 0, then index 1 etc...)

Definition at line 299 of file ofxImageEffect.h.

Referenced by OFX::ImageEffectDescriptor::addClipPreferencesSlaveParam(), and tuttle::host::ofx::imageEffect::OfxhImageEffectNodeBase::isClipPreferencesSlaveParam().

#define kOfxImageEffectPropComponents   "OfxImageEffectPropComponents"

Indicates the current component type in a clip or image (after any mapping)

  • Type - string X 1
  • Property Set - clip instance (read only), image instance (read only)
  • Valid Values - This must be one of
    • kOfxImageComponentNone (implying a clip is unconnected, not valid for an image)
    • kOfxImageComponentRGBA
    • kOfxImageComponentRGB
    • kOfxImageComponentAlpha

Note that for a clip, this is the value set by the clip preferences action, not the raw 'actual' value of the clip.

Definition at line 503 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::attribute::OfxhClipImage::getComponentsString(), tuttle::host::ofx::imageEffect::OfxhImage::getComponentsType(), OFX::Clip::getPixelComponents(), OFX::Image::getPixelComponentsProperty(), OFX::Clip::getPixelComponentsProperty(), OFX::Image::Image(), tuttle::host::ofx::imageEffect::OfxhImage::initClipBits(), tuttle::host::ofx::attribute::OfxhClipImage::OfxhClipImage(), tuttle::host::ofx::attribute::OfxhClipImage::setComponentsString(), and tuttle::host::ofx::attribute::OfxhClipImage::setComponentsStringIfNotModifiedByPlugin().

#define kOfxImageEffectPropFieldToRender   "OfxImageEffectPropFieldToRender"

Indicates which field is being rendered.

  • Type - string X 1
  • Property Set - a read only in argument property to kOfxImageEffectActionRender and kOfxImageEffectActionIsIdentity
  • Valid Values - this must be one of
    • kOfxImageFieldNone - there are no fields to deal with, all images are full frame
    • kOfxImageFieldBoth - the imagery is fielded and both scan lines should be renderred
    • kOfxImageFieldLower - the lower field is being rendered (lines 0,2,4...)
    • kOfxImageFieldUpper - the upper field is being rendered (lines 1,3,5...)

Definition at line 920 of file ofxImageEffect.h.

Referenced by OFX::Private::getRenderActionArguments(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::isIdentityAction(), and tuttle::host::ofx::imageEffect::OfxhImageEffectNode::renderAction().

#define kOfxImageEffectPropFrameRange   "OfxImageEffectPropFrameRange"
#define kOfxImageEffectPropFrameRate   "OfxImageEffectPropFrameRate"

The frame rate of a clip or instance's project.

For an input clip this is the frame rate of the clip.

For an output clip, the frame rate mapped via pixel preferences.

For an instance, this is the frame rate of the project the effect is in.

For the outargs property in the kOfxImageEffectActionGetClipPreferences action, it is used to change the frame rate of the ouput clip.

Definition at line 657 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::imageEffect::OfxhImageEffectNode::getDoubleProperty(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::getDoublePropertyN(), tuttle::host::attribute::ClipImage::getFrameRate(), tuttle::host::ofx::attribute::OfxhClipImage::getFrameRate(), OFX::Clip::getFrameRate(), OFX::ImageEffect::getFrameRate(), tuttle::host::ofx::attribute::OfxhClipImage::OfxhClipImage(), tuttle::host::attribute::ClipImage::setFrameRate(), OFX::ClipPreferencesSetter::setOutputFrameRate(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::setupClipInstancePreferences(), and tuttle::host::ofx::imageEffect::OfxhImageEffectNode::setupClipPreferencesArgs().

#define kOfxImageEffectPropFrameStep   "OfxImageEffectPropFrameStep"

The frame step used for a sequence of renders.

  • Type - double X 1
  • Property Set - an in argument for the kOfxImageEffectActionBeginSequenceRender action (read only)
  • Valid Values - can be any positive value, but typically
    • 1 for frame based material
    • 0.5 for field based material

Definition at line 676 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::imageEffect::OfxhImageEffectNode::beginSequenceRenderAction(), OFX::Private::beginSequenceRenderAction(), and tuttle::host::ofx::imageEffect::OfxhImageEffectNode::endSequenceRenderAction().

#define kOfxImageEffectPropInAnalysis   "OfxImageEffectPropInAnalysis"

Indicates whether an effect is performing an analysis pass.

  • Type - int X 1
  • Property Set - plugin instance (read/write)
  • Default - to 0
  • Valid Values - This must be one of 0 or 1

This feature is likely to be deprecated in future releases.

Definition at line 445 of file ofxImageEffect.h.

#define kOfxImageEffectPropInteractiveRenderStatus   "OfxImageEffectPropInteractiveRenderStatus"

Property that indicates if a plugin is being rendered in response to user interaction.

This property is set to 1 on all render calls that have been triggered because a user is actively modifying an effect (or up stream effect) in an interactive session. This typically means that the effect is not being rendered as a part of a sequence, but as a single frame.

Definition at line 375 of file ofxImageEffect.h.

#define kOfxImageEffectPropPixelDepth   "OfxImageEffectPropPixelDepth"

Indicates the type of each component in a clip or image (after any mapping)

  • Type - string X 1
  • Property Set - clip instance (read only), image instance (read only)
  • Valid Values - This must be one of
    • kOfxBitDepthNone (implying a clip is unconnected, not valid for an image)
    • kOfxBitDepthByte
    • kOfxBitDepthShort
    • kOfxBitDepthFloat

Note that for a clip, this is the value set by the clip preferences action, not the raw 'actual' value of the clip.

Definition at line 489 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::imageEffect::OfxhImage::getBitDepth(), tuttle::host::ofx::attribute::OfxhClipImage::getBitDepthString(), OFX::Clip::getPixelDepth(), OFX::Image::Image(), tuttle::host::ofx::imageEffect::OfxhImage::initClipBits(), tuttle::host::ofx::attribute::OfxhClipImage::OfxhClipImage(), tuttle::host::ofx::attribute::OfxhClipImage::setBitDepthString(), tuttle::host::ofx::attribute::OfxhClipImage::setBitDepthStringIfUpper(), and tuttle::host::ofx::attribute::OfxhClipImage::setBitDepthStringIfUpperAndNotModifiedByPlugin().

#define kOfxImageEffectPropPluginHandle   "OfxImageEffectPropPluginHandle"

The plugin handle passed to the initial 'describe' action.

  • Type - pointer X 1
  • Property Set - plugin instance, (read only)

This value will be the same for all instances of a plugin.

Definition at line 204 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::imageEffect::OfxhImageEffectNode::OfxhImageEffectNode().

#define kOfxImageEffectPropPreMultiplication   "OfxImageEffectPropPreMultiplication"

Indicates the premultiplication state of a clip or image.

  • Type - string X 1
  • Property Set - clip instance (read only), image instance (read only), out args property in the kOfxImageEffectActionGetClipPreferences action (read/write)
  • Valid Values - This must be one of
    • kOfxImageOpaque - the image is opaque and so has no premultiplication state
    • kOfxImagePreMultiplied - the image is premultiplied by its alpha
    • kOfxImageUnPreMultiplied - the image is unpremultiplied

See the documentation on clip preferences for more details on how this is used with the kOfxImageEffectActionGetClipPreferences action.

Definition at line 568 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::attribute::OfxhClipImage::getPremult(), OFX::Clip::getPreMultiplication(), OFX::Image::Image(), tuttle::host::ofx::imageEffect::OfxhImage::initClipBits(), tuttle::host::ofx::attribute::OfxhClipImage::OfxhClipImage(), OFX::ClipPreferencesSetter::setOutputPremultiplication(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::setupClipInstancePreferences(), and tuttle::host::ofx::imageEffect::OfxhImageEffectNode::setupClipPreferencesArgs().

#define kOfxImageEffectPropProjectExtent   "OfxImageEffectPropProjectExtent"

The extent of the current project in canonical coordinates.

  • Type - double X 2
  • Property Set - a plugin instance (read only)

The extent is the size of the 'output' for the current project. See NormalisedCoordinateSystem for more infomation on the project extent.

The extent is in canonical coordinates and only returns the top right position, as the extent is always rooted at 0,0.

For example a PAL SD project would have an extent of 768, 576.

Definition at line 754 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::imageEffect::OfxhImageEffectNode::getDoubleProperty(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::getDoublePropertyN(), and OFX::ImageEffect::getProjectExtent().

#define kOfxImageEffectPropProjectOffset   "OfxImageEffectPropProjectOffset"

The offset of the current project in canonical coordinates.

  • Type - double X 2
  • Property Set - a plugin instance (read only)

The offset is related to the kOfxImageEffectPropProjectSize and is the offset from the origin of the project 'subwindow'.

For example for a PAL SD project that is in letterbox form, the project offset is the offset to the bottom left hand corner of the letter box.

The project offset is in canonical coordinates.

See NormalisedCoordinateSystem for more infomation on the project extent.

Definition at line 782 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::imageEffect::OfxhImageEffectNode::getDoubleProperty(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::getDoublePropertyN(), and OFX::ImageEffect::getProjectOffset().

#define kOfxImageEffectPropProjectPixelAspectRatio   "OfxImageEffectPropPixelAspectRatio"

The pixel aspect ratio of the current project.

  • Type - double X 1
  • Property Set - a plugin instance (read only)

Definition at line 790 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::imageEffect::OfxhImageEffectNode::getDoubleProperty(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::getDoublePropertyN(), and OFX::ImageEffect::getProjectPixelAspectRatio().

#define kOfxImageEffectPropProjectSize   "OfxImageEffectPropProjectSize"

The size of the current project in canonical coordinates.

  • Type - double X 2
  • Property Set - a plugin instance (read only)

The size of a project is a sub set of the kOfxImageEffectPropProjectExtent. For example a project may be a PAL SD project, but only be a letter-box within that. The project size is the size of this sub window.

The project size is in canonical coordinates.

See NormalisedCoordinateSystem for more infomation on the project extent.

Definition at line 767 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::imageEffect::OfxhImageEffectNode::getDoubleProperty(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::getDoublePropertyN(), and OFX::ImageEffect::getProjectSize().

#define kOfxImageEffectPropRegionOfDefinition   "OfxImageEffectPropRegionOfDefinition"

Used to indicate the region of definition of a plug-in.

The order of the values is x1, y1, x2, y2.

This will be in CanonicalCoordinates

Definition at line 932 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::imageEffect::OfxhImageEffectNode::getRegionOfDefinitionAction(), and OFX::Private::regionOfDefinitionAction().

#define kOfxImageEffectPropRegionOfInterest   "OfxImageEffectPropRegionOfInterest"

The value of a region of interest.

A host passes this value into the region of interest action to specify the region it is interested in rendering.

The order of the values is x1, y1, x2, y2.

This will be in CanonicalCoordinates.

Definition at line 945 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::imageEffect::OfxhImageEffectNode::getRegionOfInterestAction(), and OFX::Private::regionsOfInterestAction().

#define kOfxImageEffectPropRenderScale   "OfxImageEffectPropRenderScale"

The proxy render scale currently being applied.

This should be applied to any spatial parameters to position them correctly. Not that the 'x' value does not include any pixel aspect ratios.

Definition at line 741 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::imageEffect::OfxhImageEffectNode::beginSequenceRenderAction(), OFX::Private::beginSequenceRenderAction(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::clipInstanceChangedAction(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::endSequenceRenderAction(), OFX::Private::endSequenceRenderAction(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::getRegionOfDefinitionAction(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::getRegionOfInterestAction(), OFX::Private::getRenderActionArguments(), OFX::getRenderScale(), tuttle::host::attribute::Image::Image(), OFX::Image::Image(), tuttle::host::ofx::interact::OfxhInteract::initArgProp(), OFX::Private::instanceChangedAction(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::isIdentityAction(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::paramInstanceChangedAction(), OFX::Private::regionOfDefinitionAction(), OFX::Private::regionsOfInterestAction(), and tuttle::host::ofx::imageEffect::OfxhImageEffectNode::renderAction().

#define kOfxImageEffectPropRenderWindow   "OfxImageEffectPropRenderWindow"

The region to be rendered.

The order of the values is x1, y1, x2, y2.

This will be in PixelCoordinates

Definition at line 957 of file ofxImageEffect.h.

Referenced by OFX::Private::getRenderActionArguments(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::isIdentityAction(), and tuttle::host::ofx::imageEffect::OfxhImageEffectNode::renderAction().

#define kOfxImageEffectPropSequentialRenderStatus   "OfxImageEffectPropSequentialRenderStatus"

Property on all the render action that indicate the current sequential render status of a host.

This property is set to indicate whether the effect is currently being rendered in frame order on a single effect instance. See kOfxImageEffectInstancePropSequentialRender for more details on sequential rendering.

Definition at line 360 of file ofxImageEffect.h.

#define kOfxImageEffectPropSetableFielding   "OfxImageEffectPropSetableFielding"

Indicates whether the host will let a plugin set the fielding of the output clip.

  • Type - int X 1
  • Property Set - host descriptor (read only)
  • Valid Values - This must be one of
    • 0 - in which case the plugin may not change the fielding of the output clip,
    • 1 - which means a plugin is able to change the output clip's fielding in the kOfxImageEffectActionGetClipPreferences action.

See ImageEffectClipPreferences.

Definition at line 325 of file ofxImageEffect.h.

Referenced by OFX::Private::fetchHostDescription(), and tuttle::host::Host::Host().

#define kOfxImageEffectPropSetableFrameRate   "OfxImageEffectPropSetableFrameRate"

Indicates whether the host will let a plugin set the frame rate of the output clip.

  • Type - int X 1
  • Property Set - host descriptor (read only)
  • Valid Values - This must be one of
    • 0 - in which case the plugin may not change the frame rate of the output clip,
    • 1 - which means a plugin is able to change the output clip's frame rate in the kOfxImageEffectActionGetClipPreferences action.

See ImageEffectClipPreferences.

If a clip can be continously sampled, the frame rate will be set to 0.

Definition at line 313 of file ofxImageEffect.h.

Referenced by OFX::Private::fetchHostDescription(), and tuttle::host::Host::Host().

#define kOfxImageEffectPropSupportedComponents   "OfxImageEffectPropSupportedComponents"

Indicates the components supported by a clip or host,.

  • Type - string X N
  • Property Set - host descriptor (read only), clip descriptor (read/write)
  • Valid Values - This must be one of
    • kOfxImageComponentNone (implying a clip is unconnected)
    • kOfxImageComponentRGBA
    • kOfxImageComponentRGB
    • kOfxImageComponentAlpha

This list of strings indicate what component types are supported by a host or are expected as input to a clip.

The default for a clip descriptor is to have none set, the plugin must define at least one in its define function

Definition at line 610 of file ofxImageEffect.h.

Referenced by OFX::ClipDescriptor::addSupportedComponent(), OFX::Private::fetchHostDescription(), tuttle::host::ofx::attribute::OfxhClipImageAccessor::getSupportedComponents(), tuttle::host::Host::Host(), tuttle::host::ofx::attribute::OfxhClipImageDescriptor::init(), and tuttle::host::ofx::attribute::OfxhClipImageAccessor::isSupportedComponent().

#define kOfxImageEffectPropSupportedContexts   "OfxImageEffectPropSupportedContexts"
#define kOfxImageEffectPropSupportedPixelDepths   "OfxImageEffectPropSupportedPixelDepths"

Indicates the bit depths support by a plug-in or host.

  • Type - string X N
  • Property Set - host descriptor (read only), plugin descriptor (read/write)
  • Default - plugin descriptor none set
  • Valid Values - This must be one of
    • kOfxBitDepthNone (implying a clip is unconnected, not valid for an image)
    • kOfxBitDepthByte
    • kOfxBitDepthShort
    • kOfxBitDepthFloat

The default for a plugin is to have none set, the plugin must define at least one in its describe action.

Definition at line 593 of file ofxImageEffect.h.

Referenced by OFX::ImageEffectDescriptor::addSupportedBitDepth(), OFX::Private::fetchHostDescription(), tuttle::host::Host::Host(), tuttle::host::ofx::imageEffect::OfxhImageEffectNodeBase::isBitDepthSupported(), and tuttle::host::ofx::imageEffect::OfxhImageEffectNode::isSupportedBitDepth().

#define kOfxImageEffectPropSupportsMultipleClipDepths   "OfxImageEffectPropMultipleClipDepths"

Indicates whether a host or plugin can support clips of differing component depths going into/out of an effect.

  • Type - int X 1
  • Property Set - plugin descriptor (read/write), host descriptor (read only)
  • Default - 0 for a plugin
  • Valid Values - This must be one of
    • 0 - in which case the host or plugin does not support clips of multiple pixel depths,
    • 1 - which means a host or plugin is able to to deal with clips of multiple pixel depths,

If a host indicates that it can support multiple pixels depths, then it will allow the plugin to explicitly set the output clip's pixel depth in the kOfxImageEffectActionGetClipPreferences action. See ImageEffectClipPreferences.

Definition at line 271 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::imageEffect::OfxhImageEffectNode::canCurrentlyHandleMultipleClipDepths(), OFX::Private::fetchHostDescription(), tuttle::host::Host::Host(), OFX::ImageEffectDescriptor::setSupportsMultipleClipDepths(), and tuttle::host::ofx::imageEffect::OfxhImageEffectNodeBase::supportsMultipleClipDepths().

#define kOfxImageEffectPropSupportsMultipleClipPARs   "OfxImageEffectPropSupportsMultipleClipPARs"

Indicates whether a host or plugin can support clips of differing pixel aspect ratios going into/out of an effect.

  • Type - int X 1
  • Property Set - plugin descriptor (read/write), host descriptor (read only)
  • Default - 0 for a plugin
  • Valid Values - This must be one of
    • 0 - in which case the host or plugin does not support clips of multiple pixel aspect ratios
    • 1 - which means a host or plugin is able to to deal with clips of multiple pixel aspect ratios

If a host indicates that it can support multiple pixel aspect ratios, then it will allow the plugin to explicitly set the output clip's aspect ratio in the kOfxImageEffectActionGetClipPreferences action. See ImageEffectClipPreferences.

Definition at line 285 of file ofxImageEffect.h.

Referenced by OFX::Private::fetchHostDescription(), tuttle::host::Host::Host(), OFX::ImageEffectDescriptor::setSupportsMultipleClipPARs(), and tuttle::host::ofx::imageEffect::OfxhImageEffectNodeBase::supportsMultipleClipPARs().

#define kOfxImageEffectPropSupportsMultiResolution   "OfxImageEffectPropSupportsMultiResolution"

Indicates whether a plugin or host support multiple resolution images.

  • Type - int X 1
  • Property Set - host descriptor (read only), plugin descriptor (read/write)
  • Default - 1 for plugins
  • Valid Values - This must be one of
    • 0 - the plugin or host does not support multiple resolutions
    • 1 - the plugin or host does support multiple resolutions

Multiple resolution images mean...

  • input and output images can be of any size
  • input and output images can be offset from the origin

Definition at line 421 of file ofxImageEffect.h.

Referenced by OFX::Private::fetchHostDescription(), tuttle::host::Host::Host(), OFX::ImageEffectDescriptor::setSupportsMultiResolution(), and tuttle::host::ofx::imageEffect::OfxhImageEffectNodeBase::supportsMultiResolution().

#define kOfxImageEffectPropSupportsOverlays   "OfxImageEffectPropSupportsOverlays"

Indicates whether a host support image effect ImageEffectOverlays.

  • Type - int X 1
  • Property Set - host descriptor (read only)
  • Valid Values - This must be one of
    • 0 - the host won't allow a plugin to draw a GUI over the output image,
    • 1 - the host will allow a plugin to draw a GUI over the output image.

Definition at line 395 of file ofxImageEffect.h.

Referenced by OFX::Private::fetchHostDescription(), and tuttle::host::Host::Host().

#define kOfxImageEffectPropSupportsTiles   "OfxImageEffectPropSupportsTiles"

Indicates whether a clip, plugin or host supports tiled images.

  • Type - int X 1
  • Property Set - host descriptor (read only), plugin descriptor (read/write), clip descriptor (read/write)
  • Default - to 1 for a plugin and clip
  • Valid Values - This must be one of 0 or 1

Tiled images mean that input or output images can contain pixel data that is only a subset of their full RoD.

If a clip or plugin does not support tiled images, then the host should supply full RoD images to the effect whenever it fetches one.

Definition at line 434 of file ofxImageEffect.h.

Referenced by OFX::Private::fetchHostDescription(), tuttle::host::Host::Host(), tuttle::host::ofx::attribute::OfxhClipImageDescriptor::init(), OFX::ClipDescriptor::setSupportsTiles(), OFX::ImageEffectDescriptor::setSupportsTiles(), tuttle::host::ofx::attribute::OfxhClipImageAccessor::supportsTiles(), and tuttle::host::ofx::imageEffect::OfxhImageEffectNodeBase::supportsTiles().

#define kOfxImageEffectPropTemporalClipAccess   "OfxImageEffectPropTemporalClipAccess"

Indicates support for random temporal access to images in a clip.

  • Type - int X 1
  • Property Set - host descriptor (read only), plugin descriptor (read/write), clip descriptor (read/write)
  • Default - to 0 for a plugin and clip
  • Valid Values - This must be one of 0 or 1

On a host, it indicates whether the host supports temporal access to images.

On a plugin, indicates if the plugin needs temporal access to images.

On a clip, it indicates that the clip needs temporal access to images.

Definition at line 460 of file ofxImageEffect.h.

Referenced by OFX::Private::fetchHostDescription(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::getFramesNeeded(), tuttle::host::Host::Host(), tuttle::host::ofx::attribute::OfxhClipImageDescriptor::init(), OFX::ClipDescriptor::setTemporalClipAccess(), OFX::ImageEffectDescriptor::setTemporalClipAccess(), tuttle::host::ofx::attribute::OfxhClipImageAccessor::temporalAccess(), and tuttle::host::ofx::imageEffect::OfxhImageEffectNodeBase::temporalAccess().

#define kOfxImageEffectPropUnmappedFrameRange   "OfxImageEffectPropUnmappedFrameRange"

The unmaped frame range over which an output clip has images.

  • Type - double X 2
  • Property Set - clip instance (read only)

Dimension 0 is the first frame for which the clip can produce valid data.

Dimension 1 is the last frame for which the clip can produce valid data.

If a plugin changes the output frame rate in the pixel preferences action, it will affect the frame range of the output clip, this property allows a plugin to get to the original value.

Definition at line 702 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::attribute::OfxhClipImage::getUnmappedFrameRange(), OFX::Clip::getUnmappedFrameRange(), tuttle::host::ofx::attribute::OfxhClipImage::OfxhClipImage(), and tuttle::host::attribute::ClipImage::setUnmappedFrameRange().

#define kOfxImageEffectPropUnmappedFrameRate   "OfxImageEffectPropUnmappedFrameRate"

Indicates the original unmapped frame rate (frames/second) of a clip.

  • Type - double X 1
  • Property Set - clip instance (read only),

If a plugin changes the output frame rate in the pixel preferences action, this property allows a plugin to get to the original value.

Definition at line 666 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::attribute::OfxhClipImage::getUnmappedFrameRate(), OFX::Clip::getUnmappedFrameRate(), and tuttle::host::ofx::attribute::OfxhClipImage::OfxhClipImage().

#define kOfxImageEffectRenderFullySafe   "OfxImageEffectRenderFullySafe"

String used to label render threads as fully thread safe, kOfxImageEffectPluginRenderThreadSafety.

Definition at line 246 of file ofxImageEffect.h.

Referenced by OFX::ImageEffectDescriptor::setRenderThreadSafety().

#define kOfxImageEffectRenderInstanceSafe   "OfxImageEffectRenderInstanceSafe"

String used to label render threads as instance thread safe, kOfxImageEffectPluginRenderThreadSafety.

Definition at line 244 of file ofxImageEffect.h.

Referenced by OFX::ImageEffectDescriptor::setRenderThreadSafety().

#define kOfxImageEffectRenderUnsafe   "OfxImageEffectRenderUnsafe"

String used to label render threads as un thread safe, see, kOfxImageEffectPluginRenderThreadSafety.

Definition at line 242 of file ofxImageEffect.h.

Referenced by OFX::ImageEffectDescriptor::setRenderThreadSafety().

#define kOfxImageFieldBoth   "OfxFieldBoth"

String used to label both fields of fielded imagery, indicating interlaced footage

Definition at line 967 of file ofxImageEffect.h.

Referenced by OFX::Image::Image(), OFX::mapFieldEnumToString(), OFX::mapFieldStringToEnum(), OFX::ClipDescriptor::setFieldExtraction(), and OFX::ClipPreferencesSetter::setOutputFielding().

#define kOfxImageFieldDoubled   "OfxFieldDoubled"

String used to label an image that consists of a single field, but each scan line is double, and so is full height

Definition at line 972 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::attribute::OfxhClipImageDescriptor::init(), and OFX::ClipDescriptor::setFieldExtraction().

#define kOfxImageFieldLower   "OfxFieldLower"

String used to label the lower field (scan lines 0,2,4...) of fielded imagery

Definition at line 963 of file ofxImageEffect.h.

Referenced by OFX::Image::Image(), OFX::mapFieldEnumToString(), OFX::mapFieldStringToEnum(), and OFX::ClipPreferencesSetter::setOutputFielding().

#define kOfxImageFieldSingle   "OfxFieldSingle"

String used to label an image that consists of a single field, and so is half height

Definition at line 969 of file ofxImageEffect.h.

Referenced by OFX::ClipDescriptor::setFieldExtraction().

#define kOfxImageFieldUpper   "OfxFieldUpper"

String used to label the upper field (scan lines 1,3,5...) of fielded imagery

Definition at line 965 of file ofxImageEffect.h.

Referenced by OFX::Image::Image(), OFX::mapFieldEnumToString(), OFX::mapFieldStringToEnum(), and OFX::ClipPreferencesSetter::setOutputFielding().

#define kOfxImagePreMultiplied   "OfxImageAlphaPremultiplied"
#define kOfxImagePropBounds   "OfxImagePropBounds"

The bounds of an image's pixels.

  • Type - integer X 4
  • Property Set - an image instance (read only)

The bounds, in PixelCoordinates, are of the addressable pixels in an image's data pointer.

The order of the values is x1, y1, x2, y2.

X values are x1 <= X < x2 Y values are y1 <= Y < y2

For less than full frame images, the pixel bounds will be contained by the kOfxImagePropRegionOfDefinition bounds.

Definition at line 835 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::imageEffect::OfxhImage::getBounds(), tuttle::host::attribute::Image::Image(), and OFX::Image::Image().

#define kOfxImagePropData   "OfxImagePropData"

The pixel data pointer of an image.

  • Type - pointer X 1
  • Property Set - an image instance (read only)

This property contains a pointer to memory that is the lower left hand corner of an image.

Definition at line 819 of file ofxImageEffect.h.

Referenced by OFX::Image::Image(), and tuttle::host::attribute::Image::setPoolData().

#define kOfxImagePropField   "OfxImagePropField"

Which fields are present in the image.

  • Type - string X 1
  • Property Set - an image instance (read only)
  • Valid Values - This must be one of

Definition at line 881 of file ofxImageEffect.h.

Referenced by OFX::Image::Image().

#define kOfxImagePropPixelAspectRatio   "OfxImagePropPixelAspectRatio"
#define kOfxImagePropRegionOfDefinition   "OfxImagePropRegionOfDefinition"

The full region of definition of an image.

  • Type - integer X 4
  • Property Set - an image instance (read only)

An image's region of definition, in PixelCoordinates, is the full frame area of the image plane that the image covers.

The order of the values is x1, y1, x2, y2.

X values are x1 <= X < x2 Y values are y1 <= Y < y2

The kOfxImagePropBounds property contains the actuall addressable pixels in an image, which may be less than its full region of definition.

Remarks:
tuttle: all other Rod are double, why use intergers here?

Definition at line 853 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::imageEffect::OfxhImage::getROD(), tuttle::host::attribute::Image::Image(), and OFX::Image::Image().

#define kOfxImagePropRowBytes   "OfxImagePropRowBytes"

The number of bytes in a row of an image.

  • Type - integer X 1
  • Property Set - an image instance (read only)

For various alignment reasons, a row of pixels may need to be padded at the end with several bytes before the next row starts in memory.

This property indicates the number of bytes in a row of pixels. This will be at least sizeof(PIXEL) * (bounds.x2-bounds.x1). Where bounds is fetched from the kOfxImagePropBounds property.

Note that row bytes can be negative, which allows hosts with a native top down row order to pass image into OFX without having to repack pixels.

Definition at line 867 of file ofxImageEffect.h.

Referenced by tuttle::host::ofx::imageEffect::OfxhImage::getRowBytes(), tuttle::host::attribute::Image::Image(), and OFX::Image::Image().

#define kOfxImagePropUniqueIdentifier   "OfxImagePropUniqueIdentifier"

Uniquely labels an image.

  • Type - ASCII string X 1
  • Property Set - image instance (read only)

This is host set and allows a plug-in to differentiate between images. This is especially useful if a plugin caches analysed information about the image (for example motion vectors). The plugin can label the cached information with this identifier. If a user connects a different clip to the analysed input, or the image has changed in some way then the plugin can detect this via an identifier change and re-evaluate the cached information.

Definition at line 515 of file ofxImageEffect.h.

Referenced by OFX::Image::Image().

#define kOfxImageUnPreMultiplied   "OfxImageAlphaUnPremultiplied"