rav2d-sys 0.2.0

Raw FFI bindings to dav2d (AV2 decoder)
docs.rs failed to build rav2d-sys-0.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

rav2d-sys

Raw FFI bindings to the dav2d AV2 decoder C library.

Generated via bindgen from dav2d's C headers. Provides access to dav2d's assembly-optimized DSP kernels (motion compensation, inverse transforms, loop filters, etc.) which are shared with the pure-Rust rav2d decoder.

What's Exposed

  • DSP function tables (CDEF, loop restoration, film grain, MC, inverse transforms)
  • CPU feature detection
  • Low-level data structures matching dav2d's internal types

Building

Requires dav2d to be built locally via meson:

cd dav2d
meson setup build
ninja -C build

The build.rs script runs bindgen against dav2d headers and links to the built library.

License

BSD-2-Clause