Home
last modified time | relevance | path

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

/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_doc.cpp88 CPDF_ColorSpace* CPDF_Document::LoadColorSpace(CPDF_Object* pCSObj, in LoadColorSpace() argument
90 return GetValidatePageData()->GetColorSpace(pCSObj, pResources); in LoadColorSpace()
107 void CPDF_Document::RemoveColorSpaceFromPageData(CPDF_Object* pCSObj) { in RemoveColorSpaceFromPageData() argument
108 if (!pCSObj) { in RemoveColorSpaceFromPageData()
111 GetPageData()->ReleaseColorSpace(pCSObj); in RemoveColorSpaceFromPageData()
311 CPDF_Object* pCSObj, in GetColorSpace() argument
313 if (!pCSObj) in GetColorSpace()
316 if (pCSObj->IsName()) { in GetColorSpace()
317 CFX_ByteString name = pCSObj->GetConstString(); in GetColorSpace()
322 pCSObj = pList->GetElementValue(name); in GetColorSpace()
[all …]
Dfpdf_page_parser_old.cpp107 CPDF_Object* pCSObj = NULL; in Handle_BeginImage() local
109 pCSObj = pDict->GetElementValue("ColorSpace"); in Handle_BeginImage()
110 if (pCSObj->IsName()) { in Handle_BeginImage()
111 CFX_ByteString name = pCSObj->GetString(); in Handle_BeginImage()
113 pCSObj = FindResourceObj("ColorSpace", name); in Handle_BeginImage()
114 if (pCSObj && !pCSObj->GetObjNum()) { in Handle_BeginImage()
115 pCSObj = pCSObj->Clone(); in Handle_BeginImage()
116 pDict->SetAt("ColorSpace", pCSObj); in Handle_BeginImage()
122 m_pDocument, pDict, pCSObj, m_Options.m_bDecodeInlineImage); in Handle_BeginImage()
328 CPDF_Object* pCSObj, in ReadInlineStream() argument
[all …]
Dpageint.h31 CPDF_Object* pCSObj,
334 CPDF_ColorSpace* GetColorSpace(CPDF_Object* pCSObj,
336 CPDF_ColorSpace* GetCopiedColorSpace(CPDF_Object* pCSObj);
350 CPDF_CountedColorSpace* FindColorSpacePtr(CPDF_Object* pCSObj) const;
Dfpdf_page_pattern.cpp139 CPDF_Object* pCSObj = pShadingDict->GetElementValue("ColorSpace"); in Load() local
140 if (!pCSObj) { in Load()
144 m_pCS = pDocPageData->GetColorSpace(pCSObj, NULL); in Load()
Dfpdf_page_parser.cpp1186 CPDF_Object* pCSObj = FindResourceObj("ColorSpace", name); in FindColorSpace() local
1187 if (!pCSObj) { in FindColorSpace()
1191 return m_pDocument->LoadColorSpace(pCSObj); in FindColorSpace()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_image.cpp442 CPDF_Object* pCSObj = in StartRenderDIBSource() local
446 pDocument->LoadColorSpace(pCSObj, pPageResources); in StartRenderDIBSource()
453 pDocument->GetPageData()->ReleaseColorSpace(pCSObj); in StartRenderDIBSource()
901 CPDF_Object* pCSObj = NULL; in LoadSMask() local
909 pCSObj = pDict->GetDict("Group")->GetElementValue("CS"); in LoadSMask()
911 pCSObj = NULL; in LoadSMask()
912 pCS = m_pContext->m_pDocument->LoadColorSpace(pCSObj); in LoadSMask()
934 m_pContext->m_pDocument->GetPageData()->ReleaseColorSpace(pCSObj); in LoadSMask()
Dfpdf_render_loadimage.cpp504 CPDF_Object* pCSObj = m_pDict->GetElementValue("ColorSpace"); in LoadColorInfo() local
505 if (!pCSObj) in LoadColorInfo()
510 m_pColorSpace = pDocPageData->GetColorSpace(pCSObj, pFormResources); in LoadColorInfo()
512 m_pColorSpace = pDocPageData->GetColorSpace(pCSObj, pPageResources); in LoadColorInfo()
518 if (m_Family == PDFCS_ICCBASED && pCSObj->IsName()) { in LoadColorInfo()
519 CFX_ByteString cs = pCSObj->GetString(); in LoadColorInfo()
Dfpdf_render.cpp768 CPDF_Object* pCSObj = ((CPDF_ImageObject*)pPageObj) in ProcessTransparency() local
773 pDocument->LoadColorSpace(pCSObj, pPageResources); in ProcessTransparency()
780 pDocument->GetPageData()->ReleaseColorSpace(pCSObj); in ProcessTransparency()
/external/pdfium/core/include/fpdfapi/
Dfpdf_resource.h500 static CPDF_ColorSpace* Load(CPDF_Document* pDoc, CPDF_Object* pCSObj);
Dfpdf_parser.h112 CPDF_ColorSpace* LoadColorSpace(CPDF_Object* pCSObj,