media: adds the feature of the amvdec ports are based on v4l2.[1/2]
authorNanxin Qin <nanxin.qin@amlogic.com>
Mon, 29 Jan 2018 10:06:33 +0000 (18:06 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Mon, 9 Jul 2018 07:40:09 +0000 (00:40 -0700)
commit53a66f642c2fcd63394042ac17afb4fafba38207
treeb00b7ff6aa381d2d798f8a33c7bd2ef57130bbe9
parent367fdeee4321eb9511e68a647dfa80f91648b1e8
media: adds the feature of the amvdec ports are based on v4l2.[1/2]

PD#153299:
1. amports has v4l for video decoding implemented upstream.
2. Only the decoding of h264 has been implemented at the moment.
3. the maximun resolution supports 1080p currently.
4. it is nv12 that the canvas data format of the decoder output.
5. the detailed description can be referred to wiki.
wiki: Media/The_V4L2_Amvdec_Ports_Instructions

Change-Id: Ie19311e1f44ae53b491500be9903f3d82c83b800
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
arch/arm64/boot/dts/amlogic/mesong12a.dtsi
arch/arm64/boot/dts/amlogic/mesongxl.dtsi
arch/arm64/boot/dts/amlogic/mesongxm.dtsi
arch/arm64/boot/dts/amlogic/mesontxlx.dtsi
drivers/amlogic/media/common/codec_mm/codec_mm.c
drivers/amlogic/media/common/v4l_util/Kconfig
include/linux/amlogic/media/codec_mm/codec_mm.h
include/linux/amlogic/media/utils/amstream.h
include/linux/amlogic/media/vfm/vframe.h