summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorUmesh Pandey <umeshp@codeaurora.org>2016-08-16 19:17:29 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-10-21 16:23:09 -0700
commit7300c28a5ce537300e5fa99f4f8a5500b14b7d8c (patch)
tree33df0aa749f2634d4039f4e41fabeba877bc1083 /include/uapi/linux
parent448d10ae994b80d541960c34e6d2d8b3d060ea5b (diff)
msm: vidc: Add Colorspace in sequence change event
For HDR playback, the userspace needs info on the colorspace info for DPB decision. Venus firmware sends a color space info to the driver with the port settings changed event, which is triggered as an insufficient event to userpace if colorspace changes. CRs-Fixed: 1081102 Change-Id: I9665dfc1c52d77dc8953042101d726e7f7ba1807 Signed-off-by: Umesh Pandey <umeshp@codeaurora.org>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/videodev2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index 4a3b35f10257..7be4c28cc1ca 100644
--- a/include/uapi/linux/videodev2.h
+++ b/include/uapi/linux/videodev2.h
@@ -2161,6 +2161,7 @@ struct v4l2_streamparm {
#define V4L2_EVENT_BITDEPTH_FLAG 0x1
#define V4L2_EVENT_PICSTRUCT_FLAG 0x2
+#define V4L2_EVENT_COLOUR_SPACE_FLAG 0x4
#define V4L2_EVENT_MSM_VIDC_START (V4L2_EVENT_PRIVATE_START + 0x00001000)
#define V4L2_EVENT_MSM_VIDC_FLUSH_DONE (V4L2_EVENT_MSM_VIDC_START + 1)