Home
last modified time | relevance | path

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

/third_party/skia/src/core/
DSkBlitRow_D32.cpp67 SkAlpha255To256(alpha))); in blit_row_s32_blend()
77 *dst = SkPMLerp(*src, *dst, SkAlpha255To256(alpha)); in blit_row_s32_blend()
86 unsigned alpha = SkAlpha255To256(aa); in SkBlendARGB32_SSE2()
154 uint16_t src_scale = SkAlpha255To256(alpha); in blit_row_s32_blend()
199 unsigned alpha256 = SkAlpha255To256(alpha); in blit_row_s32a_blend()
276 *dst = SkPMLerp(*src, *dst, SkAlpha255To256(alpha)); in blit_row_s32_blend()
DSkBlitter_ARGB32.cpp309 srcA = SkAlpha255To256(srcA); in blit_row_lcd16()
528 colA = SkAlpha255To256(colA); in blit_row_lcd16()
584 srcA = SkAlpha255To256(srcA); in blit_row_lcd16()
677 unsigned scale = SkAlpha255To256(fSrcA); in SkARGB32_Blitter()
726 uint32_t sc = SkAlphaMulQ(color, SkAlpha255To256(aa)); in blitAntiH()
807 SkARGB32_BlendBW(fDevice, mask, clip, fPMColor, SkAlpha255To256(255 - fSrcA)); in blitMask()
865 color = SkAlphaMulQ(color, SkAlpha255To256(alpha)); in blitV()
868 unsigned dst_scale = SkAlpha255To256(255 - SkGetPackedA32(color)); in blitV()
958 int aa256 = SkAlpha255To256(aa); in blend_srcmode()
DSkBlurMask.cpp47 *dst = SkToU8(SkAlphaMul(*blur, SkAlpha255To256(*rowSrc))); in merge_src_with_blur()
87 *dst = SkToU8(SkAlphaMul(*dst, SkAlpha255To256(255 - srcValue))); in clamp_outer_with_orig()
DSkBitmapProcState.cpp267 fAlphaScale = SkAlpha255To256(fPaintAlpha); in chooseProcs()
DSkDevice.cpp188 int alpha = SkAlphaMul(SkColorGetA(c), SkAlpha255To256(paint.getAlpha())); in drawImageLattice()
/third_party/skia/include/core/
DSkColorPriv.h22 static inline unsigned SkAlpha255To256(U8CPU alpha) { in SkAlpha255To256() function
149 return src + SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); in SkPMSrcOver()
/third_party/skia/src/opts/
DSkBlitMask_opts.h96 *device = SkAlphaMulQ(pmc, SkAlpha255To256(aa)) in D32_A8_Opaque_Color_neon()
97 + SkAlphaMulQ(*device, SkAlpha255To256(255 - aa)); in D32_A8_Opaque_Color_neon()
149 + SkAlphaMulQ(*device, SkAlpha255To256(255 - aa)); in blit_mask_d32_a8_black()
/third_party/skia/tests/
DSrcOverTest.cpp13 return alpha + SkAlphaMul(dst, SkAlpha255To256(255 - alpha)); in test_srcover0()
/third_party/skia/include/private/
DSkColorData.h179 int scale = (int)SkAlpha255To256(srcWeight); in SkFourByteInterp()
278 unsigned src_scale = SkAlpha255To256(aa); in SkBlendARGB32()