-
Notifications
You must be signed in to change notification settings - Fork 139
Add OfxImageEffectPropNoSpatialAwareness
#187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add OfxImageEffectPropNoSpatialAwareness
#187
Conversation
452fd74 to
b287152
Compare
garyo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Once this is merged, please add a note in release-notes.md for it.
Would it be better to add it in this PR instead? |
|
@barretpj at your convenience, does this look OK to you? |
|
OK, I'm all set. Just need to know if @garyo would like the change to |
|
If you don't mind rebasing this onto latest main, where I just started a 1.6 section of release-notes.md, then yes please, that would be great. Rebase and add to the relnotes. |
d09f169 to
1737d41
Compare
done |
Signed-off-by: Greg Cotten <[email protected]>
Signed-off-by: Greg Cotten <[email protected]>
Signed-off-by: Greg Cotten <[email protected]>
cfaaaa4 to
7162917
Compare
|
I saw a comment about kOfxImageEffectPropRenderQualityDraft Pierre |
Might want to make a new issue about that. This one is closed! |
Done - #193 |
|
(It should really be NoTemporal as well...) |
|
DO you mean multi-frame processing (get 3 frames from input) - Yes|OK - But what things like basic time offsets performed by plugin (even if only a single frame is requested)?.. Some hosts have a single thumbnail (a one time thing using first or current frame) while other populates on a timeline multiple frames. |
|
This is nothing to do with thumbnails. This is when we want to do a render which only changes the colour of pixels based on their input colour, so the host can analyse the overall render and approximate the changes with a LUT. If the plugin is considering other pixels, or pixels from images at other times, then the image analysis in the host will most likely fail. |
|
I believe @barretpj is referring to a render with NoSpatialAwareness set to "true" should also mean it has "no temporal awareness" |
|
This PR is already merged, and we're using the prop name from Resolve. And yes I agree w/ @barretpj . but I don't think we should change the prop name. |
Sensible. We can adjust the description accordingly. |
|
@revisionfx Plugins must only set NoSpatialAwareness="true" if they are able to operate in a change-current-frame-pixel-colour-only mode (either all the time, or when requested by the host via NoSpatialAwareness="true" in the render args) |
|
Got it, I thought we were on thumbnail thread :) @garyo - another option would be to properly name it and add a #define // for backward compatibility with Resolve property that means the same |
Plugins should be able to opt-in to host's LUT generators (or other non-spatial renders), and hosts need a way of indicating to the plugin that the current render requires rendering without spatial awareness.
Resolve has already defined an extension
OfxImageEffectPropNoSpatialAwareness, so I propose using that for both the plugin descriptor and the read-only render argument passed by the host.Closes #127