Home
last modified time | relevance | path

Searched refs:pSource (Results 1 – 25 of 50) sorted by relevance

12

/external/pdfium/core/fxge/win32/
Dfx_win32_print.cpp74 bool CGdiPrinterDriver::SetDIBits(const RetainPtr<CFX_DIBBase>& pSource, in SetDIBits() argument
80 if (pSource->IsAlphaMask()) { in SetDIBits()
83 return StretchDIBits(pSource, color, left - src_rect.left, in SetDIBits()
84 top - src_rect.top, pSource->GetWidth(), in SetDIBits()
85 pSource->GetHeight(), &clip_rect, in SetDIBits()
88 ASSERT(pSource); in SetDIBits()
89 ASSERT(!pSource->IsAlphaMask()); in SetDIBits()
91 if (pSource->HasAlpha()) in SetDIBits()
94 CFX_DIBExtractor temp(pSource); in SetDIBits()
102 bool CGdiPrinterDriver::StretchDIBits(const RetainPtr<CFX_DIBBase>& pSource, in StretchDIBits() argument
[all …]
Dcfx_psrenderer.cpp278 bool CFX_PSRenderer::SetDIBits(const RetainPtr<CFX_DIBBase>& pSource, in SetDIBits() argument
284 pSource->GetWidth(), pSource->GetHeight(), left, top); in SetDIBits()
285 return DrawDIBits(pSource, color, matrix, FXDIB_ResampleOptions()); in SetDIBits()
288 bool CFX_PSRenderer::StretchDIBits(const RetainPtr<CFX_DIBBase>& pSource, in StretchDIBits() argument
298 return DrawDIBits(pSource, color, matrix, options); in StretchDIBits()
301 bool CFX_PSRenderer::DrawDIBits(const RetainPtr<CFX_DIBBase>& pSource, in DrawDIBits() argument
309 if (pSource->HasAlpha()) in DrawDIBits()
313 if (pSource->IsAlphaMask() && (alpha < 255 || pSource->GetBPP() != 1)) in DrawDIBits()
322 int width = pSource->GetWidth(); in DrawDIBits()
323 int height = pSource->GetHeight(); in DrawDIBits()
[all …]
Dfx_win32_device.cpp1201 bool CGdiDisplayDriver::SetDIBits(const RetainPtr<CFX_DIBBase>& pSource, in SetDIBits() argument
1208 if (pSource->IsAlphaMask()) { in SetDIBits()
1209 int width = pSource->GetWidth(), height = pSource->GetHeight(); in SetDIBits()
1211 if (pSource->GetBPP() != 1 || alpha != 255) { in SetDIBits()
1215 !background->CompositeMask(0, 0, width, height, pSource, color, 0, 0, in SetDIBits()
1225 return StretchDIBits(pSource, color, left - src_rect.left, in SetDIBits()
1231 if (pSource->HasAlpha()) { in SetDIBits()
1235 !bitmap->CompositeBitmap(0, 0, width, height, pSource, src_rect.left, in SetDIBits()
1243 CFX_DIBExtractor temp(pSource); in SetDIBits()
1251 const RetainPtr<CFX_DIBBase>& pSource, in UseFoxitStretchEngine() argument
[all …]
/external/pdfium/fpdfsdk/
Dfpdf_editimg.cpp200 RetainPtr<CFX_DIBBase> pSource = pImg->LoadDIBBase(); in FPDFImageObj_GetBitmap() local
201 if (!pSource) in FPDFImageObj_GetBitmap()
209 if (pSource->GetBPP() == 1) in FPDFImageObj_GetBitmap()
210 pBitmap = pSource->CloneConvert(FXDIB_8bppRgb); in FPDFImageObj_GetBitmap()
212 pBitmap = pSource->Clone(nullptr); in FPDFImageObj_GetBitmap()
335 auto pSource = pdfium::MakeRetain<CPDF_DIB>(); in FPDFImageObj_GetImageMetadata() local
336 CPDF_DIB::LoadState ret = pSource->StartLoadDIBBase( in FPDFImageObj_GetImageMetadata()
342 metadata->bits_per_pixel = pSource->GetBPP(); in FPDFImageObj_GetImageMetadata()
343 if (pSource->GetColorSpace()) in FPDFImageObj_GetImageMetadata()
344 metadata->colorspace = pSource->GetColorSpace()->GetFamily(); in FPDFImageObj_GetImageMetadata()
/external/pdfium/xfa/fwl/
Dcfwl_eventtarget.cpp17 void CFWL_EventTarget::SetEventSource(CFWL_Widget* pSource) { in SetEventSource() argument
18 if (pSource) in SetEventSource()
19 m_widgets.insert(pSource); in SetEventSource()
Dcfwl_eventtarget.h22 void SetEventSource(CFWL_Widget* pSource);
/external/pdfium/core/fpdfapi/page/
Dcpdf_imageobject.cpp64 RetainPtr<CFX_DIBBase> pSource = GetImage()->LoadDIBBase(); in GetIndependentBitmap() local
71 return pSource ? pSource->Clone(nullptr) : nullptr; in GetIndependentBitmap()
Dcpdf_image.cpp378 RetainPtr<CPDF_DIB> pSource = m_pDIBBase.As<CPDF_DIB>(); in Continue() local
379 CPDF_DIB::LoadState ret = pSource->ContinueLoadDIBBase(pPause); in Continue()
384 m_pMask = pSource->DetachMask(); in Continue()
385 m_MatteColor = pSource->GetMatteColor(); in Continue()
/external/pdfium/core/fxge/dib/
Dcfx_imagerenderer.cpp19 const RetainPtr<CFX_DIBBase>& pSource, in CFX_ImageRenderer() argument
54 &m_Composer, pSource, dest_height, dest_width, bitmap_clip, options); in CFX_ImageRenderer()
61 pSource, m_Matrix, options, &m_ClipBox); in CFX_ImageRenderer()
82 &m_Composer, pSource, dest_width, dest_height, bitmap_clip, options); in CFX_ImageRenderer()
Dcfx_imagestretcher.cpp48 const RetainPtr<CFX_DIBBase>& pSource, in CFX_ImageStretcher() argument
54 m_pSource(pSource), in CFX_ImageStretcher()
59 m_DestFormat(GetStretchedFormat(*pSource)), in CFX_ImageStretcher()
Dcfx_imagerenderer.h27 const RetainPtr<CFX_DIBBase>& pSource,
Dcfx_imagestretcher.h26 const RetainPtr<CFX_DIBBase>& pSource,
/external/pdfium/core/fxcodec/jpeg/
Djpegmodule.cpp583 bool JpegModule::JpegEncode(const RetainPtr<CFX_DIBBase>& pSource, in JpegEncode() argument
597 int Bpp = pSource->GetBPP() / 8; in JpegEncode()
598 uint32_t nComponents = Bpp >= 3 ? (pSource->IsCmykImage() ? 4 : 3) : 1; in JpegEncode()
599 uint32_t pitch = pSource->GetPitch(); in JpegEncode()
600 uint32_t width = pdfium::base::checked_cast<uint32_t>(pSource->GetWidth()); in JpegEncode()
601 uint32_t height = pdfium::base::checked_cast<uint32_t>(pSource->GetHeight()); in JpegEncode()
645 const uint8_t* src_scan = pSource->GetScanline(cinfo.next_scanline); in JpegEncode()
Djpegmodule.h65 static bool JpegEncode(const RetainPtr<CFX_DIBBase>& pSource,
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.h78 bool StretchDIBits(const RetainPtr<CFX_DIBBase>& pSource,
87 bool StartDIBits(const RetainPtr<CFX_DIBBase>& pSource,
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp622 bool Upsample(const RetainPtr<CFX_DIBBase>& pSource, in Upsample() argument
629 void* buffer = pSource->GetBuffer(); in Upsample()
632 SkColorType colorType = forceAlpha || pSource->IsAlphaMask() in Upsample()
636 pSource->IsAlphaMask() ? kPremul_SkAlphaType : kOpaque_SkAlphaType; in Upsample()
637 int width = pSource->GetWidth(); in Upsample()
638 int height = pSource->GetHeight(); in Upsample()
639 int rowBytes = pSource->GetPitch(); in Upsample()
640 switch (pSource->GetBPP()) { in Upsample()
657 if (pSource->GetPalette()) { in Upsample()
660 const SkPMColor* ctable = pSource->GetPalette(); in Upsample()
[all …]
/external/conscrypt/common/src/main/java/org/conscrypt/
DOAEPParameters.java194 PSource.PSpecified pSource = (PSource.PSpecified) spec.getPSource(); in engineGetEncoded() local
196 if (pSource.getValue().length != 0) { in engineGetEncoded()
202 NativeCrypto.asn1_write_octetstring(pSourceParamsRef, pSource.getValue()); in engineGetEncoded()
DOpenSSLCipherRSA.java579 PSource pSource = spec.getPSource(); in readOAEPParameters() local
580 if (!"PSpecified".equals(pSource.getAlgorithm()) in readOAEPParameters()
581 || !(pSource instanceof PSource.PSpecified)) { in readOAEPParameters()
585 label = ((PSource.PSpecified) pSource).getValue(); in readOAEPParameters()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOAEPParameters.java196 PSource.PSpecified pSource = (PSource.PSpecified) spec.getPSource(); in engineGetEncoded() local
198 if (pSource.getValue().length != 0) { in engineGetEncoded()
204 NativeCrypto.asn1_write_octetstring(pSourceParamsRef, pSource.getValue()); in engineGetEncoded()
DOpenSSLCipherRSA.java595 PSource pSource = spec.getPSource(); in readOAEPParameters() local
596 if (!"PSpecified".equals(pSource.getAlgorithm()) in readOAEPParameters()
597 || !(pSource instanceof PSource.PSpecified)) { in readOAEPParameters()
601 label = ((PSource.PSpecified) pSource).getValue(); in readOAEPParameters()
/external/pdfium/fxjs/
Dcjs_eventrecorder.cpp205 void CJS_EventRecorder::OnField_Calculate(CPDF_FormField* pSource, in OnField_Calculate() argument
214 if (pSource) in OnField_Calculate()
215 m_strSourceName = pSource->GetFullName(); in OnField_Calculate()
Dcjs_event_context.cpp201 void CJS_EventContext::OnField_Calculate(CPDF_FormField* pSource, in OnField_Calculate() argument
205 m_pEventRecorder->OnField_Calculate(pSource, pTarget, pValue, pRc); in OnField_Calculate()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DAlgorithmParametersSpi.java71 PSource.PSpecified pSource = (PSource.PSpecified)currentSpec.getPSource(); in engineGetEncoded() local
73 … PKCSObjectIdentifiers.id_pSpecified, new DEROctetString(pSource.getValue())); in engineGetEncoded()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DAlgorithmParametersSpi.java64 PSource.PSpecified pSource = (PSource.PSpecified)currentSpec.getPSource(); in engineGetEncoded() local
66 … PKCSObjectIdentifiers.id_pSpecified, new DEROctetString(pSource.getValue())); in engineGetEncoded()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DAlgorithmParametersSpi.java71 PSource.PSpecified pSource = (PSource.PSpecified)currentSpec.getPSource(); in engineGetEncoded() local
73 … PKCSObjectIdentifiers.id_pSpecified, new DEROctetString(pSource.getValue())); in engineGetEncoded()

12