From: "mirela.rabulea@oss.nxp.com" <mirela.rabulea@oss.nxp.com>
To: Ming Qian <ming.qian@nxp.com>,
mchehab@kernel.org, hverkuil-cisco@xs4all.nl
Cc: shawnguo@kernel.org, s.hauer@pengutronix.de,
kernel@pengutronix.de, festevam@gmail.com, xiahong.bao@nxp.com,
linux-imx@nxp.com, linux-media@vger.kernel.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v5 03/10] media: Add Y212 v4l2 format info
Date: Thu, 23 Mar 2023 18:27:58 +0200 [thread overview]
Message-ID: <3be4b989-816f-5c1c-2d4a-99eccb098757@oss.nxp.com> (raw)
In-Reply-To: <a92bc69054de555bec1d58ca9b767a49d21a6ebe.1679461710.git.ming.qian@nxp.com>
On 22.03.2023 07:13, Ming Qian wrote:
> Y212 is a YUV format with 12-bits per component like YUYV,
> expanded to 16bits.
> Data in the 12 high bits, zeros in the 4 low bits,
> arranged in little endian order.
>
> Add the missing v4l2 foramt info of Y212
Small typo here: foramt -> format
>
> Signed-off-by: Ming Qian <ming.qian@nxp.com>
> ---
> drivers/media/v4l2-core/v4l2-common.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/media/v4l2-core/v4l2-common.c b/drivers/media/v4l2-core/v4l2-common.c
> index a5e8ba370d33..21ace56fac04 100644
> --- a/drivers/media/v4l2-core/v4l2-common.c
> +++ b/drivers/media/v4l2-core/v4l2-common.c
> @@ -258,6 +258,7 @@ const struct v4l2_format_info *v4l2_format_info(u32 format)
> { .format = V4L2_PIX_FMT_YVYU, .pixel_enc = V4L2_PIXEL_ENC_YUV, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 2, .vdiv = 1 },
> { .format = V4L2_PIX_FMT_UYVY, .pixel_enc = V4L2_PIXEL_ENC_YUV, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 2, .vdiv = 1 },
> { .format = V4L2_PIX_FMT_VYUY, .pixel_enc = V4L2_PIXEL_ENC_YUV, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 2, .vdiv = 1 },
> + { .format = V4L2_PIX_FMT_Y212, .pixel_enc = V4L2_PIXEL_ENC_YUV, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 2, .vdiv = 1 },
>
> /* YUV planar formats */
> { .format = V4L2_PIX_FMT_NV12, .pixel_enc = V4L2_PIXEL_ENC_YUV, .mem_planes = 1, .comp_planes = 2, .bpp = { 1, 2, 0, 0 }, .hdiv = 2, .vdiv = 2 },
next prev parent reply other threads:[~2023-03-23 16:28 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-22 5:13 [PATCH v5 00/10] media: imx-jpeg: Add support for 12 bit extended jpeg Ming Qian
2023-03-22 5:13 ` [PATCH v5 01/10] media: Add P012 and P012M video format Ming Qian
2023-03-22 5:13 ` [PATCH v5 02/10] media: Add Y012 " Ming Qian
2023-03-22 5:13 ` [PATCH v5 03/10] media: Add Y212 v4l2 format info Ming Qian
2023-03-23 16:27 ` mirela.rabulea [this message]
2023-03-22 5:13 ` [PATCH v5 04/10] media: Add YUV48_12 video format Ming Qian
2023-03-22 5:13 ` [PATCH v5 05/10] media: Add BGR48_12 " Ming Qian
2023-03-22 5:13 ` [PATCH v5 06/10] media: Add ABGR64_12 " Ming Qian
2023-03-22 5:13 ` [PATCH v5 07/10] media: imx-jpeg: Refine the function mxc_jpeg_find_format Ming Qian
2023-03-22 5:13 ` [PATCH v5 08/10] media: imx-jpeg: Clear slot next desc ptr if config error Ming Qian
2023-03-22 5:13 ` [PATCH v5 09/10] media: imx-jpeg: Decoder add support for 12bit jpeg Ming Qian
2023-03-22 5:13 ` [PATCH v5 10/10] media: imx-jpeg: Encoder " Ming Qian
2023-03-23 16:29 ` [PATCH v5 00/10] media: imx-jpeg: Add support for 12 bit extended jpeg mirela.rabulea
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3be4b989-816f-5c1c-2d4a-99eccb098757@oss.nxp.com \
--to=mirela.rabulea@oss.nxp.com \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=hverkuil-cisco@xs4all.nl \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=ming.qian@nxp.com \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=xiahong.bao@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®