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

feat: allow conversions using ptr on the ffi #226

Merged
merged 9 commits into from
Oct 27, 2023
Merged

Conversation

theomonnom
Copy link
Member

@theomonnom theomonnom commented Oct 26, 2023

This allow to use external data as src (e.g Python buffer)

Not every conversion is support atm. (Only I420)

Copy link
Member

@davidzhao davidzhao left a comment

Choose a reason for hiding this comment

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

lg!

@theomonnom
Copy link
Member Author

Still using buffer_handle on cases we don't know how to convert (e.g NativeBuffer).
(Have to hook into platform specific stuff)

@theomonnom
Copy link
Member Author

going to cleanup this code on another PR

@theomonnom theomonnom changed the title feat: do conversions using ptr instead of handles feat: allow conversions using ptr on the ffi Oct 27, 2023
@theomonnom theomonnom merged commit 06b024a into main Oct 27, 2023
14 checks passed
@theomonnom theomonnom deleted the theo/conversion_ptr branch October 27, 2023 01:39
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.

2 participants