/external/pdfium/core/src/fpdfapi/fpdf_render/ |
H A D | fpdf_render_cache.cpp | 107 void CPDF_PageRenderCache::GetCachedBitmap(CPDF_Stream* pStream, CFX_DIBSource*& pBitmap, CFX_DIBSource*& pMask, FX_DWORD& MatteColor, argument 117 FX_BOOL bCached = pImageCache->GetCachedBitmap(pBitmap, pMask, MatteColor, m_pPage->m_pPageResources, bStdCS, GroupFamily, bLoadMask, pRenderStatus, downsampleWidth, downsampleHeight); 227 FX_BOOL CPDF_ImageCache::GetCachedBitmap(CFX_DIBSource*& pBitmap, CFX_DIBSource*& pMask, FX_DWORD& MatteColor, CPDF_Dictionary* pPageResources, argument 233 pMask = m_pCachedMask; 263 pMask = m_pCachedMask;
|
H A D | fpdf_render_image.cpp | 968 CFX_DIBitmap* pMask = NULL; local 1046 pMask = new CFX_DIBitmap; 1047 if (!pMask->Create(width, height, FXDIB_8bppMask)) { 1048 delete pMask; 1051 FX_LPBYTE dest_buf = pMask->GetBuffer(); 1052 int dest_pitch = pMask->GetPitch(); 1091 return pMask;
|
H A D | fpdf_render_loadimage.cpp | 530 CPDF_Object* pMask = m_pDict->GetElementValue(FX_BSTRC("Mask")); local 531 if (pMask == NULL) { 534 if (pMask->GetType() == PDFOBJ_ARRAY) { 535 CPDF_Array* pArray = (CPDF_Array*)pMask; 735 CPDF_Object* pMask = m_pDict->GetElementValue(FX_BSTRC("Mask")); local 736 if (pMask == NULL) { 739 if (pMask->GetType() == PDFOBJ_STREAM) { 740 return LoadMaskDIB((CPDF_Stream*)pMask); 796 CPDF_DIBSource* CPDF_DIBSource::LoadMaskDIB(CPDF_Stream* pMask) argument 799 if (!pMaskSource->Load(m_pDocument, pMask, NUL [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
H A D | fpdf_edit_image.cpp | 94 void CPDF_Image::SetImage(const CFX_DIBitmap* pBitmap, FX_INT32 iCompress, IFX_FileWrite *pFileWrite, IFX_FileRead *pFileRead, const CFX_DIBitmap* pMask, const CPDF_ImageSetParam* pParam) argument 198 if (!pMaskBitmap && pMask) { 199 FXDIB_Format maskFormat = pMask->GetFormat(); 201 pMaskBitmap = pMask;
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
H A D | xorg_composite.c | 297 struct exa_pixmap_priv *pSrc, struct exa_pixmap_priv *pMask) 342 fs_traits |= picture_format_fixups(pMask, pMaskPicture, TRUE, pDstPicture); 355 struct exa_pixmap_priv *pMask, 398 if (pMaskPicture && pMask) { 414 pMask->tex, 415 pMask->tex->format); 416 src_view = pipe->create_sampler_view(pipe, pMask->tex, &view_templ); 475 struct exa_pixmap_priv *pMask, 485 bind_shaders(exa, op, pSrcPicture, pMaskPicture, pDstPicture, pSrc, pMask); 487 pDstPicture, pSrc, pMask, pDs 295 bind_shaders(struct exa_context *exa, int op, PicturePtr pSrcPicture, PicturePtr pMaskPicture, PicturePtr pDstPicture, struct exa_pixmap_priv *pSrc, struct exa_pixmap_priv *pMask) argument 351 bind_samplers(struct exa_context *exa, int op, PicturePtr pSrcPicture, PicturePtr pMaskPicture, PicturePtr pDstPicture, struct exa_pixmap_priv *pSrc, struct exa_pixmap_priv *pMask, struct exa_pixmap_priv *pDst) argument 469 xorg_composite_bind_state(struct exa_context *exa, int op, PicturePtr pSrcPicture, PicturePtr pMaskPicture, PicturePtr pDstPicture, struct exa_pixmap_priv *pSrc, struct exa_pixmap_priv *pMask, struct exa_pixmap_priv *pDst) argument [all...] |
H A D | xorg_exa.c | 611 PixmapPtr pSrc, PixmapPtr pMask, PixmapPtr pDst) 662 if (pMask) { 663 priv = exaGetPixmapDriverPrivate(pMask); 665 XORG_FALLBACK("pMask %s", !priv ? "!priv" : "!priv->tex"); 670 XORG_FALLBACK("pMask format: %s", util_format_name(priv->tex->format)); 673 XORG_FALLBACK("pMask pic_format: %s != %s", 681 pMask ? exaGetPixmapDriverPrivate(pMask) : NULL, 609 ExaPrepareComposite(int op, PicturePtr pSrcPicture, PicturePtr pMaskPicture, PicturePtr pDstPicture, PixmapPtr pSrc, PixmapPtr pMask, PixmapPtr pDst) argument
|
/external/opencv/cv/src/ |
H A D | cvfloodfill.cpp | 373 icvFloodFill_Grad_8u_CnIR( uchar* pImage, int step, uchar* pMask, int maskStep, argument 379 uchar* mask = (pMask += maskStep + 1) + maskStep*seed.y; 482 mask = pMask + (YC + dir) * maskStep; 570 mask = pMask + (YC + dir) * maskStep; 679 icvFloodFill_Grad_32f_CnIR( float* pImage, int step, uchar* pMask, int maskStep, argument 685 uchar* mask = (pMask += maskStep + 1) + maskStep*seed.y; 788 mask = pMask + (YC + dir) * maskStep; 877 mask = pMask + (YC + dir) * maskStep;
|
/external/opencv/cvaux/src/ |
H A D | cvsegment.cpp | 85 uchar* pMask, int maskStep, 92 uchar* mask = pMask + maskStep * (seed.y + 1); 104 mask = pMask + seed.y*maskStep; 146 mask = pMask + (YC + flag) * maskStep; 207 uchar* pMask, int maskStep, 212 uchar* mask = pMask + maskStep * rect.y + rect.x; 84 icvSegmFloodFill_Stage1( uchar* pImage, int step, uchar* pMask, int maskStep, CvSize , CvPoint seed, int* newVal, int d_lw, int d_up, CvConnectedComp * region, void *pStack ) argument 206 icvSegmFloodFill_Stage2( uchar* pImage, int step, uchar* pMask, int maskStep, CvSize , int* newVal, CvRect rect ) argument
|
/external/pdfium/core/src/fxge/dib/ |
H A D | fx_dib_composite.cpp | 4146 const CFX_DIBSource* pMask, FX_DWORD color, int src_left, int src_top, 4152 ASSERT(pMask->IsAlphaMask()); 4154 if (!pMask->IsAlphaMask() || m_bpp < 8) { 4157 GetOverlapRect(dest_left, dest_top, width, height, pMask->GetWidth(), pMask->GetHeight(), src_left, src_top, pClipRgn); 4172 int src_bpp = pMask->GetBPP(); 4175 if (!compositor.Init(GetFormat(), pMask->GetFormat(), width, NULL, color, blend_type, pClipMask != NULL, bRgbByteOrder, alpha_flag, pIccTransform)) { 4180 FX_LPCBYTE src_scan = pMask->GetScanline(src_top + row); 4145 CompositeMask(int dest_left, int dest_top, int width, int height, const CFX_DIBSource* pMask, FX_DWORD color, int src_left, int src_top, int blend_type, const CFX_ClipRgn* pClipRgn, FX_BOOL bRgbByteOrder, int alpha_flag, void* pIccTransform) argument
|
H A D | fx_dib_main.cpp | 423 const CFX_DIBSource* pMask, FX_DWORD color, int src_left, int src_top, int alpha_flag, void* pIccTransform) 429 ASSERT(pMask->IsAlphaMask()); 430 if (!HasAlpha() || !pMask->IsAlphaMask() || m_bpp < 24) { 433 GetOverlapRect(dest_left, dest_top, width, height, pMask->GetWidth(), pMask->GetHeight(), src_left, src_top, NULL); 437 int src_bpp = pMask->GetBPP(); 465 FX_LPCBYTE src_scan = pMask->GetScanline(src_top + row); 490 FX_LPCBYTE src_scan = pMask->GetScanline(src_top + row); 562 CFX_DIBitmap* pMask = new CFX_DIBitmap; local 563 if (!pMask 422 TransferMask(int dest_left, int dest_top, int width, int height, const CFX_DIBSource* pMask, FX_DWORD color, int src_left, int src_top, int alpha_flag, void* pIccTransform) argument 887 CFX_DIBitmap* pMask = new CFX_DIBitmap; local 918 CFX_DIBitmap* pMask = new CFX_DIBitmap; local 935 CFX_DIBitmap* pMask = new CFX_DIBitmap; local 953 CFX_DIBitmap* pMask = new CFX_DIBitmap; local [all...] |
/external/pdfium/core/src/reflow/ |
H A D | layoutprocessor_reflow.cpp | 1083 CFX_DIBSource* pMask = pImage->DetachMask(); local 1084 if (pMask) { 1085 if (!pMask->IsAlphaMask()) { 1086 CFX_DIBitmap* pMaskBmp = pMask->Clone(); 1091 pRFImage->m_pBitmap->MultiplyAlpha(pMask); 1093 delete pMask;
|