fn blur_dir(src: &Frame, dst: &mut Frame, horiz: bool, r: usize)
1-D sliding-window box blur of all 4 channels along rows (horiz) or columns, edge replicate.
horiz