pub(crate) fn filter( method: Filter, bpp: BytesPerPixel, previous: &[u8], current: &[u8], output: &mut [u8], ) -> RowFilter