From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Dmitry Perchanov <dmitry.perchanov@intel.com>
Cc: linux-media@vger.kernel.org, linux-usb@vger.kernel.org,
mchehab@kernel.org, sakari.ailus@iki.fi, demisrael@gmail.com,
gregkh@linuxfoundation.org
Subject: Re: [PATCH 2/2] uvc: Add luma 16-bit interlaced pixel format
Date: Mon, 26 Aug 2024 16:15:45 +0300 [thread overview]
Message-ID: <20240826131545.GB11033@pendragon.ideasonboard.com> (raw)
In-Reply-To: <a717a912035b0a0f82b2f35719cca0c5269e995f.camel@intel.com>
Hi Dmitry,
Thank you for the patch.
The subject should start with "media: uvcvideo:". I'll update this
locally.
On Mon, Aug 26, 2024 at 04:05:04PM +0300, Dmitry Perchanov wrote:
> The formats added by this patch are:
>
> UVC_GUID_FORMAT_Y16I
>
> Interlaced lumina format primary use in RealSense
> Depth cameras with stereo stream for left and right
> image sensors.
>
> Signed-off-by: Dmitry Perchanov <dmitry.perchanov@intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
> drivers/media/common/uvc.c | 4 ++++
> include/linux/usb/uvc.h | 3 +++
> 2 files changed, 7 insertions(+)
>
> diff --git a/drivers/media/common/uvc.c b/drivers/media/common/uvc.c
> index c54c2268fee6..027498d37464 100644
> --- a/drivers/media/common/uvc.c
> +++ b/drivers/media/common/uvc.c
> @@ -120,6 +120,10 @@ static const struct uvc_format_desc uvc_fmts[] = {
> .guid = UVC_GUID_FORMAT_Y12I,
> .fcc = V4L2_PIX_FMT_Y12I,
> },
> + {
> + .guid = UVC_GUID_FORMAT_Y16I,
> + .fcc = V4L2_PIX_FMT_Y16I,
> + },
> {
> .guid = UVC_GUID_FORMAT_Z16,
> .fcc = V4L2_PIX_FMT_Z16,
> diff --git a/include/linux/usb/uvc.h b/include/linux/usb/uvc.h
> index 88d96095bcb1..1c16be20c966 100644
> --- a/include/linux/usb/uvc.h
> +++ b/include/linux/usb/uvc.h
> @@ -118,6 +118,9 @@
> #define UVC_GUID_FORMAT_Y12I \
> { 'Y', '1', '2', 'I', 0x00, 0x00, 0x10, 0x00, \
> 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}
> +#define UVC_GUID_FORMAT_Y16I \
> + { 'Y', '1', '6', 'I', 0x00, 0x00, 0x10, 0x00, \
> + 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}
> #define UVC_GUID_FORMAT_Z16 \
> { 'Z', '1', '6', ' ', 0x00, 0x00, 0x10, 0x00, \
> 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}
--
Regards,
Laurent Pinchart
prev parent reply other threads:[~2024-08-26 13:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-26 12:58 [PATCH 0/2] Add luma 16-bit interlaced pixel format Dmitry Perchanov
2024-08-26 13:04 ` [PATCH 1/2] v4l: " Dmitry Perchanov
2024-08-26 13:14 ` Laurent Pinchart
2024-08-30 14:07 ` Nicolas Dufresne
2024-08-26 13:05 ` [PATCH 2/2] uvc: " Dmitry Perchanov
2024-08-26 13:15 ` Laurent Pinchart [this message]
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=20240826131545.GB11033@pendragon.ideasonboard.com \
--to=laurent.pinchart@ideasonboard.com \
--cc=demisrael@gmail.com \
--cc=dmitry.perchanov@intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mchehab@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox