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

Provide Rust API #1252

Open
randomPoison opened this issue Jun 25, 2024 · 0 comments · May be fixed by #1362
Open

Provide Rust API #1252

randomPoison opened this issue Jun 25, 2024 · 0 comments · May be fixed by #1362

Comments

@randomPoison
Copy link
Collaborator

Currently we primarily expose a C API that matches dav1d's API in order for rav1d to be a drop-in replacement for dav1d. However we also want rav1d to be usable in pure Rust projects, so we should also expose a Rust API.

For the most part the dav1d_* functions already call into equivalent rav1d_* Rust functions, e.g. dav1d_open simply wraps and calls into rav1d_open. But the Rust functions are not currently exported publicly (they're currently pub(crate)) and do not have any documentation.

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 a pull request may close this issue.

1 participant