media: Fix V4L2_COLORSPACE_470_SYSTEM_BG description
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 1 Oct 2020 10:13:42 +0000 (12:13 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 16 Nov 2020 09:31:07 +0000 (10:31 +0100)
The description of the V4L2_COLORSPACE_470_SYSTEM_BG stated that it was
superseded by SMPTE 170M. That is incorrect. The probably root cause of
this is that the HDMI standard does not support this colorspace and,
unless otherwise signaled, will fall back to SMPTE 170M for SDTV.

However, EBU Tech. 3321 states that sources should signal Rec. 709 as the
colorimetry when using HDMI since the difference between Rec. 709 and
Tech. 3213 are negligible.

Update the text accordingly.

Also drop a spurious " at the end of the Tech 3213 title in the
bibliography.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Documentation/userspace-api/media/v4l/biblio.rst
Documentation/userspace-api/media/v4l/colorspaces-details.rst
include/uapi/linux/videodev2.h

index 7869b6f6ff72b0afa1b8ab220b24314cc788d9cf..64d241daf63ce0fedce3104fd0c20ddff0b695e8 100644 (file)
@@ -270,7 +270,17 @@ EBU Tech 3213
 =============
 
 
-:title:     E.B.U. Standard for Chromaticity Tolerances for Studio Monitors"
+:title:     E.B.U. Standard for Chromaticity Tolerances for Studio Monitors
+
+:author:    European Broadcast Union (http://www.ebu.ch)
+
+.. _tech3321:
+
+EBU Tech 3321
+=============
+
+
+:title:     E.B.U. guidelines for Consumer Flat Panel Displays (FPDs)
 
 :author:    European Broadcast Union (http://www.ebu.ch)
 
index 014e7c9fc655b70d46df66e0744ab1e2fa737cf4..126f66482a0d35c1963604abed3eb96c5f05ed12 100644 (file)
@@ -674,8 +674,9 @@ Colorspace EBU Tech. 3213 (V4L2_COLORSPACE_470_SYSTEM_BG)
 =========================================================
 
 The :ref:`tech3213` standard defines the colorspace used by PAL/SECAM
-in 1975. In practice this colorspace is obsolete and SMPTE 170M should
-be used instead. The default transfer function is
+in 1975. Note that this colorspace is not supported by the HDMI interface.
+Instead :ref:`tech3321` recommends that Rec. 709 is used instead for HDMI.
+The default transfer function is
 ``V4L2_XFER_FUNC_709``. The default Y'CbCr encoding is
 ``V4L2_YCBCR_ENC_601``. The default Y'CbCr quantization is limited
 range. The chromaticities of the primary colors and the white reference
index b10f102bbf6f0cf71ce158e8921304a2136ca39a..927075fa9099ef63ad6e8b1e2d36f9d00c2c1b3e 100644 (file)
@@ -221,9 +221,7 @@ enum v4l2_colorspace {
        V4L2_COLORSPACE_470_SYSTEM_M  = 5,
 
        /*
-        * EBU Tech 3213 PAL/SECAM colorspace. This only makes sense when
-        * dealing with really old PAL/SECAM recordings. Superseded by
-        * SMPTE 170M.
+        * EBU Tech 3213 PAL/SECAM colorspace.
         */
        V4L2_COLORSPACE_470_SYSTEM_BG = 6,