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)
commitdc7d4b655a2c4a8db1342600319a7939eafeb9af
treeaeaba494575f48e09e170e4953ce7a397bc1d703
parentb636d3f97d041cbb5e782a29b282c40cbd77c0aa
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