pub fn 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.
This is a version of 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 simd_blur_argb.