Function stackblur_iter::par_simd_blur_srgb
source · [−]pub fn par_simd_blur_srgb<const LANES: usize>(
buffer: &mut ImgRefMut<'_, u32>,
radius: usize
) where
LaneCount<LANES>: SupportedLaneCount, Expand description
Blurs a buffer of 32-bit packed sRGB pixels (0xAARRGGBB) with SIMD in parallel.
This is a version of par_simd_blur with pre-filled conversion routines
that provide good results for blur radii <= 1536. Larger radii may overflow.
Note that this function uses sRGB. For linear, see par_simd_blur_argb.