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.cpp99 CPDF_ColorSpace* CPDF_Document::LoadColorSpace(CPDF_Object* pCSObj, CPDF_Dictionary* pResources) in LoadColorSpace() argument
101 return GetValidatePageData()->GetColorSpace(pCSObj, pResources); in LoadColorSpace()
119 void CPDF_Document::RemoveColorSpaceFromPageData(CPDF_Object* pCSObj) in RemoveColorSpaceFromPageData() argument
121 if (!pCSObj) { in RemoveColorSpaceFromPageData()
124 GetPageData()->ReleaseColorSpace(pCSObj); in RemoveColorSpaceFromPageData()
379 CPDF_ColorSpace* CPDF_DocPageData::GetColorSpace(CPDF_Object* pCSObj, CPDF_Dictionary* pResources) in GetColorSpace() argument
381 if (!pCSObj) { in GetColorSpace()
384 if (pCSObj->GetType() == PDFOBJ_NAME) { in GetColorSpace()
385 CFX_ByteString name = pCSObj->GetConstString(); in GetColorSpace()
390 pCSObj = pList->GetElementValue(name); in GetColorSpace()
[all …]
Dfpdf_page_parser_old.cpp109 CPDF_Object* pCSObj = NULL; in Handle_BeginImage() local
111 pCSObj = pDict->GetElementValue(FX_BSTRC("ColorSpace")); in Handle_BeginImage()
112 if (pCSObj->GetType() == PDFOBJ_NAME) { in Handle_BeginImage()
113 CFX_ByteString name = pCSObj->GetString(); in Handle_BeginImage()
115 pCSObj = FindResourceObj(FX_BSTRC("ColorSpace"), name); in Handle_BeginImage()
116 if (pCSObj && !pCSObj->GetObjNum()) { in Handle_BeginImage()
117 pCSObj = pCSObj->Clone(); in Handle_BeginImage()
118 pDict->SetAt(FX_BSTRC("ColorSpace"), pCSObj, m_pDocument); in Handle_BeginImage()
123 …CPDF_Stream* pStream = m_pSyntax->ReadInlineStream(m_pDocument, pDict, pCSObj, m_Options.m_bDecode… in Handle_BeginImage()
310 …ReadInlineStream(CPDF_Document* pDoc, CPDF_Dictionary* pDict, CPDF_Object* pCSObj, FX_BOOL bDecode) in ReadInlineStream() argument
[all …]
Dpageint.h22 …CPDF_Stream* ReadInlineStream(CPDF_Document* pDoc, CPDF_Dictionary* pDict, CPDF_Object* pCSObj, F…
372 CPDF_ColorSpace* GetColorSpace(CPDF_Object* pCSObj, CPDF_Dictionary* pResources);
373 CPDF_ColorSpace* GetCopiedColorSpace(CPDF_Object* pCSObj);
384 CPDF_CountedColorSpace* FindColorSpacePtr(CPDF_Object* pCSObj) const;
Dfpdf_page_pattern.cpp140 CPDF_Object* pCSObj = pShadingDict->GetElementValue(FX_BSTRC("ColorSpace")); in Load() local
141 if (pCSObj == NULL) { in Load()
145 m_pCS = pDocPageData->GetColorSpace(pCSObj, NULL); in Load()
Dfpdf_page_parser.cpp1243 CPDF_Object* pCSObj = FindResourceObj(FX_BSTRC("ColorSpace"), name); in FindColorSpace() local
1244 if (pCSObj == NULL) { in FindColorSpace()
1248 return m_pDocument->LoadColorSpace(pCSObj); in FindColorSpace()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_image.cpp428 …CPDF_Object* pCSObj = m_pImageObject->m_pImage->GetStream()->GetDict()->GetElementValue(FX_BSTRC("… in StartRenderDIBSource() local
429 CPDF_ColorSpace* pColorSpace = pDocument->LoadColorSpace(pCSObj, pPageResources); in StartRenderDIBSource()
435 pDocument->GetPageData()->ReleaseColorSpace(pCSObj); in StartRenderDIBSource()
860 CPDF_Object* pCSObj = pDict->GetElementValue(FX_BSTRC("ColorSpace")); in Start() local
861 if (pCSObj == NULL) { in Start()
864 m_pCS = CPDF_ColorSpace::Load(pImageObj->m_pImage->GetDocument(), pCSObj); in Start()
997 CPDF_Object* pCSObj = NULL; in LoadSMask() local
1005 pCSObj = pDict->GetDict(FX_BSTRC("Group"))->GetElementValue(FX_BSTRC("CS")); in LoadSMask()
1007 pCSObj = NULL; in LoadSMask()
1008 pCS = m_pContext->m_pDocument->LoadColorSpace(pCSObj); in LoadSMask()
[all …]
Dfpdf_render_loadimage.cpp464 CPDF_Object* pCSObj = m_pDict->GetElementValue(FX_BSTRC("ColorSpace")); in LoadColorInfo() local
465 if (pCSObj == NULL) { in LoadColorInfo()
470 m_pColorSpace = pDocPageData->GetColorSpace(pCSObj, pFormResources); in LoadColorInfo()
473 m_pColorSpace = pDocPageData->GetColorSpace(pCSObj, pPageResources); in LoadColorInfo()
480 if (m_Family == PDFCS_ICCBASED && pCSObj->GetType() == PDFOBJ_NAME) { in LoadColorInfo()
481 CFX_ByteString cs = pCSObj->GetString(); in LoadColorInfo()
Dfpdf_render.cpp762 …CPDF_Object* pCSObj = ((CPDF_ImageObject*)pPageObj)->m_pImage->GetStream()->GetDict()->GetElementV… in ProcessTransparency() local
763 CPDF_ColorSpace* pColorSpace = pDocument->LoadColorSpace(pCSObj, pPageResources); in ProcessTransparency()
769 pDocument->GetPageData()->ReleaseColorSpace(pCSObj); in ProcessTransparency()
/external/pdfium/core/include/fpdfapi/
Dfpdf_resource.h581 static CPDF_ColorSpace* Load(CPDF_Document* pDoc, CPDF_Object* pCSObj);
Dfpdf_parser.h124 CPDF_ColorSpace* LoadColorSpace(CPDF_Object* pCSObj, CPDF_Dictionary* pResources = NULL);