summaryrefslogtreecommitdiff
path: root/include/linux/usb/uvc.h
diff options
context:
space:
mode:
authorDavid Given <dg@cowlark.com>2024-09-18 20:05:39 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-10-08 16:04:44 +0200
commita7e742e416bc331c0f409d6a3630471896e696d3 (patch)
tree9bf65d7041c271d4d8bd6bb7af90005606826423 /include/linux/usb/uvc.h
parentc6104297c965a5ee9d4b9d0d5d9cdd224d8fd59e (diff)
media: uvcvideo: Add support for the D3DFMT_R5G6B5 pixmap type
This media format is used by the NXP Semiconductors 1fc9:009b chipset, used by the Kaiweets KTI-W02 infrared camera. Signed-off-by: David Given <dg@cowlark.com> Reviewed-by: Ricardo Ribalda <ribalda@chromium.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Link: https://lore.kernel.org/r/20240918180540.10830-1-dg@cowlark.com Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'include/linux/usb/uvc.h')
-rw-r--r--include/linux/usb/uvc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/usb/uvc.h b/include/linux/usb/uvc.h
index 1c16be20c966..bce95153e5a6 100644
--- a/include/linux/usb/uvc.h
+++ b/include/linux/usb/uvc.h
@@ -143,6 +143,9 @@
#define UVC_GUID_FORMAT_D3DFMT_L8 \
{0x32, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, \
0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}
+#define UVC_GUID_FORMAT_D3DFMT_R5G6B5 \
+ {0x7b, 0xeb, 0x36, 0xe4, 0x4f, 0x52, 0xce, 0x11, \
+ 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70}
#define UVC_GUID_FORMAT_KSMEDIA_L8_IR \
{0x32, 0x00, 0x00, 0x00, 0x02, 0x00, 0x10, 0x00, \
0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}