From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Daniel Scally <dan.scally@ideasonboard.com>
Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
jacopo.mondi@ideasonboard.com, nayden.kanchev@arm.com,
robh+dt@kernel.org, mchehab@kernel.org,
krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org,
jerome.forissier@linaro.org, kieran.bingham@ideasonboard.com,
sakari.ailus@iki.fi
Subject: Re: [PATCH v5 03/16] media: v4l2-common: Add RAW16 format info
Date: Wed, 29 May 2024 21:20:19 +0300 [thread overview]
Message-ID: <20240529182019.GC10586@pendragon.ideasonboard.com> (raw)
In-Reply-To: <20240529152858.183799-4-dan.scally@ideasonboard.com>
Hi Dan,
Thank you for the patch.
On Wed, May 29, 2024 at 04:28:45PM +0100, Daniel Scally wrote:
> Add entries to v4l2_format_info describing the 16-bit bayer
> formats so that they can be used in drivers.
>
> Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
> ---
> Changes in v5:
>
> - New patch
>
> drivers/media/v4l2-core/v4l2-common.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/media/v4l2-core/v4l2-common.c b/drivers/media/v4l2-core/v4l2-common.c
> index 4165c815faef..c5d5704af5ee 100644
> --- a/drivers/media/v4l2-core/v4l2-common.c
> +++ b/drivers/media/v4l2-core/v4l2-common.c
> @@ -331,6 +331,10 @@ const struct v4l2_format_info *v4l2_format_info(u32 format)
> { .format = V4L2_PIX_FMT_SGBRG12, .pixel_enc = V4L2_PIXEL_ENC_BAYER, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
> { .format = V4L2_PIX_FMT_SGRBG12, .pixel_enc = V4L2_PIXEL_ENC_BAYER, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
> { .format = V4L2_PIX_FMT_SRGGB12, .pixel_enc = V4L2_PIXEL_ENC_BAYER, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
If you have energy, could you add a patch to also cover the 14-bit
formats ?
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> + { .format = V4L2_PIX_FMT_SBGGR16, .pixel_enc = V4L2_PIXEL_ENC_BAYER, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
> + { .format = V4L2_PIX_FMT_SGBRG16, .pixel_enc = V4L2_PIXEL_ENC_BAYER, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
> + { .format = V4L2_PIX_FMT_SGRBG16, .pixel_enc = V4L2_PIXEL_ENC_BAYER, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
> + { .format = V4L2_PIX_FMT_SRGGB16, .pixel_enc = V4L2_PIXEL_ENC_BAYER, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
> };
> unsigned int i;
>
--
Regards,
Laurent Pinchart
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Daniel Scally <dan.scally@ideasonboard.com>
Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
jacopo.mondi@ideasonboard.com, nayden.kanchev@arm.com,
robh+dt@kernel.org, mchehab@kernel.org,
krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org,
jerome.forissier@linaro.org, kieran.bingham@ideasonboard.com,
sakari.ailus@iki.fi
Subject: Re: [PATCH v5 03/16] media: v4l2-common: Add RAW16 format info
Date: Wed, 29 May 2024 21:20:19 +0300 [thread overview]
Message-ID: <20240529182019.GC10586@pendragon.ideasonboard.com> (raw)
In-Reply-To: <20240529152858.183799-4-dan.scally@ideasonboard.com>
Hi Dan,
Thank you for the patch.
On Wed, May 29, 2024 at 04:28:45PM +0100, Daniel Scally wrote:
> Add entries to v4l2_format_info describing the 16-bit bayer
> formats so that they can be used in drivers.
>
> Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
> ---
> Changes in v5:
>
> - New patch
>
> drivers/media/v4l2-core/v4l2-common.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/media/v4l2-core/v4l2-common.c b/drivers/media/v4l2-core/v4l2-common.c
> index 4165c815faef..c5d5704af5ee 100644
> --- a/drivers/media/v4l2-core/v4l2-common.c
> +++ b/drivers/media/v4l2-core/v4l2-common.c
> @@ -331,6 +331,10 @@ const struct v4l2_format_info *v4l2_format_info(u32 format)
> { .format = V4L2_PIX_FMT_SGBRG12, .pixel_enc = V4L2_PIXEL_ENC_BAYER, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
> { .format = V4L2_PIX_FMT_SGRBG12, .pixel_enc = V4L2_PIXEL_ENC_BAYER, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
> { .format = V4L2_PIX_FMT_SRGGB12, .pixel_enc = V4L2_PIXEL_ENC_BAYER, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
If you have energy, could you add a patch to also cover the 14-bit
formats ?
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> + { .format = V4L2_PIX_FMT_SBGGR16, .pixel_enc = V4L2_PIXEL_ENC_BAYER, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
> + { .format = V4L2_PIX_FMT_SGBRG16, .pixel_enc = V4L2_PIXEL_ENC_BAYER, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
> + { .format = V4L2_PIX_FMT_SGRBG16, .pixel_enc = V4L2_PIXEL_ENC_BAYER, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
> + { .format = V4L2_PIX_FMT_SRGGB16, .pixel_enc = V4L2_PIXEL_ENC_BAYER, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
> };
> unsigned int i;
>
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2024-05-29 18:20 UTC|newest]
Thread overview: 115+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-29 15:28 [PATCH v5 00/16] Add Arm Mali-C55 Image Signal Processor Driver Daniel Scally
2024-05-29 15:28 ` Daniel Scally
2024-05-29 15:28 ` [PATCH v5 01/16] media: uapi: Add MEDIA_BUS_FMT_RGB202020_1X60 format code Daniel Scally
2024-05-29 15:28 ` Daniel Scally
2024-05-29 18:14 ` Laurent Pinchart
2024-05-29 18:14 ` Laurent Pinchart
2024-05-29 15:28 ` [PATCH v5 02/16] media: uapi: Add 20-bit bayer formats Daniel Scally
2024-05-29 15:28 ` Daniel Scally
2024-05-29 18:18 ` Laurent Pinchart
2024-05-29 18:18 ` Laurent Pinchart
2024-05-29 15:28 ` [PATCH v5 03/16] media: v4l2-common: Add RAW16 format info Daniel Scally
2024-05-29 15:28 ` Daniel Scally
2024-05-29 18:20 ` Laurent Pinchart [this message]
2024-05-29 18:20 ` Laurent Pinchart
2024-05-29 15:28 ` [PATCH v5 04/16] dt-bindings: media: Add bindings for ARM mali-c55 Daniel Scally
2024-05-29 15:28 ` Daniel Scally
2024-05-29 18:21 ` Laurent Pinchart
2024-05-29 18:21 ` Laurent Pinchart
2024-05-29 15:28 ` [PATCH v5 05/16] media: mali-c55: Add Mali-C55 ISP driver Daniel Scally
2024-05-30 0:15 ` Laurent Pinchart
2024-05-30 21:43 ` Laurent Pinchart
2024-06-06 12:47 ` Jacopo Mondi
2024-06-06 12:47 ` Jacopo Mondi
2024-06-06 17:53 ` Laurent Pinchart
2024-06-06 17:53 ` Laurent Pinchart
2024-06-06 19:10 ` Tomi Valkeinen
2024-06-06 19:10 ` Tomi Valkeinen
2024-06-09 6:21 ` Sakari Ailus
2024-06-09 6:21 ` Sakari Ailus
2024-06-16 20:38 ` Laurent Pinchart
2024-06-17 6:53 ` Sakari Ailus
2024-06-17 22:49 ` Laurent Pinchart
2024-06-20 14:33 ` Dan Scally
2024-06-20 14:49 ` Dan Scally
2024-06-20 15:23 ` Laurent Pinchart
2024-06-21 9:28 ` Dan Scally
2024-06-29 15:24 ` Laurent Pinchart
2024-06-21 10:42 ` Dan Scally
2024-06-29 15:21 ` Laurent Pinchart
2024-06-14 10:13 ` Dan Scally
2024-06-16 19:39 ` Laurent Pinchart
2024-06-17 6:31 ` Dan Scally
2024-06-17 11:41 ` Dan Scally
2024-06-17 23:04 ` Laurent Pinchart
2024-06-19 15:43 ` Dan Scally
2024-06-29 15:13 ` Laurent Pinchart
2024-05-29 15:28 ` [PATCH v5 06/16] media: Documentation: Add Mali-C55 ISP Documentation Daniel Scally
2024-05-29 15:28 ` Daniel Scally
2024-05-29 20:22 ` Laurent Pinchart
2024-05-29 20:22 ` Laurent Pinchart
2024-05-29 20:35 ` Dan Scally
2024-05-29 20:35 ` Dan Scally
2024-05-29 20:51 ` Laurent Pinchart
2024-05-29 20:51 ` Laurent Pinchart
2024-05-29 21:11 ` Dan Scally
2024-05-29 21:11 ` Dan Scally
2024-05-29 21:31 ` Dan Scally
2024-05-29 21:31 ` Dan Scally
2024-05-29 15:28 ` [PATCH v5 07/16] MAINTAINERS: Add entry for mali-c55 driver Daniel Scally
2024-05-29 15:28 ` Daniel Scally
2024-05-29 18:25 ` Laurent Pinchart
2024-05-29 18:25 ` Laurent Pinchart
2024-05-29 15:28 ` [PATCH v5 08/16] media: Add MALI_C55_3A_STATS meta format Daniel Scally
2024-05-29 15:28 ` Daniel Scally
2024-05-30 21:49 ` Laurent Pinchart
2024-05-30 21:49 ` Laurent Pinchart
2024-05-29 15:28 ` [PATCH v5 09/16] media: uapi: Add 3a stats buffer for mali-c55 Daniel Scally
2024-05-29 15:28 ` Daniel Scally
2024-05-30 22:24 ` Laurent Pinchart
2024-05-30 22:24 ` Laurent Pinchart
2024-05-29 15:28 ` [PATCH v5 10/16] media: platform: Add mali-c55 3a stats devnode Daniel Scally
2024-05-29 15:28 ` Daniel Scally
2024-06-16 21:19 ` Laurent Pinchart
2024-06-20 15:10 ` Dan Scally
2024-06-29 15:04 ` Laurent Pinchart
2024-07-01 15:12 ` Dan Scally
2024-07-02 7:00 ` Dan Scally
2024-07-21 23:27 ` Laurent Pinchart
2024-05-29 15:28 ` [PATCH v5 11/16] media: platform: Fill stats buffer on ISP_START Daniel Scally
2024-05-29 15:28 ` Daniel Scally
2024-05-29 15:28 ` [PATCH v5 12/16] Documentation: mali-c55: Add Statistics documentation Daniel Scally
2024-05-29 15:28 ` Daniel Scally
2024-05-30 22:43 ` Laurent Pinchart
2024-05-30 22:43 ` Laurent Pinchart
2024-05-29 15:28 ` [PATCH v5 13/16] media: mali-c55: Add image formats for Mali-C55 parameters buffer Daniel Scally
2024-05-29 15:28 ` Daniel Scally
2024-05-30 22:44 ` Laurent Pinchart
2024-05-30 22:44 ` Laurent Pinchart
2024-05-29 15:28 ` [PATCH v5 14/16] media: uapi: Add parameters structs to mali-c55-config.h Daniel Scally
2024-05-29 15:28 ` Daniel Scally
2024-05-30 7:08 ` kernel test robot
2024-05-30 7:08 ` kernel test robot
2024-05-31 0:09 ` Laurent Pinchart
2024-05-31 0:09 ` Laurent Pinchart
2024-05-31 7:30 ` Dan Scally
2024-05-31 7:30 ` Dan Scally
2024-06-02 0:24 ` Laurent Pinchart
2024-06-02 0:24 ` Laurent Pinchart
2024-05-29 15:28 ` [PATCH v5 15/16] media: platform: Add mali-c55 parameters video node Daniel Scally
2024-05-29 15:28 ` Daniel Scally
2024-05-30 7:18 ` kernel test robot
2024-05-30 7:18 ` kernel test robot
2024-05-30 12:54 ` kernel test robot
2024-05-30 12:54 ` kernel test robot
2024-06-14 18:53 ` Sakari Ailus
2024-06-14 20:15 ` Dan Scally
2024-06-14 21:11 ` Sakari Ailus
2024-06-14 21:49 ` Dan Scally
2024-06-16 21:32 ` Laurent Pinchart
2024-05-29 15:28 ` [PATCH v5 16/16] Documentation: mali-c55: Document the mali-c55 parameter setting Daniel Scally
2024-05-29 15:28 ` Daniel Scally
2024-05-30 22:54 ` Laurent Pinchart
2024-05-30 22:54 ` Laurent Pinchart
2024-05-29 23:27 ` [PATCH v5 00/16] Add Arm Mali-C55 Image Signal Processor Driver Laurent Pinchart
2024-05-29 23:27 ` Laurent Pinchart
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=20240529182019.GC10586@pendragon.ideasonboard.com \
--to=laurent.pinchart@ideasonboard.com \
--cc=conor+dt@kernel.org \
--cc=dan.scally@ideasonboard.com \
--cc=devicetree@vger.kernel.org \
--cc=jacopo.mondi@ideasonboard.com \
--cc=jerome.forissier@linaro.org \
--cc=kieran.bingham@ideasonboard.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=nayden.kanchev@arm.com \
--cc=robh+dt@kernel.org \
--cc=sakari.ailus@iki.fi \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.