Lines Matching refs:rect
124 static bool validateCopybitRect(struct copybit_rect_t *rect) { in validateCopybitRect() argument
125 return ((rect->b > rect->t) && (rect->r > rect->l)) ; in validateCopybitRect()
595 struct copybit_rect_t *rect) in clear_copybit() argument
623 if (rect->l < 0 || (uint32_t)(rect->r - rect->l) > req->dst.width || in clear_copybit()
624 rect->t < 0 || (uint32_t)(rect->b - rect->t) > req->dst.height) { in clear_copybit()
626 __FUNCTION__, rect->l, rect->t, rect->r, rect->b); in clear_copybit()
630 req->dst_rect.x = rect->l; in clear_copybit()
631 req->dst_rect.y = rect->t; in clear_copybit()
632 req->dst_rect.w = rect->r - rect->l; in clear_copybit()
633 req->dst_rect.h = rect->b - rect->t; in clear_copybit()
656 struct copybit_rect_t const *rect, in fill_color() argument
670 if (rect->l < 0 || (uint32_t)(rect->r - rect->l) > dst->w || in fill_color()
671 rect->t < 0 || (uint32_t)(rect->b - rect->t) > dst->h) { in fill_color()
673 __FUNCTION__, rect->l, rect->t, rect->r, rect->b); in fill_color()
684 req->dst_rect.x = rect->l; in fill_color()
685 req->dst_rect.y = rect->t; in fill_color()
686 req->dst_rect.w = rect->r - rect->l; in fill_color()
687 req->dst_rect.h = rect->b - rect->t; in fill_color()