Home
last modified time | relevance | path

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

12

/external/pdfium/core/fxge/win32/
Dfx_win32_print.cpp72 bool CGdiPrinterDriver::SetDIBits(const RetainPtr<CFX_DIBSource>& pSource, in SetDIBits() argument
78 if (pSource->IsAlphaMask()) { in SetDIBits()
81 return StretchDIBits(pSource, color, left - pSrcRect->left, in SetDIBits()
82 top - pSrcRect->top, pSource->GetWidth(), in SetDIBits()
83 pSource->GetHeight(), &clip_rect, 0, in SetDIBits()
86 ASSERT(pSource && !pSource->IsAlphaMask() && pSrcRect); in SetDIBits()
88 if (pSource->HasAlpha()) in SetDIBits()
91 CFX_DIBExtractor temp(pSource); in SetDIBits()
99 bool CGdiPrinterDriver::StretchDIBits(const RetainPtr<CFX_DIBSource>& pSource, in StretchDIBits() argument
108 if (pSource->IsAlphaMask()) { in StretchDIBits()
[all …]
Dcfx_psrenderer.cpp344 bool CFX_PSRenderer::SetDIBits(const RetainPtr<CFX_DIBSource>& pSource, in SetDIBits() argument
349 CFX_Matrix matrix((float)(pSource->GetWidth()), 0.0f, 0.0f, in SetDIBits()
350 -(float)(pSource->GetHeight()), (float)(left), in SetDIBits()
351 (float)(top + pSource->GetHeight())); in SetDIBits()
352 return DrawDIBits(pSource, color, &matrix, 0); in SetDIBits()
355 bool CFX_PSRenderer::StretchDIBits(const RetainPtr<CFX_DIBSource>& pSource, in StretchDIBits() argument
365 return DrawDIBits(pSource, color, &matrix, flags); in StretchDIBits()
368 bool CFX_PSRenderer::DrawDIBits(const RetainPtr<CFX_DIBSource>& pSource, in DrawDIBits() argument
377 if (pSource->HasAlpha()) in DrawDIBits()
381 if (pSource->IsAlphaMask() && (alpha < 255 || pSource->GetBPP() != 1)) in DrawDIBits()
[all …]
Dfx_win32_device.cpp1198 bool CGdiDisplayDriver::SetDIBits(const RetainPtr<CFX_DIBSource>& pSource, in SetDIBits() argument
1205 if (pSource->IsAlphaMask()) { in SetDIBits()
1206 int width = pSource->GetWidth(), height = pSource->GetHeight(); in SetDIBits()
1208 if (pSource->GetBPP() != 1 || alpha != 255) { in SetDIBits()
1212 !background->CompositeMask(0, 0, width, height, pSource, color, 0, 0, in SetDIBits()
1221 return StretchDIBits(pSource, color, left - pSrcRect->left, in SetDIBits()
1226 if (pSource->HasAlpha()) { in SetDIBits()
1230 !bitmap->CompositeBitmap(0, 0, width, height, pSource, pSrcRect->left, in SetDIBits()
1238 CFX_DIBExtractor temp(pSource); in SetDIBits()
1246 const RetainPtr<CFX_DIBSource>& pSource, in UseFoxitStretchEngine() argument
[all …]
/external/pdfium/fpdfsdk/
Dfpdfeditimg.cpp153 RetainPtr<CFX_DIBSource> pSource = pImg->LoadDIBSource(); in FPDFImageObj_GetBitmap() local
154 if (!pSource) in FPDFImageObj_GetBitmap()
162 if (pSource->GetBPP() == 1) in FPDFImageObj_GetBitmap()
163 pBitmap = pSource->CloneConvert(FXDIB_8bppRgb); in FPDFImageObj_GetBitmap()
165 pBitmap = pSource->Clone(nullptr); in FPDFImageObj_GetBitmap()
292 auto pSource = pdfium::MakeRetain<CPDF_DIBSource>(); in FPDFImageObj_GetImageMetadata() local
293 if (!pSource->StartLoadDIBSource(pPage->m_pDocument.Get(), pImg->GetStream(), in FPDFImageObj_GetImageMetadata()
299 metadata->bits_per_pixel = pSource->GetBPP(); in FPDFImageObj_GetImageMetadata()
300 if (pSource->GetColorSpace()) in FPDFImageObj_GetImageMetadata()
301 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/fxge/dib/
Dcfx_imagerenderer.cpp18 const RetainPtr<CFX_DIBSource>& pSource, in CFX_ImageRenderer() argument
55 &m_Composer, pSource, dest_height, dest_width, bitmap_clip, in CFX_ImageRenderer()
63 pSource, &m_Matrix, dib_flags, &m_ClipBox); in CFX_ImageRenderer()
84 &m_Composer, pSource, dest_width, dest_height, bitmap_clip, dib_flags); in CFX_ImageRenderer()
Dcfx_imagestretcher.cpp46 const RetainPtr<CFX_DIBSource>& pSource, in CFX_ImageStretcher() argument
52 m_pSource(pSource), in CFX_ImageStretcher()
59 m_DestFormat(GetStretchedFormat(*pSource)), in CFX_ImageStretcher()
Dcfx_imagerenderer.h28 const RetainPtr<CFX_DIBSource>& pSource,
Dcfx_imagestretcher.h25 const RetainPtr<CFX_DIBSource>& pSource,
/external/pdfium/core/fpdfapi/font/
Dcpdf_type3char.cpp55 RetainPtr<CFX_DIBSource> pSource = in LoadBitmap() local
63 if (pSource) in LoadBitmap()
64 m_pBitmap = pSource->Clone(nullptr); in LoadBitmap()
/external/pdfium/core/fxcodec/codec/
Dfx_codec_jpeg.cpp504 bool CCodec_JpegModule::JpegEncode(const RetainPtr<CFX_DIBSource>& pSource, argument
518 int Bpp = pSource->GetBPP() / 8;
519 uint32_t nComponents = Bpp >= 3 ? (pSource->IsCmykImage() ? 4 : 3) : 1;
520 uint32_t pitch = pSource->GetPitch();
521 uint32_t width = pdfium::base::checked_cast<uint32_t>(pSource->GetWidth());
522 uint32_t height = pdfium::base::checked_cast<uint32_t>(pSource->GetHeight());
566 const uint8_t* src_scan = pSource->GetScanline(cinfo.next_scanline);
Dccodec_jpegmodule.h63 static bool JpegEncode(const RetainPtr<CFX_DIBSource>& pSource,
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp568 bool Upsample(const RetainPtr<CFX_DIBSource>& pSource, in Upsample() argument
575 void* buffer = pSource->GetBuffer(); in Upsample()
578 SkColorType colorType = forceAlpha || pSource->IsAlphaMask() in Upsample()
582 pSource->IsAlphaMask() ? kPremul_SkAlphaType : kOpaque_SkAlphaType; in Upsample()
583 int width = pSource->GetWidth(); in Upsample()
584 int height = pSource->GetHeight(); in Upsample()
585 int rowBytes = pSource->GetPitch(); in Upsample()
586 switch (pSource->GetBPP()) { in Upsample()
603 if (pSource->GetPalette()) { in Upsample()
606 const SkPMColor* ctable = pSource->GetPalette(); in Upsample()
[all …]
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOAEPParameters.java198 PSource.PSpecified pSource = (PSource.PSpecified) spec.getPSource(); in engineGetEncoded() local
200 if (pSource.getValue().length != 0) { in engineGetEncoded()
206 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/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/core/fpdfapi/page/
Dcpdf_image.cpp374 RetainPtr<CPDF_DIBSource> pSource = m_pDIBSource.As<CPDF_DIBSource>(); in Continue() local
375 int ret = pSource->ContinueLoadDIBSource(pPause); in Continue()
383 m_pMask = pSource->DetachMask(); in Continue()
384 m_MatteColor = pSource->GetMatteColor(); in Continue()
/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/webrtc/webrtc/modules/video_render/android/
Dvideo_render_opengles20.h35 GLuint loadShader(GLenum shaderType, const char* pSource);
Dvideo_render_opengles20.cc241 const char* pSource) { in loadShader() argument
244 glShaderSource(shader, 1, &pSource, NULL); in loadShader()
/external/pdfium/fxjs/
Dcjs_event_context.cpp155 void CJS_EventContext::OnField_Calculate(CPDF_FormField* pSource, in OnField_Calculate() argument
159 m_pEventHandler->OnField_Calculate(pSource, pTarget, Value, bRc); in OnField_Calculate()
Dcjs_eventhandler.cpp219 void CJS_EventHandler::OnField_Calculate(CPDF_FormField* pSource, in OnField_Calculate() argument
225 if (pSource) in OnField_Calculate()
226 m_strSourceName = pSource->GetFullName(); in OnField_Calculate()

12