Re: [PATCH v3 4/4] media: rockchip: rga: Only set output CSC mode for RGB input

2020-05-07 Thread Ezequiel Garcia
On Thu, 2020-04-30 at 18:42 +0200, Paul Kocialkowski wrote: > Setting the output CSC mode is required for a YUV output, but must not > be set when the input is also YUV. Doing this (as tested with a YUV420P > to YUV420P conversion) results in wrong colors. > > Adapt the logic to only set the

[PATCH v3 4/4] media: rockchip: rga: Only set output CSC mode for RGB input

2020-04-30 Thread Paul Kocialkowski
Setting the output CSC mode is required for a YUV output, but must not be set when the input is also YUV. Doing this (as tested with a YUV420P to YUV420P conversion) results in wrong colors. Adapt the logic to only set the output CSC mode when the output is YUV and the input is RGB. Also add a