summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>2020-04-30 18:42:44 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-07-04 12:44:42 +0200
commitded874ece29d3fe2abd3775810a06056067eb68c (patch)
tree9df386c0381d5dafa8a27eb8fe20fd37ef8cd6ef /tools/perf/scripts/python/exported-sql-viewer.py
parent18ffec750578f7447c288647d7282c7d12b1d969 (diff)
downloadcachepc-linux-ded874ece29d3fe2abd3775810a06056067eb68c.tar.gz
cachepc-linux-ded874ece29d3fe2abd3775810a06056067eb68c.zip
media: rockchip: rga: Introduce color fmt macros and refactor CSC mode logic
This introduces two macros: RGA_COLOR_FMT_IS_YUV and RGA_COLOR_FMT_IS_RGB which allow quick checking of the colorspace familily of a RGA color format. These macros are then used to refactor the logic for CSC mode selection. The two nested tests for input colorspace are simplified into a single one, with a logical and, making the whole more readable. Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions