From: Kieran Bingham <kieran.bingham@ideasonboard.com>
To: James_Lin <Ping-lei.Lin@mediatek.com>, linux-kernel@vger.kernel.org
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
Hans Verkuil <hverkuil-cisco@xs4all.nl>,
Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>,
Arnd Bergmann <arnd@arndb.de>,
Ricardo Ribalda <ribalda@chromium.org>,
Ming Qian <ming.qian@nxp.com>,
Andrzej Pietrasiewicz <andrzej.p@collabora.com>,
Sakari Ailus <sakari.ailus@linux.intel.com>,
linux-media@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org, ping-lei.lin@mediatek.com,
lecopzer.chen@mediatek.com, max.yan@mediatek.com,
sherlock.chang@mediatek.com, tm.wu@mediatek.com,
James_Lin <Ping-lei.Lin@mediatek.com>
Subject: Re: [PATCH v2 1/2] media: usb: uvc: Add H265 pixel format
Date: Mon, 11 Apr 2022 09:11:25 +0100 [thread overview]
Message-ID: <164966468564.22830.10326597921182135832@Monstersaurus> (raw)
In-Reply-To: <20220411080120.26008-2-Ping-lei.Lin@mediatek.com>
Quoting James_Lin (2022-04-11 09:01:19)
> Add H265 pixel format.
> So driver can recognize external camera devices
> whom use h265 to describe High Efficiency Video Coding method.
>
> Signed-off-by: James_Lin <Ping-lei.Lin@mediatek.com>
> ---
> drivers/media/usb/uvc/uvc_driver.c | 5 +++++
> drivers/media/usb/uvc/uvcvideo.h | 3 +++
> 2 files changed, 8 insertions(+)
>
> diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/uvc_driver.c
> index dda0f0aa78b8..ebb807c33e57 100644
> --- a/drivers/media/usb/uvc/uvc_driver.c
> +++ b/drivers/media/usb/uvc/uvc_driver.c
> @@ -154,6 +154,11 @@ static struct uvc_format_desc uvc_fmts[] = {
> .guid = UVC_GUID_FORMAT_H264,
> .fcc = V4L2_PIX_FMT_H264,
> },
> + {
> + .name = "H.265",
> + .guid = UVC_GUID_FORMAT_H265,
> + .fcc = V4L2_PIX_FMT_H265,
This is not yet defined I believe, so this patch needs to be 2/2 in this
series - with your following patch first so that they can both compile
independently.
> + },
> {
> .name = "Greyscale 8 L/R (Y8I)",
> .guid = UVC_GUID_FORMAT_Y8I,
> diff --git a/drivers/media/usb/uvc/uvcvideo.h b/drivers/media/usb/uvc/uvcvideo.h
> index 143230b3275b..41f4d8c33f2a 100644
> --- a/drivers/media/usb/uvc/uvcvideo.h
> +++ b/drivers/media/usb/uvc/uvcvideo.h
> @@ -139,6 +139,9 @@
> #define UVC_GUID_FORMAT_H264 \
> { 'H', '2', '6', '4', 0x00, 0x00, 0x10, 0x00, \
> 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}
> +#define UVC_GUID_FORMAT_H265 \
> + { 'H', '2', '6', '5', 0x00, 0x00, 0x10, 0x00, \
> + 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}
> #define UVC_GUID_FORMAT_Y8I \
> { 'Y', '8', 'I', ' ', 0x00, 0x00, 0x10, 0x00, \
> 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}
> --
> 2.18.0
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-04-11 8:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-11 8:01 [PATCH v2 0/2] media: Add H265 pixel format James_Lin
2022-04-11 8:01 ` [PATCH v2 1/2] media: usb: uvc: " James_Lin
2022-04-11 8:11 ` Kieran Bingham [this message]
2022-04-11 8:01 ` [PATCH v2 2/2] media: v4l: " James_Lin
2022-04-11 8:12 ` Kieran Bingham
2022-04-11 13:50 ` Nicolas Dufresne
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=164966468564.22830.10326597921182135832@Monstersaurus \
--to=kieran.bingham@ideasonboard.com \
--cc=Ping-lei.Lin@mediatek.com \
--cc=andrzej.p@collabora.com \
--cc=arnd@arndb.de \
--cc=ezequiel@vanguardiasur.com.ar \
--cc=hverkuil-cisco@xs4all.nl \
--cc=laurent.pinchart@ideasonboard.com \
--cc=lecopzer.chen@mediatek.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=max.yan@mediatek.com \
--cc=mchehab@kernel.org \
--cc=ming.qian@nxp.com \
--cc=ribalda@chromium.org \
--cc=sakari.ailus@linux.intel.com \
--cc=sherlock.chang@mediatek.com \
--cc=tm.wu@mediatek.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