aces-core
aces-core copied to clipboard
Only apply white scaling if `linear_scale_factor == 1.0`
The scaling to fit peak white where the limiting and encoding white points do not match is not needed for DCDM encoding, since the necessary headroom is already provided by the 48/52.37 normalisation. A linear scale factor less than 1.0 seems to be a suitable way to identify that headroom is already being provided in the encoding. Without the changes in this PR, the DCDM Output Transforms will have white fitting scaling applied based on the difference between the limiting white and equal energy white, when no scaling is actually required.