Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0717dcb8 authored by Sushil Chauhan's avatar Sushil Chauhan
Browse files

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: default avatarSushil Chauhan <sushilchauhan@codeaurora.org>
parent d3bd0080
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1331,7 +1331,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,
+3 −0
Original line number Diff line number Diff line
@@ -202,6 +202,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.