const i32 kBradfordInverseQ16[3][3]
const float kBradfordInverse[3][3]
Its inverse, precomputed.
const float kBradford[3][3]
ICC linear Bradford cone-response matrix.
const i32 kBradfordQ16[3][3]
The two matrices above in s16.16, rounded from the float32 values, so the bind-time build needs no fl...
Compile-time linker keep-alive hook for a single fl::Bus.
void foldAdaptationIntoSourceMatrix(const AdaptationMatrixQ16 &adaptation, SourceMatrixQ16 *source) FL_NO_EXCEPT
Pre-multiply the adaptation into a source matrix, in place.
InputGamut g FL_NO_EXCEPT
void adaptXyzQ16(const AdaptationMatrixQ16 &matrix, const i32(&xyz)[3], i32(&out_xyz)[3]) FL_NO_EXCEPT
Adapt one XYZ triple.
bool buildBradfordMatrixQ16(Chromaticity source_white, Chromaticity destination_white, AdaptationMatrixQ16 *out) FL_NO_EXCEPT
Build the Bradford transform from source_white to destination_white.
Base definition for an LED controller.
A collapsed adaptation transform in s16.16.
Source-primaries matrix in s16.16, rows ordered X, Y, Z.
CIE 1931 xy chromaticity, independent of encoded storage and chipset.