]> git.sesse.net Git - movit/commitdiff
Use exact sRGB matrix values.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 2 Dec 2021 12:15:11 +0000 (13:15 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 2 Dec 2021 12:15:11 +0000 (13:15 +0100)
https://photosauce.net/blog/post/what-makes-srgb-a-special-color-space
alerted me to that sRGB does not use the exact same matrix as Rec. 709;
it demands specific, rounded-off values. The difference should be minute,
but now we are at least exact in the forward direction.

Note that this isn't an ABI break per se, even though the definition of the
COLORSPACE_sRGB enum changes; old software will simply still continue
to treat it as Rec. 709, while newly-compiled software will get the
corrected version.


No differences found