xvYCC

From HandWiki

Sony's x.v.Color logo

xvYCC or extended-gamut YCbCr is a color space that can be used in the video electronics of television sets to support a gamut 1.8 times as large as that of the sRGB color space.[1][2][3] xvYCC was proposed by Sony,[4] specified by the IEC in October 2005 and published in January 2006 as IEC 61966-2-4. xvYCC extends the ITU-R BT.709 tone curve by defining over-ranged values. xvYCC-encoded video retains the same color primaries and white point as BT.709, and uses either a BT.601 or BT.709 RGB-to-YCC conversion matrix and encoding.[4] This allows it to travel through existing digital limited range YCC data paths, and any colors within the normal gamut will be compatible.[4] It works by allowing negative RGB inputs and expanding the output chroma. These are used to encode more saturated colors by using a greater part of the RGB values that can be encoded in the YCbCr signal compared with those used in Broadcast Safe Level.[4] The extra-gamut colors can then be displayed by a device whose underlying technology is not limited by the standard primaries.[4]

In a paper published by Society for Information Display in 2006, the authors mapped the 769 colors in the Munsell Color Cascade (so called Michael Pointer's gamut) to the BT.709 space and to the xvYCC space. About 55% of the Munsell colors could be mapped to the sRGB gamut, but 100% of those colors map to within the xvYCC gamut.[5] Deeper hues can be created – for example a deeper cyan by giving the opposing primary (red) a negative coefficient. The quantization range of the xvYCC601 and xvYCC709 colorimetry is always Limited Range.[6]

Background

Camera and display technology is evolving with more distinct primaries, spaced farther apart per the CIE chromaticity diagram. Displays with more separated primaries permit a larger gamut of displayable colors, however, color data needs to be available to make use of the larger gamut color space. xvYCC is an extended gamut color space that is backwards compatible with the existing BT.709 YCbCr broadcast signal by making use of otherwise unused data portions of the signal.

The BT.709 YCbCr signal has unused code space, a limitation imposed for broadcasting purposes. In particular only 16-240 is used for the color Cb/Cr channels out of the 0-255 digital values available for 8 bit data encoding. xvYCC makes use of this portion of the signal to store extended gamut color data by using code values 1-15 and 241-254 in the Cb/Cr channels for gamut-extension. [7]

Definition

xvYCC expands the chroma values to 1-254 (i.e. a raw value of -0.567–0.567) while keeping the luma (Y) value range at 16-235 (though Superwhite may be supported), the same as Rec. 709. First the OETF (Transfer Characteristics 11 per H.273[8] as originally specified by the first amendment to H.264) is expanded to allow negative R'G'B' inputs such that:[5]

[math]\displaystyle{ V=\begin{cases} -1.099 (-L)^{0.45} + 0.099 & L \le -0.018\\ 4.500L & -0.018 \lt L \lt 0.018\\ 1.099 L^{0.45} - 0.099 & L \ge 0.018 \end{cases} }[/math]

Here 1.099 number has the value 1 + 5.5 * β = 1.099296826809442... and β has the value 0.018053968510807..., while 0.099 is 1.099 - 1.[8]

The YCC encoding matrix is unchanged, and can follow either Rec. 709 or Rec. 601 (Matrix Coefficients 1 and 5).[5]

The possible range for non-linear R’G’B’601 is between -1.0732 and 2.0835 and for R’G’B’709 is between -1.1206 and 2.1305.[9] That is achieved when YCC values are "1, 1, any" and "254, 254, any" in B' component.

xvYCC709 covers 37.19% of CIE 1976 u'v', while BT.709 only 33.24%.[10]

The last step encodes the values to a binary number (quantization). It is basically unchanged, except that a bit-depth n of more than 8 bits can be selected:[5]

[math]\displaystyle{ \begin{align} Y_{{\rm xv}\ n} &= \left\lfloor2^{n-8}(219\times Y+16)\right\rceil\\ Cb_{{\rm xv}\ n} &= \left\lfloor2^{n-8}(224\times Cb+128)\right\rceil\\ Cr_{{\rm xv}\ n} &= \left\lfloor2^{n-8}(224\times Cr+128)\right\rceil\\ \end{align} }[/math]

Example

With negative primary amounts allowed, a cyan that lies outside the basic gamut of the primaries can be encoded as "green plus blue minus red".[4] Since the 16-255 Y range is used (255 value is reserved in HDMI standard for synchronization but may be in files) and since the values of Cb and Cr are only little restricted, a lot of high saturated colors outside the 0–255 RGB space can be encoded. For example, if YCbCr is 255, 128, 128, in the case of a full level YCbCr encoding (0–255), then the corresponding R'G'B' is 255, 255, 255 which is the maximum encodable luminance value in this color space. But if Y=255 and Cr and/or Cb are not 128, this codes for the maximum luminance but with an added color: one primary must necessarily be above 255 and cannot be converted to R'G'B'. Adapted software and hardware must be used during production to not clip the video data levels that are above the sRGB space. This is almost never the case for software working with an RGB core.

The more complex example is YCbCr BT.709 values 139, 151, 24 (that is RGB -21, 182, 181). That is out-of-gamut for BT.709, but is not for sYCC and xvYCC709, and to convert those values to display gamut you would convert to XYZ (0.27018, 0.40327, 0.54109) and then to display gamut.[11]

The XYZ matrix is as specified in Nvidia docs.[12]

Adoption

A mechanism for signaling xvYCC support and transmitting the gamut boundary definition for xvYCC has been defined in the HDMI 1.3 Specification. No new mechanism is required for transmitting the xvYCC data itself, as it is compatible with HDMI's existing YCbCr formats, but the display needs to signal its readiness to accept the extra-gamut xvYCC values (in Colorimetry block of EDID, flags xvYCC709 and xvYCC601), and the source needs to signal the actual gamut in use in AVI InfoFrame and use gamut metadata packets to help the display to intelligently adapt extreme colors to its own gamut limitations.

This should not be confused with HDMI 1.3's other new color feature, deep color. This is a separate feature that increases the precision of brightness and color information, and is independent of xvYCC.

xvYCC is not supported by DVD-Video but is supported by the high-definition recording format AVCHD and PlayStation 3 and Blu-ray. It is also supported by some cameras, like Sony HDR-CX405, that does actually tag the video as xvYCC with BT.709 inside Sony's XAVC.[13]

History

On January 7, 2013, Sony announced that it would release "Mastered in 4K" Blu-ray Disc titles which are sourced at 4K and encoded at 1080p.[14] "Mastered in 4K" 1080p Blu-ray Disc titles can be played on existing Blu-ray Disc players and will support a larger color space using xvYCC.[14][15][16]

On May 30, 2013, Eye IO announced that their encoding technology was licensed by Sony Pictures Entertainment to deliver 4K Ultra HD video with their "Sony 4K Video Unlimited Service".[17][18] Eye IO encodes their video assets at 3840 x 2160 and includes support for the xvYCC color space.[17][18]

Hardware support

The following graphics hardware support xvYCC color space when connected to a display device supporting xvYCC:

  • AMD Mobility Radeon HD 4000 series and newer models
  • AMD Radeon HD 5000 series and newer models
  • AMD 785G, 880G and 890GX chipsets with integrated graphics
  • Intel HD Graphics integrated on some CPUs (except Pentium G6950 and Celeron G1101)
  • nVidia GeForce 200 series and newer models

References

  1. "HDMI 1.3 Update". HDMI Licensing. 2006. http://www.hdmi.org/pdf/HDMI_Insert_FINAL_8-30-06.pdf. 
  2. "新動画用拡張色空間 xvYCC(IEC61966-2-4)". https://www.jeita.or.jp/japanese/hot/2006/0830/0830.pdf. 
  3. "Color gamuts of Rec709 and xvYCC". https://res18h39.netlify.app/gamuts. 
  4. 4.0 4.1 4.2 4.3 4.4 4.5 "xvYCC". Sony Global. http://www.sony.net/SonyInfo/technology/technology/theme/xvycc_01.html. 
  5. 5.0 5.1 5.2 5.3 Tatsuhiko Matsumoto; Yoshihide Shimpuku; Takehiro Nakatsue; Shuichi Haga; Hiroaki Eto; Yoshiyuki Akiyama; Naoya Katoh (2006). "19.2: xvYCC: A New Standard for Video Systems using Extended-Gamut YCC Color Space". SID INTERNATIONAL SYMPOSIUM. Society for Information Display. pp. 1130–1133. doi:10.1889/1.2433175. 
  6. "A DTV Profile for Uncompressed High Speed Digital Interfaces (ANSI/CTA-861-H)" (in en). p. 44. https://shop.cta.tech/products/a-dtv-profile-for-uncompressed-high-speed-digital-interfaces-cta-861-h. 
  7. Naoya Katoh (2007). ""New" Extended-gamut Color Space for Video Applications; xvYCC (IEC61966-2-4)". https://hopa.memberclicks.net/assets/documents/2007_xvYCC_forHPA_FINAL.pdf. Retrieved 2009-08-13. 
  8. 8.0 8.1 "H.273: Coding-independent code points for video signal type identification". https://www.itu.int/rec/T-REC-H.273/en. 
  9. "IEC 61966-2-4:2006 | IEC Webstore". https://webstore.iec.ch/publication/6173. 
  10. Xu Yan; Li Yan; Li Guiling (May 2009). "A kind of nonlinear quantization method to extend the color gamut of DTV system". 2009 IEEE 13th International Symposium on Consumer Electronics. pp. 141–143. doi:10.1109/ISCE.2009.5156953. ISBN 978-1-4244-2975-2. https://ieeexplore.ieee.org/document/5156953. 
  11. "Color Calculator". https://res18h39.netlify.app/color. 
  12. "NVIDIA 2D Image And Signal Performance Primitives (NPP): RGBToXYZ". https://docs.nvidia.com/cuda/npp/group__rgbtoxyz.html. 
  13. "XAVC-S: How to export time/date metadata to subtitles (srt)?" (in en). https://forum.videohelp.com/threads/371906-XAVC-S-How-to-export-time-date-metadata-to-subtitles-%28srt%29. 
  14. 14.0 14.1 Richard Lawler (2013-01-07). "Sony to launch 4K digital distribution network this summer, 'mastered in 4K' Blu-ray discs". Engadget. https://www.engadget.com/2013/01/07/sony-4k-distribution-service/. 
  15. Seamus Byrne (2013-05-01). "Sony 'mastered in 4K' Blu-rays a mixed blessing". CNET. https://www.cnet.com/news/sony-mastered-in-4k-blu-rays-a-mixed-blessing/. 
  16. "What is Mastered in 4K and does it make a difference?" (in en). 2014-03-10. https://www.trustedreviews.com/opinion/what-is-mastered-in-4k-and-does-it-make-a-difference-2917016. 
  17. 17.0 17.1 "eyeIO Delivers Unprecedented Viewing Experience for Sony Pictures Content on Sony 4K UltraHD TVs". Eye IO, LLC. 2013-05-30. https://www.businesswire.com/news/home/20130530005314/en/eyeIO-Delivers-Unprecedented-Viewing-Experience-for-Sony-Pictures-Content-on-Sony-4K-UltraHD-TVs. 
  18. 18.0 18.1 Todd Sprangler (2013-05-30). "Sony Gears Up for 4K Ultra HD Internet Movie Service". Variety. https://variety.com/2013/digital/news/sony-gears-up-for-4k-ultra-hd-internet-movie-service-1200489195/. 

External links