Skip to main content

reach_back

Function reach_back 

Source
fn reach_back(
    log: &mut VecDeque<(u64, f64, f64)>,
    pts: u64,
    held: Option<(f64, f64)>,
    holds: bool,
) -> (Option<(f64, f64)>, bool)
Expand description

The band a frame codes once the frames from timestamp pts on are left out of every prediction, their bands taken out of log: the one it holds (held) reaching back over theirs; and whether theirs are lost, a frame that holds no quantizer (holds) taking none of them back. A frame held whole codes them anyway.