Searched refs:nComponents (Results 1 – 7 of 7) sorted by relevance
233 uint32_t nComponents);235 uint32_t nComponents);668 void CPDF_ColorSpace::SetComponentsForStockCS(uint32_t nComponents) { in SetComponentsForStockCS() argument670 m_nComponents = nComponents; in SetComponentsForStockCS()925 uint32_t nComponents = static_cast<uint32_t>(nDictComponents); in v_Load() local934 if (m_pProfile->IsValid() && m_pProfile->GetComponents() != nComponents) in v_Load()941 !FindAlternateProfile(pDoc, pDict, pVisited, nComponents)) { in v_Load()945 m_pAlterCS = GetStockAlternateProfile(nComponents); in v_Load()948 m_pRanges = GetRanges(pDict, nComponents); in v_Load()949 return nComponents; in v_Load()[all …]
140 uint32_t nComponents = m_pCS->CountComponents(); in Load() local141 if (nComponents > kMaxComponents) in Load()144 m_nComponents = m_funcs.empty() ? nComponents : 1; in Load()
157 uint32_t nComponents = 1; in ReadInlineStream() local161 nComponents = pCS ? pCS->CountComponents() : 3; in ReadInlineStream()164 FX_SAFE_UINT32 size = fxcodec::CalculatePitch8(bpc, nComponents, width); in ReadInlineStream()
129 void SetComponentsForStockCS(uint32_t nComponents);
833 int nComponents = m_pColorSpace->CountComponents(); in LoadPalette() local834 std::vector<float> temp_buf(nComponents); in LoadPalette()835 for (int k = 0; k < nComponents; ++k) in LoadPalette()
598 uint32_t nComponents = Bpp >= 3 ? (pSource->IsCmykImage() ? 4 : 3) : 1; in JpegEncode() local604 safe_buf_len *= nComponents; in JpegEncode()628 cinfo.input_components = nComponents; in JpegEncode()629 if (nComponents == 1) { in JpegEncode()631 } else if (nComponents == 3) { in JpegEncode()637 if (nComponents > 1) in JpegEncode()638 line_buf = FX_Alloc2D(uint8_t, width, nComponents); in JpegEncode()646 if (nComponents > 1) { in JpegEncode()648 if (nComponents == 3) { in JpegEncode()
4327 const auto nComponents = getNComponents (currentItem.type); in verifyResultBuffer() local4332 for (deUint32 nComponent = 0; nComponent < nComponents; ++nComponent) in verifyResultBuffer()5428 const auto nComponents = getNComponents (currentTestItem.type); in initTestItems() local5441 for (deUint32 nComponent = 0; nComponent < nComponents; ++nComponent) in initTestItems()5543 if (nComponent != (nComponents - 1) ) in initTestItems()5693 const auto nComponents = getNComponents (currentItem.type); in setExplicitScalarOffsetBufferOffsets() local5703 …ytesConsumed = bufferProps.bufferOffset + currentItem.arraySize * componentSizeBytes * nComponents; in setExplicitScalarOffsetBufferOffsets()5737 const auto nComponents = getNComponents (currentItem.type); in setExplicitSTD430OffsetBufferOffsets() local5754 if (nComponents == 1) in setExplicitSTD430OffsetBufferOffsets()5770 if (nComponents == 2) in setExplicitSTD430OffsetBufferOffsets()[all …]