Convert wide-gamut RGB color values to YCbCr color values
This function does not support the full data range of 10-bit and 12-bit RGB values, [0, 1023] and [0, 4095] respectively. The table shows the data ranges of the YCbCr values for the BT.2020 and BT.2100 color spaces.
Component | 10-bit | 12-bit |
---|---|---|
Y | [64, 940] | [256, 3760] |
Cb, Cr | [64, 960] | [256, 3840] |
[1] Rec. ITU-R BT.2020-2 (10/2015), Parameter values for ultra-high definition television systems for production and international programme exchange.International Telecommunication Union; Broadcasting service (television). https://www.itu.int
[2] Rec. ITU-R BT.2100-2 (07/2018), Image parameter values for dynamic range television for use in production and international programme exchange.International Telecommunication Union; Broadcasting service (television).https://www.itu.int