Home
last modified time | relevance | path

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

/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_colors.cpp714 if (pAlterCS->CountComponents() > 0) { // Use Alternative colorspace in v_Load()
715 m_nComponents = pAlterCS->CountComponents(); in v_Load()
729 if (pAlterCS->CountComponents() != m_nComponents) { in v_Load()
909 m_nBaseComponents = m_pBaseCS->CountComponents(); in v_Load()
992 m_nComponents = m_pBaseCS->CountComponents() + 1; in v_Load()
993 if (m_pBaseCS->CountComponents() > MAX_PATTERN_COLORCOMPS) { in v_Load()
1074 if (m_pFunc && m_pFunc->CountOutputs() < m_pAltCS->CountComponents()) { in v_Load()
1092 int nComps = m_pAltCS->CountComponents(); in GetRGB()
1169 if (m_pFunc->CountOutputs() < m_pAltCS->CountComponents()) { in v_Load()
1449 FXSYS_memcpy(m_pBuffer, comps, m_pCS->CountComponents() * sizeof(FX_FLOAT)); in SetValue()
Dfpdf_page_pattern.cpp173 int nComps = pCS->CountComponents(); in Load()
Dfpdf_page_graph_state.cpp237 if (color.m_pCS->CountComponents() > nValues) { in SetColor()
Dfpdf_page_parser_old.cpp360 nComponents = pCS->CountComponents(); in ReadInlineStream()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_pattern.cpp57 if (pCS->CountComponents() > total_results) { in DrawAxialShading()
58 total_results = pCS->CountComponents(); in DrawAxialShading()
144 if (pCS->CountComponents() > total_results) { in DrawRadialShading()
145 total_results = pCS->CountComponents(); in DrawRadialShading()
274 if (pCS->CountComponents() > total_results) { in DrawFuncShading()
275 total_results = pCS->CountComponents(); in DrawFuncShading()
846 pBackColor->GetCount() >= (FX_DWORD)pColorSpace->CountComponents()) { in DrawShading()
847 CFX_FixedBufGrow<FX_FLOAT, 16> comps(pColorSpace->CountComponents()); in DrawShading()
848 for (int i = 0; i < pColorSpace->CountComponents(); i++) { in DrawShading()
Dfpdf_render_loadimage.cpp517 m_nComponents = m_pColorSpace->CountComponents(); in LoadColorInfo()
701 if (components != (FX_DWORD)m_pColorSpace->CountComponents()) in LoadJpxBitmap()
766 (FX_DWORD)m_pColorSpace->CountComponents() <= m_nComponents) { in LoadMask()
791 (FX_DWORD)m_pColorSpace->CountComponents() <= m_nComponents) { in StratLoadMask()
870 if (m_pColorSpace->CountComponents() > 3) { in LoadPalette()
908 m_pColorSpace->CountComponents() > 1) { in LoadPalette()
909 int nComponents = m_pColorSpace->CountComponents(); in LoadPalette()
1009 if (m_nComponents == m_pColorSpace->CountComponents()) in TranslateScanline24bpp()
Dfpdf_render_image.cpp916 if (pCS->CountComponents() > static_cast<int32_t>(comps)) { in LoadSMask()
917 comps = (FX_DWORD)pCS->CountComponents(); in LoadSMask()
/external/pdfium/core/include/fpdfapi/
Dfpdf_resource.h510 int CountComponents() const { return m_nComponents; } in CountComponents() function