Skip to main content

Module gamut

Module gamut 

Source
Expand description

Color gamut conversion matrices for BT.709, BT.2020, and Display P3.

All matrices operate in linear light — apply EOTF first, then gamut matrix, then OETF. The matrices are computed from the CIE 1931 xy chromaticity coordinates of each primary set using D65 white point.

These are exact, standards-derived values (not fitted or approximated).

Structs§

GamutMatrix
A 3×3 row-major matrix between linear-light tristimulus spaces, in f32.