Lines Matching refs:limits
704 } limits = { variable
718 … struct dsscomp_display_info *dis, struct dsscomp_dispc_limitations *limits, in omap4_hwc_can_scale() argument
721 __u32 fclk = limits->fclk / 1000; in omap4_hwc_can_scale()
722 __u32 min_src_w = DIV_ROUND_UP(src_w, is_2d ? limits->max_xdecim_2d : limits->max_xdecim_1d); in omap4_hwc_can_scale()
723 __u32 min_src_h = DIV_ROUND_UP(src_h, is_2d ? limits->max_ydecim_2d : limits->max_ydecim_1d); in omap4_hwc_can_scale()
727 if (dis->channel != OMAP_DSS_CHANNEL_DIGIT && dst_w < limits->min_width) in omap4_hwc_can_scale()
737 if (dst_h * limits->max_downscale < min_src_h) in omap4_hwc_can_scale()
742 return !(dst_w * limits->max_downscale < min_src_w); in omap4_hwc_can_scale()
749 if (fclk > pclk * limits->max_downscale) in omap4_hwc_can_scale()
750 fclk = pclk * limits->max_downscale; in omap4_hwc_can_scale()
752 if (src_w < limits->integer_scale_ratio_limit) in omap4_hwc_can_scale()
773 … return omap4_hwc_can_scale(src_w, src_h, dst_w, dst_h, is_NV12(handle), &hwc_dev->fb_dis, &limits, in omap4_hwc_can_scale_layer()
893 1, &d.dis, &limits, in omap4_hwc_set_best_hdmi_mode()
937 1, &d.dis, &limits, in omap4_hwc_set_best_hdmi_mode()
1600 png_set_user_limits(png_ptr, limits.max_width, limits.max_height); in load_png_image()