From: Hans Verkuil Date: Thu, 19 Mar 2015 14:31:10 +0000 (-0300) Subject: [media] DocBook media: fix BT.2020 description X-Git-Tag: v4.1-rc1~59^2~1^2~121 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=486e56be5274848fb1adc68a39a5b4e69cab8ca8;p=linux.git [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 Signed-off-by: Mauro Carvalho Chehab --- 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: The luminance (Y') and color difference (Cb and Cr) are obtained with the following V4L2_YCBCR_ENC_BT2020 encoding: - Y' = 0.2627R' + 0.6789G' + 0.0593B' + Y' = 0.2627R' + 0.6780G' + 0.0593B' Cb = -0.1396R' - 0.3604G' + 0.5B' Cr = 0.5R' - 0.4598G' - 0.0402B' @@ -1040,7 +1040,7 @@ clamped to the range [-0.5…0.5]. The Y'CbCr quantization is limited range Luma: - Yc' = (0.2627R + 0.6789G + 0.0593B)' + Yc' = (0.2627R + 0.6780G + 0.0593B)' @@ -1048,7 +1048,7 @@ clamped to the range [-0.5…0.5]. The Y'CbCr quantization is limited range B' - Yc' ≤ 0: - Cbc = (B' - Y') / 1.9404 + Cbc = (B' - Yc') / 1.9404 @@ -1056,7 +1056,7 @@ clamped to the range [-0.5…0.5]. The Y'CbCr quantization is limited range B' - Yc' > 0: - Cbc = (B' - Y') / 1.5816 + Cbc = (B' - Yc') / 1.5816