Searched refs:xt (Results 1 – 2 of 2) sorted by relevance
300 int32_t xt = x - dsc->cfg.pivot_x; in _lv_img_buf_transform() local307 …xs = ((dsc->tmp.cosma * xt - dsc->tmp.sinma * yt) >> (_LV_TRANSFORM_TRIGO_SHIFT - 8)) + dsc->tmp.p… in _lv_img_buf_transform()308 …ys = ((dsc->tmp.sinma * xt + dsc->tmp.cosma * yt) >> (_LV_TRANSFORM_TRIGO_SHIFT - 8)) + dsc->tmp.p… in _lv_img_buf_transform()311 xt = (int32_t)((int32_t)xt * dsc->tmp.zoom_inv) >> _LV_ZOOM_INV_UPSCALE; in _lv_img_buf_transform()313 xs = xt + dsc->tmp.pivot_x_256; in _lv_img_buf_transform()317 xt = (int32_t)((int32_t)xt * dsc->tmp.zoom_inv) >> _LV_ZOOM_INV_UPSCALE; in _lv_img_buf_transform()319 …xs = ((dsc->tmp.cosma * xt - dsc->tmp.sinma * yt) >> (_LV_TRANSFORM_TRIGO_SHIFT)) + dsc->tmp.pivot… in _lv_img_buf_transform()320 …ys = ((dsc->tmp.sinma * xt + dsc->tmp.cosma * yt) >> (_LV_TRANSFORM_TRIGO_SHIFT)) + dsc->tmp.pivot… in _lv_img_buf_transform()
524 lv_coord_t xt; in _lv_img_buf_get_transformed_area() local527 xt = res->x1; in _lv_img_buf_get_transformed_area()529 lt.x = ((cosma * xt - sinma * yt) >> _LV_TRANSFORM_TRIGO_SHIFT) + pivot->x; in _lv_img_buf_get_transformed_area()530 lt.y = ((sinma * xt + cosma * yt) >> _LV_TRANSFORM_TRIGO_SHIFT) + pivot->y; in _lv_img_buf_get_transformed_area()532 xt = res->x2; in _lv_img_buf_get_transformed_area()534 rt.x = ((cosma * xt - sinma * yt) >> _LV_TRANSFORM_TRIGO_SHIFT) + pivot->x; in _lv_img_buf_get_transformed_area()535 rt.y = ((sinma * xt + cosma * yt) >> _LV_TRANSFORM_TRIGO_SHIFT) + pivot->y; in _lv_img_buf_get_transformed_area()537 xt = res->x1; in _lv_img_buf_get_transformed_area()539 lb.x = ((cosma * xt - sinma * yt) >> _LV_TRANSFORM_TRIGO_SHIFT) + pivot->x; in _lv_img_buf_get_transformed_area()540 lb.y = ((sinma * xt + cosma * yt) >> _LV_TRANSFORM_TRIGO_SHIFT) + pivot->y; in _lv_img_buf_get_transformed_area()[all …]