Skip to main content

nvenc_headroom

Function nvenc_headroom 

Source
fn nvenc_headroom(size: u32, floor: u32, cap: Option<i32>) -> u32
Expand description

The in-place resize headroom for one axis: the requested size lifted to floor but never past the driver’s reported maximum, so initializing with headroom cannot itself exceed what the GPU supports.