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()
597 struct copybit_rect_t *rect) in clear_copybit() argument
625 if (rect->l < 0 || (uint32_t)(rect->r - rect->l) > req->dst.width || in clear_copybit()
626 rect->t < 0 || (uint32_t)(rect->b - rect->t) > req->dst.height) { in clear_copybit()
628 __FUNCTION__, rect->l, rect->t, rect->r, rect->b); in clear_copybit()
632 req->dst_rect.x = rect->l; in clear_copybit()
633 req->dst_rect.y = rect->t; in clear_copybit()
634 req->dst_rect.w = rect->r - rect->l; in clear_copybit()
635 req->dst_rect.h = rect->b - rect->t; in clear_copybit()
658 struct copybit_rect_t const *rect, in fill_color() argument
672 if (rect->l < 0 || (uint32_t)(rect->r - rect->l) > dst->w || in fill_color()
673 rect->t < 0 || (uint32_t)(rect->b - rect->t) > dst->h) { in fill_color()
675 __FUNCTION__, rect->l, rect->t, rect->r, rect->b); in fill_color()
686 req->dst_rect.x = rect->l; in fill_color()
687 req->dst_rect.y = rect->t; in fill_color()
688 req->dst_rect.w = rect->r - rect->l; in fill_color()
689 req->dst_rect.h = rect->b - rect->t; in fill_color()