mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 00:24:12 +08:00
media: uvcvideo: Add mapping for HEVC payloads
Add HEVC GUID and assotiate with HEVC pixel format so that frame based format descriptors recognized by the UVC video driver. Signed-off-by: Dmitry Buzdyk <dima.buzdyk@gmail.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
fc8678783c
commit
40b222b56e
@ -214,6 +214,11 @@ static struct uvc_format_desc uvc_fmts[] = {
|
||||
.guid = UVC_GUID_FORMAT_CNF4,
|
||||
.fcc = V4L2_PIX_FMT_CNF4,
|
||||
},
|
||||
{
|
||||
.name = "HEVC",
|
||||
.guid = UVC_GUID_FORMAT_HEVC,
|
||||
.fcc = V4L2_PIX_FMT_HEVC,
|
||||
},
|
||||
};
|
||||
|
||||
/* ------------------------------------------------------------------------
|
||||
|
@ -165,6 +165,10 @@
|
||||
{0x32, 0x00, 0x00, 0x00, 0x02, 0x00, 0x10, 0x00, \
|
||||
0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}
|
||||
|
||||
#define UVC_GUID_FORMAT_HEVC \
|
||||
{ 'H', 'E', 'V', 'C', 0x00, 0x00, 0x10, 0x00, \
|
||||
0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}
|
||||
|
||||
|
||||
/* ------------------------------------------------------------------------
|
||||
* Driver specific constants.
|
||||
|
Loading…
Reference in New Issue
Block a user