Searched refs:SkAlphaMulQ (Results 1 – 16 of 16) sorted by relevance
/external/skia/src/core/ |
D | SkBitmapProcState_procs.h | 105 #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)
|
D | SkBlitter_ARGB32.cpp | 98 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); } \ 237 color = SkAlphaMulQ(color, SkAlpha255To256(alpha)); in blitV() [all …]
|
D | SkComposeShader.cpp | 147 result[i] = SkAlphaMulQ(SkPMSrcOver(tmp[i], result[i]), in shadeSpan() 169 result[i] = SkAlphaMulQ(result[i], scale); in shadeSpan()
|
D | SkBlitMask_D32.cpp | 167 dst[i] = SkAlphaMulQ(src[i], m) + SkAlphaMulQ(dst[i], 256 - m); in A8_RowProc_Opaque()
|
D | SkXfermode.cpp | 381 return src + SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); in srcover_modeproc() 385 return src + SkAlphaMulQ(dst, 256 - SkGetPackedA32(src)); in srcover_modeproc() 393 return dst + SkAlphaMulQ(src, 256 - SkGetPackedA32(dst)); in dstover_modeproc() 398 return SkAlphaMulQ(src, SkAlpha255To256(SkGetPackedA32(dst))); in srcin_modeproc() 403 return SkAlphaMulQ(dst, SkAlpha255To256(SkGetPackedA32(src))); in dstin_modeproc() 408 return SkAlphaMulQ(src, SkAlpha255To256(255 - SkGetPackedA32(dst))); in srcout_modeproc() 413 return SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); in dstout_modeproc()
|
D | SkBitmapProcState.cpp | 554 color = SkAlphaMulQ(*row0, s.fAlphaScale); in S32_D32_constX_shaderproc()
|
D | SkDraw.cpp | 1830 dstC[i] = SkAlphaMulQ(fColors[0], scale0) + in shadeSpan() 1831 SkAlphaMulQ(fColors[1], scale1) + in shadeSpan() 1832 SkAlphaMulQ(fColors[2], scale2); in shadeSpan()
|
/external/skia/src/opts/ |
D | SkBlitMask_opts.h | 72 *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()
|
/external/skia/src/gpu/ops/ |
D | GrAALinearizingConvexPathRenderer.cpp | 89 GrColor scaledColor = (0xff == scale) ? color : SkAlphaMulQ(color, scale); in extract_verts()
|
D | GrAAFillRectOp.cpp | 144 GrColor scaledColor = (0xff == scale) ? color : SkAlphaMulQ(color, scale); in generate_aa_fill_rect_geometry()
|
D | GrAAStrokeRectOp.cpp | 542 GrColor scaledColor = (0xff == scale) ? color : SkAlphaMulQ(color, scale); in generateAAStrokeRectGeometry()
|
D | GrAAConvexPathRenderer.cpp | 694 GrColor scaledColor = (0xff == scale) ? color : SkAlphaMulQ(color, scale); in extract_verts()
|
/external/skia/include/core/ |
D | SkColorPriv.h | 567 static SK_ALWAYS_INLINE uint32_t SkAlphaMulQ(uint32_t c, unsigned scale) { in SkAlphaMulQ() function 576 return src + SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); in SkPMSrcOver()
|
/external/skia/bench/ |
D | MathBench.cpp | 175 dst[i] = SkAlphaMulQ(src[i], (uint8_t)i); in performITest()
|
/external/skia/src/effects/gradients/ |
D | SkLinearGradient.cpp | 225 pmc = SkAlphaMulQ(pmc, alphaScale); in LinearGradientContext()
|
/external/skia/src/gpu/ |
D | GrTessellator.cpp | 205 d->fColor = SkAlphaMulQ(aaParams->fColor, SkAlpha255To256(v->fAlpha)); in emit_vertex()
|