Home
last modified time | relevance | path

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

/hardware/google/graphics/common/libscaler/
Dlibscaler-swscaler.cpp13 m_nSrcWidth = 0; in Clear()
24 if (((m_nSrcLeft | m_nSrcWidth | m_nDstWidth | m_nSrcStride) % 2) != 0) { in Scale()
29 unsigned int h_ratio = (m_nSrcWidth << 16) / m_nDstWidth; in Scale()
52 src_x = LibScaler::min(src_x + h_ratio, (m_nSrcLeft + m_nSrcWidth) << 16); in Scale()
62 if (((m_nSrcLeft | m_nSrcTop | m_nSrcWidth | m_nSrcHeight | m_nSrcStride | in Scale()
68 unsigned int h_ratio = (m_nSrcWidth << 16) / m_nDstWidth; in Scale()
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()
Dlibscaler-swscaler.h11 unsigned int m_nSrcWidth, m_nSrcHeight; variable
25 m_nSrcWidth = width; in SetSrcRect()