summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPetar Sivenov <psiven@codeaurora.org>2017-04-24 13:14:00 +0300
committerGerrit - the friendly Code Review server <code-review@localhost>2017-04-27 00:08:27 -0700
commitcb9a11cd759f1d3348b0f3deb296eb415619d06f (patch)
tree868662a8ca8fdadd19451f1cd4445340f4460df4 /include
parentb1980b6bfedd0ac23e3b0320a8ed9bf7959e88bb (diff)
msm: camera: ispif: extend interface with line width
During ISPIF 3D merge configuration, line width is needed in order to properly determine stereo merge 3D threshold register value. This change adds line width to ISPIF extended configuration struct. Change-Id: Iaa8ca00b4a69559d42b58a42cb61a0aa8f7a355b Signed-off-by: Petar Sivenov <psiven@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/media/msmb_ispif.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/media/msmb_ispif.h b/include/uapi/media/msmb_ispif.h
index c3a6e006b2ff..d532037427cc 100644
--- a/include/uapi/media/msmb_ispif.h
+++ b/include/uapi/media/msmb_ispif.h
@@ -112,6 +112,7 @@ struct msm_ispif_param_data_ext {
struct msm_ispif_pack_cfg pack_cfg[CID_MAX];
struct msm_ispif_right_param_entry right_entries[MAX_PARAM_ENTRIES];
uint32_t stereo_enable;
+ uint16_t line_width[VFE_MAX];
};
struct msm_ispif_param_data {
@@ -143,6 +144,7 @@ enum ispif_cfg_type_t {
ISPIF_ENABLE_REG_DUMP,
ISPIF_SET_VFE_INFO,
ISPIF_CFG2,
+ ISPIF_CFG_STEREO,
};
struct ispif_cfg_data {
@@ -165,6 +167,8 @@ struct ispif_cfg_data_ext {
#define ISPIF_3D_SUPPORT 1
+#define ISPIF_LINE_WIDTH_SUPPORT 1
+
#define VIDIOC_MSM_ISPIF_CFG \
_IOWR('V', BASE_VIDIOC_PRIVATE, struct ispif_cfg_data)