#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

#369 in Video

Download history 1074/week @ 2024-10-30 1389/week @ 2024-11-06 1453/week @ 2024-11-13 1393/week @ 2024-11-20 1436/week @ 2024-11-27 1733/week @ 2024-12-04 1111/week @ 2024-12-11 867/week @ 2024-12-18 863/week @ 2024-12-25 1423/week @ 2025-01-01 1465/week @ 2025-01-08 1350/week @ 2025-01-15 1349/week @ 2025-01-22 1224/week @ 2025-01-29 1882/week @ 2025-02-05 1286/week @ 2025-02-12

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