mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
amvecm: overscan: fix video local play, screen mode set error [1/1]
PD#SWPL-206 Problem: overscan set error when local play Solution: overscan don't set at vpp Verify: verify on txlx Change-Id: Ifd4ad4f5fcdb9fbc7ad05a540d0ed11b24d4ca66 Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
This commit is contained in:
committed by
Jianxin Pan
parent
1536663ad1
commit
572b617418
@@ -1464,15 +1464,19 @@ void amvecm_fresh_overscan(struct vframe_s *vf)
|
||||
else
|
||||
cur_overscan_timing = TIMING_UHD;
|
||||
|
||||
|
||||
overscan_timing = cur_overscan_timing;
|
||||
overscan_screen_mode =
|
||||
overscan_table[overscan_timing].screen_mode;
|
||||
|
||||
vf->pic_mode.AFD_enable =
|
||||
overscan_table[overscan_timing].afd_enable;
|
||||
vf->pic_mode.screen_mode =
|
||||
overscan_table[overscan_timing].screen_mode;
|
||||
/*local play screen mode set by decoder*/
|
||||
if (overscan_table[0].source == SOURCE_MPEG)
|
||||
vf->pic_mode.screen_mode = 0xff;
|
||||
else
|
||||
vf->pic_mode.screen_mode =
|
||||
overscan_table[overscan_timing].screen_mode;
|
||||
|
||||
vf->pic_mode.hs = overscan_table[overscan_timing].hs;
|
||||
vf->pic_mode.he = overscan_table[overscan_timing].he;
|
||||
vf->pic_mode.vs = overscan_table[overscan_timing].vs;
|
||||
|
||||
@@ -2436,7 +2436,8 @@ vpp_set_filters(u32 process_3d_type, u32 wide_mode,
|
||||
|
||||
if ((vf->ratio_control & DISP_RATIO_ADAPTED_PICMODE)
|
||||
&& !disable_adapted) {
|
||||
wide_mode = vf->pic_mode.screen_mode;
|
||||
if (vf->pic_mode.screen_mode != 0xff)
|
||||
wide_mode = vf->pic_mode.screen_mode;
|
||||
if (vf->pic_mode.provider == PIC_MODE_PROVIDER_WSS) {
|
||||
/* from wss, need add global setting */
|
||||
video_source_crop_top += vf->pic_mode.vs;
|
||||
|
||||
Reference in New Issue
Block a user