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
66#define V4L2_CTRL_CLASS_RF_TUNER 0x00a20000 /* RF tuner controls */66#define V4L2_CTRL_CLASS_RF_TUNER 0x00a20000 /* RF tuner controls */
67#define V4L2_CTRL_CLASS_DETECT 0x00a30000 /* Detection controls */67#define V4L2_CTRL_CLASS_DETECT 0x00a30000 /* Detection controls */
68#define V4L2_CTRL_CLASS_CODEC_STATELESS 0x00a40000 /* Stateless codecs controls */68#define V4L2_CTRL_CLASS_CODEC_STATELESS 0x00a40000 /* Stateless codecs controls */
69#define V4L2_CTRL_CLASS_COLORIMETRY 0x00a50000 /* Colorimetry controls */
69 70
70/* User-class control IDs */71/* User-class control IDs */
71 72
@@ -1861,6 +1862,9 @@ struct v4l2_ctrl_vp8_frame { · 1789 unmodified lines
1861 __u64 flags;1862 __u64 flags;
1862};1863};
1863 1864
1865#define V4L2_CID_COLORIMETRY_CLASS_BASE (V4L2_CTRL_CLASS_COLORIMETRY | 0x900)
1866#define V4L2_CID_COLORIMETRY_CLASS (V4L2_CTRL_CLASS_COLORIMETRY | 1)
1867
1864/* MPEG-compression definitions kept for backwards compatibility */1868/* MPEG-compression definitions kept for backwards compatibility */
1865#ifndef __KERNEL__1869#ifndef __KERNEL__
1866#define V4L2_CTRL_CLASS_MPEG V4L2_CTRL_CLASS_CODEC1870#define V4L2_CTRL_CLASS_MPEG V4L2_CTRL_CLASS_CODEC