Home
last modified time | relevance | path

Searched refs:srcMask (Results 1 – 9 of 9) sorted by relevance

/external/skqp/src/core/
DSkBlitBWMaskTemplate.h25 static void SK_BLITBWMASK_NAME(const SkPixmap& dst, const SkMask& srcMask, in SK_BLITBWMASK_NAME() argument
27 SkASSERT(clip.fRight <= srcMask.fBounds.fRight); in SK_BLITBWMASK_NAME()
31 int maskLeft = srcMask.fBounds.fLeft; in SK_BLITBWMASK_NAME()
32 unsigned mask_rowBytes = srcMask.fRowBytes; in SK_BLITBWMASK_NAME()
40 const uint8_t* bits = srcMask.getAddr1(cx, cy); in SK_BLITBWMASK_NAME()
43 if (cx == maskLeft && clip.fRight == srcMask.fBounds.fRight) in SK_BLITBWMASK_NAME()
DSkAAClip.cpp2057 static void upscaleBW2A8(SkMask* dstMask, const SkMask& srcMask) { in upscaleBW2A8() argument
2058 SkASSERT(SkMask::kBW_Format == srcMask.fFormat); in upscaleBW2A8()
2061 const int width = srcMask.fBounds.width(); in upscaleBW2A8()
2062 const int height = srcMask.fBounds.height(); in upscaleBW2A8()
2064 const uint8_t* SK_RESTRICT src = (const uint8_t*)srcMask.fImage; in upscaleBW2A8()
2065 const size_t srcRB = srcMask.fRowBytes; in upscaleBW2A8()
/external/skia/src/core/
DSkBlitBWMaskTemplate.h25 static void SK_BLITBWMASK_NAME(const SkPixmap& dst, const SkMask& srcMask, in SK_BLITBWMASK_NAME() argument
27 SkASSERT(clip.fRight <= srcMask.fBounds.fRight); in SK_BLITBWMASK_NAME()
31 int maskLeft = srcMask.fBounds.fLeft; in SK_BLITBWMASK_NAME()
32 unsigned mask_rowBytes = srcMask.fRowBytes; in SK_BLITBWMASK_NAME()
40 const uint8_t* bits = srcMask.getAddr1(cx, cy); in SK_BLITBWMASK_NAME()
43 if (cx == maskLeft && clip.fRight == srcMask.fBounds.fRight) in SK_BLITBWMASK_NAME()
DSkAAClip.cpp2057 static void upscaleBW2A8(SkMask* dstMask, const SkMask& srcMask) { in upscaleBW2A8() argument
2058 SkASSERT(SkMask::kBW_Format == srcMask.fFormat); in upscaleBW2A8()
2061 const int width = srcMask.fBounds.width(); in upscaleBW2A8()
2062 const int height = srcMask.fBounds.height(); in upscaleBW2A8()
2064 const uint8_t* SK_RESTRICT src = (const uint8_t*)srcMask.fImage; in upscaleBW2A8()
2065 const size_t srcRB = srcMask.fRowBytes; in upscaleBW2A8()
/external/mesa3d/src/mesa/swrast/
Ds_masking.c59 GLuint srcMask; in _swrast_mask_rgba_span() local
60 memcpy(&srcMask, ctx->Color.ColorMask[buf], sizeof(srcMask)); in _swrast_mask_rgba_span()
61 const GLuint dstMask = ~srcMask; in _swrast_mask_rgba_span()
66 src[i] = (src[i] & srcMask) | (dst[i] & dstMask); in _swrast_mask_rgba_span()
/external/mesa3d/src/mesa/main/
Dpack.c175 GLubyte srcMask = 128; in _mesa_pack_bitmap() local
181 if (*s & srcMask) { in _mesa_pack_bitmap()
184 if (srcMask == 1) { in _mesa_pack_bitmap()
185 srcMask = 128; in _mesa_pack_bitmap()
189 srcMask = srcMask >> 1; in _mesa_pack_bitmap()
202 GLubyte srcMask = 128; in _mesa_pack_bitmap() local
208 if (*s & srcMask) { in _mesa_pack_bitmap()
211 if (srcMask == 1) { in _mesa_pack_bitmap()
212 srcMask = 128; in _mesa_pack_bitmap()
216 srcMask = srcMask >> 1; in _mesa_pack_bitmap()
[all …]
/external/epid-sdk/ext/ipp/sources/ippcp/
Dgsmodmethod.h91 BNU_CHUNK_T srcMask = 0-cpIsNonZero(moveFlag); in cpMaskMove_gs() local
92 BNU_CHUNK_T dstMask = ~srcMask; in cpMaskMove_gs()
95 dst[n] = (src[n] & srcMask) ^ (dst[n] & dstMask); in cpMaskMove_gs()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryBindingTests.cpp351 …const VkAccessFlags srcMask = static_cast<VkAccessFlags>(fromRes ? VK_ACCESS_HOST_WRITE… in makeMemoryBarrierInfo() local
357 srcMask, // VkAccessFlags srcAccessMask; in makeMemoryBarrierInfo()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_tgsi.cpp191 unsigned int srcMask(unsigned int s) const;
283 unsigned int Instruction::srcMask(unsigned int s) const in srcMask() function in tgsi::Instruction
1623 scanInstructionSrc(insn, insn.getSrc(s), insn.srcMask(s)); in scanInstruction()