#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

#295 in Video

Download history 1048/week @ 2024-09-05 1358/week @ 2024-09-12 1417/week @ 2024-09-19 1532/week @ 2024-09-26 1362/week @ 2024-10-03 1884/week @ 2024-10-10 1182/week @ 2024-10-17 909/week @ 2024-10-24 1155/week @ 2024-10-31 1324/week @ 2024-11-07 1582/week @ 2024-11-14 1314/week @ 2024-11-21 1498/week @ 2024-11-28 1621/week @ 2024-12-05 1138/week @ 2024-12-12 795/week @ 2024-12-19

5,224 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