/external/skia/src/core/ |
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() 418 unsigned sa = SkGetPackedA32(src); in srcatop_modeproc() 419 unsigned da = SkGetPackedA32(dst); in srcatop_modeproc() 433 unsigned sa = SkGetPackedA32(src); in dstatop_modeproc() [all …]
|
D | SkUnPreMultiply.cpp | 11 const unsigned a = SkGetPackedA32(c); in PMColorToColor() 20 const U8CPU a = SkGetPackedA32(c); in UnPreMultiplyPreservingByteOrder()
|
D | SkBlitRow_D16.cpp | 145 unsigned a = SkGetPackedA32(c); in S32A_D565_Opaque_Dither() 182 int sa = SkGetPackedA32(c); in S32A_D565_Blend_Dither() 217 unsigned scale = SkAlpha255To256(0xFF - SkGetPackedA32(src)) >> 3; in Color32A_D565()
|
D | SkDither.h | 74 unsigned sa = SkGetPackedA32(c); in SkDitherARGB32For565() 157 unsigned a = SkGetPackedA32(c); in SkDitherARGB32To4444()
|
D | SkBlitRow_D32.cpp | 114 switch (SkGetPackedA32(color)) { in Color32()
|
D | SkPixmap.cpp | 348 return 0xFF == SkGetPackedA32(c); in computeIsOpaque() 375 if (0xFF != SkGetPackedA32(c)) { in computeIsOpaque()
|
D | SkColorShader.cpp | 71 memset(alpha, SkGetPackedA32(fPMColor), count); in shadeSpanAlpha() 189 memset(alpha, SkGetPackedA32(fPMColor), count); in shadeSpanAlpha()
|
D | SkBlitter_A8.cpp | 262 unsigned srcA = SkGetPackedA32(span[i]); in blitH() 275 int sa = SkGetPackedA32(src); in aa_blend8()
|
/external/skia/tools/skdiff/ |
D | skdiff.cpp | 144 int da = SkGetPackedA32(c0) - SkGetPackedA32(c1); in colors_match_thresholded() 182 uint32_t thisA = SkAbs32(SkGetPackedA32(c0) - SkGetPackedA32(c1)); in compute_diff()
|
/external/skia/tests/ |
D | ColorPrivTest.cpp | 33 const int deltaA = SkGetPackedA32(slow) - SkGetPackedA32(fast); in DEF_TEST()
|
D | ColorFilterTest.cpp | 124 REPORTER_ASSERT(reporter, SkGetPackedA32(out) == i); in DEF_TEST() 142 REPORTER_ASSERT(reporter, SkGetPackedA32(out) <= i); in DEF_TEST() 228 REPORTER_ASSERT(reporter, 0xFF == SkGetPackedA32(storage[b])); in DEF_TEST()
|
D | ReadPixelsTest.cpp | 145 *alpha = SkGetPackedA32(initColor); in fill_dst_bmp_with_init_data() 158 int32_t aA = static_cast<int32_t>(SkGetPackedA32(a)); in check_read_pixel() 163 int32_t bA = static_cast<int32_t>(SkGetPackedA32(b)); in check_read_pixel() 206 uint8_t canvasAlpha = SkGetPackedA32(get_src_color(devx, devy)); in check_read() 214 uint32_t origDstAlpha = SkGetPackedA32(get_dst_bmp_init_color(bx, by, bw)); in check_read()
|
D | BlitRowTest.cpp | 52 if (SkGetPackedA32(addr[x]) != expected) { in proc_8() 53 *bad = SkGetPackedA32(addr[x]); in proc_8()
|
D | WritePixelsTest.cpp | 135 unsigned a = SkGetPackedA32(color); in premul() 168 int32_t aA = static_cast<int32_t>(SkGetPackedA32(a)); in check_pixel() 173 int32_t bA = static_cast<int32_t>(SkGetPackedA32(b)); in check_pixel()
|
D | GrGetCoeffBlendKnownComponentsTest.cpp | 23 SkGetPackedA32(c)); in SkPMColorToGrColor()
|
D | ColorSpaceXformTest.cpp | 100 SkGetPackedA32(dstPixels[i]))); in test_identity_xform() 136 SkGetPackedA32(dstPixels[i]))); in test_identity_xform_A2B()
|
/external/skia/include/core/ |
D | SkColorPriv.h | 365 #define SkGetPackedA32(packed) ((uint32_t)((packed) << (24 - SK_A32_SHIFT)) >> 24) macro 379 uint32_t alpha_color_value = SkGetPackedA32(pm_color_value); \ 390 auto a = SkGetPackedA32(c); in SkPMColorValid() 416 return SkPackARGB_as_RGBA(SkGetPackedA32(c), SkGetPackedR32(c), in SkPackPMColor_as_RGBA() 421 return SkPackARGB_as_BGRA(SkGetPackedA32(c), SkGetPackedR32(c), in SkPackPMColor_as_BGRA() 434 unsigned a = SkAlphaBlend(SkGetPackedA32(src), SkGetPackedA32(dst), scale); in SkFourByteInterp256() 576 return src + SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); in SkPMSrcOver() 590 unsigned dst_scale = SkAlphaMulInv256(SkGetPackedA32(src), src_scale); in SkBlendARGB32() 695 unsigned isa = 255 - SkGetPackedA32(src); in SkSrcOver32To16() 933 return SkDitherARGB32To4444(SkGetPackedA32(c), SkGetPackedR32(c), in SkDitherPixel32To4444()
|
/external/skia/src/effects/ |
D | SkOverdrawColorFilter.cpp | 12 uint8_t alpha = SkGetPackedA32(src[x]); in filterSpan() 99 SkGetPackedA32(colors[i]))); in Make()
|
D | SkDisplacementMapEffect.cpp | 43 return SkUnPreMultiply::ApplyScale(table[SkGetPackedA32(l)], SkGetPackedR32(l)); in getValue() 48 return SkUnPreMultiply::ApplyScale(table[SkGetPackedA32(l)], SkGetPackedG32(l)); in getValue() 53 return SkUnPreMultiply::ApplyScale(table[SkGetPackedA32(l)], SkGetPackedB32(l)); in getValue() 58 return SkGetPackedA32(l); in getValue()
|
/external/skia/src/images/ |
D | SkPNGImageEncoder.cpp | 140 uint8_t alpha = SkGetPackedA32(colors[i]); in pack_palette() 165 uint8_t alpha = SkGetPackedA32(colors[i]); in pack_palette()
|
/external/skia/src/opts/ |
D | SkBlitRow_opts_arm_neon.cpp | 500 scale = SkAlpha255To256(0xFF - SkGetPackedA32(src)) >> 3; in Color32A_D565_neon() 529 unsigned sa = SkGetPackedA32(src); in Color32A_D565_neon() 716 unsigned dst_scale = 255 - SkMulDiv255Round(SkGetPackedA32(sc), alpha); in S32A_D565_Blend_neon() 1147 unsigned a = SkGetPackedA32(c); in S32A_D565_Opaque_Dither_neon() 1256 SkASSERT(SkGetPackedA32(c) == 255); in S32_D565_Opaque_Dither_neon()
|
D | SkBlurImageFilter_opts.h | 203 sumA += SkGetPackedA32(c); \ 208 sumA -= SkGetPackedA32(c); \
|
/external/skia/gm/ |
D | gammaencodedpremul.cpp | 16 uint8_t a = SkGetPackedA32(pixels[i]); in clamp_to_alpha()
|
/external/skia/samplecode/ |
D | SampleUnpremul.cpp | 32 U8CPU a = SkGetPackedA32(c); in premultiply_unpmcolor()
|
D | SampleDither.cpp | 85 unsigned a = SkGetPackedA32(c); in pre_dither()
|