/external/skia/legacy/src/core/ |
SkBlitRow_D32.cpp | 32 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale); 39 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale); 41 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale); 46 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); 173 *dst = color + SkAlphaMulQ(*src, scale);
|
SkBlitter_ARGB32.cpp | 99 uint32_t sc = SkAlphaMulQ(color, SkAlpha255To256(aa)); 132 if (mask & 0x80) { dst[0] = sc + SkAlphaMulQ(dst[0], dst_scale); } \ 133 if (mask & 0x40) { dst[1] = sc + SkAlphaMulQ(dst[1], dst_scale); } \ 134 if (mask & 0x20) { dst[2] = sc + SkAlphaMulQ(dst[2], dst_scale); } \ 135 if (mask & 0x10) { dst[3] = sc + SkAlphaMulQ(dst[3], dst_scale); } \ 136 if (mask & 0x08) { dst[4] = sc + SkAlphaMulQ(dst[4], dst_scale); } \ 137 if (mask & 0x04) { dst[5] = sc + SkAlphaMulQ(dst[5], dst_scale); } \ 138 if (mask & 0x02) { dst[6] = sc + SkAlphaMulQ(dst[6], dst_scale); } \ 139 if (mask & 0x01) { dst[7] = sc + SkAlphaMulQ(dst[7], dst_scale); } \ 194 color = SkAlphaMulQ(color, SkAlpha255To256(alpha)) [all...] |
SkBitmapProcState.cpp | 107 #define RETURNDST(src) SkAlphaMulQ(src, alphaScale) 133 *(dst) = SkAlphaMulQ(SkExpanded_565_To_PMColor(tmp), alphaScale); \ 142 #define RETURNDST(src) SkAlphaMulQ(SkPixel16ToPixel32(src), alphaScale) 172 #define RETURNDST(src) SkAlphaMulQ(table[src], alphaScale) 195 *(dst) = SkAlphaMulQ(tmp, alphaScale); \ 204 #define RETURNDST(src) SkAlphaMulQ(SkPixel4444ToPixel32(src), alphaScale) 214 *(dst) = SkAlphaMulQ(pmColor, SkAlpha255To256(tmp)); \ 223 #define RETURNDST(src) SkAlphaMulQ(pmColor, SkAlpha255To256(src))
|
SkComposeShader.cpp | 135 result[i] = SkAlphaMulQ(SkPMSrcOver(tmp[i], result[i]), 157 result[i] = SkAlphaMulQ(result[i], scale);
|
ARGB32_Clamp_Bilinear_BitmapShader.h | 108 *dstC++ = SkAlphaMulQ(c, srcScale); 151 *dstC++ = SkAlphaMulQ(c, srcScale); 170 *dstC++ = SkAlphaMulQ(c, srcScale);
|
SkBitmapShaderTemplate.h | 107 *dstC++ = SkAlphaMulQ(c, scale); 159 *dstC++ = SkAlphaMulQ(c, scale); 181 *dstC++ = SkAlphaMulQ(c, scale);
|
SkBlitMask_D32.cpp | 39 *device = SkAlphaMulQ(pmc, SkAlpha255To256(aa)) + SkAlphaMulQ(*device, SkAlpha255To256(255 - aa)); 59 *device = (aa << SK_A32_SHIFT) + SkAlphaMulQ(*device, SkAlpha255To256(255 - aa)); 344 // expand the steps that SkAlphaMulQ performs, but this way we can 365 dst[i] = SkAlphaMulQ(src[i], m) + SkAlphaMulQ(dst[i], 256 - m);
|
SkXfermode.cpp | 88 return src + SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); 92 return src + SkAlphaMulQ(dst, 256 - SkGetPackedA32(src)); 100 return dst + SkAlphaMulQ(src, 256 - SkGetPackedA32(dst)); 105 return SkAlphaMulQ(src, SkAlpha255To256(SkGetPackedA32(dst))); 110 return SkAlphaMulQ(dst, SkAlpha255To256(SkGetPackedA32(src))); 115 return SkAlphaMulQ(src, SkAlpha255To256(255 - SkGetPackedA32(dst))); 120 return SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); 802 dst[i] = SkAlphaMulQ(dst[i], SkAlpha255To256(255 - a)); 922 *dst = SkAlphaMulQ(*dst, SkAlpha255To256(a)); 962 *dst = SkAlphaMulQ(*dst, SkAlpha255To256(255 - a)) [all...] |
SkBitmapSampler.cpp | 280 return SkAlphaMulQ(fColor, SkAlpha255To256(alpha)); 306 return SkAlphaMulQ(fColor, SkAlpha255To256(alpha));
|
/external/skia/src/core/ |
SkBlitRow_D32.cpp | 34 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale); 41 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale); 43 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale); 48 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); 161 *dst = color + SkAlphaMulQ(*src, scale);
|
SkBitmapProcState_procs.h | 108 #define RETURNDST(src) SkAlphaMulQ(src, alphaScale) 134 *(dst) = SkAlphaMulQ(SkExpanded_565_To_PMColor(tmp), alphaScale); \ 143 #define RETURNDST(src) SkAlphaMulQ(SkPixel16ToPixel32(src), alphaScale) 173 #define RETURNDST(src) SkAlphaMulQ(table[src], alphaScale) 196 *(dst) = SkAlphaMulQ(tmp, alphaScale); \ 205 #define RETURNDST(src) SkAlphaMulQ(SkPixel4444ToPixel32(src), alphaScale) 215 *(dst) = SkAlphaMulQ(pmColor, SkAlpha255To256(tmp)); \ 223 #define RETURNDST(src) SkAlphaMulQ(pmColor, SkAlpha255To256(src))
|
SkComposeShader.cpp | 144 result[i] = SkAlphaMulQ(SkPMSrcOver(tmp[i], result[i]), 166 result[i] = SkAlphaMulQ(result[i], scale);
|
ARGB32_Clamp_Bilinear_BitmapShader.h | 108 *dstC++ = SkAlphaMulQ(c, srcScale); 151 *dstC++ = SkAlphaMulQ(c, srcScale); 170 *dstC++ = SkAlphaMulQ(c, srcScale);
|
SkBitmapShaderTemplate.h | 107 *dstC++ = SkAlphaMulQ(c, scale); 159 *dstC++ = SkAlphaMulQ(c, scale); 181 *dstC++ = SkAlphaMulQ(c, scale);
|
SkBlitter_ARGB32.cpp | 100 uint32_t sc = SkAlphaMulQ(color, SkAlpha255To256(aa)); 133 if (mask & 0x80) { dst[0] = sc + SkAlphaMulQ(dst[0], dst_scale); } \ 134 if (mask & 0x40) { dst[1] = sc + SkAlphaMulQ(dst[1], dst_scale); } \ 135 if (mask & 0x20) { dst[2] = sc + SkAlphaMulQ(dst[2], dst_scale); } \ 136 if (mask & 0x10) { dst[3] = sc + SkAlphaMulQ(dst[3], dst_scale); } \ 137 if (mask & 0x08) { dst[4] = sc + SkAlphaMulQ(dst[4], dst_scale); } \ 138 if (mask & 0x04) { dst[5] = sc + SkAlphaMulQ(dst[5], dst_scale); } \ 139 if (mask & 0x02) { dst[6] = sc + SkAlphaMulQ(dst[6], dst_scale); } \ 140 if (mask & 0x01) { dst[7] = sc + SkAlphaMulQ(dst[7], dst_scale); } \ 195 color = SkAlphaMulQ(color, SkAlpha255To256(alpha)) [all...] |
SkBlitMask_D32.cpp | 39 *device = SkAlphaMulQ(pmc, SkAlpha255To256(aa)) + SkAlphaMulQ(*device, SkAlpha255To256(255 - aa)); 59 *device = (aa << SK_A32_SHIFT) + SkAlphaMulQ(*device, SkAlpha255To256(255 - aa)); 344 // expand the steps that SkAlphaMulQ performs, but this way we can 367 dst[i] = SkAlphaMulQ(src[i], m) + SkAlphaMulQ(dst[i], 256 - m);
|
SkXfermode.cpp | 93 return src + SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); 97 return src + SkAlphaMulQ(dst, 256 - SkGetPackedA32(src)); 105 return dst + SkAlphaMulQ(src, 256 - SkGetPackedA32(dst)); 110 return SkAlphaMulQ(src, SkAlpha255To256(SkGetPackedA32(dst))); 115 return SkAlphaMulQ(dst, SkAlpha255To256(SkGetPackedA32(src))); 120 return SkAlphaMulQ(src, SkAlpha255To256(255 - SkGetPackedA32(dst))); 125 return SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); 833 dst[i] = SkAlphaMulQ(dst[i], SkAlpha255To256(255 - a)); 961 *dst = SkAlphaMulQ(*dst, SkAlpha255To256(a)); [all...] |
SkBitmapSampler.cpp | 281 return SkAlphaMulQ(fColor, SkAlpha255To256(alpha)); 308 return SkAlphaMulQ(fColor, SkAlpha255To256(alpha));
|
/external/skia/legacy/src/opts/ |
SkBlitRow_opts_SSE2.cpp | 32 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); 104 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); 363 *dst = color + SkAlphaMulQ(*src, scale); 409 *dst = color + SkAlphaMulQ(*src, scale);
|
/external/skia/src/opts/ |
SkBlitRow_opts_arm_neon.cpp | 582 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); 587 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); [all...] |
SkBlitRow_opts_SSE2.cpp | 33 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); 105 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); 364 *dst = color + SkAlphaMulQ(*src, scale); 410 *dst = color + SkAlphaMulQ(*src, scale);
|
/external/skia/legacy/src/effects/ |
SkTransparentShader.cpp | 55 span[i] = SkAlphaMulQ(src[i], scale);
|
/external/skia/src/effects/ |
SkTransparentShader.cpp | 56 span[i] = SkAlphaMulQ(src[i], scale);
|
/external/skia/include/core/ |
SkColorPriv.h | 330 static inline uint32_t SkAlphaMulQ(uint32_t c, unsigned scale) { 340 return src + SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); 349 return SkAlphaMulQ(src, src_scale) + SkAlphaMulQ(dst, dst_scale);
|
/external/skia/legacy/include/core/ |
SkColorPriv.h | 295 static inline uint32_t SkAlphaMulQ(uint32_t c, unsigned scale) { 305 return src + SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); 314 return SkAlphaMulQ(src, src_scale) + SkAlphaMulQ(dst, dst_scale);
|