Lines Matching defs:src_w
908 static int omap4_hwc_can_scale(__u32 src_w, __u32 src_h, __u32 dst_w, __u32 dst_h, int is_2d,
913 __u32 min_src_w = DIV_ROUND_UP(src_w, is_2d ? limits->max_xdecim_2d : limits->max_xdecim_1d);
933 return !(dst_w < src_w / limits->max_downscale / (is_2d ? limits->max_xdecim_2d : limits->max_xdecim_1d));
936 if (dst_w * 4 < src_w)
940 if (get_rgb_bpp(handle) == 32 && src_w > 1280 && dst_w * 3 < src_w)
947 if (src_w < limits->integer_scale_ratio_limit)
957 int src_w = WIDTH(layer->sourceCrop);
964 swap(src_w, src_h);
968 return omap4_hwc_can_scale(src_w, src_h, dst_w, dst_h, is_NV12(handle), &hwc_dev->fb_dis, &limits,