vdec: reduce and adjust amvdec canvas num. [2/2]
authorshihong.zheng <shihong.zheng@amlogic.com>
Mon, 20 Jul 2020 07:04:48 +0000 (15:04 +0800)
committerShihong Zheng <shihong.zheng@amlogic.com>
Mon, 10 Aug 2020 12:05:11 +0000 (05:05 -0700)
commit8d0812e5d1dfefff6f6d60bd5bed4d377125402c
treee95aaaadc8e2f231dbbe9d044c313982547ab103
parent3425d4bde7feb317a7cbf5e8957808868eb8a3e6
vdec: reduce and adjust amvdec canvas num. [2/2]

PD#SWPL-29996

Problem:
canvas saving in video decoder.

Solution:
reduce and adjust the range of amvdec canvas index.

Verify:
S905X2

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