#include "ofxImageEffect.h" #define kOfxImageEffectActionGetClipPreferences "OfxImageEffectActionGetClipPreferences"
handle
handle to the instance, cast to an
OfxImageEffectHandle
,
inArgs
is redundant and is set to NULL.
outArgs
has the following properties which the plugin can set...
kOfxImageEffectPropFrameRate
, the frame rate of the output clip, this must be set to a positive non zero double value,
kOfxImageClipPropFieldOrder
, the fielding of the output clip,
kOfxImageEffectPropPreMultiplication
, the premultiplication of the output clip,
kOfxImageClipPropContinuousSamples
, whether the output clip can produce different images at non-frame intervals, defaults to false,
kOfxImageEffectFrameVarying
, whether the output clip can produces different images at different times, even if all parameters and inputs are constant, defaults to false.
This action allows a plugin to dynamically specify its preferences for input and output clips. Please see Image Effect Clip Preferences for more details on the behaviour. Clip preferences are constant for the duration of an effect, so this action need only be called once per clip, not once per frame.
This should be called once after creation of an instance, each time an input clip is changed, and whenever a parameter named in the
kOfxImageEffectPropClipPreferencesSlaveParam
has its value changed.
outArgs
was changed from its default value