vpp: video will balck when width scaler down to 1 pixel [1/1]

PD#SWPL-227069

Problem:
video will balck when width scaler down to 1 pixel

Solution:
setting 1 pixel can display

Verify:
t7c

Change-Id: Idfb75c1c96d8d69070b80d3bee6113199e11ada7
Signed-off-by: hai.cao <hai.cao@amlogic.com>
This commit is contained in:
hai.cao
2025-08-20 11:29:47 +08:00
committed by gerrit autosubmit
parent 42b738b5ec
commit 64dfcef174
+4 -4
View File
@@ -2639,7 +2639,7 @@ RESTART:
end = min(end, min((s32)(vinfo_height - 1),
(s32)(video_top + video_height - 1)));
if (start >= end) {
if (start > end) {
/* nothing to display */
next_frame_par->VPP_vsc_startp = 0;
next_frame_par->VPP_vsc_endp = 0;
@@ -2862,7 +2862,7 @@ RESTART:
min((s32)(vinfo_width - 1),
(s32)(video_left + video_width - 1)));
if (start >= end) {
if (start > end) {
/* nothing to display */
next_frame_par->VPP_hsc_startp = 0;
next_frame_par->VPP_hsc_endp = 0;
@@ -5592,7 +5592,7 @@ RESTART:
end = min(end, min((s32)(vinfo->height - 1),
(s32)(video_top + video_height - 1)));
if (start >= end) {
if (start > end) {
/* nothing to display */
next_frame_par->VPP_vsc_startp = 0;
next_frame_par->VPP_vsc_endp = 0;
@@ -5708,7 +5708,7 @@ RESTART:
min((s32)(vinfo->width - 1),
(s32)(video_left + video_width - 1)));
if (start >= end) {
if (start > end) {
/* nothing to display */
next_frame_par->VPP_hsc_startp = 0;
next_frame_par->VPP_hsc_endp = 0;