diff options
author | Jernej Skrabec <jernej.skrabec@gmail.com> | 2022-07-06 19:28:59 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-07-17 11:00:58 +0100 |
commit | 62d1c353b60a205130050e8b5d562708d6f7f8d3 (patch) | |
tree | 1ebf0211de3043d0ed9b25ccd6936b45de22fe95 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4dc1fc7197a3a65c59f37f7c0a842e1ce522cb6c (diff) |
media: hantro: postproc: Properly calculate chroma offset
Currently chroma offset calculation assumes only 1 byte per luma, with
no consideration for stride.
Take necessary information from destination pixel format which makes
calculation completely universal.
Reviewed-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Tested-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions