mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
osd: fix osd get windows axis error [1/1]
PD#IPTV-31 Problem: get sys class windows axis error Solution: fix osd get windows axis error Verify: u211 Change-Id: I5df5880bc43cb663255ecbf72d2b93b9c099b811 Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
This commit is contained in:
committed by
Jianxin Pan
parent
37c199da52
commit
fd943af50c
@@ -2531,11 +2531,11 @@ void osd_get_window_axis_hw(u32 index, s32 *x0, s32 *y0, s32 *x1, s32 *y1)
|
||||
*x0 = osd_hw.free_dst_data_backup[index].x_start;
|
||||
*x1 = osd_hw.free_dst_data_backup[index].x_end;
|
||||
} else {
|
||||
*y0 = osd_hw.dst_data[index].x;
|
||||
*y1 = osd_hw.dst_data[index].y;
|
||||
*x0 = osd_hw.dst_data[index].x +
|
||||
*x0 = osd_hw.dst_data[index].x;
|
||||
*y0 = osd_hw.dst_data[index].y;
|
||||
*x1 = osd_hw.dst_data[index].x +
|
||||
osd_hw.dst_data[index].w - 1;
|
||||
*x1 = osd_hw.dst_data[index].y +
|
||||
*y1 = osd_hw.dst_data[index].y +
|
||||
osd_hw.dst_data[index].h - 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user