diff options
| author | Paul Kocialkowski <[email protected]> | 2020-04-30 18:42:45 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-07-04 12:44:59 +0200 |
| commit | 0f879bab72f47e8ba2421a984e7acfa763d3e84e (patch) | |
| tree | 103d9999949b2157fba2261c460b7734b1e44862 /tools/perf/scripts/python/bin | |
| parent | ded874ece29d3fe2abd3775810a06056067eb68c (diff) | |
media: rockchip: rga: Only set output CSC mode for RGB input
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 comment to clarify the rationale.
Fixes: f7e7b48e6d79 ("[media] rockchip/rga: v4l2 m2m support")
Signed-off-by: Paul Kocialkowski <[email protected]>
Reviewed-by: Ezequiel Garcia <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions