simd_blur_argb

Function simd_blur_argb 

Source
pub fn simd_blur_argb<const LANES: usize>(
    buffer: &mut ImgRefMut<'_, u32>,
    radius: usize,
)
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.