Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/page/
Dcpdf_patterncs.cpp47 if (m_pBaseCS->CountComponents() > kMaxPatternColorComps) in v_Load()
50 return m_pBaseCS->CountComponents() + 1; in v_Load()
Dcpdf_colorspace.cpp504 uint32_t CPDF_ColorSpace::CountComponents() const { in CountComponents() function in CPDF_ColorSpace
852 pIccModule->SetComponents(CountComponents()); in GetRGB()
894 const uint32_t nComponents = CountComponents(); in TranslateImageLine()
959 if (pAlterCS->CountComponents() != nExpectedComponents) in FindAlternateProfile()
1040 m_nBaseComponents = m_pBaseCS->CountComponents(); in v_Load()
1135 if (pFunc && pFunc->CountOutputs() >= m_pAltCS->CountComponents()) in v_Load()
1152 int nComps = m_pAltCS->CountComponents(); in GetRGB()
1213 if (m_pFunc->CountOutputs() < m_pAltCS->CountComponents()) in v_Load()
1225 m_pFunc->Call(pBuf, CountComponents(), results, &nresults); in GetRGB()
Dcpdf_colorspace.h59 uint32_t CountComponents() const;
Dcpdf_shadingpattern.cpp136 uint32_t nNumColorSpaceComponents = m_pCS->CountComponents(); in Validate()
Dcpdf_color.cpp85 memcpy(m_pBuffer, comps, m_pCS->CountComponents() * sizeof(float)); in SetValue()
Dcpdf_colorstate.cpp133 if (color.GetColorSpace()->CountComponents() > nValues) in SetColor()
Dcpdf_meshstream.cpp136 uint32_t nComponents = m_pCS->CountComponents(); in Load()
Dcpdf_streamparser.cpp147 nComponents = pCS->CountComponents(); in ReadInlineStream()
/external/pdfium/core/fpdfapi/render/
Dcpdf_dibsource.cpp408 m_nComponents = m_pColorSpace->CountComponents(); in LoadColorInfo()
567 if (m_pColorSpace->CountComponents() < dwMinComps || in CreateDCTDecoder()
574 if (m_nComponents != 3 || m_pColorSpace->CountComponents() < 3) in CreateDCTDecoder()
580 !IsAllowedICCComponents(m_pColorSpace->CountComponents()) || in CreateDCTDecoder()
581 m_pColorSpace->CountComponents() < m_nComponents) { in CreateDCTDecoder()
587 if (m_pColorSpace->CountComponents() != m_nComponents) in CreateDCTDecoder()
623 if (components != m_pColorSpace->CountComponents()) in LoadJpxBitmap()
690 m_pColorSpace->CountComponents() <= m_nComponents) { in StartLoadMask()
760 if (m_pColorSpace->CountComponents() > 3) { in LoadPalette()
798 m_pColorSpace->CountComponents() > 1) { in LoadPalette()
[all …]
Dcpdf_renderstatus.cpp139 std::max(CountOutputs(funcs), pCS->CountComponents()); in DrawAxialShading()
221 std::max(CountOutputs(funcs), pCS->CountComponents()); in DrawRadialShading()
343 std::max(CountOutputs(funcs), pCS->CountComponents()); in DrawFuncShading()
2083 pBackColor->GetCount() >= pColorSpace->CountComponents()) { in DrawShading()
2084 CFX_FixedBufGrow<float, 16> comps(pColorSpace->CountComponents()); in DrawShading()
2085 for (uint32_t i = 0; i < pColorSpace->CountComponents(); i++) in DrawShading()
2618 if (pCS->CountComponents() > comps) { in LoadSMask()
2619 comps = pCS->CountComponents(); in LoadSMask()
/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()