Searched refs:cosma (Results 1 – 2 of 2) sorted by relevance
28 int32_t cosma; member102 tr_dsc.cosma = (c1 * (10 - angle_rem) + c2 * angle_rem) / 10; in lv_draw_sw_transform()104 tr_dsc.cosma = tr_dsc.cosma >> (LV_TRIGO_SHIFT - 10); in lv_draw_sw_transform()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()
549 static int32_t cosma; in lv_point_transform() local566 cosma = (c1 * (10 - angle_rem) + c2 * angle_rem) / 10; in lv_point_transform()568 cosma = cosma >> (LV_TRIGO_SHIFT - _LV_TRANSFORM_TRIGO_SHIFT); in lv_point_transform()574 p->x = ((cosma * x - sinma * y) >> _LV_TRANSFORM_TRIGO_SHIFT) + pivot->x; in lv_point_transform()575 p->y = ((sinma * x + cosma * y) >> _LV_TRANSFORM_TRIGO_SHIFT) + pivot->y; in lv_point_transform()578 p->x = (((cosma * x - sinma * y) * zoom) >> (_LV_TRANSFORM_TRIGO_SHIFT + 8)) + pivot->x; in lv_point_transform()579 p->y = (((sinma * x + cosma * y) * zoom) >> (_LV_TRANSFORM_TRIGO_SHIFT + 8)) + pivot->y; in lv_point_transform()