mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
vpp: disable sr scale up when vskip > 2 [1/1]
PD#TV-2331 Problem: SR insert unnecessary scale up to make scale down ratio too larger. Solution: disable SR core0 which is before pps when mif vskip is > 2 Verify: Locally on X301 Change-Id: I810fbae20f337e6eeb0a8e88d9758f78ad224254 Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
This commit is contained in:
@@ -1927,6 +1927,14 @@ static void vpp_set_super_scaler(
|
||||
next_frame_par->supsc0_hori_ratio = 0;
|
||||
next_frame_par->supsc0_vert_ratio = 0;
|
||||
}
|
||||
|
||||
/* much vskip case, no need super scale up */
|
||||
if (next_frame_par->vscale_skip_count >= 2) {
|
||||
next_frame_par->supsc0_enable = 0;
|
||||
next_frame_par->supsc0_hori_ratio = 0;
|
||||
next_frame_par->supsc0_vert_ratio = 0;
|
||||
}
|
||||
|
||||
if (bypass_sr1 || !(sr_support & SUPER_CORE1_SUPPORT)) {
|
||||
next_frame_par->supsc1_enable = 0;
|
||||
next_frame_par->supsc1_hori_ratio = 0;
|
||||
|
||||
Reference in New Issue
Block a user