Lines Matching refs:rect
270 task->src.rect.w = task->dst.rect.w = UINT_MAX; in exynos_drm_ipp_task_alloc()
271 task->src.rect.h = task->dst.rect.h = UINT_MAX; in exynos_drm_ipp_task_alloc()
296 offsetof(struct exynos_drm_ipp_task, src.rect),
301 offsetof(struct exynos_drm_ipp_task, dst.rect),
497 if (!__size_limit_check(buf->rect.w, lh) || in exynos_drm_ipp_check_size_limits()
498 !__align_check(buf->rect.x, lh->align) || in exynos_drm_ipp_check_size_limits()
499 !__size_limit_check(buf->rect.h, lv) || in exynos_drm_ipp_check_size_limits()
500 !__align_check(buf->rect.y, lv->align)) in exynos_drm_ipp_check_size_limits()
596 ret = exynos_drm_ipp_check_scale_limits(&src->rect, &dst->rect, in exynos_drm_ipp_check_format()
614 if (src->rect.w == UINT_MAX) in exynos_drm_ipp_task_check()
615 src->rect.w = src->buf.width; in exynos_drm_ipp_task_check()
616 if (src->rect.h == UINT_MAX) in exynos_drm_ipp_task_check()
617 src->rect.h = src->buf.height; in exynos_drm_ipp_task_check()
618 if (dst->rect.w == UINT_MAX) in exynos_drm_ipp_task_check()
619 dst->rect.w = dst->buf.width; in exynos_drm_ipp_task_check()
620 if (dst->rect.h == UINT_MAX) in exynos_drm_ipp_task_check()
621 dst->rect.h = dst->buf.height; in exynos_drm_ipp_task_check()
623 if (src->rect.x + src->rect.w > (src->buf.width) || in exynos_drm_ipp_task_check()
624 src->rect.y + src->rect.h > (src->buf.height) || in exynos_drm_ipp_task_check()
625 dst->rect.x + dst->rect.w > (dst->buf.width) || in exynos_drm_ipp_task_check()
626 dst->rect.y + dst->rect.h > (dst->buf.height)) { in exynos_drm_ipp_task_check()
633 if ((!swap && (src->rect.w != dst->rect.w || in exynos_drm_ipp_task_check()
634 src->rect.h != dst->rect.h)) || in exynos_drm_ipp_task_check()
635 (swap && (src->rect.w != dst->rect.h || in exynos_drm_ipp_task_check()
636 src->rect.h != dst->rect.w))) in exynos_drm_ipp_task_check()
640 (src->rect.x || src->rect.y || dst->rect.x || dst->rect.y)) || in exynos_drm_ipp_task_check()