public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] media: v4l2: map UVC_CT_ROLL_ABSOLUTE_CONTROL
@ 2024-06-12 18:31 Gergo Koteles
  2024-06-12 18:31 ` [PATCH 1/2] media: v4l2: ctrls: Add ROLL_ABSOLUTE control Gergo Koteles
  2024-06-12 18:31 ` [PATCH 2/2] media: v4l2: map UVC_CT_ROLL_ABSOLUTE_CONTROL Gergo Koteles
  0 siblings, 2 replies; 5+ messages in thread
From: Gergo Koteles @ 2024-06-12 18:31 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Laurent Pinchart
  Cc: linux-media, linux-kernel, Gergo Koteles

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(+)

-- 
2.45.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-06-14 16:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-12 18:31 [PATCH 0/2] media: v4l2: map UVC_CT_ROLL_ABSOLUTE_CONTROL Gergo Koteles
2024-06-12 18:31 ` [PATCH 1/2] media: v4l2: ctrls: Add ROLL_ABSOLUTE control Gergo Koteles
2024-06-12 18:31 ` [PATCH 2/2] media: v4l2: map UVC_CT_ROLL_ABSOLUTE_CONTROL Gergo Koteles
2024-06-12 20:31   ` Laurent Pinchart
2024-06-14 16:26     ` Gergo Koteles

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox