Home
last modified time | relevance | path

Searched refs:xs_int (Results 1 – 2 of 2) sorted by relevance

/lvgl-3.4.0/src/draw/
Dlv_img_buf.c598 int32_t xs_int = xs >> 8; in _lv_img_buf_transform() local
601 if(xs_int >= dsc->cfg.src_w) return false; in _lv_img_buf_transform()
602 else if(xs_int < 0) return false; in _lv_img_buf_transform()
613 pxi = dsc->cfg.src_w * ys_int * px_size + xs_int * px_size; in _lv_img_buf_transform()
618 pxi = dsc->cfg.src_w * ys_int * px_size + xs_int * px_size; in _lv_img_buf_transform()
626 dsc->res.color = lv_img_buf_get_px_color(&dsc->tmp.img_dsc, xs_int, ys_int, dsc->cfg.color); in _lv_img_buf_transform()
627 dsc->res.opa = lv_img_buf_get_px_alpha(&dsc->tmp.img_dsc, xs_int, ys_int); in _lv_img_buf_transform()
639 dsc->tmp.xs_int = xs_int; in _lv_img_buf_transform()
666 if(dsc->tmp.xs_int + xn < 0) xn = 0; in _lv_img_buf_transform_anti_alias()
671 if(dsc->tmp.xs_int + xn >= dsc->cfg.src_w) xn = 0; in _lv_img_buf_transform_anti_alias()
[all …]
Dlv_img_buf.h176 lv_coord_t xs_int; member