av1: fix av1 duration error and frame dropped. [1/1]
authorshihong.zheng <shihong.zheng@amlogic.com>
Mon, 15 Jun 2020 13:23:16 +0000 (21:23 +0800)
committerShihong Zheng <shihong.zheng@amlogic.com>
Thu, 18 Jun 2020 12:04:13 +0000 (05:04 -0700)
commite39e0fcbe173d8b4f641b549b077c6ea1a2afaae
treeff380c045802a8bc91dbf7cde8a63a375addef98
parent86a1c1db2bce34a9d709a4c1a0f95b651e6135ab
av1: fix av1 duration error and frame dropped. [1/1]

PD#SWPL-24595

Problem:
1. nts failed. video freeze caused by dur error.
2. frames dropped caused by lack of bufs.

Solution:
add some duration calc limited condition.
add one more buf for some 4k drop frames.

Verify:
t962e2

Change-Id: I27ecef2932a34cc62449309a892e47ef5fe480f6
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
drivers/frame_provider/decoder/vav1/vav1.c