Home
last modified time | relevance | path

Searched refs:SkAlphaMulQ (Results 1 – 17 of 17) sorted by relevance

/external/skia/src/core/
DSkBlitRow_D32.cpp33 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale); in S32_Blend_BlitRow32()
40 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale); in S32_Blend_BlitRow32()
42 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale); in S32_Blend_BlitRow32()
47 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); in S32_Blend_BlitRow32()
DSkBitmapProcState_procs.h105 #define RETURNDST(src) SkAlphaMulQ(src, alphaScale)
130 *(dst) = SkAlphaMulQ(SkExpanded_565_To_PMColor(tmp), alphaScale); \
138 #define RETURNDST(src) SkAlphaMulQ(SkPixel16ToPixel32(src), alphaScale)
166 #define RETURNDST(src) SkAlphaMulQ(table[src], alphaScale)
188 *(dst) = SkAlphaMulQ(tmp, alphaScale); \
196 #define RETURNDST(src) SkAlphaMulQ(SkPixel4444ToPixel32(src), alphaScale)
206 *(dst) = SkAlphaMulQ(pmColor, SkAlpha255To256(tmp)); \
213 #define RETURNDST(src) SkAlphaMulQ(pmColor, SkAlpha255To256(src))
224 *(dst) = SkAlphaMulQ(color, alphaScale); \
231 #define RETURNDST(src) SkAlphaMulQ(SkPackARGB32(0xFF, src, src, src), alphaScale)
DSkBlitter_ARGB32.cpp98 uint32_t sc = SkAlphaMulQ(color, SkAlpha255To256(aa)); in blitAntiH()
148 if (mask & 0x80) { dst[0] = sc + SkAlphaMulQ(dst[0], dst_scale); } \
149 if (mask & 0x40) { dst[1] = sc + SkAlphaMulQ(dst[1], dst_scale); } \
150 if (mask & 0x20) { dst[2] = sc + SkAlphaMulQ(dst[2], dst_scale); } \
151 if (mask & 0x10) { dst[3] = sc + SkAlphaMulQ(dst[3], dst_scale); } \
152 if (mask & 0x08) { dst[4] = sc + SkAlphaMulQ(dst[4], dst_scale); } \
153 if (mask & 0x04) { dst[5] = sc + SkAlphaMulQ(dst[5], dst_scale); } \
154 if (mask & 0x02) { dst[6] = sc + SkAlphaMulQ(dst[6], dst_scale); } \
155 if (mask & 0x01) { dst[7] = sc + SkAlphaMulQ(dst[7], dst_scale); } \
227 color = SkAlphaMulQ(color, SkAlpha255To256(alpha)); in blitV()
[all …]
DSkComposeShader.cpp160 result[i] = SkAlphaMulQ(SkPMSrcOver(tmp[i], result[i]), in shadeSpan()
182 result[i] = SkAlphaMulQ(result[i], scale); in shadeSpan()
DSkBlitMask_D32.cpp167 dst[i] = SkAlphaMulQ(src[i], m) + SkAlphaMulQ(dst[i], 256 - m); in A8_RowProc_Opaque()
DSkXfermode.cpp374 return src + SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); in srcover_modeproc()
378 return src + SkAlphaMulQ(dst, 256 - SkGetPackedA32(src)); in srcover_modeproc()
386 return dst + SkAlphaMulQ(src, 256 - SkGetPackedA32(dst)); in dstover_modeproc()
391 return SkAlphaMulQ(src, SkAlpha255To256(SkGetPackedA32(dst))); in srcin_modeproc()
396 return SkAlphaMulQ(dst, SkAlpha255To256(SkGetPackedA32(src))); in dstin_modeproc()
401 return SkAlphaMulQ(src, SkAlpha255To256(255 - SkGetPackedA32(dst))); in srcout_modeproc()
406 return SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); in dstout_modeproc()
DSkDraw.cpp1805 dstC[i] = SkAlphaMulQ(fColors[0], scale0) + in shadeSpan()
1806 SkAlphaMulQ(fColors[1], scale1) + in shadeSpan()
1807 SkAlphaMulQ(fColors[2], scale2); in shadeSpan()
DSkBitmapProcState.cpp569 color = SkAlphaMulQ(*row0, s.fAlphaScale); in S32_D32_constX_shaderproc()
/external/skia/src/opts/
DSkBlitMask_opts.h72 *device = SkAlphaMulQ(pmc, SkAlpha255To256(aa)) in D32_A8_Opaque_Color_neon()
73 + SkAlphaMulQ(*device, SkAlpha255To256(255 - aa)); in D32_A8_Opaque_Color_neon()
125 + SkAlphaMulQ(*device, SkAlpha255To256(255 - aa)); in blit_mask_d32_a8_black()
DSkBlitRow_opts_SSE2.cpp34 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); in S32_Blend_BlitRow32_SSE2()
63 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); in S32_Blend_BlitRow32_SSE2()
/external/skia/include/core/
DSkColorPriv.h559 static SK_ALWAYS_INLINE uint32_t SkAlphaMulQ(uint32_t c, unsigned scale) { in SkAlphaMulQ() function
568 return src + SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); in SkPMSrcOver()
577 return SkAlphaMulQ(src, src_scale) + SkAlphaMulQ(dst, dst_scale); in SkBlendARGB32()
/external/skia/src/gpu/batches/
DGrAALinearizingConvexPathRenderer.cpp82 GrColor scaledColor = (0xff == scale) ? color : SkAlphaMulQ(color, scale); in extract_verts()
DGrAAFillRectBatch.cpp171 GrColor scaledColor = (0xff == scale) ? color : SkAlphaMulQ(color, scale); in generate_aa_fill_rect_geometry()
DGrAAStrokeRectBatch.cpp492 GrColor scaledColor = (0xff == scale) ? color : SkAlphaMulQ(color, scale); in generateAAStrokeRectGeometry()
DGrAAConvexPathRenderer.cpp709 GrColor scaledColor = (0xff == scale) ? color : SkAlphaMulQ(color, scale); in extract_verts()
/external/skia/bench/
DMathBench.cpp183 dst[i] = SkAlphaMulQ(src[i], (uint8_t)i); in performITest()
/external/skia/src/effects/gradients/
DSkLinearGradient.cpp170 pmc = SkAlphaMulQ(pmc, alphaScale); in LinearGradientContext()