mbox series

[0/2] media: v4l2: map UVC_CT_ROLL_ABSOLUTE_CONTROL

Message ID cover.1718216718.git.soyer@irl.hu (mailing list archive)
Headers show
Series media: v4l2: map UVC_CT_ROLL_ABSOLUTE_CONTROL | expand

Message

Gergo Koteles June 12, 2024, 6:31 p.m. UTC
Hi,

Some new UVC cameras can report whether they are mounted in 'portrait 
mode'.

In order to userspace getting to know this, this series maps 
UVC_CT_ROLL_ABSOLUTE_CONTROL to V4L2_CID_ROLL_ABSOLUTE.

Tested with Logitech StreamCam and OBSBOT Tiny 2.

Gergo Koteles (2):
  media: v4l2: ctrls: Add ROLL_ABSOLUTE control
  media: v4l2: map UVC_CT_ROLL_ABSOLUTE_CONTROL

 .../userspace-api/media/v4l/ext-ctrls-camera.rst         | 5 +++++
 drivers/media/usb/uvc/uvc_ctrl.c                         | 9 +++++++++
 drivers/media/v4l2-core/v4l2-ctrls-defs.c                | 1 +
 include/uapi/linux/v4l2-controls.h                       | 2 ++
 4 files changed, 17 insertions(+)