Add Colorimetry control class for colorimetry controls
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -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_CODEC | 1870 | #define V4L2_CTRL_CLASS_MPEG V4L2_CTRL_CLASS_CODEC |