Home
last modified time | relevance | path

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

/hardware/google/graphics/common/libscaler/
Dlibscaler-swscaler.cpp29 unsigned int h_ratio = (m_nSrcWidth << 16) / m_nDstWidth; in Scale() local
52 src_x = LibScaler::min(src_x + h_ratio, (m_nSrcLeft + m_nSrcWidth) << 16); in Scale()
68 unsigned int h_ratio = (m_nSrcWidth << 16) / m_nDstWidth; in Scale() local
80 src_x = LibScaler::min(src_x + h_ratio, (m_nSrcLeft + m_nSrcWidth) << 16); in Scale()
99 src_x = LibScaler::min(src_x + h_ratio, ((m_nSrcLeft + m_nSrcWidth) / 2) << 16); in Scale()