Lines Matching refs:w
157 img->width = rhs->w; in set_image()
174 e->dst_rect.w = clip.r - clip.l; in set_rects()
181 e->src_rect.w = (clip.b - clip.t); in set_rects()
188 e->src_rect.w = (clip.r - clip.l); in set_rects()
194 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects()
202 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects()
212 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects()
261 l->req[i].src_rect.w, in msm_copybit()
268 l->req[i].dst_rect.w, in msm_copybit()
453 if (src_rect->l < 0 || (uint32_t)src_rect->r > src->w || in stretch_copybit()
462 if (src->w > MAX_DIMENSION || src->h > MAX_DIMENSION) { in stretch_copybit()
463 ALOGE ("%s : Invalid source dimensions w %d h %d", __FUNCTION__, src->w, src->h); in stretch_copybit()
467 if (dst->w > MAX_DIMENSION || dst->h > MAX_DIMENSION) { in stretch_copybit()
468 ALOGE ("%s : Invalid DST dimensions w %d h %d", __FUNCTION__, dst->w, dst->h); in stretch_copybit()
475 if (0 == alloc_buffer(&yv12_handle,src->w,src->h, in stretch_copybit()
499 const struct copybit_rect_t bounds = { 0, 0, (int)dst->w, (int)dst->h }; in stretch_copybit()
525 if (req->src_rect.w<=0 || req->src_rect.h<=0) in stretch_copybit()
528 if (req->dst_rect.w<=0 || req->dst_rect.h<=0) in stretch_copybit()
560 struct copybit_rect_t dr = { 0, 0, (int)dst->w, (int)dst->h }; in blit_copybit()
561 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit()
612 req->dst_rect.w = rect->r - rect->l; in clear_copybit()
645 if (dst->w > MAX_DIMENSION || dst->h > MAX_DIMENSION) { in fill_color()
646 ALOGE("%s: Invalid DST w=%d h=%d", __FUNCTION__, dst->w, dst->h); in fill_color()
650 if (rect->l < 0 || (uint32_t)(rect->r - rect->l) > dst->w || in fill_color()
666 req->dst_rect.w = rect->r - rect->l; in fill_color()