vav1: fix av1 nts fail issue [1/1]
authorHui Zhang <hui.zhang@amlogic.com>
Wed, 3 Jun 2020 02:36:32 +0000 (10:36 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Fri, 12 Jun 2020 09:15:44 +0000 (02:15 -0700)
commit80fcf35c3ef98a79bf79bb8a622d9a5ef048a305
tree33d49f00c80ec67362050ada2fbe2b4c4459dcfe
parent23847e1b262534a33fc5dd4e83fbd83a6759752c
vav1: fix av1 nts fail issue [1/1]

PD#SWPL-24592

Problem:
In tvp mode. codec_mm only reseved 192M for decoder.
it's not enough for av1 4k with max buf num (16). it cause
nts failed

Solution:
av1 has to use less buffer (12) to save memory usage
when 4k or higher resolution.

Verify:
ab311

Change-Id: I5e5c6b59ceb7fa75d2e2a5d4f8946ebcd0bbdee7
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
drivers/frame_provider/decoder/vav1/vav1.c