v4l: fixed some issues for v4l codec. [1/1]
authorNanxin Qin <nanxin.qin@amlogic.com>
Thu, 28 Nov 2019 06:30:53 +0000 (14:30 +0800)
committerZhi Zhou <zhi.zhou@amlogic.com>
Sat, 30 Nov 2019 10:03:54 +0000 (03:03 -0700)
commit9e4bad427bd58b19c9e1f8d5775b28a5ec7e4995
tree2de66bf0864200f0a609c4b9d04ccaece36a0ca6
parent61d4831c1ec4fede0bb2ae81763e16ec75abfc22
v4l: fixed some issues for v4l codec. [1/1]

PD#SWPL-5313

Problem:
Decoder V4L2 interface Phase3(AFBC&MMU Support)

Solution:
1. add the limit of vdec input frames.
2. add config parms canvas_mode and endian.

Verify:
U212

Change-Id: Ib3365cd1a09fac7c029bba64c70a3ed40bbd8e3f
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
12 files changed:
drivers/amvdec_ports/aml_vcodec_adapt.c
drivers/amvdec_ports/aml_vcodec_adapt.h
drivers/amvdec_ports/aml_vcodec_dec.c
drivers/amvdec_ports/aml_vcodec_drv.h
drivers/amvdec_ports/decoder/aml_h264_parser.c
drivers/amvdec_ports/decoder/aml_hevc_parser.c
drivers/amvdec_ports/decoder/vdec_h264_if.c
drivers/amvdec_ports/decoder/vdec_hevc_if.c
drivers/amvdec_ports/decoder/vdec_vp9_if.c
drivers/frame_provider/decoder/h264_multi/vmh264.c
drivers/frame_provider/decoder/h265/vh265.c
drivers/frame_provider/decoder/vp9/vvp9.c