di: small window bottom of the screen no video [1/1]
authorYong Qin <yong.qin@amlogic.com>
Mon, 22 Apr 2019 12:18:23 +0000 (20:18 +0800)
committerYong Qin <yong.qin@amlogic.com>
Wed, 24 Apr 2019 01:37:35 +0000 (09:37 +0800)
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 <yong.qin@amlogic.com>
drivers/amlogic/media/deinterlace/deinterlace.c

index c532ec8..7374b00 100644 (file)
@@ -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