Lines Matching refs:rect
126 static bool validateCopybitRect(struct copybit_rect_t *rect) { in validateCopybitRect() argument
127 return ((rect->b > rect->t) && (rect->r > rect->l)) ; in validateCopybitRect()
589 struct copybit_rect_t *rect) in clear_copybit() argument
617 if (rect->l < 0 || (uint32_t)(rect->r - rect->l) > req->dst.width || in clear_copybit()
618 rect->t < 0 || (uint32_t)(rect->b - rect->t) > req->dst.height) { in clear_copybit()
620 __FUNCTION__, rect->l, rect->t, rect->r, rect->b); in clear_copybit()
624 req->dst_rect.x = rect->l; in clear_copybit()
625 req->dst_rect.y = rect->t; in clear_copybit()
626 req->dst_rect.w = rect->r - rect->l; in clear_copybit()
627 req->dst_rect.h = rect->b - rect->t; in clear_copybit()
650 struct copybit_rect_t const *rect, in fill_color() argument
664 if (rect->l < 0 || (uint32_t)(rect->r - rect->l) > dst->w || in fill_color()
665 rect->t < 0 || (uint32_t)(rect->b - rect->t) > dst->h) { in fill_color()
667 __FUNCTION__, rect->l, rect->t, rect->r, rect->b); in fill_color()
678 req->dst_rect.x = rect->l; in fill_color()
679 req->dst_rect.y = rect->t; in fill_color()
680 req->dst_rect.w = rect->r - rect->l; in fill_color()
681 req->dst_rect.h = rect->b - rect->t; in fill_color()