summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Fekete <robert.fekete@stericsson.com>2011-03-16 13:50:48 +0100
committerUlf Hansson <ulf.hansson@stericsson.com>2011-09-19 15:14:58 +0200
commit9e4a49d7060497f74c79a713b656b483e9699220 (patch)
treeb1ac55111cec2b46a8af70e3e8351393097f250f
parent39df61cebd74536b1e4a4550abc8068b03443bcc (diff)
B2R2: Remove bluish tone when using yuv422i
Correction of format checked for in bool is_yvu_fmt. ST-Ericsson ID: ER 328908 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10068 Change-Id: I0df2df5ae2226b4828271b9e543c5fd70338a2ca Signed-off-by: Robert Fekete <robert.fekete@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18474 Reviewed-by: Maciej SOCHA <maciej.socha@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
-rw-r--r--drivers/video/b2r2/b2r2_node_split.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/b2r2/b2r2_node_split.c b/drivers/video/b2r2/b2r2_node_split.c
index 1ffc3d688ef..9d9c6eb0848 100644
--- a/drivers/video/b2r2/b2r2_node_split.c
+++ b/drivers/video/b2r2/b2r2_node_split.c
@@ -2769,7 +2769,7 @@ static bool is_yuv_fmt(enum b2r2_blt_fmt fmt)
static bool is_yvu_fmt(enum b2r2_blt_fmt fmt)
{
switch (fmt) {
- case B2R2_BLT_FMT_CB_Y_CR_Y:
+ case B2R2_BLT_FMT_Y_CB_Y_CR:
return true;
default:
return false;