Searched refs:src_w (Results 1 - 1 of 1) sorted by relevance

/hardware/ti/omap4xxx/hwc/
H A Dhwc.c715 static int omap4_hwc_can_scale(__u32 src_w, __u32 src_h, __u32 dst_w, __u32 dst_h, int is_2d, argument
734 return (dst_w < src_w / limits->max_downscale / (is_2d ? limits->max_xdecim_2d : limits->max_xdecim_1d));
737 if (dst_w < src_w / 4)
744 if (src_w < limits->integer_scale_ratio_limit)
746 if ((__u32) dst_w < src_w * pclk / fclk / (is_2d ? limits->max_xdecim_2d : limits->max_xdecim_1d))
754 int src_w = WIDTH(layer->sourceCrop); local
761 swap(src_w, src_h);
765 return omap4_hwc_can_scale(src_w, src_h, dst_w, dst_h, is_NV12(handle), &hwc_dev->fb_dis, &limits,

Completed in 29 milliseconds