mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
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:
committed by
gerrit autosubmit
parent
42b738b5ec
commit
64dfcef174
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user