fn refresh_ref_frames(&mut self) {
        let flags = self.refresh_frame_flags;
        let new_width = self.width;
        let new_height = self.height;
        self.ref_frame_sizes
            .iter_mut()
            .enumerate()
            .for_each(|(i, (width, height))| {
                if (flags >> i) & 1 == 1 {
                    *width = new_width;
                    *height = new_height;
                }
            });
    }
// Implements spec "8.10 Reference frame update process".
Implements spec "8.10 Reference frame update process".
Implements spec " 8 . 10 Reference frame update process " .
fn refresh_ref_frames(&mut self) {
        let flags = self.refresh_frame_flags;
        let new_width = self.width;
        let new_height = self.height;
        self.ref_frame_sizes
            .iter_mut()
            .enumerate()
            .for_each(|(i, (width, height))| {
                if (flags >> i) & 1 == 1 {
                    *width = new_width;
                    *height = new_height;
                }
            });
    }
fn refresh_ref_frames ( & mut self ) { let flags = self . refresh_frame_flags ; let new_width = self . width ; let new_height = self . height ; self . ref_frame_sizes . iter_mut ( ) . enumerate ( ) . for_each ( | ( i , ( width , height ) ) | { if ( flags >> i ) & 1 == 1 { * width = new_width ; * height = new_height ; } } ) ; }
Implements spec "8.10 Reference frame update process".
Implements spec " 8 . 10 Reference frame update process " .
&mut self
&mut self