diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2015-03-19 10:31:10 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-02 21:07:53 -0400 |
commit | 486e56be5274848fb1adc68a39a5b4e69cab8ca8 (patch) | |
tree | 5d30cd38ed4072e6b57b763b3c4d593e6cb1b818 /Documentation/DocBook | |
parent | b766586b1a87c5417ee6d1f3806f06ccfc335277 (diff) |
[media] DocBook media: fix BT.2020 description
One number was wrong (0.6789 -> 0.6780) and Y' should have been Yc'.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'Documentation/DocBook')
-rw-r--r-- | Documentation/DocBook/media/v4l/pixfmt.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/DocBook/media/v4l/pixfmt.xml b/Documentation/DocBook/media/v4l/pixfmt.xml index c6a578fa8f29..0a1528f3e891 100644 --- a/Documentation/DocBook/media/v4l/pixfmt.xml +++ b/Documentation/DocBook/media/v4l/pixfmt.xml | |||
@@ -1026,7 +1026,7 @@ The chromaticities of the primary colors and the white reference are:</para> | |||
1026 | <term>The luminance (Y') and color difference (Cb and Cr) are obtained with the | 1026 | <term>The luminance (Y') and color difference (Cb and Cr) are obtained with the |
1027 | following <constant>V4L2_YCBCR_ENC_BT2020</constant> encoding:</term> | 1027 | following <constant>V4L2_YCBCR_ENC_BT2020</constant> encoding:</term> |
1028 | <listitem> | 1028 | <listitem> |
1029 | <para>Y' = 0.2627R' + 0.6789G' + 0.0593B'</para> | 1029 | <para>Y' = 0.2627R' + 0.6780G' + 0.0593B'</para> |
1030 | <para>Cb = -0.1396R' - 0.3604G' + 0.5B'</para> | 1030 | <para>Cb = -0.1396R' - 0.3604G' + 0.5B'</para> |
1031 | <para>Cr = 0.5R' - 0.4598G' - 0.0402B'</para> | 1031 | <para>Cr = 0.5R' - 0.4598G' - 0.0402B'</para> |
1032 | </listitem> | 1032 | </listitem> |
@@ -1040,7 +1040,7 @@ clamped to the range [-0.5…0.5]. The Y'CbCr quantization is limited range | |||
1040 | <varlistentry> | 1040 | <varlistentry> |
1041 | <term>Luma:</term> | 1041 | <term>Luma:</term> |
1042 | <listitem> | 1042 | <listitem> |
1043 | <para>Yc' = (0.2627R + 0.6789G + 0.0593B)'</para> | 1043 | <para>Yc' = (0.2627R + 0.6780G + 0.0593B)'</para> |
1044 | </listitem> | 1044 | </listitem> |
1045 | </varlistentry> | 1045 | </varlistentry> |
1046 | </variablelist> | 1046 | </variablelist> |
@@ -1048,7 +1048,7 @@ clamped to the range [-0.5…0.5]. The Y'CbCr quantization is limited range | |||
1048 | <varlistentry> | 1048 | <varlistentry> |
1049 | <term>B' - Yc' ≤ 0:</term> | 1049 | <term>B' - Yc' ≤ 0:</term> |
1050 | <listitem> | 1050 | <listitem> |
1051 | <para>Cbc = (B' - Y') / 1.9404</para> | 1051 | <para>Cbc = (B' - Yc') / 1.9404</para> |
1052 | </listitem> | 1052 | </listitem> |
1053 | </varlistentry> | 1053 | </varlistentry> |
1054 | </variablelist> | 1054 | </variablelist> |
@@ -1056,7 +1056,7 @@ clamped to the range [-0.5…0.5]. The Y'CbCr quantization is limited range | |||
1056 | <varlistentry> | 1056 | <varlistentry> |
1057 | <term>B' - Yc' > 0:</term> | 1057 | <term>B' - Yc' > 0:</term> |
1058 | <listitem> | 1058 | <listitem> |
1059 | <para>Cbc = (B' - Y') / 1.5816</para> | 1059 | <para>Cbc = (B' - Yc') / 1.5816</para> |
1060 | </listitem> | 1060 | </listitem> |
1061 | </varlistentry> | 1061 | </varlistentry> |
1062 | </variablelist> | 1062 | </variablelist> |