summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@quicinc.com>2018-01-24 09:12:44 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2018-01-24 09:12:44 -0800
commit9a9a759c8277687c5ba374a0affeb862fcad3317 (patch)
tree10a1acb5d57bdf4ab7650400f147ba181f99d0f3 /include/uapi
parentd7f27ed709026dca62dabbb78e5864c2fbce9f3c (diff)
parentea9d0315e31db813966d4e8fc06084147d907a1e (diff)
Merge "ais: support field info report to user space"
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/media/msm_ba.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/uapi/media/msm_ba.h b/include/uapi/media/msm_ba.h
index 587d14652f3f..933dd85bb48b 100644
--- a/include/uapi/media/msm_ba.h
+++ b/include/uapi/media/msm_ba.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2017, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -23,6 +23,12 @@ struct csi_ctrl_params {
uint32_t lane_count;
};
+/* Field info params */
+struct field_info_params {
+ bool even_field;
+ struct timeval field_ts;
+};
+
/* private ioctl structure */
struct msm_ba_v4l2_ioctl_t {
size_t len;
@@ -32,4 +38,8 @@ struct msm_ba_v4l2_ioctl_t {
/* ADV7481 private ioctls for CSI control params */
#define VIDIOC_G_CSI_PARAMS \
_IOWR('V', BASE_VIDIOC_PRIVATE, struct msm_ba_v4l2_ioctl_t)
+/* ADV7481 private ioctls for field info query */
+#define VIDIOC_G_FIELD_INFO \
+ _IOWR('V', BASE_VIDIOC_PRIVATE + 40, struct msm_ba_v4l2_ioctl_t)
+
#endif