Skip to content

Commit 8995638

Browse files
authored
Merge branch 'main' into add-windows-install-locs
Signed-off-by: Gary Oberbrunner <[email protected]>
2 parents 3f0dd50 + 8ac2337 commit 8995638

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

include/ofxImageEffect.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ These are the list of actions passed to an image effect plugin's main function.
407407
- \ref kOfxImageEffectPropSequentialRenderStatus whether the effect is currently being rendered in strict frame order on a single instance
408408
- \ref kOfxImageEffectPropInteractiveRenderStatus if the render is in response to a user modifying the effect in an interactive session
409409
- \ref kOfxImageEffectPropRenderQualityDraft if the render should be done in draft mode (e.g. for faster scrubbing)
410+
- \ref kOfxImageEffectPropNoSpatialAwareness if the plugin must render without spatial awareness (e.g. for LUT generation)
410411
411412
@param outArgs is redundant and should be set to NULL
412413
@@ -1173,6 +1174,20 @@ Also note that some hosts do implement kOfxImageEffectPropRenderScale - these tw
11731174
*/
11741175
#define kOfxImageEffectPropRenderQualityDraft "OfxImageEffectPropRenderQualityDraft"
11751176

1177+
/** @brief Indicates that the plugin can render without spatial awareness, either inherently or by
1178+
disabling certain parameters at render time.
1179+
1180+
If the plugin descriptor has this property set to "true", the plugin is expected to disable spatial effects when the host sets this property to "true" in the arguments passed to kOfxImageEffectActionBeginSequenceRender and kOfxImageEffectActionRender.
1181+
1182+
- Type - string X 1
1183+
- Property Set - plugin descriptor (read/write), render calls - host (read-only)
1184+
- Default - "false"
1185+
- Valid Values - This must be one of
1186+
- "false" - the plugin cannot render without spatial awareness and the host should bypass it for renders that require no spatial awareness.
1187+
- "true" - the plugin can render without spatial awareness. The host will indicate this type of render by setting kOfxImageEffectPropNoSpatialAwareness to "true" in the arguments passed to kOfxImageEffectActionBeginSequenceRender and kOfxImageEffectActionRender.
1188+
*/
1189+
#define kOfxImageEffectPropNoSpatialAwareness "OfxImageEffectPropNoSpatialAwareness"
1190+
11761191
/** @brief The extent of the current project in canonical coordinates.
11771192
11781193
- Type - double X 2

release-notes.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ This is version 1.6 of the OpenFX API.
2323

2424
## Detailed List of Changes
2525

26-
- Add plugin install locations for Windows Arm64
26+
- Add plugin install locations for Windows Arm64.
27+
- Add `kOfxImageEffectPropNoSpatialAwareness`. Allows the host and plugin to coordinate a render that ensures no spatial changes to the image.
2728

2829
# Release Notes - 1.5
2930

0 commit comments

Comments
 (0)