Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/page/
Dcpdf_color.cpp44 ASSERT(m_pCS->CountComponents() <= values.size()); in SetValueForNonPattern()
71 uint32_t CPDF_Color::CountComponents() const { in CountComponents() function in CPDF_Color
72 return m_pCS->CountComponents(); in CountComponents()
Dcpdf_patterncs.cpp37 if (m_pBaseCS->CountComponents() > kMaxPatternColorComps) in v_Load()
40 return m_pBaseCS->CountComponents() + 1; in v_Load()
Dcpdf_colorspace.cpp598 uint32_t CPDF_ColorSpace::CountComponents() const { in CountComponents() function in CPDF_ColorSpace
965 IccModule::Translate(m_pProfile->transform(), CountComponents(), pBuf, rgb); in GetRGB()
1006 const uint32_t nComponents = CountComponents(); in TranslateImageLine()
1080 if (pAlterCS->CountComponents() != nExpectedComponents) in FindAlternateProfile()
1145 m_nBaseComponents = m_pBaseCS->CountComponents(); in v_Load()
1195 ASSERT(m_nBaseComponents == m_pBaseCS->CountComponents()); in GetRGB()
1243 if (pFunc && pFunc->CountOutputs() >= m_pAltCS->CountComponents()) in v_Load()
1260 int nComps = m_pAltCS->CountComponents(); in GetRGB()
1321 if (m_pFunc->CountOutputs() < m_pAltCS->CountComponents()) in v_Load()
1337 if (!m_pFunc->Call(pBuf, CountComponents(), results.data(), &nresults) || in GetRGB()
Dcpdf_color.h35 uint32_t CountComponents() const;
Dcpdf_dib.cpp113 if (jpx_components != pdf_colorspace->CountComponents()) in GetJpxDecodeAction()
420 m_nComponents = m_pColorSpace->CountComponents(); in LoadColorInfo()
575 uint32_t colorspace_comps = m_pColorSpace->CountComponents(); in CreateDCTDecoder()
710 m_pColorSpace->CountComponents() <= m_nComponents) { in StartLoadMask()
785 if (m_pColorSpace->CountComponents() > 3) { in LoadPalette()
832 m_pColorSpace->CountComponents() > 1) { in LoadPalette()
833 int nComponents = m_pColorSpace->CountComponents(); in LoadPalette()
938 if (m_nComponents == m_pColorSpace->CountComponents()) { in TranslateScanline24bppDefaultDecode()
Dcpdf_colorspace.h83 uint32_t CountComponents() const;
Dcpdf_shadingpattern.cpp119 uint32_t nNumColorSpaceComponents = m_pCS->CountComponents(); in Validate()
Dcpdf_colorstate.cpp109 if (color->CountComponents() > values.size()) in SetColor()
Dcpdf_meshstream.cpp140 uint32_t nComponents = m_pCS->CountComponents(); in Load()
Dcpdf_streamparser.cpp161 nComponents = pCS ? pCS->CountComponents() : 3; in ReadInlineStream()
/external/pdfium/core/fpdfapi/render/
Dcpdf_rendershading.cpp50 return funcs_outputs ? std::max(funcs_outputs, pCS->CountComponents()) : 0; in GetValidatedOutputsCount()
61 ASSERT(results_count >= pCS->CountComponents()); in GetShadingSteps()
284 ASSERT(total_results >= pCS->CountComponents()); in DrawFuncShading()
875 if (pBackColor && pBackColor->size() >= pColorSpace->CountComponents()) { in Draw()
877 ReadArrayElementsToVector(pBackColor, pColorSpace->CountComponents()); in Draw()
Dcpdf_renderstatus.cpp1710 uint32_t comps = std::max(8u, pCS->CountComponents()); in GetBackColor()
/external/python/cpython2/Mac/Modules/cm/
D_Cmmodule.c813 #ifndef CountComponents in Cm_CountComponents()
814 PyMac_PRECHECK(CountComponents); in Cm_CountComponents()
819 _rv = CountComponents(&looking); in Cm_CountComponents()