vp9: add vp9 decoder tests in dec_slt. [2/2]
authorgan.zhang <gan.zhang@amlogic.com>
Sun, 27 Sep 2020 01:30:11 +0000 (09:30 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Sat, 3 Oct 2020 02:44:17 +0000 (19:44 -0700)
commit5c968d0bdbd89f438d4e9c9cd465b2b3ffdeec85
tree26f6bda56202de8e8b1bde571363684af16a13de
parente780e5610adff0a8ecb5f0004fd68990ca219612
vp9: add vp9 decoder tests in dec_slt. [2/2]

PD#OPS-1192

Problem:
In the dec_slt test, since max_pic_h and max_pic_w were not
configured via config at the upper level, the decoding driver
allocated memory according to the maximum resolution supported
by the chip, this will cause the codec_mm to be insufficient
and lead the test to fail.

Solution:
max_pic_h and max_pic_w are configured via the upper sys_info.

Verify:
AC214

Change-Id: Ib2006c51ecef3d98ebd6cce89610f636c60c60ed
Signed-off-by: gan.zhang <gan.zhang@amlogic.com>
drivers/frame_provider/decoder/vp9/vvp9.c