From 6e55859a19e899e9792db59a4792c3fc4d7c728c Mon Sep 17 00:00:00 2001 From: Xihai Zhu Date: Thu, 27 Jun 2019 03:26:15 -0400 Subject: [PATCH] amvecm: fix factory mode test pattern abnormal LC effect [1/1] PD#TV-5977 Problem: customer platform, when LC is on, test pattern abnormal Solution: there is two frame delay for LC histogram, do not enable LC precess before it is ready Verify: TL1 Change-Id: I78febb9f978dba44faff74677d84075fdf1fd8c7 Signed-off-by: Xihai Zhu --- drivers/amlogic/media/enhancement/amvecm/local_contrast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/amlogic/media/enhancement/amvecm/local_contrast.c b/drivers/amlogic/media/enhancement/amvecm/local_contrast.c index c333cf9..61c2bf0 100644 --- a/drivers/amlogic/media/enhancement/amvecm/local_contrast.c +++ b/drivers/amlogic/media/enhancement/amvecm/local_contrast.c @@ -1477,7 +1477,7 @@ void lc_process(struct vframe_s *vf, return; } - if (lc_flag == 0) { + if (lc_flag <= 1) { lc_flag++; return; } -- 2.7.4