mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
img rotate further optimiziation
This commit is contained in:
parent
1ae214a2de
commit
a1d84e5792
@ -416,6 +416,7 @@ bool lv_img_get_px_rotated(lv_img_rotate_dsc_t * dsc, lv_coord_t x, lv_coord_t y
|
||||
} else {
|
||||
xn = xs_int;
|
||||
xr = 0xFF;
|
||||
c_dest_xn.full = c_dest_int.full;
|
||||
}
|
||||
|
||||
int yn; /*y neightboor*/
|
||||
@ -434,6 +435,7 @@ bool lv_img_get_px_rotated(lv_img_rotate_dsc_t * dsc, lv_coord_t x, lv_coord_t y
|
||||
} else {
|
||||
yn = ys_int;
|
||||
yr = 0xFF;
|
||||
c_dest_yn.full = c_dest_int.full;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user