Lines Matching refs:src_rect

187         e->src_rect.w = (clip.b - clip.t);  in set_rects()
188 e->src_rect.h = (clip.r - clip.l); in set_rects()
194 e->src_rect.w = (clip.r - clip.l); in set_rects()
195 e->src_rect.h = (clip.b - clip.t); in set_rects()
200 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects()
201 MULDIV(&delta_y, &e->src_rect.h, src->b - src->t, H); in set_rects()
203 e->src_rect.x = delta_x + src->l; in set_rects()
204 e->src_rect.y = delta_y + src->t; in set_rects()
208 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects()
210 e->src_rect.y = (src->t + src->b) - (e->src_rect.y + e->src_rect.h); in set_rects()
216 e->src_rect.y = (src->t + src->b) - (e->src_rect.y + e->src_rect.h); in set_rects()
218 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects()
267 l->req[i].src_rect.x, in msm_copybit()
268 l->req[i].src_rect.y, in msm_copybit()
269 l->req[i].src_rect.w, in msm_copybit()
270 l->req[i].src_rect.h, in msm_copybit()
441 struct copybit_rect_t const *src_rect, in stretch_copybit() argument
463 if (src_rect->l < 0 || (uint32_t)src_rect->r > src->w || in stretch_copybit()
464 src_rect->t < 0 || (uint32_t)src_rect->b > src->h) { in stretch_copybit()
467 __FUNCTION__, src_rect->l, src_rect->t, src_rect->r, src_rect->b); in stretch_copybit()
537 if (set_rects(ctx, req, dst_rect, src_rect, &clip) == false) in stretch_copybit()
540 if (req->src_rect.w<=0 || req->src_rect.h<=0) in stretch_copybit()
630 req->src_rect = req->dst_rect; in clear_copybit()
683 req->src_rect = req->dst_rect; in fill_color()