diff options
author | Benjamin Gaignard <benjamin.gaignard@collabora.com> | 2022-05-03 16:51:38 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-05-13 12:02:22 +0300 |
commit | 387d1176956883635c63a7d1c91b1f45e19c1777 (patch) | |
tree | 8f5122fd4498137f945f16114571150f0655db2f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d7f4149df818463c1d7094b35db6ebd79f46c7bd (diff) | |
download | linux-387d1176956883635c63a7d1c91b1f45e19c1777.tar.xz |
media: hantro: HEVC: Fix reference frames management
PoC shall be int the range of -2^31 to 2^31 -1
(HEVC spec section 8.3.1 Decoding process for picture order count).
The current way to know if an entry in reference picture array is free
is to test if PoC = UNUSED_REF. Since UNUSED_REF is defined as '-1' that
could lead to decode issue if one PoC also equal '-1'.
PoC with value = '-1' exists in conformance test SLIST_B_Sony_9.
Change the way unused entries are managed in reference pictures array to
avoid using PoC to detect then.
This patch doesn't change fluster HEVC score.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Reviewed-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
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