• Romain Vimont's avatar
    Do not borrow full FrameState for LRF · 90bed0bf
    Romain Vimont authored
    Once RestorationState will be stored into FrameState, it will not be
    possible to borrow a FrameState while its RestorationState is mutably
    In particular, this prevents passing a FrameState to a non-const
    RestorationState method.
    For lrf_optimize_superblock(), which is not implemented yet, just remove
    the FrameState parameter.
    For lrf_filter_frame(), only borrow the "rec" field instead of the whole
lrf.rs 17.8 KB