@@ -115,6 +115,7 @@ These are the list of actions passed to an image effect plugin's main function.
115115 requested
116116 - \ref kOfxImageEffectPropRenderScale the render scale that should be used in any calculations in this
117117 action
118+ - \ref kOfxImageEffectPropThumbnailRender (optional) if the host considers this render a "thumbnail"
118119
119120 @param outArgs has the following property which the plug-in may set
120121 - \ref kOfxImageEffectPropRegionOfDefinition the calculated region of definition, initially set by the host
@@ -169,6 +170,7 @@ These are the list of actions passed to an image effect plugin's main function.
169170 - \ref kOfxPropTime the effect time for which a region of definition is being requested
170171 - \ref kOfxImageEffectPropRenderScale the render scale that should be used in any calculations in this action
171172 - \ref kOfxImageEffectPropRegionOfInterest the region to be rendered in the output image, in Canonical Coordinates.
173+ - \ref kOfxImageEffectPropThumbnailRender (optional) if the host considers this render a "thumbnail"
172174
173175 @param outArgs has a set of 4 dimensional double properties, one for each of the input clips to the effect.
174176 The properties are each named ``OfxImageClipPropRoI_`` with the clip name post pended, for example
@@ -263,7 +265,9 @@ These are the list of actions passed to an image effect plugin's main function.
263265 @param handle handle to the instance, cast to an \ref OfxImageEffectHandle
264266 @param inArgs has the following property
265267 - \ref kOfxPropTime the effect time for which we need to calculate the frames needed on input
266- - \ref outArgs has a set of properties, one for each input clip, named
268+ - \ref kOfxImageEffectPropThumbnailRender (optional) if the host considers this render a "thumbnail"
269+
270+ @param outArgs has a set of properties, one for each input clip, named
267271 ``OfxImageClipPropFrameRange_`` with the name of the clip post-pended.
268272 For example ``OfxImageClipPropFrameRange_Source``. All these properties
269273 are multi-dimensional doubles, with the dimension is a multiple of
@@ -326,6 +330,7 @@ These are the list of actions passed to an image effect plugin's main function.
326330 - \ref kOfxImageEffectFrameVarying whether the output clip can produces different images at
327331 different times, even if all parameters and inputs are constant,
328332 defaults to false.
333+ - \ref kOfxImageEffectPropThumbnailRender (optional) if the host considers this render a "thumbnail"
329334
330335@returns
331336 - \ref kOfxStatOK, the action was trapped and at least one of the properties in the outArgs
@@ -362,6 +367,7 @@ These are the list of actions passed to an image effect plugin's main function.
362367 - \ref kOfxImageEffectPropFieldToRender the field to test for identity
363368 - \ref kOfxImageEffectPropRenderWindow the window (in \\ref PixelCoordinates) to test for identity under
364369 - \ref kOfxImageEffectPropRenderScale the scale factor being applied to the images being rendered
370+ - \ref kOfxImageEffectPropThumbnailRender (optional) if the host considers this render a "thumbnail"
365371
366372 @param outArgs has the following properties which the plugin can set
367373 - \ref kOfxPropName
@@ -408,6 +414,7 @@ These are the list of actions passed to an image effect plugin's main function.
408414 - \ref kOfxImageEffectPropInteractiveRenderStatus if the render is in response to a user modifying the effect in an interactive session
409415 - \ref kOfxImageEffectPropRenderQualityDraft if the render should be done in draft mode (e.g. for faster scrubbing)
410416 - \ref kOfxImageEffectPropNoSpatialAwareness if the plugin must render without spatial awareness (e.g. for LUT generation)
417+ - \ref kOfxImageEffectPropThumbnailRender (optional) if the host considers this render a "thumbnail"
411418
412419 @param outArgs is redundant and should be set to NULL
413420
@@ -447,6 +454,7 @@ These are the list of actions passed to an image effect plugin's main function.
447454 - \ref kOfxImageEffectPropRenderScale the scale factor to apply to images for this call
448455 - \ref kOfxImageEffectPropSequentialRenderStatus whether the effect is currently being rendered in strict frame order on a single instance
449456 - \ref kOfxImageEffectPropInteractiveRenderStatus if the render is in response to a user modifying the effect in an interactive session
457+ - \ref kOfxImageEffectPropThumbnailRender (optional) if the host considers this render a "thumbnail"
450458
451459 @param outArgs is redundant and is set to NULL
452460
@@ -481,14 +489,11 @@ These are the list of actions passed to an image effect plugin's main function.
481489 @param inArgs has the following properties
482490 - \ref kOfxImageEffectPropFrameRange the range of frames (inclusive) that will be rendered
483491 - \ref kOfxImageEffectPropFrameStep what is the step between frames, generally set to 1 (for full frame renders) or 0.5 (for fielded renders),
484- - \ref kOfxPropIsInteractive
485- - \ref is this a single frame render due to user interaction in a GUI, or a proper full sequence render.
486- - \ref kOfxImageEffectPropRenderScale
487- - \ref the scale factor to apply to images for this call
488- - \ref kOfxImageEffectPropSequentialRenderStatus
489- - \ref whether the effect is currently being rendered in strict frame order on a single instance
490- - \ref kOfxImageEffectPropInteractiveRenderStatus
491- - \ref if the render is in response to a user modifying the effect in an interactive session
492+ - \ref kOfxPropIsInteractive is this a single frame render due to user interaction in a GUI, or a proper full sequence render.
493+ - \ref kOfxImageEffectPropRenderScale the scale factor to apply to images for this call
494+ - \ref kOfxImageEffectPropSequentialRenderStatus whether the effect is currently being rendered in strict frame order on a single instance
495+ - \ref kOfxImageEffectPropInteractiveRenderStatus if the render is in response to a user modifying the effect in an interactive session
496+ - \ref kOfxImageEffectPropThumbnailRender (optional) if the host considers this render a "thumbnail"
492497
493498 @param outArgs is redundant and is set to NULL
494499
@@ -1188,6 +1193,31 @@ If the plugin descriptor has this property set to "true", the plugin is expected
11881193 */
11891194#define kOfxImageEffectPropNoSpatialAwareness "OfxImageEffectPropNoSpatialAwareness"
11901195
1196+ /** @brief Indicates whether the render is what the host considers a "thumbnail" render
1197+
1198+ - Type - string X 1
1199+ - Property Set - read only optional property on the inArgs of the following actions...
1200+ - ::kOfxImageEffectActionGetRegionOfDefinition
1201+ - ::kOfxImageEffectActionGetRegionsOfInterest
1202+ - ::kOfxImageEffectActionGetFramesNeeded
1203+ - ::kOfxImageEffectActionGetClipPreferences
1204+ - ::kOfxImageEffectActionIsIdentity
1205+ - ::kOfxImageEffectActionBeginSequenceRender
1206+ - ::kOfxImageEffectActionRender
1207+ - ::kOfxImageEffectActionEndSequenceRender
1208+ - Default - "false"
1209+ - Valid Values - This must be one of
1210+ - "false" - the host does not consider this render a thumbail
1211+ - "true" - the host considers this render a thumbail
1212+
1213+ This property indicates that the host considers the render to be a "thumbnail", defined as a low-resolution image for use in the host's user interface.
1214+ A plugin could react to this property by
1215+ - rendering a badge rather than a detailed effect unlikely to be visible in a thumbail
1216+ - turning itself off in kOfxImageEffectActionIsIdentity
1217+ - disabling temporal inputs in kOfxImageEffectActionGetFramesNeeded
1218+ */
1219+ #define kOfxImageEffectPropThumbnailRender "OfxImageEffectPropThumbnailRender"
1220+
11911221/** @brief The extent of the current project in canonical coordinates.
11921222
11931223 - Type - double X 2
0 commit comments