Lines Matching refs:w
148 img->width = rhs->w; in set_image()
167 e->dst_rect.w = clip.r - clip.l; in set_rects()
174 e->src_rect.w = (clip.b - clip.t); in set_rects()
181 e->src_rect.w = (clip.r - clip.l); in set_rects()
187 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects()
195 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects()
205 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects()
249 l->req[i].src_rect.w, in msm_copybit()
256 l->req[i].dst_rect.w, in msm_copybit()
408 if (src_rect->l < 0 || (uint32_t)src_rect->r > src->w || in stretch_copybit()
417 if (src->w > MAX_DIMENSION || src->h > MAX_DIMENSION) { in stretch_copybit()
418 ALOGE ("%s : Invalid source dimensions w %d h %d", __FUNCTION__, src->w, src->h); in stretch_copybit()
422 if (dst->w > MAX_DIMENSION || dst->h > MAX_DIMENSION) { in stretch_copybit()
423 ALOGE ("%s : Invalid DST dimensions w %d h %d", __FUNCTION__, dst->w, dst->h); in stretch_copybit()
430 if (0 == alloc_buffer(&yv12_handle,src->w,src->h, in stretch_copybit()
453 const struct copybit_rect_t bounds = { 0, 0, dst->w, dst->h }; in stretch_copybit()
472 if (req->src_rect.w<=0 || req->src_rect.h<=0) in stretch_copybit()
475 if (req->dst_rect.w<=0 || req->dst_rect.h<=0) in stretch_copybit()
502 struct copybit_rect_t dr = { 0, 0, dst->w, dst->h }; in blit_copybit()
503 struct copybit_rect_t sr = { 0, 0, src->w, src->h }; in blit_copybit()