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

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

#366 in Video

Download history 1694/week @ 2024-11-16 1190/week @ 2024-11-23 1683/week @ 2024-11-30 1615/week @ 2024-12-07 897/week @ 2024-12-14 851/week @ 2024-12-21 1242/week @ 2024-12-28 1246/week @ 2025-01-04 1488/week @ 2025-01-11 1375/week @ 2025-01-18 1081/week @ 2025-01-25 1690/week @ 2025-02-01 1716/week @ 2025-02-08 1621/week @ 2025-02-15 1570/week @ 2025-02-22 1521/week @ 2025-03-01

6,728 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