Skip to content
Snippets Groups Projects
Forked from linux / for-upstream
Source project has a limited visibility.
Benjamin Gaignard's avatar
Benjamin Gaignard authored
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: default avatarBenjamin Gaignard <benjamin.gaignard@collabora.com>
3f174995
History
Name Last commit Last update