Home
last modified time | relevance | path

Searched refs:pCS (Results 1 – 15 of 15) sorted by relevance

/external/pdfium/core/fpdfapi/page/
Dcpdf_color.cpp62 void CPDF_Color::SetColorSpace(CPDF_ColorSpace* pCS) { in SetColorSpace() argument
63 if (m_pCS == pCS) { in SetColorSpace()
65 m_pBuffer = pCS->CreateBuf(); in SetColorSpace()
68 m_pCS = pCS; in SetColorSpace()
74 m_pCS = pCS; in SetColorSpace()
75 if (pCS) { in SetColorSpace()
76 m_pBuffer = pCS->CreateBuf(); in SetColorSpace()
77 pCS->GetDefaultColor(m_pBuffer); in SetColorSpace()
Dcpdf_colorstate.cpp72 void CPDF_ColorState::SetFillColor(CPDF_ColorSpace* pCS, in SetFillColor() argument
76 SetColor(pData->m_FillColor, pData->m_FillRGB, pCS, pValue, nValues); in SetFillColor()
79 void CPDF_ColorState::SetStrokeColor(CPDF_ColorSpace* pCS, in SetStrokeColor() argument
83 SetColor(pData->m_StrokeColor, pData->m_StrokeRGB, pCS, pValue, nValues); in SetStrokeColor()
125 CPDF_ColorSpace* pCS, in SetColor() argument
128 if (pCS) in SetColor()
129 color.SetColorSpace(pCS); in SetColor()
Dcpdf_image.cpp204 CPDF_Array* pCS = pDict->SetNewFor<CPDF_Array>("ColorSpace"); in SetImage() local
205 pCS->AddNew<CPDF_Name>("Indexed"); in SetImage()
206 pCS->AddNew<CPDF_Name>("DeviceRGB"); in SetImage()
207 pCS->AddNew<CPDF_Number>(1); in SetImage()
217 pCS->AddNew<CPDF_String>(ct, true); in SetImage()
224 CPDF_Array* pCS = m_pDocument->NewIndirect<CPDF_Array>(); in SetImage() local
225 pCS->AddNew<CPDF_Name>("Indexed"); in SetImage()
226 pCS->AddNew<CPDF_Name>("DeviceRGB"); in SetImage()
227 pCS->AddNew<CPDF_Number>(iPalette - 1); in SetImage()
242 pCS->AddNew<CPDF_Reference>(m_pDocument.Get(), pCTS->GetObjNum()); in SetImage()
[all …]
Dcpdf_docpagedata.cpp232 CPDF_ColorSpace* pCS = CPDF_ColorSpace::ColorspaceFromName(name); in GetColorSpaceGuarded() local
233 if (!pCS && pResources) { in GetColorSpaceGuarded()
240 if (!pCS || !pResources) in GetColorSpaceGuarded()
241 return pCS; in GetColorSpaceGuarded()
245 return pCS; in GetColorSpaceGuarded()
248 switch (pCS->GetFamily()) { in GetColorSpaceGuarded()
260 return pCS; in GetColorSpaceGuarded()
283 std::unique_ptr<CPDF_ColorSpace> pCS = in GetColorSpaceGuarded() local
285 if (!pCS) in GetColorSpaceGuarded()
289 csData->reset(std::move(pCS)); in GetColorSpaceGuarded()
[all …]
Dcpdf_colorstate.h41 void SetFillColor(CPDF_ColorSpace* pCS, float* pValue, uint32_t nValues);
42 void SetStrokeColor(CPDF_ColorSpace* pCS, float* pValue, uint32_t nValues);
65 CPDF_ColorSpace* pCS,
Dcpdf_patterncs.cpp19 CPDF_ColorSpace* pCS = m_pCountedBaseCS ? m_pCountedBaseCS->get() : nullptr; in ~CPDF_PatternCS() local
20 if (pCS && m_pDocument) { in ~CPDF_PatternCS()
23 pPageData->ReleaseColorSpace(pCS->GetArray()); in ~CPDF_PatternCS()
Dcpdf_colorspace.cpp435 std::unique_ptr<CPDF_ColorSpace> pCS; in Load() local
438 pCS.reset(new CPDF_CalGray(pDoc)); in Load()
441 pCS.reset(new CPDF_CalRGB(pDoc)); in Load()
444 pCS.reset(new CPDF_LabCS(pDoc)); in Load()
447 pCS.reset(new CPDF_ICCBasedCS(pDoc)); in Load()
451 pCS.reset(new CPDF_IndexedCS(pDoc)); in Load()
454 pCS.reset(new CPDF_SeparationCS(pDoc)); in Load()
457 pCS.reset(new CPDF_DeviceNCS(pDoc)); in Load()
460 pCS.reset(new CPDF_PatternCS(pDoc)); in Load()
465 pCS->m_pArray = pArray; in Load()
[all …]
Dcpdf_streamcontentparser.cpp77 CPDF_ColorSpace* pCS = pShading->GetCS(); in GetShadingBBox() local
78 if (!pStream || !pCS) in GetShadingBBox()
81 CPDF_MeshStream stream(type, pShading->GetFuncs(), pStream, pCS); in GetShadingBBox()
692 CPDF_ColorSpace* pCS = FindColorSpace(GetString(0)); in Handle_SetColorSpace_Fill() local
693 if (!pCS) in Handle_SetColorSpace_Fill()
696 m_pCurStates->m_ColorState.GetMutableFillColor()->SetColorSpace(pCS); in Handle_SetColorSpace_Fill()
700 CPDF_ColorSpace* pCS = FindColorSpace(GetString(0)); in Handle_SetColorSpace_Stroke() local
701 if (!pCS) in Handle_SetColorSpace_Stroke()
704 m_pCurStates->m_ColorState.GetMutableStrokeColor()->SetColorSpace(pCS); in Handle_SetColorSpace_Stroke()
867 CPDF_ColorSpace* pCS = CPDF_ColorSpace::GetStockCS(PDFCS_DEVICEGRAY); in Handle_SetGray_Fill() local
[all …]
Dcpdf_color.h25 void SetColorSpace(CPDF_ColorSpace* pCS);
Dcpdf_meshstream.cpp96 CPDF_ColorSpace* pCS) in CPDF_MeshStream() argument
100 m_pCS(pCS), in CPDF_MeshStream()
Dcpdf_streamparser.cpp145 CPDF_ColorSpace* pCS = pDoc->LoadColorSpace(pCSObj); in ReadInlineStream() local
146 if (pCS) { in ReadInlineStream()
147 nComponents = pCS->CountComponents(); in ReadInlineStream()
Dcpdf_meshstream.h41 CPDF_ColorSpace* pCS);
/external/pdfium/core/fpdfapi/edit/
Dcpdf_pagecontentgenerator_unittest.cpp120 CPDF_ColorSpace* pCS = CPDF_ColorSpace::GetStockCS(PDFCS_DEVICERGB); in TEST_F() local
121 pPathObj->m_ColorState.SetFillColor(pCS, rgb, 3); in TEST_F()
124 pPathObj->m_ColorState.SetStrokeColor(pCS, rgb2, 3); in TEST_F()
177 CPDF_ColorSpace* pCS = CPDF_ColorSpace::GetStockCS(PDFCS_DEVICERGB); in TEST_F() local
178 pTextObj->m_ColorState.SetFillColor(pCS, rgb, 3); in TEST_F()
181 pTextObj->m_ColorState.SetStrokeColor(pCS, rgb2, 3); in TEST_F()
/external/pdfium/core/fpdfapi/render/
Dcpdf_renderstatus.cpp108 CPDF_ColorSpace* pCS, in DrawAxialShading() argument
139 std::max(CountOutputs(funcs), pCS->CountComponents()); in DrawAxialShading()
157 pCS->GetRGB(pResults, &R, &G, &B); in DrawAxialShading()
193 CPDF_ColorSpace* pCS, in DrawRadialShading() argument
221 std::max(CountOutputs(funcs), pCS->CountComponents()); in DrawRadialShading()
239 pCS->GetRGB(pResults, &R, &G, &B); in DrawRadialShading()
325 CPDF_ColorSpace* pCS, in DrawFuncShading() argument
343 std::max(CountOutputs(funcs), pCS->CountComponents()); in DrawFuncShading()
368 pCS->GetRGB(pResults, &R, &G, &B); in DrawFuncShading()
478 CPDF_ColorSpace* pCS, in DrawFreeGouraudShading() argument
[all …]
/external/honggfuzz/examples/apache-httpd/corpus_http2/
D03d7e517425430613d18e6cf09f06f50.000b6ce7.honggfuzz.cov1175 �p-x�����|IW����P���?"��x��*���Vd�$�K���pCS���@�(��+ylt������3�<5�#)���c0P1��