Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/page/
Dcpdf_colorspace.cpp233 uint32_t nComponents);
235 uint32_t nComponents);
668 void CPDF_ColorSpace::SetComponentsForStockCS(uint32_t nComponents) { in SetComponentsForStockCS() argument
670 m_nComponents = nComponents; in SetComponentsForStockCS()
925 uint32_t nComponents = static_cast<uint32_t>(nDictComponents); in v_Load() local
934 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 …]
Dcpdf_meshstream.cpp140 uint32_t nComponents = m_pCS->CountComponents(); in Load() local
141 if (nComponents > kMaxComponents) in Load()
144 m_nComponents = m_funcs.empty() ? nComponents : 1; in Load()
Dcpdf_streamparser.cpp157 uint32_t nComponents = 1; in ReadInlineStream() local
161 nComponents = pCS ? pCS->CountComponents() : 3; in ReadInlineStream()
164 FX_SAFE_UINT32 size = fxcodec::CalculatePitch8(bpc, nComponents, width); in ReadInlineStream()
Dcpdf_colorspace.h129 void SetComponentsForStockCS(uint32_t nComponents);
Dcpdf_dib.cpp833 int nComponents = m_pColorSpace->CountComponents(); in LoadPalette() local
834 std::vector<float> temp_buf(nComponents); in LoadPalette()
835 for (int k = 0; k < nComponents; ++k) in LoadPalette()
/external/pdfium/core/fxcodec/jpeg/
Djpegmodule.cpp598 uint32_t nComponents = Bpp >= 3 ? (pSource->IsCmykImage() ? 4 : 3) : 1; in JpegEncode() local
604 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()
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingMiscTests.cpp4327 const auto nComponents = getNComponents (currentItem.type); in verifyResultBuffer() local
4332 for (deUint32 nComponent = 0; nComponent < nComponents; ++nComponent) in verifyResultBuffer()
5428 const auto nComponents = getNComponents (currentTestItem.type); in initTestItems() local
5441 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() local
5703 …ytesConsumed = bufferProps.bufferOffset + currentItem.arraySize * componentSizeBytes * nComponents; in setExplicitScalarOffsetBufferOffsets()
5737 const auto nComponents = getNComponents (currentItem.type); in setExplicitSTD430OffsetBufferOffsets() local
5754 if (nComponents == 1) in setExplicitSTD430OffsetBufferOffsets()
5770 if (nComponents == 2) in setExplicitSTD430OffsetBufferOffsets()
[all …]