]> git.baikalelectronics.ru Git - kernel.git/commit
media: uvcvideo: Add UVC_GUID_FORMAT_H265
authorJames_Lin <Ping-lei.Lin@mediatek.com>
Mon, 18 Apr 2022 09:06:52 +0000 (11:06 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 8 May 2022 05:10:51 +0000 (07:10 +0200)
commitbcf0dee408ac01d396b0b9a41e432aad60b5ebe6
treeb04249f74ebdba4877d56dfc79ba35ac85c70961
parent388f7b42e90a620f5d3fe96c3f4133b7d139b2a0
media: uvcvideo: Add UVC_GUID_FORMAT_H265

This patch aims to add UVC_GUID_FORMAT_H265
High Efficiency Video Coding (HEVC), also known as H.265 and MPEG-H Part 2.
They describe the same video encoding method.
So for handling their behavior is the same.
However, when external camera device describes this encoding method,
some use hevc, some use h265.
There is no uniform specification to describe this encoding method.
So if an external camera device use h265 to describe this encoding method,
driver will not recognize it.
Therefore, this patch is to enable driver to read HEVC/H265
and convert it to V4L2_PIX_FMT_HEVC.

Signed-off-by: James_Lin <Ping-lei.Lin@mediatek.com>
Reviewed-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/usb/uvc/uvc_driver.c
drivers/media/usb/uvc/uvcvideo.h