h265: fix long term ref bug. [1/1]
authorRain Zhang <rain.zhang@amlogic.com>
Fri, 6 Nov 2020 01:50:26 +0000 (17:50 -0800)
committerGan Zhang <gan.zhang@amlogic.com>
Mon, 9 Nov 2020 01:55:55 +0000 (18:55 -0700)
commitf56f056039acd612d77863cae7265871a4125d84
tree2ad270ee0e135acc4ddbf7da8263c8558472e842
parent360b33c0d12e9b7dc35d5a9c1865eb8349c8483c
h265: fix long term ref bug. [1/1]

PD#SWPL-35859

Problem:
Because the poc calculation of the reference frame is wrong,
and the reference error will cause mosaic.

Solution:
When the reference frame is calculated, a long-term rps is added to
ensure that the reference list is calculated correctly.

Verify:
AC214

Change-Id: I3a2d2e18cac87541db5d0d6a7d15e9ea44193c9c
Signed-off-by: Rain Zhang <rain.zhang@amlogic.com>
drivers/frame_provider/decoder/h265/vh265.c