* feat(mobile): avif decoder * decode avif in the core first on android, tone-map hdr like jxl and support premultiplied alpha * decode avif with rav1d's safe api * use rav1d's assembly * thread avif decodes by their tile count * convert colour-managed avif in bands * use the codec dependencies' simd kernels * free avif pictures before resizing * map avif alpha through a table * premultiply avif while writing alpha * drop the avif container after decoding * use core avif decoder on ios * fall back to imageio on ios when the core can't decode an avif --------- Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
20 lines
597 B
TOML
20 lines
597 B
TOML
[tools]
|
|
rust = { version = "1.99.1", components = "rustfmt,clippy" } # keep in sync with crates/native_core_ffi/rust-toolchain.toml
|
|
"conda:nasm" = "2.16.03" # assembles rav1d's x86 kernels
|
|
|
|
[tasks.build]
|
|
description = "Build the native crates for the host"
|
|
run = "cargo build --workspace"
|
|
|
|
[tasks.test]
|
|
description = "Run the Rust tests"
|
|
run = "cargo test --workspace --locked"
|
|
|
|
[tasks.fmt]
|
|
description = "Check Rust formatting"
|
|
run = "cargo fmt --all --check"
|
|
|
|
[tasks.lint]
|
|
description = "Run clippy with warnings as errors"
|
|
run = "cargo clippy --workspace --all-targets --locked -- -D warnings"
|