From a6973fc3c20fba9cc5578a2d976676903511f4f8 Mon Sep 17 00:00:00 2001 From: Yong Qin Date: Mon, 22 Apr 2019 20:18:23 +0800 Subject: [PATCH] di: small window bottom of the screen no video [1/1] PD#TV-4708 Problem: small window,v scaling mode, bottom of the screen is no video. Solution: vline is odd, mif out is not more enouth Verify: verify on TL1 Change-Id: I2ac35af3632e8b14df5c773b322d4b2d64b050ba Signed-off-by: Yong Qin --- drivers/amlogic/media/deinterlace/deinterlace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/amlogic/media/deinterlace/deinterlace.c b/drivers/amlogic/media/deinterlace/deinterlace.c index c532ec8..7374b00 100644 --- a/drivers/amlogic/media/deinterlace/deinterlace.c +++ b/drivers/amlogic/media/deinterlace/deinterlace.c @@ -129,7 +129,7 @@ static di_dev_t *de_devp; static dev_t di_devno; static struct class *di_clsp; -static const char version_s[] = "2019-0419a:vscale_skip v is odd"; +static const char version_s[] = "2019-0422b:vscale_skip v is odd"; static int bypass_state = 1; static int bypass_all; @@ -4811,7 +4811,7 @@ de_post_process(void *arg, unsigned int zoom_start_x_lines, /* make sure the height is even number */ if (di_height%2) { /*for skip mode,post only half line-1*/ - if (((di_height > 150) && (di_height < 500)) && + if (((di_height > 150) && (di_height < 1080)) && di_vscale_skip_count_real) di_height = di_height - 3; else -- 2.7.4