#av1 #codec #dav1d #ffi #david #image

sys libdav1d-sys

Builds and statically links dav1d AV1 decoder. Part of libavif-sys

13 unstable releases (6 breaking)

0.7.1+libdav1d.1.4.3 Jul 8, 2024
0.7.0+libdav1d.1.4.0 Feb 18, 2024
0.6.0 Oct 31, 2023
0.5.0 Apr 7, 2022
0.2.0 Sep 28, 2020

#364 in Video

Download history 866/week @ 2024-10-27 1381/week @ 2024-11-03 1278/week @ 2024-11-10 1527/week @ 2024-11-17 1139/week @ 2024-11-24 1795/week @ 2024-12-01 1564/week @ 2024-12-08 830/week @ 2024-12-15 866/week @ 2024-12-22 1277/week @ 2024-12-29 1260/week @ 2025-01-05 1530/week @ 2025-01-12 1383/week @ 2025-01-19 1075/week @ 2025-01-26 1656/week @ 2025-02-02 1751/week @ 2025-02-09

6,061 downloads per month
Used in 7 crates (3 directly)

BSD-2-Clause

11MB
265K SLoC

Assembly 154K SLoC // 0.0% comments GNU Style Assembly 77K SLoC // 0.1% comments C 33K SLoC // 0.1% comments Rust 1K SLoC // 0.0% comments BASH 161 SLoC // 0.0% comments Forge Config 4 SLoC

libavif

crates.io Documentation BSD-2-Clause licensed Rustc Version 1.63+ CI

Initial release of a high-level avif decoder.

This crate is generally too minimal for production use; consider using libavif-image which provides utility functions for image (or the avif feature in image, which doesn't use this crate).

You can also use the unsafe API in libavif-sys.


lib.rs:

These are raw FFI bindings for libdav1d, a fast software AV1 decoder. Refer to libdav1d's documentation for details.

Dependencies