Searched refs:m_round (Results 1 – 2 of 2) sorted by relevance
523 static inline int m_round(float x) in m_round() function681 oc->win.x = m_round(w > 0 ? x : x + w); in omap4_hwc_adjust_ext_layer()682 oc->win.y = m_round(h > 0 ? y : y + h); in omap4_hwc_adjust_ext_layer()683 oc->win.w = m_round(w > 0 ? w : -w); in omap4_hwc_adjust_ext_layer()684 oc->win.h = m_round(h > 0 ? h : -h); in omap4_hwc_adjust_ext_layer()
712 static inline int m_round(float x) in m_round() function862 oc->win.x = m_round(w > 0 ? x : x + w); in omap4_hwc_apply_transform()863 oc->win.y = m_round(h > 0 ? y : y + h); in omap4_hwc_apply_transform()864 oc->win.w = m_round(w > 0 ? w : -w); in omap4_hwc_apply_transform()865 oc->win.h = m_round(h > 0 ? h : -h); in omap4_hwc_apply_transform()