pixon 0.8.0

SIMD-dispatched color conversion for the FFmpeg AVPixelFormat space: one-call decode of validated source frames to RGB / RGBA / Luma / HSV, fused resampling while converting, colorimetry-honest matrices and chroma siting, no_std-friendly.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! High-bit-depth 4:2:2 / 4:4:0 `MixedSinker` impls, split per
//! sub-format so no single source exceeds ~1.5 KLoC: Yuv422p9/10/12/14/16
//! + Yuv440p10/12 (`yuv-planar`) + P210/P212/P216 (`yuv-semi-planar`).

#[cfg(feature = "yuv-semi-planar")]
mod p2xx;
#[cfg(feature = "yuv-planar")]
mod yuv422p;
#[cfg(feature = "yuv-planar")]
mod yuv440p;

#[cfg(all(
  test,
  feature = "std",
  feature = "yuv-semi-planar",
  feature = "yuv-planar"
))]
pub(crate) use p2xx::arm_p2xx_alloc_failure;