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()
2503 float src_ratio = 1.0f; in m_getRatioSize() local2507 src_ratio = (float)src_w / (float)src_h; in m_getRatioSize()2513 if (dst_ratio <= src_ratio) { in m_getRatioSize()2523 if (dst_ratio <= src_ratio) { in m_getRatioSize()