• Romain Vimont's avatar
    Use non-padded dimensions from FrameInvariants · 54526343
    Romain Vimont authored
    The loop restoration filter needs the dimensions of the non-padded
    frame, that only FrameInvariants knows.
    On construction, RestorationState created a clipped version of the
    PlaneConfigs, that was used in lrf_filter_frame() to get the non-padded
    Instead, directly pass &FrameInvariants to lrf_filter_frame().
    This paves the way to remove clipped_cfg from RestorationState entirely,
    to simplify tiling.
lrf.rs 19.9 KB