Skip to main content

cpu_blur_h

Function cpu_blur_h 

Source
pub fn cpu_blur_h(
    src: &[f32],
    dst: &mut [f32],
    width: usize,
    height: usize,
    sigma: f32,
)
Expand description

Simulate one horizontal Gaussian blur pass on a flat width × height RGBA buffer. buffer is RGBA interleaved (stride = width * 4).