mbox series

[v3,0/4] Support V4L2_CTRL_TYPE_RECT and

Message ID 20241106061537.211002-1-ming.qian@oss.nxp.com (mailing list archive)
Headers show
Series Support V4L2_CTRL_TYPE_RECT and | expand

Message

Ming Qian(OSS) Nov. 6, 2024, 6:15 a.m. UTC
From: Ming Qian <ming.qian@oss.nxp.com>

Hi!

This patchset adds basic support for V4L2_CTRL_TYPE_RECT and
V4L2_CTRL_WHICH_MIN/MAX_VAL in v4l2-ctl and v4l2-compliance.

The corresponding linux kernel patchset can be found at
https://lore.kernel.org/lkml/20241106060752.205074-1-ming.qian@oss.nxp.com

changelog:
v3
- Improve the rect ctrl value notation as (x,y)/WxH

Ming Qian (2):
  v4l-utils: Define V4L2_CTRL_TYPE_RECT
  v4l-utils: Ignore comma in bracket when getting subopt

Yunke Cao (2):
  v4l2-ctl: Support V4L2_CTRL_TYPE_RECT
  v4l2-utils: Support V4L2_CTRL_WHICH_MIN/MAX_VAL

 include/linux/videodev2.h                    |  5 +++
 include/v4l-getsubopt.h                      | 35 +++++++++++++++++---
 meson.build                                  |  1 +
 utils/common/v4l2-info.cpp                   |  1 +
 utils/v4l2-compliance/v4l2-test-controls.cpp | 24 ++++++++++++++
 utils/v4l2-ctl/v4l2-ctl-common.cpp           | 13 ++++++++
 6 files changed, 75 insertions(+), 4 deletions(-)