Contents

kColorSyncGainCurveChromaticities

Chromaticity primaries used to compute the driving signal for the gain curve.

Declaration

var kColorSyncGainCurveChromaticities: Unmanaged<CFString>

Discussion

For standard primaries, pass a CFNumberRef (uint8_t): 0 = BT.709, 1 = Display P3, 2 = BT.2020. For custom primaries, pass a CFArrayRef of 8 float values encoding four xy chromaticity pairs in order R, G, B, white point; each component in [0, 1] with x + y ≤ 1. The framework rejects any numeric value other than 0, 1, or 2.

See Also

Describing gain curves