• 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
    borrowed.
    
    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
    FrameState.
    90bed0bf
lrf.rs 17.8 KB