Skip to main content

plateau

Function plateau 

Source
fn plateau(st: &mut StripeState, psnr: Option<f32>, period: u32) -> (bool, bool)
Expand description

One frame of a cleanup that measures the picture it is refining, where the encoder can (FrameEncoder::measure): whether this frame is to be measured, one every period, and whether the measurement of the last such frame, psnr, was the PLATEAU_CHECKSth in a row to gain less than PLATEAU_GAIN_DB on the one before, the rate control having nothing left to give the picture.