Home
last modified time | relevance | path

Searched refs:pMask (Results 1 – 25 of 27) sorted by relevance

12

/external/pdfium/core/src/fxge/dib/
Dfx_dib_main.cpp437 …const CFX_DIBSource* pMask, FX_DWORD color, int src_left, int src_top, int alpha_flag, void* pIccT… in TransferMask() argument
443 ASSERT(pMask->IsAlphaMask()); in TransferMask()
444 if (!HasAlpha() || !pMask->IsAlphaMask() || m_bpp < 24) { in TransferMask()
447 …GetOverlapRect(dest_left, dest_top, width, height, pMask->GetWidth(), pMask->GetHeight(), src_left… in TransferMask()
451 int src_pitch = pMask->GetPitch(); in TransferMask()
452 int src_bpp = pMask->GetBPP(); in TransferMask()
480 FX_LPCBYTE src_scan = pMask->GetScanline(src_top + row); in TransferMask()
505 FX_LPCBYTE src_scan = pMask->GetScanline(src_top + row); in TransferMask()
581 CFX_DIBitmap* pMask = FX_NEW CFX_DIBitmap; in GetAlphaMask() local
582 if (!pMask) { in GetAlphaMask()
[all …]
Dfx_dib_composite.cpp4180 … const CFX_DIBSource* pMask, FX_DWORD color, int src_left, int src_top, in CompositeMask() argument
4186 ASSERT(pMask->IsAlphaMask()); in CompositeMask()
4188 if (!pMask->IsAlphaMask() || m_bpp < 8) { in CompositeMask()
4191 …GetOverlapRect(dest_left, dest_top, width, height, pMask->GetWidth(), pMask->GetHeight(), src_left… in CompositeMask()
4206 int src_bpp = pMask->GetBPP(); in CompositeMask()
4209 …if (!compositor.Init(GetFormat(), pMask->GetFormat(), width, NULL, color, blend_type, pClipMask !=… in CompositeMask()
4214 FX_LPCBYTE src_scan = pMask->GetScanline(src_top + row); in CompositeMask()
/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_composite.c297 struct exa_pixmap_priv *pSrc, struct exa_pixmap_priv *pMask) in bind_shaders() argument
342 fs_traits |= picture_format_fixups(pMask, pMaskPicture, TRUE, pDstPicture); in bind_shaders()
355 struct exa_pixmap_priv *pMask, in bind_samplers() argument
398 if (pMaskPicture && pMask) { in bind_samplers()
414 pMask->tex, in bind_samplers()
415 pMask->tex->format); in bind_samplers()
416 src_view = pipe->create_sampler_view(pipe, pMask->tex, &view_templ); in bind_samplers()
475 struct exa_pixmap_priv *pMask, in xorg_composite_bind_state() argument
485 bind_shaders(exa, op, pSrcPicture, pMaskPicture, pDstPicture, pSrc, pMask); in xorg_composite_bind_state()
487 pDstPicture, pSrc, pMask, pDst); in xorg_composite_bind_state()
Dxorg_composite.h17 struct exa_pixmap_priv *pMask,
Dxorg_exa.c611 PixmapPtr pSrc, PixmapPtr pMask, PixmapPtr pDst) in ExaPrepareComposite() argument
662 if (pMask) { in ExaPrepareComposite()
663 priv = exaGetPixmapDriverPrivate(pMask); in ExaPrepareComposite()
681 pMask ? exaGetPixmapDriverPrivate(pMask) : NULL, in ExaPrepareComposite()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/
Dxorg_composite.c297 struct exa_pixmap_priv *pSrc, struct exa_pixmap_priv *pMask) in bind_shaders() argument
342 fs_traits |= picture_format_fixups(pMask, pMaskPicture, TRUE, pDstPicture); in bind_shaders()
355 struct exa_pixmap_priv *pMask, in bind_samplers() argument
398 if (pMaskPicture && pMask) { in bind_samplers()
414 pMask->tex, in bind_samplers()
415 pMask->tex->format); in bind_samplers()
416 src_view = pipe->create_sampler_view(pipe, pMask->tex, &view_templ); in bind_samplers()
475 struct exa_pixmap_priv *pMask, in xorg_composite_bind_state() argument
485 bind_shaders(exa, op, pSrcPicture, pMaskPicture, pDstPicture, pSrc, pMask); in xorg_composite_bind_state()
487 pDstPicture, pSrc, pMask, pDst); in xorg_composite_bind_state()
Dxorg_composite.h17 struct exa_pixmap_priv *pMask,
Dxorg_exa.c611 PixmapPtr pSrc, PixmapPtr pMask, PixmapPtr pDst) in ExaPrepareComposite() argument
662 if (pMask) { in ExaPrepareComposite()
663 priv = exaGetPixmapDriverPrivate(pMask); in ExaPrepareComposite()
681 pMask ? exaGetPixmapDriverPrivate(pMask) : NULL, in ExaPrepareComposite()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_cache.cpp107 …chedBitmap(CPDF_Stream* pStream, CFX_DIBSource*& pBitmap, CFX_DIBSource*& pMask, FX_DWORD& MatteCo… in GetCachedBitmap() argument
117 …FX_BOOL bCached = pImageCache->GetCachedBitmap(pBitmap, pMask, MatteColor, m_pPage->m_pPageResourc… in GetCachedBitmap()
227 FX_BOOL CPDF_ImageCache::GetCachedBitmap(CFX_DIBSource*& pBitmap, CFX_DIBSource*& pMask, FX_DWORD& … in GetCachedBitmap() argument
233 pMask = m_pCachedMask; in GetCachedBitmap()
280 pMask = m_pCachedMask; in GetCachedBitmap()
Dfpdf_render_loadimage.cpp555 CPDF_Object* pMask = m_pDict->GetElementValue(FX_BSTRC("Mask")); in LoadColorInfo() local
556 if (pMask == NULL) { in LoadColorInfo()
559 if (pMask->GetType() == PDFOBJ_ARRAY) { in LoadColorInfo()
560 CPDF_Array* pArray = (CPDF_Array*)pMask; in LoadColorInfo()
767 CPDF_Object* pMask = m_pDict->GetElementValue(FX_BSTRC("Mask")); in LoadMask() local
768 if (pMask == NULL) { in LoadMask()
771 if (pMask->GetType() == PDFOBJ_STREAM) { in LoadMask()
772 return LoadMaskDIB((CPDF_Stream*)pMask); in LoadMask()
828 CPDF_DIBSource* CPDF_DIBSource::LoadMaskDIB(CPDF_Stream* pMask) in LoadMaskDIB() argument
831 if (!pMaskSource->Load(m_pDocument, pMask, NULL, NULL, NULL, NULL, TRUE)) { in LoadMaskDIB()
Dfpdf_render_image.cpp1050 CFX_DIBitmap* pMask = NULL; in LoadSMask() local
1119 pMask = FX_NEW CFX_DIBitmap; in LoadSMask()
1120 if (!pMask->Create(width, height, FXDIB_8bppMask)) { in LoadSMask()
1121 delete pMask; in LoadSMask()
1124 FX_LPBYTE dest_buf = pMask->GetBuffer(); in LoadSMask()
1125 int dest_pitch = pMask->GetPitch(); in LoadSMask()
1164 return pMask; in LoadSMask()
Drender_int.h331 …FX_BOOL GetCachedBitmap(CFX_DIBSource*& pBitmap, CFX_DIBSource*& pMask, FX_DWORD& MatteColor, C…
416 CPDF_DIBSource* LoadMaskDIB(CPDF_Stream* pMask);
/external/opencv/cvaux/src/
Dcvsegment.cpp85 uchar* pMask, int maskStep, in icvSegmFloodFill_Stage1() argument
92 uchar* mask = pMask + maskStep * (seed.y + 1); in icvSegmFloodFill_Stage1()
104 mask = pMask + seed.y*maskStep; in icvSegmFloodFill_Stage1()
146 mask = pMask + (YC + flag) * maskStep; in icvSegmFloodFill_Stage1()
207 uchar* pMask, int maskStep, in icvSegmFloodFill_Stage2() argument
212 uchar* mask = pMask + maskStep * rect.y + rect.x; in icvSegmFloodFill_Stage2()
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_image.cpp100 …, IFX_FileWrite *pFileWrite, IFX_FileRead *pFileRead, const CFX_DIBitmap* pMask, const CPDF_ImageS… in SetImage() argument
202 if (!pMaskBitmap && pMask) { in SetImage()
203 FXDIB_Format maskFormat = pMask->GetFormat(); in SetImage()
205 pMaskBitmap = pMask; in SetImage()
/external/opencv/cv/src/
Dcvfloodfill.cpp373 icvFloodFill_Grad_8u_CnIR( uchar* pImage, int step, uchar* pMask, int maskStep, in icvFloodFill_Grad_8u_CnIR() argument
379 uchar* mask = (pMask += maskStep + 1) + maskStep*seed.y; in icvFloodFill_Grad_8u_CnIR()
482 mask = pMask + (YC + dir) * maskStep; in icvFloodFill_Grad_8u_CnIR()
570 mask = pMask + (YC + dir) * maskStep; in icvFloodFill_Grad_8u_CnIR()
679 icvFloodFill_Grad_32f_CnIR( float* pImage, int step, uchar* pMask, int maskStep, in icvFloodFill_Grad_32f_CnIR() argument
685 uchar* mask = (pMask += maskStep + 1) + maskStep*seed.y; in icvFloodFill_Grad_32f_CnIR()
788 mask = pMask + (YC + dir) * maskStep; in icvFloodFill_Grad_32f_CnIR()
877 mask = pMask + (YC + dir) * maskStep; in icvFloodFill_Grad_32f_CnIR()
D_cvipp.h754 int normStep, uchar* pMask, int maskStep,
/external/pdfium/core/src/reflow/
Dlayoutprocessor_reflow.cpp1092 CFX_DIBSource* pMask = pImage->DetachMask(); in CreateRFData() local
1093 if (pMask) { in CreateRFData()
1094 if (!pMask->IsAlphaMask()) { in CreateRFData()
1095 CFX_DIBitmap* pMaskBmp = pMask->Clone(); in CreateRFData()
1100 pRFImage->m_pBitmap->MultiplyAlpha(pMask); in CreateRFData()
1102 delete pMask; in CreateRFData()
/external/chromium_org/third_party/sqlite/src/src/
Dtrigger.c636 int *pMask /* OUT: Mask of TRIGGER_BEFORE|TRIGGER_AFTER */ in sqlite3TriggersExist() argument
651 if( pMask ){ in sqlite3TriggersExist()
652 *pMask = mask; in sqlite3TriggersExist()
DsqliteInt.h2830 Trigger *sqlite3TriggersExist(Parse *, Table*, int, ExprList*, int *pMask);
/external/pdfium/core/include/fpdfapi/
Dfpdf_render.h283 …void GetCachedBitmap(CPDF_Stream* pStream, CFX_DIBSource*& pBitmap, CFX_DIBSource*& pMask, FX_D…
Dfpdf_resource.h925 …e *pFileWrite = NULL, IFX_FileRead *pFileRead = NULL, const CFX_DIBitmap* pMask = NULL, const CPDF…
/external/pdfium/core/include/fxge/
Dfx_dib.h337 …const CFX_DIBSource* pMask, FX_DWORD color, int src_left, int src_top, int alpha_flag = 0, void* p…
340 … const CFX_DIBSource* pMask, FX_DWORD color, int src_left, int src_top,
/external/opencv/cvaux/include/
Dcvvidsurv.hpp1142 virtual void Process(IplImage* pImg, IplImage* pMask = NULL) = 0;
/external/pdfium/core/src/fxge/agg/agg23/
Dfx_agg_driver.cpp1431 const CFX_DIBitmap* pMask = m_pClipRgn->GetMask(); in SetPixel() local
1434 new_alpha = new_alpha * pMask->GetScanline(y)[x] / 255; in SetPixel()
/external/chromium_org/third_party/sqlite/amalgamation/
Dsqlite3.c11175 SQLITE_PRIVATE Trigger *sqlite3TriggersExist(Parse *, Table*, int, ExprList*, int *pMask);
95222 int *pMask /* OUT: Mask of TRIGGER_BEFORE|TRIGGER_AFTER */
95237 if( pMask ){
95238 *pMask = mask;

12