summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Socha <maciej.socha@stericsson.com>2011-03-28 14:49:18 +0200
committerUlf Hansson <ulf.hansson@stericsson.com>2011-09-19 15:15:01 +0200
commitab7a3a2641be2fceb3c391bc95e08ba0f7a61232 (patch)
treef99b34ff5f3370cd49440541cf67a9ab26106607
parentab94be018d63542d1e98fbb5217b9155c2c2872e (diff)
video: B2R2: Remove bluish tone when using yuv422i
Correction of format checked for in bool is_yvu_fmt. This restores a previous correction (ER328908) that was accidentally removed. ST-Ericsson ID: ER 332631 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10068 Change-Id: Iaa34da64d8b01463912cf4a694ea1747c76e2f35 Signed-off-by: Maciej Socha <maciej.socha@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19289 Reviewed-by: Robert FEKETE <robert.fekete@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 6857e421c4a..c2b7e048dd5 100644
--- a/drivers/video/b2r2/b2r2_node_split.c
+++ b/drivers/video/b2r2/b2r2_node_split.c
@@ -2800,7 +2800,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:
case B2R2_BLT_FMT_YVU420_PACKED_PLANAR:
case B2R2_BLT_FMT_YVU422_PACKED_PLANAR:
case B2R2_BLT_FMT_YVU420_PACKED_SEMI_PLANAR: