History

media: controls: Add the stateless codec control class

Add a new control class to hold the stateless codecs controls that are ready to be moved out of staging.

Ezequiel Garcia committed 5 years ago

Commit 008d2bd1 parent b32e4853 files · +16 −0Browse files

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

Unified · Split

include/uapi/linux/v4l2-controls.h+7−0
@@ -65,6 +65,7 @@ · 64 unmodified lines
6565 #define V4L2_CTRL_CLASS_FM_RX 0x00a10000 /* FM Receiver controls */
6666 #define V4L2_CTRL_CLASS_RF_TUNER 0x00a20000 /* RF tuner controls */
6767 #define V4L2_CTRL_CLASS_DETECT 0x00a30000 /* Detection controls */
68+#define V4L2_CTRL_CLASS_CODEC_STATELESS 0x00a40000 /* Stateless codecs controls */
6869
6970 /* User-class control IDs */
7071
@@ -1177,6 +1178,12 @@ enum v4l2_detect_md_mode { · 1106 unmodified lines
11771178 #define V4L2_CID_DETECT_MD_THRESHOLD_GRID (V4L2_CID_DETECT_CLASS_BASE + 3)
11781179 #define V4L2_CID_DETECT_MD_REGION_GRID (V4L2_CID_DETECT_CLASS_BASE + 4)
11791180
1181+
1182+/* Stateless CODECs controls */
1183+#define V4L2_CID_CODEC_STATELESS_BASE (V4L2_CTRL_CLASS_CODEC_STATELESS | 0x900)
1184+#define V4L2_CID_CODEC_STATELESS_CLASS (V4L2_CTRL_CLASS_CODEC_STATELESS | 1)
1185+
1186+
11801187 /* MPEG-compression definitions kept for backwards compatibility */
11811188 #ifndef __KERNEL__
11821189 #define V4L2_CTRL_CLASS_MPEG V4L2_CTRL_CLASS_CODEC