par_simd_blur_argb

Function par_simd_blur_argb 

Source
pub fn par_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 in parallel.

This is a version of par_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 par_simd_blur_srgb.