Struct VideoColorPrimaries
sealed struct VideoColorPrimaries
Video Color Primaries
Color Primaries represent three points(RGB primaries) of the triangle on the
CIE 1931 chromaticity diagram, and the space inside the triangle is the
gamut.
Color gamut describes a set of colors in which the content is intended to be
displayed.
HDR content requires a wider color gamut than SDR content. Most of devices
support the sRGB color gamut but P3 or Rec. 2020 are color gamut that would
usually be expected for HDR content
If the attached output device also supports the specified color, the device
needs to be able to cause the output device to render the appropriate color,
or something close enough. If the attached output device does not support the
specified color, the device needs to be capable of mapping the specified
color to a color supported by the output device.
Values are taken from Table 2 — Interpretation of colour primaries
(ColourPrimaries) of ISO/IEC 23001-8:2016
Fields
Constants
RESERVED_0
For future use by ISO/IECVideoColorPrimaries={0}
BT709
Rec. ITU-R BT.709VideoColorPrimaries={1}
UNSPECIFIED
Image characteristics are unknown or are determined by the applicationVideoColorPrimaries={2}
RESERVED_3
For future use by ISO/IECVideoColorPrimaries={3}
ITU_R_BT470M
Rec. ITU-R BT.470-6 System MVideoColorPrimaries={4}
ITU_R_BT470BG
Rec. ITU-R BT.470-6 System B, GVideoColorPrimaries={5}
SMPTE_170M
Society of Motion Picture and Television Engineers 170MVideoColorPrimaries={6}
SMPTE_240M
Society of Motion Picture and Television Engineers 240MVideoColorPrimaries={7}
FILM
Generic film (colour filters using Illuminant C)VideoColorPrimaries={8}
BT2020
Rec. ITU-R BT.2020VideoColorPrimaries={9}
SMPTE_ST4281
Society of Motion Picture and Television Engineers ST 428-1VideoColorPrimaries={10}
SMPTE_ST4312
Society of Motion Picture and Television Engineers RP 431-2 (2011), Derivative of P3VideoColorPrimaries={11}
SMPTE_ST4321
Society of Motion Picture and Television Engineers EG 432-1 (2010), P3VideoColorPrimaries={12}
EBU_3213
EBU Tech. 3213-E (1975)VideoColorPrimaries={22}

