Home
last modified time | relevance | path

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

123

/external/pdfium/core/fxge/win32/
Dcgdi_printer_driver.cpp42 bool CGdiPrinterDriver::SetDIBits(const RetainPtr<CFX_DIBBase>& pSource, in SetDIBits() argument
48 if (pSource->IsMaskFormat()) { in SetDIBits()
51 return StretchDIBits(pSource, color, left - src_rect.left, in SetDIBits()
52 top - src_rect.top, pSource->GetWidth(), in SetDIBits()
53 pSource->GetHeight(), &clip_rect, in SetDIBits()
56 DCHECK(pSource); in SetDIBits()
57 DCHECK(!pSource->IsMaskFormat()); in SetDIBits()
59 if (pSource->IsAlphaFormat()) in SetDIBits()
62 CFX_DIBExtractor temp(pSource); in SetDIBits()
70 bool CGdiPrinterDriver::StretchDIBits(const RetainPtr<CFX_DIBBase>& pSource, in StretchDIBits() argument
[all …]
Dcgdi_display_driver.cpp75 bool CGdiDisplayDriver::SetDIBits(const RetainPtr<CFX_DIBBase>& pSource, in SetDIBits() argument
82 if (pSource->IsMaskFormat()) { in SetDIBits()
83 int width = pSource->GetWidth(), height = pSource->GetHeight(); in SetDIBits()
85 if (pSource->GetBPP() != 1 || alpha != 255) { in SetDIBits()
89 !background->CompositeMask(0, 0, width, height, pSource, color, 0, 0, in SetDIBits()
99 return StretchDIBits(pSource, color, left - src_rect.left, in SetDIBits()
105 if (pSource->IsAlphaFormat()) { in SetDIBits()
109 !bitmap->CompositeBitmap(0, 0, width, height, pSource, src_rect.left, in SetDIBits()
117 CFX_DIBExtractor temp(pSource); in SetDIBits()
125 const RetainPtr<CFX_DIBBase>& pSource, in UseFoxitStretchEngine() argument
[all …]
Dcfx_psrenderer.cpp483 bool CFX_PSRenderer::SetDIBits(const RetainPtr<CFX_DIBBase>& pSource, in SetDIBits() argument
489 pSource->GetWidth(), pSource->GetHeight(), left, top); in SetDIBits()
490 return DrawDIBits(pSource, color, matrix, FXDIB_ResampleOptions()); in SetDIBits()
493 bool CFX_PSRenderer::StretchDIBits(const RetainPtr<CFX_DIBBase>& pSource, in StretchDIBits() argument
503 return DrawDIBits(pSource, color, matrix, options); in StretchDIBits()
506 bool CFX_PSRenderer::DrawDIBits(const RetainPtr<CFX_DIBBase>& pSource, in DrawDIBits() argument
514 if (pSource->IsAlphaFormat()) in DrawDIBits()
518 if (pSource->IsMaskFormat() && (alpha < 255 || pSource->GetBPP() != 1)) in DrawDIBits()
527 const int width = pSource->GetWidth(); in DrawDIBits()
528 const int height = pSource->GetHeight(); in DrawDIBits()
[all …]
Dcgdi_display_driver.h56 bool UseFoxitStretchEngine(const RetainPtr<CFX_DIBBase>& pSource,
/external/pdfium/fpdfsdk/
Dfpdf_editimg.cpp196 RetainPtr<CFX_DIBBase> pSource = pImg->LoadDIBBase(); in FPDFImageObj_GetBitmap() local
197 if (!pSource) in FPDFImageObj_GetBitmap()
205 pSource->GetBPP() == 1 ? pSource->ConvertTo(FXDIB_Format::k8bppRgb) in FPDFImageObj_GetBitmap()
206 : pSource->Realize(); in FPDFImageObj_GetBitmap()
396 RetainPtr<CPDF_DIB> pSource = pImg->CreateNewDIB(); in FPDFImageObj_GetImageMetadata() local
397 CPDF_DIB::LoadState ret = pSource->StartLoadDIBBase( in FPDFImageObj_GetImageMetadata()
403 metadata->bits_per_pixel = pSource->GetBPP(); in FPDFImageObj_GetImageMetadata()
404 if (pSource->GetColorSpace()) { in FPDFImageObj_GetImageMetadata()
406 static_cast<int>(pSource->GetColorSpace()->GetFamily()); in FPDFImageObj_GetImageMetadata()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp671 bool Upsample(const RetainPtr<CFX_DIBBase>& pSource, in Upsample() argument
675 void* buffer = pSource->GetBuffer().data(); in Upsample()
678 SkColorType colorType = forceAlpha || pSource->IsMaskFormat() in Upsample()
682 int width = pSource->GetWidth(); in Upsample()
683 int height = pSource->GetHeight(); in Upsample()
684 int rowBytes = pSource->GetPitch(); in Upsample()
685 switch (pSource->GetBPP()) { in Upsample()
692 if (pSource->GetFormat() == FXDIB_Format::k1bppRgb && in Upsample()
693 pSource->HasPalette()) { in Upsample()
694 uint32_t palette_color0 = pSource->GetPaletteArgb(0); in Upsample()
[all …]
/external/pdfium/core/fpdfapi/page/
Dcpdf_imageobject.cpp65 RetainPtr<CFX_DIBBase> pSource = GetImage()->LoadDIBBase(); in GetIndependentBitmap() local
73 return pSource ? pSource->Realize() : nullptr; in GetIndependentBitmap()
Dcpdf_image.cpp385 RetainPtr<CPDF_DIB> pSource = m_pDIBBase.As<CPDF_DIB>(); in Continue() local
386 CPDF_DIB::LoadState ret = pSource->ContinueLoadDIBBase(pPause); in Continue()
391 m_pMask = pSource->DetachMask(); in Continue()
392 m_MatteColor = pSource->GetMatteColor(); in Continue()
/external/pdfium/core/fxge/dib/
Dcfx_imagerenderer.cpp20 const RetainPtr<CFX_DIBBase>& pSource, in CFX_ImageRenderer() argument
55 &m_Composer, pSource, dest_height, dest_width, bitmap_clip, options); in CFX_ImageRenderer()
62 pSource, m_Matrix, options, &m_ClipBox); in CFX_ImageRenderer()
83 &m_Composer, pSource, dest_width, dest_height, bitmap_clip, options); in CFX_ImageRenderer()
Dcfx_imagestretcher.cpp76 const RetainPtr<const CFX_DIBBase>& pSource, in CFX_ImageStretcher() argument
82 m_pSource(pSource), in CFX_ImageStretcher()
87 m_DestFormat(GetStretchedFormat(*pSource)) { in CFX_ImageStretcher()
Dcfx_imagestretcher.h25 const RetainPtr<const CFX_DIBBase>& pSource,
Dcfx_imagerenderer.h27 const RetainPtr<CFX_DIBBase>& pSource,
/external/pdfium/core/fxcodec/jpeg/
Djpegmodule.cpp406 bool JpegModule::JpegEncode(const RetainPtr<CFX_DIBBase>& pSource, in JpegEncode() argument
420 int Bpp = pSource->GetBPP() / 8; in JpegEncode()
422 uint32_t pitch = pSource->GetPitch(); in JpegEncode()
423 uint32_t width = pdfium::base::checked_cast<uint32_t>(pSource->GetWidth()); in JpegEncode()
424 uint32_t height = pdfium::base::checked_cast<uint32_t>(pSource->GetHeight()); in JpegEncode()
469 pSource->GetScanline(cinfo.next_scanline); in JpegEncode()
Djpegmodule.h49 static bool JpegEncode(const RetainPtr<CFX_DIBBase>& pSource,
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.h72 bool StretchDIBits(const RetainPtr<CFX_DIBBase>& pSource,
81 bool StartDIBits(const RetainPtr<CFX_DIBBase>& pSource,
/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/xfa/fwl/
Dcfwl_notedriver.cpp265 void CFWL_NoteDriver::Target::SetEventSource(CFWL_Widget* pSource) { in SetEventSource() argument
266 if (pSource) in SetEventSource()
267 m_widgets.insert(pSource); in SetEventSource()
/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/pdfium/fxjs/
Dcjs_event_context.cpp255 void CJS_EventContext::OnField_Calculate(CPDF_FormField* pSource, in OnField_Calculate() argument
262 if (pSource) in OnField_Calculate()
263 m_strSourceName = pSource->GetFullName(); in OnField_Calculate()
Dijs_event_context.h58 virtual void OnField_Calculate(CPDF_FormField* pSource,
/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/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/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()

123