Function png_filters::fallbacks::recon_up
source · pub fn recon_up(filtered_row: &mut [u8], previous_row: &[u8])
Expand description
Recon(x) = Filt(x) + Recon(b)
This function doesn’t specialize on the bytes per pixel like most others do, since it doesn’t use the leftward pixel data.
This function does not have a “top” variant. There’s no effect when doing a wrapping add of 0.
§Panic
debug_assert_eq!(filtered_row.len(), previous_row.len());