Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

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

VideoColorPrimaries = {0}
For future use by ISO/IEC

BT709

VideoColorPrimaries = {1}
Rec. ITU-R BT.709

UNSPECIFIED

VideoColorPrimaries = {2}
Image characteristics are unknown or are determined by the application

RESERVED_3

VideoColorPrimaries = {3}
For future use by ISO/IEC

ITU_R_BT470M

VideoColorPrimaries = {4}
Rec. ITU-R BT.470-6 System M

ITU_R_BT470BG

VideoColorPrimaries = {5}
Rec. ITU-R BT.470-6 System B, G

SMPTE_170M

VideoColorPrimaries = {6}
Society of Motion Picture and Television Engineers 170M

SMPTE_240M

VideoColorPrimaries = {7}
Society of Motion Picture and Television Engineers 240M

FILM

VideoColorPrimaries = {8}
Generic film (colour filters using Illuminant C)

BT2020

VideoColorPrimaries = {9}
Rec. ITU-R BT.2020

SMPTE_ST4281

VideoColorPrimaries = {10}
Society of Motion Picture and Television Engineers ST 428-1

SMPTE_ST4312

VideoColorPrimaries = {11}
Society of Motion Picture and Television Engineers RP 431-2 (2011), Derivative of P3

SMPTE_ST4321

VideoColorPrimaries = {12}
Society of Motion Picture and Television Engineers EG 432-1 (2010), P3

EBU_3213

VideoColorPrimaries = {22}
EBU Tech. 3213-E (1975)
Last modified on October 29, 2026