Searched refs:src_ratio (Results 1 – 3 of 3) sorted by relevance
4045 float src_ratio = 1.0f; in m_getRatioSize() local4049 src_ratio = (float)src_w / (float)src_h; in m_getRatioSize()4054 if (src_ratio != dst_ratio) { in m_getRatioSize()4056 if (src_ratio <= dst_ratio) { in m_getRatioSize()4066 if (src_ratio <= dst_ratio) { in m_getRatioSize()
3592 float src_ratio = 1.0f; in m_getCropRect() local3596 src_ratio = (float)src_w / (float)src_h; in m_getCropRect()3601 if (src_ratio != dst_ratio) { in m_getCropRect()3602 if (src_ratio <= dst_ratio) { in m_getCropRect()
2461 float src_ratio = 1.0f; in m_getRatioSize() local2465 src_ratio = (float)src_w / (float)src_h; in m_getRatioSize()2471 if (dst_ratio <= src_ratio) { in m_getRatioSize()2481 if (dst_ratio <= src_ratio) { in m_getRatioSize()