Skip to main content

qp_offset

Function qp_offset 

Source
fn qp_offset(bit_depth: u32) -> i32
Expand description

What libx264 adds to a quantizer above 8 bits: its quantizer bounds, a frame’s forced quantizer, and the one it reports are all on a scale that starts six below zero for every bit past eight, while the rate factor is not. Added going in and taken off coming out, so a session’s quantizers mean what they do at 8 bits whatever its depth.