av1: add buffers for q mainline. [1/1]
authorshihong.zheng <shihong.zheng@amlogic.com>
Sat, 4 Jul 2020 13:40:12 +0000 (21:40 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Wed, 22 Jul 2020 13:46:42 +0000 (06:46 -0700)
commitb90b075c959e9a3a4a7b9f52b2fc07b74a0968f0
treef0bccccce118737f4fb5c04ca27eae580ccf5c46
parent7080d9389e1b8005170d6f401e3ab8e4120d873e
av1: add buffers for q mainline. [1/1]

PD#SWPL-28916

Problem:
SWPL-28916 some av1 play freeze
SWPL-28911 duration error caused frames output too fast.

Solution:
android q need 2 more buffers for display.
set calc dur wide range limit.

Verify:
sc2

Change-Id: I34b4371c1271e1f49e720d1bd370965fa6a430bb
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
(cherry picked from commit 9885d98f727777e4f6f8966fd0690d7ae76d875c)
drivers/frame_provider/decoder/vav1/vav1.c