Skip to main content

invalidate_reference

Function invalidate_reference 

Source
pub fn invalidate_reference(stripes: &mut [StripeState], frame_id: u16) -> bool
Expand description

Leave frame frame_id and every frame after it out of the software H.264 session’s predictions: x264 through its reference window, OpenH264 from a long-term reference every consumer holds. False when the encoder cannot, and the caller codes a key frame instead.