Skip to content
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

Misc fixes to colourspace extension #171

Merged

Conversation

john-paulsmith
Copy link
Contributor

Some more uses of the misnamed property values have been corrected, and the docs around output clip colourspace have been improved.

One in the example plug-in and another in the docs.

Signed-off-by: John-Paul Smith <[email protected]>
AcademySoftwareFoundation#168
Clarified some points around output colourspace selection.

Signed-off-by: John-Paul Smith <[email protected]>
garyo
garyo previously approved these changes Oct 1, 2024
Copy link
Contributor

@garyo garyo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Guido-assim
Copy link
Contributor

The documentation for kOfxImageClipPropColourspace might still be somewhat confusing.
Maybe it should be more clear that the host will query this property through kOfxImageEffectActionGetOutputColourspace and that the plugin may set it on the output clip for its own internal purposes but that the host will not check the property on the output clip.

@barretpj
Copy link
Contributor

barretpj commented Oct 1, 2024 via email

Hosts are now required to set the output clip colourspace after calling kOfxImageEffectActionGetOutputColourspace. The comments now include situations where the output clip colourspace might be expected to change.

Signed-off-by: John-Paul Smith <[email protected]>
Guido-assim
Guido-assim previously approved these changes Oct 1, 2024
Copy link
Contributor

@Guido-assim Guido-assim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks clear to me.

This clarifies the presence of non-basic roles in the config header. They cannot be used in the basic style but are acceptable in the core style.

Also corrected the invocation example in genColour and @file comment in the config header to match the new naming scheme.

Signed-off-by: John-Paul Smith <[email protected]>
Copy link
Contributor

@Guido-assim Guido-assim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am wondering if you would want kOfxColourspaceRoleAcesInterchangeIsBasic instead of kOfxColourspaceAcesInterchangeIsBasic?

Signed-off-by: John-Paul Smith <[email protected]>
@john-paulsmith
Copy link
Contributor Author

I am wondering if you would want kOfxColourspaceRoleAcesInterchangeIsBasic instead of kOfxColourspaceAcesInterchangeIsBasic?

Thanks @Guido-assim, I've fixed that now.

Copy link
Contributor

@Guido-assim Guido-assim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@john-paulsmith john-paulsmith merged commit 7999342 into AcademySoftwareFoundation:main Oct 3, 2024
9 checks passed
@Guido-assim
Copy link
Contributor

@john-paulsmith
I just noticed that in the file ofx-native-v1.5_aces-v1.3_ocio-v2.3.h the line:
/** @file ofx-native-v1.5_aces-v1.3_ocio-v2.3.h
changed back to:
/** @file ofxColourspaceList.h
This had been changed in: 78a927e
Maybe this needs to be changed in the script that generates ofx-native-v1.5_aces-v1.3_ocio-v2.3.h.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants