PD#SWPL-3478
Problem:
the border below has a abnormal line
Solution:
Set the preblend horz size correct
Verify:
verify on T962X2-X301
Change-Id: Ie7b20a6b030d40d3a0eb3458df07e7632491aa2c
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
((framePtr->VPP_hsc_endp & VPP_VD_SIZE_MASK)
<< VPP_VD1_END_BIT));
} else{
-
+ if (!legacy_vpp) {
+ x_lines = (zoom_end_x_lines -
+ zoom_start_x_lines + 1)
+ / (framePtr->hscale_skip_count + 1);
+ VSYNC_WR_MPEG_REG(
+ VPP_PREBLEND_VD1_H_START_END,
+ ((0 & VPP_VD_SIZE_MASK) <<
+ VPP_VD1_START_BIT) | (((x_lines - 1) &
+ VPP_VD_SIZE_MASK) << VPP_VD1_END_BIT));
+ }
VSYNC_WR_MPEG_REG(VPP_POSTBLEND_VD1_H_START_END +
cur_dev->vpp_off,
((framePtr->VPP_hsc_startp & VPP_VD_SIZE_MASK)