Skip to content

color: start primaries and transfer function enums from 1

Starting from 0 is pretty unwieldy for end users. Lots of clients will probably need to do some kind of enum -> enum mapping (e.g. like mapping libplacebo enums to xx-color-management ones). It's much more convenient for 0 to be the "unsupported/don't use" value instead of forcing in a -1 or something similar.

Signed-off-by: Dudemanguy random342@airmail.cc

Merge request reports