History

media: v4l: uapi: Add user control base for CCS controls

Add a control base for CCS controls, and reserve 128 controls. Luckily these numbers are cheap.

Sakari Ailus committed 6 years ago

Commit cd9f1451 parent 54137481 file · +5 −0Browse files

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

Unified · Split

include/uapi/linux/v4l2-controls.h+5−0
@@ -204,6 +204,11 @@ enum v4l2_colorfx { · 203 unmodified lines
204 * We reserve 16 controls for this driver.204 * We reserve 16 controls for this driver.
205 */205 */
206#define V4L2_CID_USER_CODA_BASE (V4L2_CID_USER_BASE + 0x10e0)206#define V4L2_CID_USER_CODA_BASE (V4L2_CID_USER_BASE + 0x10e0)
207/*
208 * The base for MIPI CCS driver controls.
209 * We reserve 128 controls for this driver.
210 */
211#define V4L2_CID_USER_CCS_BASE (V4L2_CID_USER_BASE + 0x10f0)
207 212
208/* MPEG-class control IDs */213/* MPEG-class control IDs */
209/* The MPEG controls are applicable to all codec controls214/* The MPEG controls are applicable to all codec controls