Home
last modified time | relevance | path

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

/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_colors.cpp735 int m_nBaseComponents; member in CPDF_IndexedCS
771 m_nBaseComponents = m_pBaseCS->CountComponents(); in v_Load()
772 m_pCompMinMax = FX_Alloc(FX_FLOAT, m_nBaseComponents * 2); in v_Load()
774 for (int i = 0; i < m_nBaseComponents; i ++) { in v_Load()
801 if (m_nBaseComponents) { in GetRGB()
802 if (index == INT_MAX || (index + 1) > INT_MAX / m_nBaseComponents || in GetRGB()
803 (index + 1)*m_nBaseComponents > (int)m_Table.GetLength()) { in GetRGB()
808 CFX_FixedBufGrow<FX_FLOAT, 16> Comps(m_nBaseComponents); in GetRGB()
811 for (int i = 0; i < m_nBaseComponents; i ++) { in GetRGB()
812 …i] = m_pCompMinMax[i * 2] + m_pCompMinMax[i * 2 + 1] * pTable[index * m_nBaseComponents + i] / 255; in GetRGB()