Function get_sad

Source
pub fn get_sad<T: Pixel>(
    plane_org: &PlaneRegion<'_, T>,
    plane_ref: &PlaneRegion<'_, T>,
    w: usize,
    h: usize,
    _bit_depth: usize,
    _cpu: CpuFeatureLevel,
) -> u32
Expand description

Compute the sum of absolute differences over a block. w and h can be at most 128, the size of the largest block.