summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBenet Clark <benetc@codeaurora.org>2015-12-18 07:51:08 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-10-31 13:04:17 -0700
commitcfc8fc0fd5d53c189bc4030e99c149f56bee7d33 (patch)
tree9d262b98fc35c1b4306d5cc2bbf32badb283fe97 /include
parent015c20d6be498433ab180a8aed1eca3c53936c8b (diff)
msm: mdss: Add Rec2020 YUV conversion to CSC tables
Rec2020 CSC type will be set by hwcomposer when incoming YUV data is of the same type. CRs-Fixed: 1081779 Change-Id: I321bd79d04e135030764dcdf83a58fee3c4e72c8 Signed-off-by: Benet Clark <benetc@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/msm_mdp.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/uapi/linux/msm_mdp.h b/include/uapi/linux/msm_mdp.h
index 1df65c7f90b3..f0ac02e9c7a8 100644
--- a/include/uapi/linux/msm_mdp.h
+++ b/include/uapi/linux/msm_mdp.h
@@ -1406,12 +1406,21 @@ enum {
MDP_WRITEBACK_MIRROR_RESUME,
};
+/*
+ * The enum values are continued below as preprocessor macro definitions
+ */
enum mdp_color_space {
MDP_CSC_ITU_R_601,
MDP_CSC_ITU_R_601_FR,
MDP_CSC_ITU_R_709,
};
+/*
+ * These definitions are a continuation of the mdp_color_space enum above
+ */
+#define MDP_CSC_ITU_R_2020 (MDP_CSC_ITU_R_709 + 1)
+#define MDP_CSC_ITU_R_2020_FR (MDP_CSC_ITU_R_2020 + 1)
+
enum {
mdp_igc_v1_7 = 1,
mdp_igc_vmax,