Skip to content

Define and use enums instead of code points

As discussed on the HDR hackfest. Move the full range flag into its own enum/parameter, but keep advertising and seting them together with coefficients - effectively making them a tuple - in order to avoid behaviour changes or complicating the API.


I somehow managed to overlook !40 which already handles the chroma location part. If preferred, we could land that first and drop the corresponding changes here.

cc @swick @pq @emersion @Drakulix @Zamundaaa

Merge request reports