pub fn gamut_matrix(from: ColorPrimaries, to: ColorPrimaries) -> [[f32; 3]; 3]Expand description
The linear-light matrix from from’s primaries to to’s, both with a
D65 white point, as rows. BT.601 is taken as BT.709, as the SDR decode
path takes it.