linux/drivers/media/common
Oliver Collyer 2c8fe1f142 media: uvcvideo: Add support for P010 pixel format
Add support for the P010 (10-bit Y/UV 4:2:0) pixel format to the
uvcvideo driver. This format is exposed by USB capture devices such as
the Magewell USB Capture HDMI 4K Pro when capturing HDR10 content.

P010 stores 10-bit Y and interleaved UV samples in 16-bit little-endian
words, with data in the upper 10 bits and zeros in the lower 6 bits.
This requires 2 bytes per sample, so bytesperline is wWidth * 2.

V4L2_PIX_FMT_P010 was added to the V4L2 core in commit 5374d8fb75
("media: Add P010 video format").

Based on the community DKMS patch from awawa-dev/P010_for_V4L2.

Link: https://github.com/awawa-dev/P010_for_V4L2
Signed-off-by: Oliver Collyer <ovcollyer@mac.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patch.msgid.link/20251226065718.95504-1-ovcollyer@mac.com
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
2026-03-25 09:40:28 +01:00
..
b2c2 media: remove unnecessary module_init/exit functions 2026-03-11 01:05:37 +01:00
saa7146 media: remove unnecessary module_init/exit functions 2026-03-11 01:05:37 +01:00
siano media: rc: fix race between unregister and urb/irq callbacks 2026-03-17 14:43:56 +01:00
v4l2-tpg media: v4l2-tpg: use (t,l)/wxh format for rectangle 2025-03-05 10:43:27 +01:00
videobuf2 media: videobuf2: Set vma_flags in vb2_dma_sg_mmap 2026-03-16 11:51:55 +01:00
cx2341x.c media: update Hans Verkuil's email address 2025-09-09 15:59:02 +02:00
cypress_firmware.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
cypress_firmware.h
Kconfig media updates for v6.3-rc1 2023-02-26 11:47:26 -08:00
Makefile media updates for v6.3-rc1 2023-02-26 11:47:26 -08:00
ttpci-eeprom.c media: move ttpci-eeprom to common 2021-06-02 11:16:15 +02:00
ttpci-eeprom.h media: move ttpci-eeprom to common 2021-06-02 11:16:15 +02:00
tveeprom.c
uvc.c media: uvcvideo: Add support for P010 pixel format 2026-03-25 09:40:28 +01:00