Home
last modified time | relevance | path

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

12

/external/pdfium/core/src/fxge/win32/
Dfx_win32_print.cpp36 FX_BOOL CGdiPrinterDriver::SetDIBits(const CFX_DIBSource* pSource, in SetDIBits() argument
44 if (pSource->IsAlphaMask()) { in SetDIBits()
47 return StretchDIBits(pSource, color, left - pSrcRect->left, in SetDIBits()
48 top - pSrcRect->top, pSource->GetWidth(), in SetDIBits()
49 pSource->GetHeight(), &clip_rect, 0, alpha_flag, in SetDIBits()
52 ASSERT(pSource && !pSource->IsAlphaMask() && pSrcRect); in SetDIBits()
54 if (pSource->HasAlpha()) { in SetDIBits()
57 CFX_DIBExtractor temp(pSource); in SetDIBits()
64 FX_BOOL CGdiPrinterDriver::StretchDIBits(const CFX_DIBSource* pSource, in StretchDIBits() argument
75 if (pSource->IsAlphaMask()) { in StretchDIBits()
[all …]
Dfx_win32_device.cpp1091 FX_BOOL CGdiDisplayDriver::SetDIBits(const CFX_DIBSource* pSource, in SetDIBits() argument
1100 if (pSource->IsAlphaMask()) { in SetDIBits()
1101 int width = pSource->GetWidth(), height = pSource->GetHeight(); in SetDIBits()
1105 FX_BOOL bGDI = pSource->GetBPP() == 1 && alpha == 255; in SetDIBits()
1110 !background.CompositeMask(0, 0, width, height, pSource, color, 0, 0, in SetDIBits()
1121 return StretchDIBits(pSource, color, left - pSrcRect->left, in SetDIBits()
1126 if (pSource->HasAlpha()) { in SetDIBits()
1130 !bitmap.CompositeBitmap(0, 0, width, height, pSource, pSrcRect->left, in SetDIBits()
1139 CFX_DIBExtractor temp(pSource); in SetDIBits()
1146 FX_BOOL CGdiDisplayDriver::UseFoxitStretchEngine(const CFX_DIBSource* pSource, in UseFoxitStretchEngine() argument
[all …]
Dfx_win32_gdipext.cpp464 const CFX_DIBitmap* pSource, in _StretchMonoToGray() argument
483 int src_width = pSource->GetWidth(); in _StretchMonoToGray()
484 int src_height = pSource->GetHeight(); in _StretchMonoToGray()
488 LPBYTE src_buf = pSource->GetBuffer(); in _StretchMonoToGray()
489 int src_pitch = pSource->GetPitch(); in _StretchMonoToGray()
Dwin32_int.h223 FX_BOOL UseFoxitStretchEngine(const CFX_DIBSource* pSource,
/external/pdfium/core/src/fxge/ge/
Dfx_ge_ps.cpp324 FX_BOOL CFX_PSRenderer::SetDIBits(const CFX_DIBSource* pSource, in SetDIBits() argument
331 CFX_Matrix matrix((FX_FLOAT)(pSource->GetWidth()), 0.0f, 0.0f, in SetDIBits()
332 -(FX_FLOAT)(pSource->GetHeight()), (FX_FLOAT)(left), in SetDIBits()
333 (FX_FLOAT)(top + pSource->GetHeight())); in SetDIBits()
334 return DrawDIBits(pSource, color, &matrix, 0, alpha_flag, pIccTransform); in SetDIBits()
336 FX_BOOL CFX_PSRenderer::StretchDIBits(const CFX_DIBSource* pSource, in StretchDIBits() argument
349 return DrawDIBits(pSource, color, &matrix, flags, alpha_flag, pIccTransform); in StretchDIBits()
351 FX_BOOL CFX_PSRenderer::DrawDIBits(const CFX_DIBSource* pSource, in DrawDIBits() argument
362 if (pSource->HasAlpha()) { in DrawDIBits()
367 if (pSource->IsAlphaMask() && (alpha < 255 || pSource->GetBPP() != 1)) { in DrawDIBits()
[all …]
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_jpeg.cpp123 static void _JpegEncode(const CFX_DIBSource* pSource, in _JpegEncode() argument
140 int Bpp = pSource->GetBPP() / 8; in _JpegEncode()
141 FX_DWORD nComponents = Bpp >= 3 ? (pSource->IsCmykImage() ? 4 : 3) : 1; in _JpegEncode()
142 FX_DWORD pitch = pSource->GetPitch(); in _JpegEncode()
143 FX_DWORD width = pdfium::base::checked_cast<FX_DWORD>(pSource->GetWidth()); in _JpegEncode()
144 FX_DWORD height = pdfium::base::checked_cast<FX_DWORD>(pSource->GetHeight()); in _JpegEncode()
198 const uint8_t* src_scan = pSource->GetScanline(cinfo.next_scanline); in _JpegEncode()
543 FX_BOOL CCodec_JpegModule::Encode(const CFX_DIBSource* pSource, in Encode() argument
549 if (pSource->GetBPP() < 8 || pSource->GetPalette()) in Encode()
552 _JpegEncode(pSource, dest_buf, dest_size, quality, icc_buf, icc_length); in Encode()
/external/opencv3/modules/videoio/src/
Dcap_msmf.cpp422 HRESULT initImageGrabber(MAKE_WRL_REF(_MediaCapture) pSource,
451 HRESULT initImageGrabber(IMFMediaSource *pSource);
468 … HRESULT CreateTopology(IMFMediaSource *pSource, IMFActivate *pSinkActivate, IMFTopology **ppTopo);
469 HRESULT AddSourceNode(IMFTopology *pTopology, IMFMediaSource *pSource,
482 …static HRESULT CreateInstance(ImageGrabberThread **ppIGT, IMFMediaSource *pSource, unsigned int de…
490 ImageGrabberThread(IMFMediaSource *pSource, unsigned int deviceID, bool synchronious);
607 HRESULT enumerateCaptureFormats(IMFMediaSource *pSource);
608 long setDeviceFormat(IMFMediaSource *pSource, unsigned long dwFormatIndex);
612 HRESULT enumerateCaptureFormats(MAKE_WRL_REF(_MediaCapture) pSource);
613 …long setDeviceFormat(MAKE_WRL_REF(_MediaCapture) pSource, unsigned long dwFormatIndex, MAKE_WRL_RE…
[all …]
/external/pdfium/core/src/fxge/dib/
Dfx_dib_engine.cpp781 const CFX_DIBSource* pSource, in Start() argument
786 m_DestFormat = _GetStretchedFormat(pSource); in Start()
789 m_pSource = pSource; in Start()
794 if (pSource->GetFormat() == FXDIB_1bppRgb && pSource->GetPalette()) { in Start()
797 ArgbDecode(pSource->GetPaletteEntry(0), a0, r0, g0, b0); in Start()
798 ArgbDecode(pSource->GetPaletteEntry(1), a1, r1, g1, b1); in Start()
809 } else if (pSource->GetFormat() == FXDIB_1bppCmyk && pSource->GetPalette()) { in Start()
812 CmykDecode(pSource->GetPaletteEntry(0), c0, m0, y0, k0); in Start()
813 CmykDecode(pSource->GetPaletteEntry(1), c1, m1, y1, k1); in Start()
Dfx_dib_main.cpp1558 const CFX_DIBSource* pSource, argument
1601 if (!m_Stretcher.Start(&m_Composer, pSource, dest_height, dest_width,
1610 m_pTransformer->Start(pSource, &m_Matrix, dib_flags, &m_ClipBox);
1630 ret = m_Stretcher.Start(&m_Composer, pSource, dest_width, dest_height,
/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/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DAlgorithmParametersSpi.java63 PSource.PSpecified pSource = (PSource.PSpecified)currentSpec.getPSource(); in engineGetEncoded() local
65 … PKCSObjectIdentifiers.id_pSpecified, new DEROctetString(pSource.getValue())); in engineGetEncoded()
/external/pdfium/fpdfsdk/src/javascript/
DJS_Context.cpp159 void CJS_Context::OnField_Calculate(CPDF_FormField* pSource, in OnField_Calculate() argument
163 m_pEventHandler->OnField_Calculate(pSource, pTarget, Value, bRc); in OnField_Calculate()
DJS_EventHandler.cpp225 void CJS_EventHandler::OnField_Calculate(CPDF_FormField* pSource, in OnField_Calculate() argument
231 if (pSource) in OnField_Calculate()
232 m_strSourceName = pSource->GetFullName(); in OnField_Calculate()
DJS_Context.h57 void OnField_Calculate(CPDF_FormField* pSource,
DJS_Runtime_Stub.cpp55 void OnField_Calculate(CPDF_FormField* pSource, in OnField_Calculate() argument
DJS_EventHandler.h80 void OnField_Calculate(CPDF_FormField* pSource,
/external/pdfium/xfa/src/fwl/src/core/
Dfwl_noteimp.cpp846 int32_t CFWL_EventTarget::SetEventSource(IFWL_Widget* pSource, in SetEventSource() argument
848 if (pSource) { in SetEventSource()
849 m_eventSources.SetAt(pSource, dwFilter); in SetEventSource()
864 IFWL_Widget* pSource = NULL; in ProcessEvent() local
866 m_eventSources.GetNextAssoc(pos, (void*&)pSource, dwFilter); in ProcessEvent()
867 if (pSource == pEvent->m_pSrcTarget || in ProcessEvent()
/external/pdfium/core/src/fxge/skia/
Dfx_skia_device.cpp552 FX_BOOL CFX_SkiaDeviceDriver::StretchDIBits(const CFX_DIBSource* pSource, in StretchDIBits() argument
562 return m_pAggDriver->StretchDIBits(pSource, argb, dest_left, dest_top, in StretchDIBits()
567 FX_BOOL CFX_SkiaDeviceDriver::StartDIBits(const CFX_DIBSource* pSource, in StartDIBits() argument
575 return m_pAggDriver->StartDIBits(pSource, bitmap_alpha, argb, pMatrix, in StartDIBits()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_text.cpp325 const CFX_DIBSource* pSource = pImage->m_pImage->LoadDIBSource(); in LoadBitmap() local
326 if (pSource) { in LoadBitmap()
327 m_pBitmap = pSource->Clone(); in LoadBitmap()
328 delete pSource; in LoadBitmap()
Dfpdf_render_loadimage.cpp100 CPDF_DIBSource* pSource = new CPDF_DIBSource; in LoadDIBSource() local
101 if (pSource->Load(m_pDocument, m_pStream, (CPDF_DIBSource**)ppMask, in LoadDIBSource()
103 return pSource; in LoadDIBSource()
105 delete pSource; in LoadDIBSource()
/external/pdfium/fpdfsdk/include/javascript/
DIJavaScript.h65 virtual void OnField_Calculate(CPDF_FormField* pSource,
/external/pdfium/core/src/fxge/agg/src/
Dfx_agg_driver.cpp1690 FX_BOOL CFX_AggDeviceDriver::StretchDIBits(const CFX_DIBSource* pSource, in StretchDIBits() argument
1704 if (dest_width == pSource->GetWidth() && in StretchDIBits()
1705 dest_height == pSource->GetHeight()) { in StretchDIBits()
1707 return SetDIBits(pSource, argb, &rect, dest_left, dest_top, blend_type, in StretchDIBits()
1721 if (stretcher.Start(&composer, pSource, dest_width, dest_height, dest_clip, in StretchDIBits()
1727 FX_BOOL CFX_AggDeviceDriver::StartDIBits(const CFX_DIBSource* pSource, in StartDIBits() argument
1740 pRenderer->Start(m_pBitmap, m_pClipRgn, pSource, bitmap_alpha, argb, pMatrix, in StartDIBits()
/external/pdfium/xfa/src/fwl/src/core/include/
Dfwl_noteimp.h116 int32_t SetEventSource(IFWL_Widget* pSource,
/external/icu/icu4c/source/test/cintltst/
Dnucnvtst.c4911 const char * pSource = (const char *)pszLMBCS; in TestLMBCS() local
4938 &pSource, in TestLMBCS()
5080 const char * pSource = (const char *)pszLMBCS; in TestLMBCS() local
5096 while ((pSource < sourceLimit) && U_SUCCESS (errorCode)) in TestLMBCS()
5101 &pSource, in TestLMBCS()
5102 (pSource+1), /* claim that this is a 1- byte buffer */ in TestLMBCS()
5109 if ((pSource - (const char *)pszLMBCS) == offsets [codepointCount+1]) in TestLMBCS()

12