diff options
author | Benjamin Gaignard <[email protected]> | 2022-05-03 15:51:38 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2022-05-13 11:02:22 +0200 |
commit | 387d1176956883635c63a7d1c91b1f45e19c1777 (patch) | |
tree | 8f5122fd4498137f945f16114571150f0655db2f /tools/perf/scripts/python/stat-cpi.py | |
parent | d7f4149df818463c1d7094b35db6ebd79f46c7bd (diff) |
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 <[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/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions