Skip to main content

RATE_CONTROL_WINDOW_MS

Constant RATE_CONTROL_WINDOW_MS 

Source
pub const RATE_CONTROL_WINDOW_MS: u32 = 1_500;
Expand description

Window over which libva’s rate controller targets the configured bitrate.

This matches cros-codecs. The old framerate * 1000 value confused frames per second with seconds and gave a 30 fps encoder a 30-second window.