Home
last modified time | relevance | path

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

12

/external/pdfium/core/fxge/win32/
Dfx_win32_print.cpp70 bool CGdiPrinterDriver::SetDIBits(const CFX_DIBSource* pSource, in SetDIBits() argument
76 if (pSource->IsAlphaMask()) { in SetDIBits()
79 return StretchDIBits(pSource, color, left - pSrcRect->left, in SetDIBits()
80 top - pSrcRect->top, pSource->GetWidth(), in SetDIBits()
81 pSource->GetHeight(), &clip_rect, 0, in SetDIBits()
84 ASSERT(pSource && !pSource->IsAlphaMask() && pSrcRect); in SetDIBits()
86 if (pSource->HasAlpha()) in SetDIBits()
89 CFX_DIBExtractor temp(pSource); in SetDIBits()
97 bool CGdiPrinterDriver::StretchDIBits(const CFX_DIBSource* pSource, in StretchDIBits() argument
106 if (pSource->IsAlphaMask()) { in StretchDIBits()
[all …]
Dcfx_psrenderer.cpp341 bool CFX_PSRenderer::SetDIBits(const CFX_DIBSource* pSource, in SetDIBits() argument
346 CFX_Matrix matrix((FX_FLOAT)(pSource->GetWidth()), 0.0f, 0.0f, in SetDIBits()
347 -(FX_FLOAT)(pSource->GetHeight()), (FX_FLOAT)(left), in SetDIBits()
348 (FX_FLOAT)(top + pSource->GetHeight())); in SetDIBits()
349 return DrawDIBits(pSource, color, &matrix, 0); in SetDIBits()
352 bool CFX_PSRenderer::StretchDIBits(const CFX_DIBSource* pSource, in StretchDIBits() argument
363 return DrawDIBits(pSource, color, &matrix, flags); in StretchDIBits()
366 bool CFX_PSRenderer::DrawDIBits(const CFX_DIBSource* pSource, in DrawDIBits() argument
375 if (pSource->HasAlpha()) { in DrawDIBits()
379 if (pSource->IsAlphaMask() && (alpha < 255 || pSource->GetBPP() != 1)) in DrawDIBits()
[all …]
Dfx_win32_device.cpp1209 bool CGdiDisplayDriver::SetDIBits(const CFX_DIBSource* pSource, in SetDIBits() argument
1216 if (pSource->IsAlphaMask()) { in SetDIBits()
1217 int width = pSource->GetWidth(), height = pSource->GetHeight(); in SetDIBits()
1219 if (pSource->GetBPP() != 1 || alpha != 255) { in SetDIBits()
1223 !background.CompositeMask(0, 0, width, height, pSource, color, 0, 0, in SetDIBits()
1234 return StretchDIBits(pSource, color, left - pSrcRect->left, in SetDIBits()
1239 if (pSource->HasAlpha()) { in SetDIBits()
1243 !bitmap.CompositeBitmap(0, 0, width, height, pSource, pSrcRect->left, in SetDIBits()
1251 CFX_DIBExtractor temp(pSource); in SetDIBits()
1258 bool CGdiDisplayDriver::UseFoxitStretchEngine(const CFX_DIBSource* pSource, in UseFoxitStretchEngine() argument
[all …]
Dfx_win32_gdipext.cpp467 const CFX_DIBitmap* pSource, in StretchMonoToGray() argument
485 int src_width = pSource->GetWidth(); in StretchMonoToGray()
486 int src_height = pSource->GetHeight(); in StretchMonoToGray()
490 LPBYTE src_buf = pSource->GetBuffer(); in StretchMonoToGray()
491 int src_pitch = pSource->GetPitch(); in StretchMonoToGray()
/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.h23 void SetEventSource(CFWL_Widget* pSource);
/external/pdfium/core/fpdfapi/font/
Dcpdf_type3char.cpp32 std::unique_ptr<CFX_DIBSource> pSource = in LoadBitmap() local
34 if (pSource) in LoadBitmap()
35 m_pBitmap = pSource->Clone(); in LoadBitmap()
/external/pdfium/core/fxcodec/codec/
Dfx_codec_jpeg.cpp487 bool CCodec_JpegModule::JpegEncode(const CFX_DIBSource* pSource, argument
501 int Bpp = pSource->GetBPP() / 8;
502 uint32_t nComponents = Bpp >= 3 ? (pSource->IsCmykImage() ? 4 : 3) : 1;
503 uint32_t pitch = pSource->GetPitch();
504 uint32_t width = pdfium::base::checked_cast<uint32_t>(pSource->GetWidth());
505 uint32_t height = pdfium::base::checked_cast<uint32_t>(pSource->GetHeight());
549 const uint8_t* src_scan = pSource->GetScanline(cinfo.next_scanline);
Dccodec_jpegmodule.h63 static bool JpegEncode(const CFX_DIBSource* pSource,
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp561 bool Upsample(const CFX_DIBSource* pSource, in Upsample() argument
569 void* buffer = pSource->GetBuffer(); in Upsample()
572 SkColorType colorType = forceAlpha || pSource->IsAlphaMask() in Upsample()
576 pSource->IsAlphaMask() ? kPremul_SkAlphaType : kOpaque_SkAlphaType; in Upsample()
577 int width = pSource->GetWidth(); in Upsample()
578 int height = pSource->GetHeight(); in Upsample()
579 int rowBytes = pSource->GetPitch(); in Upsample()
580 switch (pSource->GetBPP()) { in Upsample()
597 if (pSource->GetPalette()) { in Upsample()
600 const SkPMColor* ctable = pSource->GetPalette(); in Upsample()
[all …]
/external/pdfium/core/fpdfapi/page/
Dcpdf_image.cpp371 CPDF_DIBSource* pSource = static_cast<CPDF_DIBSource*>(m_pDIBSource); in Continue() local
372 int ret = pSource->ContinueLoadDIBSource(pPause); in Continue()
381 m_pMask = pSource->DetachMask(); in Continue()
382 m_MatteColor = pSource->GetMatteColor(); in Continue()
/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/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLCipherRSA.java556 PSource pSource = spec.getPSource(); in readOAEPParameters() local
557 if (!"PSpecified".equals(pSource.getAlgorithm()) in readOAEPParameters()
558 || !(pSource instanceof PSource.PSpecified)) { in readOAEPParameters()
562 label = ((PSource.PSpecified) pSource).getValue(); in readOAEPParameters()
/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/pdfium/fpdfsdk/javascript/
Dcjs_event_context.cpp154 void CJS_EventContext::OnField_Calculate(CPDF_FormField* pSource, in OnField_Calculate() argument
158 m_pEventHandler->OnField_Calculate(pSource, pTarget, Value, bRc); in OnField_Calculate()
DJS_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()
Dijs_event_context.h62 virtual void OnField_Calculate(CPDF_FormField* pSource,
Dcjs_event_context.h59 void OnField_Calculate(CPDF_FormField* pSource,
DJS_Runtime_Stub.cpp55 void OnField_Calculate(CPDF_FormField* pSource, in OnField_Calculate() argument
DJS_EventHandler.h81 void OnField_Calculate(CPDF_FormField* pSource,
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp1660 bool CFX_AggDeviceDriver::StretchDIBits(const CFX_DIBSource* pSource, in StretchDIBits() argument
1672 if (dest_width == pSource->GetWidth() && in StretchDIBits()
1673 dest_height == pSource->GetHeight()) { in StretchDIBits()
1675 return SetDIBits(pSource, argb, &rect, dest_left, dest_top, blend_type); in StretchDIBits()
1686 CFX_ImageStretcher stretcher(&composer, pSource, dest_width, dest_height, in StretchDIBits()
1693 bool CFX_AggDeviceDriver::StartDIBits(const CFX_DIBSource* pSource, in StartDIBits() argument
1704 pRenderer->Start(m_pBitmap, m_pClipRgn.get(), pSource, bitmap_alpha, argb, in StartDIBits()
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
DPVRTPrint3DAPI.cpp465 bool CPVRTPrint3D::APIUpLoadTexture(const PVRTuint8* pSource, const PVRTextureHeaderV3* header, CPV… in APIUpLoadTexture() argument
467 …if(PVRTTextureLoadFromPointer(pSource, &m_pAPI->m_uTextureFont, header, true, 0U, NULL, &MetaDataM… in APIUpLoadTexture()
/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTPrint3D.h506 …bool APIUpLoadTexture(const PVRTuint8* pSource, const PVRTextureHeaderV3* header, CPVRTMap<PVRTuin…
/external/pdfium/core/fxge/
Dfx_dib.h599 const CFX_DIBSource* pSource,
667 const CFX_DIBSource* pSource,

12