drm/sun4i: backend: Detail the YUV to RGB values coding explanation
authorPaul Kocialkowski <contact@paulk.fr>
Fri, 23 Nov 2018 09:24:55 +0000 (10:24 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Tue, 27 Nov 2018 08:57:21 +0000 (09:57 +0100)
commit896eacc2dd3408be77e42cdbdc60c4bca627e4d4
treeaeaba494575f48e09e170e4953ce7a397bc1d703
parentdef3e2173daff86038f8946f65fe84997f1fbd03
drm/sun4i: backend: Detail the YUV to RGB values coding explanation

The values in the BT601 YUV to RGB colorspace translation are not
simply coded as multiples, but rather as fixed-point signed fractional
values on a given number of bits. Add an explanation about that.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181123092515.2511-24-paul.kocialkowski@bootlin.com
drivers/gpu/drm/sun4i/sun4i_backend.c