diff options
author | Akshay Chandrashekhar Kalghatgi <akalghat@codeaurora.org> | 2017-06-12 21:34:16 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-06-19 11:36:42 -0700 |
commit | 395ead59b60b642ccabc7e3b4f89f0e2a93e36c6 (patch) | |
tree | e7ee1ca6efb4fa536608652e447bc60936f5922e /include | |
parent | d4041b86d5e341c82a4e5b0cd09f4edc7ecb068a (diff) |
msm: vidc: Addition of VIDIOC_QUERY_EXT_CTRL ioctl
Adding vidc support for VIDIOC_QUERY_EXT_CTRL ioctl. This ioctl will
return the details for the V4L2 control identified by the ID provided
by the user or the next supported control based upon the flags
provided by the user.
Change-Id: I68161ceb000a46a8e54333ab39c0229f8fbdbf72
Signed-off-by: Akshay Chandrashekhar Kalghatgi <akalghat@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/media/msm_vidc.h | 1 | ||||
-rw-r--r-- | include/uapi/linux/videodev2.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/media/msm_vidc.h b/include/media/msm_vidc.h index 8d13ca3cdd50..af5bce0054af 100644 --- a/include/media/msm_vidc.h +++ b/include/media/msm_vidc.h @@ -111,6 +111,7 @@ int msm_vidc_qbuf(void *instance, struct v4l2_buffer *b); int msm_vidc_dqbuf(void *instance, struct v4l2_buffer *b); int msm_vidc_streamon(void *instance, enum v4l2_buf_type i); int msm_vidc_query_ctrl(void *instance, struct v4l2_queryctrl *ctrl); +int msm_vidc_query_ext_ctrl(void *instance, struct v4l2_query_ext_ctrl *ctrl); int msm_vidc_streamoff(void *instance, enum v4l2_buf_type i); int msm_vidc_comm_cmd(void *instance, union msm_v4l2_cmd *cmd); int msm_vidc_poll(void *instance, struct file *filp, diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index bb2c4ebf9ff4..fa930a91b4aa 100644 --- a/include/uapi/linux/videodev2.h +++ b/include/uapi/linux/videodev2.h @@ -1674,6 +1674,7 @@ struct v4l2_querymenu { #define V4L2_CTRL_FLAG_VOLATILE 0x0080 #define V4L2_CTRL_FLAG_HAS_PAYLOAD 0x0100 #define V4L2_CTRL_FLAG_EXECUTE_ON_WRITE 0x0200 +#define V4L2_CTRL_FLAG_MODIFY_LAYOUT 0X0400 /* Query flags, to be ORed with the control ID */ #define V4L2_CTRL_FLAG_NEXT_CTRL 0x80000000 |