diff options
author | Benjamin Gaignard <benjamin.gaignard@collabora.com> | 2022-04-14 18:50:59 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-05-13 12:02:22 +0300 |
commit | 579846ec52593e6ca123c30379103377cd25728a (patch) | |
tree | fb52345873aa2d6837ebf5a603a77350f75bbbc2 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 79c987de8b35421a2a975982929f150dd415f8f7 (diff) | |
download | linux-579846ec52593e6ca123c30379103377cd25728a.tar.xz |
media: hantro: HEVC: Fix output frame chroma offset
Hantro decoder doesn't take care of the requested and aligned size
of the capture buffer.
Stop using the bitstream width/height and use capture frame size
stored in the context to get the correct values.
hantro_hevc_chroma_offset() and hantro_hevc_motion_vectors_offset()
are only used in hantro_g2_hevc_dec.c so take the opportunity
to move them here.
fluster HEVC score goes up from 77 to 85 successful tests (over 147)
with this patch.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.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-sqlite.py')
0 files changed, 0 insertions, 0 deletions