Lines Matching refs:w
163 img->width = rhs->w; in set_image()
183 e->dst_rect.w = clip.r - clip.l; in set_rects()
190 e->src_rect.w = (clip.b - clip.t); in set_rects()
197 e->src_rect.w = (clip.r - clip.l); in set_rects()
203 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects()
211 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects()
221 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects()
272 l->req[i].src_rect.w, in msm_copybit()
279 l->req[i].dst_rect.w, in msm_copybit()
468 if (src_rect->l < 0 || (uint32_t)src_rect->r > src->w || in stretch_copybit()
477 if (src->w > MAX_DIMENSION || src->h > MAX_DIMENSION) { in stretch_copybit()
478 ALOGE ("%s : Invalid source dimensions w %d h %d", __FUNCTION__, src->w, src->h); in stretch_copybit()
482 if (dst->w > MAX_DIMENSION || dst->h > MAX_DIMENSION) { in stretch_copybit()
483 ALOGE ("%s : Invalid DST dimensions w %d h %d", __FUNCTION__, dst->w, dst->h); in stretch_copybit()
490 if (0 == alloc_buffer(&yv12_handle,src->w,src->h, in stretch_copybit()
514 const struct copybit_rect_t bounds = { 0, 0, (int)dst->w, (int)dst->h }; in stretch_copybit()
545 if (req->src_rect.w<=0 || req->src_rect.h<=0) in stretch_copybit()
548 if (req->dst_rect.w<=0 || req->dst_rect.h<=0) in stretch_copybit()
580 struct copybit_rect_t dr = { 0, 0, (int)dst->w, (int)dst->h }; in blit_copybit()
581 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit()
632 req->dst_rect.w = rect->r - rect->l; in clear_copybit()
665 if (dst->w > MAX_DIMENSION || dst->h > MAX_DIMENSION) { in fill_color()
666 ALOGE("%s: Invalid DST w=%d h=%d", __FUNCTION__, dst->w, dst->h); in fill_color()
670 if (rect->l < 0 || (uint32_t)(rect->r - rect->l) > dst->w || in fill_color()
686 req->dst_rect.w = rect->r - rect->l; in fill_color()