Lines Matching refs:w
165 img->width = rhs->w; in set_image()
185 e->dst_rect.w = clip.r - clip.l; in set_rects()
192 e->src_rect.w = (clip.b - clip.t); in set_rects()
199 e->src_rect.w = (clip.r - clip.l); in set_rects()
205 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects()
213 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects()
223 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects()
274 l->req[i].src_rect.w, in msm_copybit()
281 l->req[i].dst_rect.w, in msm_copybit()
470 if (src_rect->l < 0 || (uint32_t)src_rect->r > src->w || in stretch_copybit()
479 if (src->w > MAX_DIMENSION || src->h > MAX_DIMENSION) { in stretch_copybit()
480 ALOGE ("%s : Invalid source dimensions w %d h %d", __FUNCTION__, src->w, src->h); in stretch_copybit()
484 if (dst->w > MAX_DIMENSION || dst->h > MAX_DIMENSION) { in stretch_copybit()
485 ALOGE ("%s : Invalid DST dimensions w %d h %d", __FUNCTION__, dst->w, dst->h); in stretch_copybit()
492 if (0 == alloc_buffer(&yv12_handle,src->w,src->h, in stretch_copybit()
516 const struct copybit_rect_t bounds = { 0, 0, (int)dst->w, (int)dst->h }; in stretch_copybit()
547 if (req->src_rect.w<=0 || req->src_rect.h<=0) in stretch_copybit()
550 if (req->dst_rect.w<=0 || req->dst_rect.h<=0) in stretch_copybit()
582 struct copybit_rect_t dr = { 0, 0, (int)dst->w, (int)dst->h }; in blit_copybit()
583 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit()
634 req->dst_rect.w = rect->r - rect->l; in clear_copybit()
667 if (dst->w > MAX_DIMENSION || dst->h > MAX_DIMENSION) { in fill_color()
668 ALOGE("%s: Invalid DST w=%d h=%d", __FUNCTION__, dst->w, dst->h); in fill_color()
672 if (rect->l < 0 || (uint32_t)(rect->r - rect->l) > dst->w || in fill_color()
688 req->dst_rect.w = rect->r - rect->l; in fill_color()