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

Feature/prop bytes #161

Merged
merged 6 commits into from
Jul 12, 2024
Merged

Conversation

fxtech
Copy link
Contributor

@fxtech fxtech commented May 9, 2024

This pull request adds the new Bytes property type to the ofxParam.h header, and adds sample code to the existing example for the Custom parameter type.
Feature Issue #145

@fxtech fxtech mentioned this pull request May 9, 2024
17 tasks
@garyo garyo added this to the Release 1.5 milestone May 9, 2024
@fxtech fxtech requested review from barretpj and revisionfx May 9, 2024 16:53
Copy link
Contributor

@revisionfx revisionfx left a comment

Choose a reason for hiding this comment

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

Happy to Approve - just a simple question.
I forget how is the doc get updated so it's added to this list (pasted below)
There should maybe be a mention that this is exclusively assume constant step animation and the KF suite is used to find nearest ones if more than one... - also does an host expect the length to be constant for all frames (aside when null on a frame)?

By default the following parameter types animate…

kOfxParamTypeInteger

kOfxParamTypeInteger2D

kOfxParamTypeInteger3D

kOfxParamTypeDouble

kOfxParamTypeDouble2D

kOfxParamTypeDouble3D

kOfxParamTypeRGBA

kOfxParamTypeRGB

revisionfx
revisionfx previously approved these changes May 13, 2024
@fxtech
Copy link
Contributor Author

fxtech commented Jul 3, 2024

I updated the custom example plugin code to correctly check for Bytes support and also added a test for correct handling of really large data (10MB).

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.

Compiles OK for me. Looks good.

@garyo
Copy link
Contributor

garyo commented Jul 12, 2024

Ideally we should add C++ support, but this is good enough for the spec change.

@garyo garyo merged commit 29fb804 into AcademySoftwareFoundation:main Jul 12, 2024
7 of 9 checks passed
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.

3 participants