Lines Matching refs:t
47 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
470 if(t->angle == 0 && t->zoom == LV_IMG_ZOOM_NONE) { in transform_point_upscaled()
476 xin -= t->pivot.x; in transform_point_upscaled()
477 yin -= t->pivot.y; in transform_point_upscaled()
479 if(t->angle == 0) { in transform_point_upscaled()
480 *xout = ((int32_t)(xin * t->zoom)) + (t->pivot_x_256); in transform_point_upscaled()
481 *yout = ((int32_t)(yin * t->zoom)) + (t->pivot_y_256); in transform_point_upscaled()
483 else if(t->zoom == LV_IMG_ZOOM_NONE) { 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()