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

sys libdav1d-sys

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

12 releases (6 breaking)

0.7.0+libdav1d.1.4.0 Feb 18, 2024
0.6.0 Oct 31, 2023
0.5.3 Oct 9, 2023
0.5.0 Apr 7, 2022
0.2.0 Sep 28, 2020

#231 in Video

Download history 1107/week @ 2024-01-18 1318/week @ 2024-01-25 1279/week @ 2024-02-01 1173/week @ 2024-02-08 1613/week @ 2024-02-15 1412/week @ 2024-02-22 1129/week @ 2024-02-29 1294/week @ 2024-03-07 1631/week @ 2024-03-14 1399/week @ 2024-03-21 1452/week @ 2024-03-28 1742/week @ 2024-04-04 1955/week @ 2024-04-11 1342/week @ 2024-04-18 1617/week @ 2024-04-25 1641/week @ 2024-05-02

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

BSD-2-Clause

10MB
257K SLoC

Assembly 150K SLoC // 0.0% comments GNU Style Assembly 74K SLoC // 0.1% comments C 31K SLoC // 0.1% comments Rust 1K SLoC // 0.0% comments BASH 154 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