Skip to content

fn Rav1dData::wrap_rust: add a safe, pure Rust alternative to fn wrap_c#1470

Merged
kkysen merged 3 commits intomainfrom
kkysen/fn-Rav1dData-wrap_box
Feb 12, 2026
Merged

fn Rav1dData::wrap_rust: add a safe, pure Rust alternative to fn wrap_c#1470
kkysen merged 3 commits intomainfrom
kkysen/fn-Rav1dData-wrap_box

Conversation

@kkysen
Copy link
Collaborator

@kkysen kkysen commented Feb 12, 2026

This can be used by #1439 in fn send_data to safely create a Rav1dData without a second extra allocation. We'll still need one copy with the way the APIs are right now, but this should keep things obviously safe and without a second extra allocation. Next, we can work on redesigning the API to allow zero-copy usage.

@kkysen kkysen merged commit fcdfcf0 into main Feb 12, 2026
28 checks passed
@kkysen kkysen deleted the kkysen/fn-Rav1dData-wrap_box branch February 12, 2026 21:18
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