Home
last modified time | relevance | path

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

/external/pdfium/core/fxcodec/codec/
Dfx_codec_icc.cpp17 bool CheckComponents(cmsColorSpaceSignature cs, int nComponents, bool bDst) { in CheckComponents() argument
18 if (nComponents <= 0 || nComponents > 15) { in CheckComponents()
23 if (nComponents < 3) { in CheckComponents()
28 if (bDst && nComponents != 1) { in CheckComponents()
31 if (!bDst && nComponents > 2) { in CheckComponents()
36 if (bDst && nComponents != 3) { in CheckComponents()
41 if (bDst && nComponents != 4) { in CheckComponents()
46 if (nComponents != 3) { in CheckComponents()
144 uint32_t& nComponents, in IccLib_CreateTransform_sRGB() argument
147 return IccLib_CreateTransform(pProfileData, dwProfileSize, nComponents, in IccLib_CreateTransform_sRGB()
[all …]
Dccodec_iccmodule.h21 uint32_t& nComponents,
30 void SetComponents(uint32_t nComponents) { m_nComponents = nComponents; } in SetComponents() argument
Dfx_codec_jpeg.cpp502 uint32_t nComponents = Bpp >= 3 ? (pSource->IsCmykImage() ? 4 : 3) : 1; local
508 safe_buf_len *= nComponents;
532 cinfo.input_components = nComponents;
533 if (nComponents == 1) {
535 } else if (nComponents == 3) {
541 if (nComponents > 1)
542 line_buf = FX_Alloc2D(uint8_t, width, nComponents);
550 if (nComponents > 1) {
552 if (nComponents == 3) {
/external/pdfium/core/fpdfapi/page/
Dcpdf_streamparser.cpp148 uint32_t nComponents = 1; in ReadInlineStream() local
151 nComponents = pCS->CountComponents(); in ReadInlineStream()
154 nComponents = 3; in ReadInlineStream()
161 if (nComponents && pitch > INT_MAX / nComponents) in ReadInlineStream()
164 pitch *= nComponents; in ReadInlineStream()
Dcpdf_meshstream.cpp132 uint32_t nComponents = m_pCS->CountComponents(); in Load() local
133 if (nComponents > kMaxComponents) in Load()
136 m_nComponents = m_funcs.empty() ? nComponents : 1; in Load()
Dcpdf_colorspace.h83 CPDF_ColorSpace(CPDF_Document* pDoc, int family, uint32_t nComponents);
Dcpdf_colorspace.cpp529 uint32_t nComponents) in CPDF_ColorSpace() argument
532 m_nComponents(nComponents), in CPDF_ColorSpace()
/external/pdfium/core/fpdfapi/render/
Dcpdf_dibsource.cpp814 int nComponents = m_pColorSpace->CountComponents(); in LoadPalette() local
815 std::vector<FX_FLOAT> temp_buf(nComponents); in LoadPalette()
816 for (int k = 0; k < nComponents; k++) { in LoadPalette()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...