Home
last modified time | relevance | path

Searched refs:is_2d (Results 1 – 2 of 2) sorted by relevance

/hardware/ti/omap4xxx/hwc/
Dhwc.c717 static int omap4_hwc_can_scale(__u32 src_w, __u32 src_h, __u32 dst_w, __u32 dst_h, int is_2d, in omap4_hwc_can_scale() argument
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()
/hardware/ti/omap4-aah/hwc/
Dhwc.c908 static int omap4_hwc_can_scale(__u32 src_w, __u32 src_h, __u32 dst_w, __u32 dst_h, int is_2d, in omap4_hwc_can_scale() argument
913 __u32 min_src_w = DIV_ROUND_UP(src_w, is_2d ? limits->max_xdecim_2d : limits->max_xdecim_1d); in omap4_hwc_can_scale()
914 __u32 min_src_h = DIV_ROUND_UP(src_h, is_2d ? limits->max_ydecim_2d : limits->max_ydecim_1d); in omap4_hwc_can_scale()
933 …return !(dst_w < src_w / limits->max_downscale / (is_2d ? limits->max_xdecim_2d : limits->max_xdec… in omap4_hwc_can_scale()