pub fn display_boost_to_headroom_stops(display_boost: f32) -> f32
Convert a linear display boost ratio (e.g. 1.0 = SDR, 4.0 = 4× HDR) into ISO 21496-1 log₂ headroom stops (0.0 for <= 1.0 or non-finite).
1.0
4.0
0.0
<= 1.0