deinterlace: add condition for switch to EI in de_post_process [1/1]

PD#SWPL-12002

Problem:
pause and plug out/in hdmi tx, display abnormal

Solution:
add condition for switch to EI in de_post_process
ref to IPTV's project

Verify:
G12A

Change-Id: I6230464c308660c62199aa24ad5843e7c7bd070d
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
This commit is contained in:
Jihong Sui
2019-09-04 12:16:31 +08:00
committed by Luke Go
parent 15c7bea6f2
commit 009a42ad94

View File

@@ -5410,7 +5410,9 @@ de_post_process(void *arg, unsigned int zoom_start_x_lines,
}
di_post_stru.update_post_reg_flag = 1;
/* if height decrease, mtn will not enough */
if (di_buf->pd_config.global_mode != PULL_DOWN_BUF1 &&
if ((di_buf->pd_config.global_mode
!= PULL_DOWN_BUF1) &&
!di_buf->di_buf_dup_p[2] &&
!post_wr_en)
di_buf->pd_config.global_mode = PULL_DOWN_EI;
}