Lines Matching refs:w
154 img->width = rhs->w; in set_image()
171 e->dst_rect.w = clip.r - clip.l; in set_rects()
178 e->src_rect.w = (clip.b - clip.t); in set_rects()
185 e->src_rect.w = (clip.r - clip.l); in set_rects()
191 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects()
199 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects()
209 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects()
258 l->req[i].src_rect.w, in msm_copybit()
265 l->req[i].dst_rect.w, in msm_copybit()
448 if (src_rect->l < 0 || (uint32_t)src_rect->r > src->w || in stretch_copybit()
457 if (src->w > MAX_DIMENSION || src->h > MAX_DIMENSION) { in stretch_copybit()
458 ALOGE ("%s : Invalid source dimensions w %d h %d", __FUNCTION__, src->w, src->h); in stretch_copybit()
462 if (dst->w > MAX_DIMENSION || dst->h > MAX_DIMENSION) { in stretch_copybit()
463 ALOGE ("%s : Invalid DST dimensions w %d h %d", __FUNCTION__, dst->w, dst->h); in stretch_copybit()
470 if (0 == alloc_buffer(&yv12_handle,src->w,src->h, in stretch_copybit()
494 const struct copybit_rect_t bounds = { 0, 0, (int)dst->w, (int)dst->h }; in stretch_copybit()
512 if (req->src_rect.w<=0 || req->src_rect.h<=0) in stretch_copybit()
515 if (req->dst_rect.w<=0 || req->dst_rect.h<=0) in stretch_copybit()
547 struct copybit_rect_t dr = { 0, 0, (int)dst->w, (int)dst->h }; in blit_copybit()
548 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit()
600 req->dst_rect.w = rect->r - rect->l; in clear_copybit()
633 if (dst->w > MAX_DIMENSION || dst->h > MAX_DIMENSION) { in fill_color()
634 ALOGE("%s: Invalid DST w=%d h=%d", __FUNCTION__, dst->w, dst->h); in fill_color()
638 if (rect->l < 0 || (uint32_t)(rect->r - rect->l) > dst->w || in fill_color()
654 req->dst_rect.w = rect->r - rect->l; in fill_color()