Crate image_swizzle

Source
Expand description

SIMD accelerated image swizzling routines.

SIMD is only used on nightly, otherwise, slower implementaions are used.

Modules§

simd

Functions§

bgr0_to_bgrx
Convert BGR0 data to BGRX and store the result to dst.
bgr0_to_bgrx_inplace
Convert BGR0 data to BGRX while overwriting the old BGR0 data in src.
bgr0_to_rgbx
Convert BGR0 data to RGBX and store the result to dst.
bgr0_to_rgbx_inplace
Convert BGR0 data to RGBX while overwriting the old BGR0 data in src.
bgra_to_rgba
Convert BGRA data to RGBA and store the result to dst.
bgra_to_rgba_inplace
Convert BGRA data to RGBA while overwriting the old BGRA data in src.
rgb0_to_bgrx
Convert RGB0 data to BGRX and store the result to dst.
rgb0_to_bgrx_inplace
Convert RGB0 data to BGRX while overwriting the old RGB0 data in src.
rgb0_to_rgbx
Convert RGB0 data to RGBX and store the result to dst.
rgb0_to_rgbx_inplace
Convert RGB0 data to RGBX while overwriting the old RGB0 data in src.
rgba32_to_bgra_inplace
rgba32_to_rgba_inplace
rgba_to_bgra
Convert RGBA data to BGRA and store the result to dst.
rgba_to_bgra_inplace
Convert RGBA data to BGRA while overwriting the old RGBA data in src.