Ultra HDR is a true HDR image format, and is backcompatible. libultrahdr is the reference codec for the Ultra HDR format. The codecs that support the format can render the HDR intent of the image on HDR displays; other codecs can still decode and display the SDR intent of the image.
If the input color transfer is linear, there is no proper peak brightness configuration. Also hlg is not absolute standard allowing room for different peak brightness levels. This change addresses this.
If the input color transfer is linear, there is no proper peak brightness configuration. Also hlg is not absolute standard allowing room for different peak brightness levels. This change addresses this.
Test: ./ultrahdr_unit_test