v4l: fixed the problem of multi plane addr [1/1]
authorNanxin Qin <nanxin.qin@amlogic.com>
Tue, 17 Dec 2019 09:04:06 +0000 (17:04 +0800)
committerNanxin Qin <nanxin.qin@amlogic.com>
Sat, 15 Feb 2020 15:49:07 +0000 (23:49 +0800)
commit307badab5492c28416fb825dc525ca270c820879
tree6f122ebf4453c5ef566012b655efecc2404c8296
parent34aea20be0d8a951be5ac56e47a26d8cdb5184a0
v4l: fixed the problem of multi plane addr [1/1]

PD#SWPL-13705

Problem:
1. HEBC/VP9 doesn't support multi planar buffer
2. revert limite the buffer number returned from REQBUFS
   as some issue on the mediahal will to be fixed.

Solution:
Configure canvas correctly according to vdec_v4l2_buffer

Verify:
U212 with VP9/HEVC streamer playback

Change-Id: I0ba73005ae6e610d19eba7e8bed1b038022f7cd1
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
drivers/amvdec_ports/aml_vcodec_dec.c
drivers/frame_provider/decoder/h265/vh265.c
drivers/frame_provider/decoder/vp9/vvp9.c