Home
last modified time | relevance | path

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

/lvgl-latest/src/draw/sw/
Dlv_draw_sw_transform.c47 static void transform_point_upscaled(point_transform_dsc_t * t, int32_t xin, int32_t yin, int32_t *…
467 static void transform_point_upscaled(point_transform_dsc_t * t, int32_t xin, int32_t yin, int32_t *… in transform_point_upscaled() argument
471 *xout = xin * 256; in transform_point_upscaled()
476 xin -= t->pivot.x; in transform_point_upscaled()
480 *xout = ((int32_t)(xin * t->zoom)) + (t->pivot_x_256); in transform_point_upscaled()
484 *xout = ((t->cosma * xin - t->sinma * yin) >> 2) + (t->pivot_x_256); in transform_point_upscaled()
485 *yout = ((t->sinma * xin + t->cosma * yin) >> 2) + (t->pivot_y_256); in transform_point_upscaled()
488 *xout = (((t->cosma * xin - t->sinma * yin) * t->zoom) >> 10) + (t->pivot_x_256); in transform_point_upscaled()
489 *yout = (((t->sinma * xin + t->cosma * yin) * t->zoom) >> 10) + (t->pivot_y_256); in transform_point_upscaled()