Lines Matching refs:y
51 lv_color_t lv_img_buf_get_px_color(lv_img_dsc_t * dsc, lv_coord_t x, lv_coord_t y, lv_color_t color) in lv_img_buf_get_px_color() argument
59 uint32_t px = dsc->header.w * y * px_size + x * px_size; in lv_img_buf_get_px_color()
73 uint32_t px = ((dsc->header.w + 7) >> 3) * y + x; in lv_img_buf_get_px_color()
84 uint32_t px = ((dsc->header.w + 3) >> 2) * y + x; in lv_img_buf_get_px_color()
95 uint32_t px = ((dsc->header.w + 1) >> 1) * y + x; in lv_img_buf_get_px_color()
100 uint32_t px = dsc->header.w * y + x; in lv_img_buf_get_px_color()
118 lv_opa_t lv_img_buf_get_px_alpha(lv_img_dsc_t * dsc, lv_coord_t x, lv_coord_t y) in lv_img_buf_get_px_alpha() argument
123 uint32_t px = dsc->header.w * y * LV_IMG_PX_SIZE_ALPHA_BYTE + x * LV_IMG_PX_SIZE_ALPHA_BYTE; in lv_img_buf_get_px_alpha()
133 uint32_t px = ((dsc->header.w + 7) >> 3) * y + x; in lv_img_buf_get_px_alpha()
146 uint32_t px = ((dsc->header.w + 3) >> 2) * y + x; in lv_img_buf_get_px_alpha()
161 uint32_t px = ((dsc->header.w + 1) >> 1) * y + x; in lv_img_buf_get_px_alpha()
166 uint32_t px = dsc->header.w * y + x; in lv_img_buf_get_px_alpha()
181 void lv_img_buf_set_px_alpha(lv_img_dsc_t * dsc, lv_coord_t x, lv_coord_t y, lv_opa_t opa) in lv_img_buf_set_px_alpha() argument
187 uint32_t px = dsc->header.w * y * px_size + x * px_size; in lv_img_buf_set_px_alpha()
198 uint32_t px = ((dsc->header.w + 7) >> 3) * y + x; in lv_img_buf_set_px_alpha()
210 uint32_t px = ((dsc->header.w + 3) >> 2) * y + x; in lv_img_buf_set_px_alpha()
222 uint32_t px = ((dsc->header.w + 1) >> 1) * y + x; in lv_img_buf_set_px_alpha()
227 uint32_t px = dsc->header.w * y + x; in lv_img_buf_set_px_alpha()
240 void lv_img_buf_set_px_color(lv_img_dsc_t * dsc, lv_coord_t x, lv_coord_t y, lv_color_t c) in lv_img_buf_set_px_color() argument
246 uint32_t px = dsc->header.w * y * px_size + x * px_size; in lv_img_buf_set_px_color()
251 uint32_t px = dsc->header.w * y * px_size + x * px_size; in lv_img_buf_set_px_color()
263 uint32_t px = ((dsc->header.w + 7) >> 3) * y + x; in lv_img_buf_set_px_color()
275 uint32_t px = ((dsc->header.w + 3) >> 2) * y + x; in lv_img_buf_set_px_color()
288 uint32_t px = ((dsc->header.w + 1) >> 1) * y + x; in lv_img_buf_set_px_color()
294 uint32_t px = dsc->header.w * y + x; in lv_img_buf_set_px_color()
487 res->y1 = (((int32_t)(-pivot->y) * zoom) >> 8) - 1; in _lv_img_buf_get_transformed_area()
489 res->y2 = (((int32_t)(h - pivot->y) * zoom) >> 8) + 2; in _lv_img_buf_get_transformed_area()
493 res->y1 += pivot->y; in _lv_img_buf_get_transformed_area()
495 res->y2 += pivot->y; in _lv_img_buf_get_transformed_area()
527 lt.y = ((sinma * xt + cosma * yt) >> _LV_TRANSFORM_TRIGO_SHIFT) + pivot->y; in _lv_img_buf_get_transformed_area()
532 rt.y = ((sinma * xt + cosma * yt) >> _LV_TRANSFORM_TRIGO_SHIFT) + pivot->y; in _lv_img_buf_get_transformed_area()
537 lb.y = ((sinma * xt + cosma * yt) >> _LV_TRANSFORM_TRIGO_SHIFT) + pivot->y; in _lv_img_buf_get_transformed_area()
542 rb.y = ((sinma * xt + cosma * yt) >> _LV_TRANSFORM_TRIGO_SHIFT) + pivot->y; in _lv_img_buf_get_transformed_area()
546 res->y1 = LV_MIN4(lb.y, lt.y, rb.y, rt.y); in _lv_img_buf_get_transformed_area()
547 res->y2 = LV_MAX4(lb.y, lt.y, rb.y, rt.y); in _lv_img_buf_get_transformed_area()
569 bool _lv_img_buf_transform(lv_img_transform_dsc_t * dsc, lv_coord_t x, lv_coord_t y) in _lv_img_buf_transform() argument
575 int32_t yt = y - dsc->cfg.pivot_y; in _lv_img_buf_transform()