Home
last modified time | relevance | path

Searched refs:pCSObj (Results 1 – 9 of 9) sorted by relevance

/external/pdfium/core/fpdfapi/page/
Dcpdf_shadingpattern.cpp73 RetainPtr<const CPDF_Object> pCSObj = in Load() local
75 if (!pCSObj) in Load()
79 m_pCS = pDocPageData->GetColorSpace(pCSObj.Get(), nullptr); in Load()
Dcpdf_docpagedata.h69 RetainPtr<CPDF_ColorSpace> GetColorSpace(const CPDF_Object* pCSObj,
76 const CPDF_Object* pCSObj,
97 const CPDF_Object* pCSObj,
Dcpdf_docpagedata.cpp243 const CPDF_Object* pCSObj, in GetColorSpace() argument
246 return GetColorSpaceGuarded(pCSObj, pResources, &visited); in GetColorSpace()
250 const CPDF_Object* pCSObj, in GetColorSpaceGuarded() argument
254 return GetColorSpaceInternal(pCSObj, pResources, pVisited, &visitedLocal); in GetColorSpaceGuarded()
258 const CPDF_Object* pCSObj, in GetColorSpaceInternal() argument
262 if (!pCSObj) in GetColorSpaceInternal()
265 if (pdfium::Contains(*pVisitedInternal, pCSObj)) in GetColorSpaceInternal()
268 ScopedSetInsertion<const CPDF_Object*> insertion(pVisitedInternal, pCSObj); in GetColorSpaceInternal()
270 if (pCSObj->IsName()) { in GetColorSpaceInternal()
271 ByteString name = pCSObj->GetString(); in GetColorSpaceInternal()
[all …]
Dcpdf_streamcontentparser.cpp628 RetainPtr<const CPDF_Object> pCSObj; in Handle_BeginImage() local
630 pCSObj = pDict->GetDirectObjectFor("ColorSpace"); in Handle_BeginImage()
631 if (pCSObj->IsName()) { in Handle_BeginImage()
632 ByteString name = pCSObj->GetString(); in Handle_BeginImage()
634 pCSObj = FindResourceObj("ColorSpace", name); in Handle_BeginImage()
635 if (pCSObj && pCSObj->IsInline()) in Handle_BeginImage()
636 pDict->SetFor("ColorSpace", pCSObj->Clone()); in Handle_BeginImage()
642 m_pSyntax->ReadInlineStream(m_pDocument, std::move(pDict), pCSObj.Get()); in Handle_BeginImage()
1196 RetainPtr<const CPDF_Object> pCSObj = FindResourceObj("ColorSpace", name); in FindColorSpace() local
1197 if (!pCSObj) in FindColorSpace()
[all …]
Dcpdf_streamparser.cpp135 const CPDF_Object* pCSObj) { in ReadInlineStream() argument
162 if (pCSObj) { in ReadInlineStream()
164 CPDF_DocPageData::FromDocument(pDoc)->GetColorSpace(pCSObj, nullptr); in ReadInlineStream()
Dcpdf_streamparser.h41 const CPDF_Object* pCSObj);
Dcpdf_dib.cpp415 RetainPtr<const CPDF_Object> pCSObj = in LoadColorInfo() local
417 if (!pCSObj) in LoadColorInfo()
422 m_pColorSpace = pDocPageData->GetColorSpace(pCSObj.Get(), pFormResources); in LoadColorInfo()
424 m_pColorSpace = pDocPageData->GetColorSpace(pCSObj.Get(), pPageResources); in LoadColorInfo()
434 if (m_Family == CPDF_ColorSpace::Family::kICCBased && pCSObj->IsName()) { in LoadColorInfo()
435 ByteString cs = pCSObj->GetString(); in LoadColorInfo()
/external/pdfium/core/fpdfapi/render/
Dcpdf_imagerenderer.cpp183 RetainPtr<const CPDF_Object> pCSObj = in StartRenderDIBBase() local
187 pData->GetColorSpace(pCSObj.Get(), pPageResources); in StartRenderDIBBase()
Dcpdf_renderstatus.cpp1426 RetainPtr<const CPDF_Object> pCSObj; in GetBackColor() local
1430 pCSObj = pGroup->GetDirectObjectFor(pdfium::transparency::kCS); in GetBackColor()
1433 ->GetColorSpace(pCSObj.Get(), nullptr); in GetBackColor()