Skip to main content

hash_damage

Function hash_damage 

Source
fn hash_damage(
    bands: &mut Vec<StripeState>,
    pixels: &[u8],
    stride: usize,
    height: usize,
    threshold: u32,
    duration: i32,
) -> Damage
Expand description

The damage of a host frame against the one before it, from its band hash (hash_bands).