Re: [PATCH v2] drm/rockchip: Fix YUV buffers color rendering

2019-01-08 Thread Ezequiel Garcia
On Mon, 2019-01-07 at 17:07 -0300, Ezequiel Garcia wrote: > On Mon, 2019-01-07 at 14:26 +0100, Heiko Stuebner wrote: > > Hi, > > > > sorry, only now got to test this on actual hardware, > > > > Am Freitag, 14. Dezember 2018, 17:29:20 CET schrieb Ezequiel Garcia: > > > From: Daniele Castagna > >

Re: [PATCH v2] drm/rockchip: Fix YUV buffers color rendering

2019-01-07 Thread Ezequiel Garcia
On Mon, 2019-01-07 at 14:26 +0100, Heiko Stuebner wrote: > Hi, > > sorry, only now got to test this on actual hardware, > > Am Freitag, 14. Dezember 2018, 17:29:20 CET schrieb Ezequiel Garcia: > > From: Daniele Castagna > > > > Currently, YUV hardware overlays are converted to RGB using > > a c

Re: [PATCH v2] drm/rockchip: Fix YUV buffers color rendering

2019-01-07 Thread Heiko Stuebner
Hi, sorry, only now got to test this on actual hardware, Am Freitag, 14. Dezember 2018, 17:29:20 CET schrieb Ezequiel Garcia: > From: Daniele Castagna > > Currently, YUV hardware overlays are converted to RGB using > a color space conversion different than BT.601. > > The result is that colors

Re: [PATCH v2] drm/rockchip: Fix YUV buffers color rendering

2019-01-03 Thread Ezequiel Garcia
On Fri, 2018-12-14 at 13:29 -0300, Ezequiel Garcia wrote: > From: Daniele Castagna > > Currently, YUV hardware overlays are converted to RGB using > a color space conversion different than BT.601. > > The result is that colors of e.g. NV12 buffers don't match > colors of YUV hardware overlays. >

[PATCH v2] drm/rockchip: Fix YUV buffers color rendering

2018-12-14 Thread Ezequiel Garcia
From: Daniele Castagna Currently, YUV hardware overlays are converted to RGB using a color space conversion different than BT.601. The result is that colors of e.g. NV12 buffers don't match colors of YUV hardware overlays. In order to fix this, enable YUV2YUV and set appropriate coefficients fo