Searched refs:SkAlphaBlend (Results 1 – 7 of 7) sorted by relevance
/external/skia/src/core/ |
D | SkBlitRow_D16.cpp | 41 SkAlphaBlend(SkPacked32ToR16(c), SkGetPackedR16(d), scale), in S32_D565_Blend() 42 SkAlphaBlend(SkPacked32ToG16(c), SkGetPackedG16(d), scale), in S32_D565_Blend() 43 SkAlphaBlend(SkPacked32ToB16(c), SkGetPackedB16(d), scale)); in S32_D565_Blend() 126 *dst++ = SkPackRGB16(SkAlphaBlend(sr, SkGetPackedR16(d), scale), in S32_D565_Blend_Dither() 127 SkAlphaBlend(sg, SkGetPackedG16(d), scale), in S32_D565_Blend_Dither() 128 SkAlphaBlend(sb, SkGetPackedB16(d), scale)); in S32_D565_Blend_Dither()
|
D | SkSpriteBlitter_RGB16.cpp | 30 dr = SkAlphaBlend(SkPacked32ToR16(sc), SkGetPackedR16(dc), src_scale); in D16_S32A_Blend_Pixel_helper() 31 dg = SkAlphaBlend(SkPacked32ToG16(sc), SkGetPackedG16(dc), src_scale); in D16_S32A_Blend_Pixel_helper() 32 db = SkAlphaBlend(SkPacked32ToB16(sc), SkGetPackedB16(dc), src_scale); in D16_S32A_Blend_Pixel_helper()
|
D | SkXfermode.cpp | 770 A = SkAlphaBlend(A, dstA, SkAlpha255To256(a)); in xferA8() 927 A = SkAlphaBlend(A, dstA, SkAlpha255To256(a)); in xferA8() 1127 dst[i] = SkToU8(SkAlphaBlend(srcA, dst[i], a)); in xferA8()
|
/external/skia/src/effects/ |
D | SkLerpXfermode.cpp | 91 unsigned resA = SkAlphaBlend(SkGetPackedA32(src[i]), dstA, scale); in xferA8() 93 resA = SkAlphaBlend(resA, dstA, a + (a >> 7)); in xferA8() 100 dst[i] = SkAlphaBlend(SkGetPackedA32(src[i]), dst[i], scale); in xferA8()
|
/external/skia/src/opts/ |
D | SkBlitRow_opts_mips_dsp.cpp | 102 *dst++ = SkPackRGB16(SkAlphaBlend(SkPacked32ToR16(c), SkGetPackedR16(d), alpha), in S32_D565_Blend_mips_dsp() 103 SkAlphaBlend(SkPacked32ToG16(c), SkGetPackedG16(d), alpha), in S32_D565_Blend_mips_dsp() 104 SkAlphaBlend(SkPacked32ToB16(c), SkGetPackedB16(d), alpha)); in S32_D565_Blend_mips_dsp() 529 *dst++ = SkPackRGB16(SkAlphaBlend(sr, SkGetPackedR16(d), alpha), in S32_D565_Blend_Dither_mips_dsp() 530 SkAlphaBlend(sg, SkGetPackedG16(d), alpha), in S32_D565_Blend_Dither_mips_dsp() 531 SkAlphaBlend(sb, SkGetPackedB16(d), alpha)); in S32_D565_Blend_Dither_mips_dsp()
|
D | SkBlitRow_opts_arm_neon.cpp | 183 SkAlphaBlend(SkPacked32ToR16(c), SkGetPackedR16(d), scale), in S32_D565_Blend_neon() 184 SkAlphaBlend(SkPacked32ToG16(c), SkGetPackedG16(d), scale), in S32_D565_Blend_neon() 185 SkAlphaBlend(SkPacked32ToB16(c), SkGetPackedB16(d), scale)); in S32_D565_Blend_neon() 868 *dst++ = SkPackRGB16(SkAlphaBlend(sr, SkGetPackedR16(d), scale), in S32_D565_Blend_Dither_neon() 869 SkAlphaBlend(sg, SkGetPackedG16(d), scale), in S32_D565_Blend_Dither_neon() 870 SkAlphaBlend(sb, SkGetPackedB16(d), scale)); in S32_D565_Blend_Dither_neon()
|
/external/skia/include/core/ |
D | SkColorPriv.h | 201 static inline int SkAlphaBlend(int src, int dst, int scale256) { in SkAlphaBlend() function 405 unsigned a = SkAlphaBlend(SkGetPackedA32(src), SkGetPackedA32(dst), scale); in SkFourByteInterp256() 406 unsigned r = SkAlphaBlend(SkGetPackedR32(src), SkGetPackedR32(dst), scale); in SkFourByteInterp256() 407 unsigned g = SkAlphaBlend(SkGetPackedG32(src), SkGetPackedG32(dst), scale); in SkFourByteInterp256() 408 unsigned b = SkAlphaBlend(SkGetPackedB32(src), SkGetPackedB32(dst), scale); in SkFourByteInterp256()
|