lkml.org 
[lkml]   [2019]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] drm/sun4i: Add support for color encoding and range
Date
In order to correctly convert image between YUV and RGB, you have to
know color encoding and color range. This patch set adds appropriate
properties and considers them when choosing CSC conversion matrix for
DE2 and DE3.

Note that this is only the half of needed changes when using HDMI output.
DW HDMI bridge driver has to be extended to have a property to select
limited (TVs) or full (PC monitors) range. But that will be done at a
later time.

Please take a look.

Best regards,
Jernej

Jernej Skrabec (3):
drm/sun4i: Introduce color encoding and range properties
drm/sun4i: sun8i_csc: Simplify register writes
drm/sun4i: sun8i-csc: Add support for color encoding and range

drivers/gpu/drm/sun4i/sun8i_csc.c | 155 +++++++++++++++++++------
drivers/gpu/drm/sun4i/sun8i_csc.h | 6 +-
drivers/gpu/drm/sun4i/sun8i_vi_layer.c | 21 +++-
3 files changed, 146 insertions(+), 36 deletions(-)

--
2.22.0

\
 
 \ /
  Last update: 2019-07-13 14:04    [W:0.046 / U:27.616 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site