[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1659082839.git.ming.qian@nxp.com>
Date: Fri, 29 Jul 2022 16:38:11 +0800
From: Ming Qian <ming.qian@....com>
To: mchehab@...nel.org, hverkuil-cisco@...all.nl
Cc: shawnguo@...nel.org, robh+dt@...nel.org, s.hauer@...gutronix.de,
kernel@...gutronix.de, festevam@...il.com, linux-imx@....com,
xiahong.bao@....com, linux-media@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: [PATCH 0/4] media: amphion: add support for contiguous format
amphion vpu support non contiguous planes yuv format,
but when we make pipeline with other device,
the device may only support contiguous format,
for example, amphion encoder support NV12M,
but the capture device may only support NV12.
we can't connect them directly.
So to improve compatibility, driver can add support for contiguous
format in the same time.
Then encoder can support NV12 and NV12M,
decoder can support NV12_8L128 and NV12M_8L128.
Ming Qian (4):
media: add nv12_8l128 and nv12_10be_8l128 video format.
media: amphion: tell and handle contiguous and non contiguous format
media: amphion: decoder add support for contiguous planes
media: amphion: encoder add support for contiguous planes
.../media/v4l/pixfmt-yuv-planar.rst | 8 +
drivers/media/platform/amphion/vdec.c | 203 ++++++++++--------
drivers/media/platform/amphion/venc.c | 41 ++--
drivers/media/platform/amphion/vpu.h | 4 +-
drivers/media/platform/amphion/vpu_dbg.c | 8 +-
drivers/media/platform/amphion/vpu_helpers.c | 40 +++-
drivers/media/platform/amphion/vpu_helpers.h | 2 +
drivers/media/platform/amphion/vpu_malone.c | 3 +-
drivers/media/platform/amphion/vpu_v4l2.c | 134 ++++++++----
drivers/media/platform/amphion/vpu_v4l2.h | 3 +-
drivers/media/platform/amphion/vpu_windsor.c | 8 +-
drivers/media/v4l2-core/v4l2-ioctl.c | 2 +
include/uapi/linux/videodev2.h | 2 +
13 files changed, 298 insertions(+), 160 deletions(-)
--
2.36.1
Powered by blists - more mailing lists