aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2021-05-27 08:36:13 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2021-05-27 08:36:13 +0200
commit172709e735382a59c1a9006278e8ed8d33616392 (patch)
tree52a08f1cde3cda5b532cd5a5b9d0b5377678f470
parentb1c246ccbc5fa662bc93d491f2b0c06ba86067b4 (diff)
v4l2-ctl: add new control types
Correctly detect and log hdr10, mpeg2 and vp8 control types. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r--utils/v4l2-ctl/v4l2-ctl-common.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/utils/v4l2-ctl/v4l2-ctl-common.cpp b/utils/v4l2-ctl/v4l2-ctl-common.cpp
index 17ad488d..51919fa7 100644
--- a/utils/v4l2-ctl/v4l2-ctl-common.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl-common.cpp
@@ -599,6 +599,12 @@ static void print_qctrl(int fd, const v4l2_query_ext_ctrl &qc,
case V4L2_CTRL_TYPE_AREA:
printf("%31s %#8.8x (area) :", s.c_str(), qc.id);
break;
+ case V4L2_CTRL_TYPE_HDR10_CLL_INFO:
+ printf("%31s %#8.8x (hdr10-cll-info):", s.c_str(), qc.id);
+ break;
+ case V4L2_CTRL_TYPE_HDR10_MASTERING_DISPLAY:
+ printf("%31s %#8.8x (hdr10-mastering-display):", s.c_str(), qc.id);
+ break;
case V4L2_CTRL_TYPE_H264_SPS:
printf("%31s %#8.8x (h264-sps):", s.c_str(), qc.id);
break;
@@ -617,6 +623,18 @@ static void print_qctrl(int fd, const v4l2_query_ext_ctrl &qc,
case V4L2_CTRL_TYPE_H264_PRED_WEIGHTS:
printf("%31s %#8.8x (h264-pred-weights):", s.c_str(), qc.id);
break;
+ case V4L2_CTRL_TYPE_VP8_FRAME:
+ printf("%31s %#8.8x (vp8-frame):", s.c_str(), qc.id);
+ break;
+ case V4L2_CTRL_TYPE_MPEG2_QUANTISATION:
+ printf("%31s %#8.8x (mpeg2-quantisation):", s.c_str(), qc.id);
+ break;
+ case V4L2_CTRL_TYPE_MPEG2_SEQUENCE:
+ printf("%31s %#8.8x (mpeg2-sequence):", s.c_str(), qc.id);
+ break;
+ case V4L2_CTRL_TYPE_MPEG2_PICTURE:
+ printf("%31s %#8.8x (mpeg2-picture):", s.c_str(), qc.id);
+ break;
case V4L2_CTRL_TYPE_FWHT_PARAMS:
printf("%31s %#8.8x (fwht-params):", s.c_str(), qc.id);
break;

Privacy Policy