Searched refs:SkAlpha255To256 (Results 1 – 9 of 9) sorted by relevance
/third_party/skia/src/core/ |
D | SkBlitRow_D32.cpp | 67 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()
|
D | SkBlitter_ARGB32.cpp | 309 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()
|
D | SkBlurMask.cpp | 47 *dst = SkToU8(SkAlphaMul(*blur, SkAlpha255To256(*rowSrc))); in merge_src_with_blur() 87 *dst = SkToU8(SkAlphaMul(*dst, SkAlpha255To256(255 - srcValue))); in clamp_outer_with_orig()
|
D | SkBitmapProcState.cpp | 267 fAlphaScale = SkAlpha255To256(fPaintAlpha); in chooseProcs()
|
D | SkDevice.cpp | 188 int alpha = SkAlphaMul(SkColorGetA(c), SkAlpha255To256(paint.getAlpha())); in drawImageLattice()
|
/third_party/skia/include/core/ |
D | SkColorPriv.h | 22 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/ |
D | SkBlitMask_opts.h | 96 *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/ |
D | SrcOverTest.cpp | 13 return alpha + SkAlphaMul(dst, SkAlpha255To256(255 - alpha)); in test_srcover0()
|
/third_party/skia/include/private/ |
D | SkColorData.h | 179 int scale = (int)SkAlpha255To256(srcWeight); in SkFourByteInterp() 278 unsigned src_scale = SkAlpha255To256(aa); in SkBlendARGB32()
|