History

media: v4l: Add new Colorimetry Class

Add Colorimetry control class for colorimetry controls

Stanimir Varbanov committed 5 years ago

Commit f31b9ff1 parent 4ef60392 files · +10 −1Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/linux/v4l2-controls.h+4−0
@@ -66,6 +66,7 @@ · 65 unmodified lines
6666 #define V4L2_CTRL_CLASS_RF_TUNER 0x00a20000 /* RF tuner controls */
6767 #define V4L2_CTRL_CLASS_DETECT 0x00a30000 /* Detection controls */
6868 #define V4L2_CTRL_CLASS_CODEC_STATELESS 0x00a40000 /* Stateless codecs controls */
69+#define V4L2_CTRL_CLASS_COLORIMETRY 0x00a50000 /* Colorimetry controls */
6970
7071 /* User-class control IDs */
7172
@@ -1861,6 +1862,9 @@ struct v4l2_ctrl_vp8_frame { · 1789 unmodified lines
18611862 __u64 flags;
18621863 };
18631864
1865+#define V4L2_CID_COLORIMETRY_CLASS_BASE (V4L2_CTRL_CLASS_COLORIMETRY | 0x900)
1866+#define V4L2_CID_COLORIMETRY_CLASS (V4L2_CTRL_CLASS_COLORIMETRY | 1)
1867+
18641868 /* MPEG-compression definitions kept for backwards compatibility */
18651869 #ifndef __KERNEL__
18661870 #define V4L2_CTRL_CLASS_MPEG V4L2_CTRL_CLASS_CODEC