summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorSushil Chauhan <sushilchauhan@codeaurora.org>2015-06-03 18:23:51 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:42:39 -0700
commit92049f813954970b0af9a49a1de192b046378bfe (patch)
tree53bd0fec9c029ea9acdd455c21aee5cf8ae9b10e /include/uapi
parent2707818973b22d43c5ff5032f3cb8acac666a849 (diff)
uapi: msm: mdp: Add color space in mdp_input_layer
MDP needs color space value to configure CSC matrix correctly. So add color_space member in the mdp_input_layer structure. Change-Id: I47ca556f8cfa8ef6c95fb0d77ef1510e3830a286 Signed-off-by: Sushil Chauhan <sushilchauhan@codeaurora.org>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/msm_mdp.h2
-rw-r--r--include/uapi/linux/msm_mdp_ext.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/include/uapi/linux/msm_mdp.h b/include/uapi/linux/msm_mdp.h
index 955840898d01..70b770d61f5d 100644
--- a/include/uapi/linux/msm_mdp.h
+++ b/include/uapi/linux/msm_mdp.h
@@ -1336,7 +1336,7 @@ enum {
MDP_WRITEBACK_MIRROR_RESUME,
};
-enum {
+enum mdp_color_space {
MDP_CSC_ITU_R_601,
MDP_CSC_ITU_R_601_FR,
MDP_CSC_ITU_R_709,
diff --git a/include/uapi/linux/msm_mdp_ext.h b/include/uapi/linux/msm_mdp_ext.h
index 634eec6ed1c5..b1dbf24b0ccc 100644
--- a/include/uapi/linux/msm_mdp_ext.h
+++ b/include/uapi/linux/msm_mdp_ext.h
@@ -221,6 +221,9 @@ struct mdp_input_layer {
/* blend operation defined in "mdss_mdp_blend_op" enum. */
enum mdss_mdp_blend_op blend_op;
+ /* color space of the source */
+ enum mdp_color_space color_space;
+
/*
* Source crop rectangle, portion of image that will be fetched. This
* should always be within boundaries of source image.