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