Skip to main content

Crate reflow_pixel

Crate reflow_pixel 

Source
Expand description

Pure-Rust pixel operations for Reflow image/video processing actors.

This crate is Wasm-safe — no system dependencies, no threads, no filesystem.

§Features

  • simd — Enables hand-tuned SIMD paths:
    • aarch64: NEON intrinsics for row_rgba_to_gray (8 pixels/iter)
    • wasm32: SIMD128 intrinsics for row_rgba_to_gray (4 pixels/iter) and row_brightness (4 pixels/iter)

§Modules

  • [format] — Pixel format descriptors (RGBA8, RGB8, Gray8, etc.)
  • color — Color space conversions (RGB ↔ HSV, grayscale, brightness/contrast/saturation)
  • blend — Alpha blending and compositing (Normal, Multiply, Screen, Overlay, Add)
  • resize — Bilinear interpolation (full-image and streaming row-by-row)
  • chroma — Chroma key removal (green/blue screen)

Modules§

blend
Alpha blending and compositing operations.
blur
Gaussian blur kernel — separable two-pass (horizontal + vertical).
chroma
Chroma key (green/blue screen) removal.
color
Color space conversions.
format
Pixel format descriptors.
resize
Bilinear interpolation for image resizing.