(src: &[u8], dst: &mut [u8], width: usize, height: usize)
| 31 | /// Picks maximum of neighboring pixels (blur + lighten) |
| 32 | #[inline(never)] |
| 33 | pub(crate) fn liq_max3(src: &[u8], dst: &mut [u8], width: usize, height: usize) { |
| 34 | liq_op3(src, dst, width, height, |a, b| a.max(b)); |
| 35 | } |
| 36 | |
| 37 | pub(crate) fn liq_op3(src: &[u8], dst: &mut [u8], width: usize, height: usize, op: impl Fn(u8, u8) -> u8) { |
| 38 | for j in 0..height { |
no test coverage detected