/external/skia/src/core/ |
D | SkXfermode.cpp | 374 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() 411 unsigned sa = SkGetPackedA32(src); in srcatop_modeproc() 412 unsigned da = SkGetPackedA32(dst); in srcatop_modeproc() 426 unsigned sa = SkGetPackedA32(src); in dstatop_modeproc() [all …]
|
D | SkUnPreMultiply.cpp | 12 const unsigned a = SkGetPackedA32(c); in PMColorToColor() 21 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 | 75 unsigned sa = SkGetPackedA32(c); in SkDitherARGB32For565() 158 unsigned a = SkGetPackedA32(c); in SkDitherARGB32To4444()
|
D | SkBlitRow_D32.cpp | 136 switch (SkGetPackedA32(color)) { in Color32()
|
D | SkBlitter_A8.cpp | 266 unsigned srcA = SkGetPackedA32(span[i]); in blitH() 279 int sa = SkGetPackedA32(src); in aa_blend8()
|
D | SkBitmap.cpp | 652 return 0xFF == SkGetPackedA32(c); in compute_is_opaque() 679 if (0xFF != SkGetPackedA32(c)) { in compute_is_opaque() 984 alpha[x] = SkGetPackedA32(s[x]); in get_bitmap_alpha() 1005 alpha[x] = SkGetPackedA32(table[s[x]]); in get_bitmap_alpha()
|
/external/skia/tools/ |
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 | 126 REPORTER_ASSERT(reporter, SkGetPackedA32(out) == i); in DEF_TEST() 144 REPORTER_ASSERT(reporter, SkGetPackedA32(out) <= i); in DEF_TEST() 230 REPORTER_ASSERT(reporter, 0xFF == SkGetPackedA32(storage[b])); in DEF_TEST()
|
D | BlitRowTest.cpp | 50 if (SkGetPackedA32(addr[x]) != expected) { in proc_8() 51 *bad = SkGetPackedA32(addr[x]); in proc_8()
|
D | WritePixelsTest.cpp | 136 unsigned a = SkGetPackedA32(color); in premul() 169 int32_t aA = static_cast<int32_t>(SkGetPackedA32(a)); in check_pixel() 174 int32_t bA = static_cast<int32_t>(SkGetPackedA32(b)); in check_pixel()
|
/external/skia/include/core/ |
D | SkColorPriv.h | 357 #define SkGetPackedA32(packed) ((uint32_t)((packed) << (24 - SK_A32_SHIFT)) >> 24) macro 371 uint32_t alpha_color_value = SkGetPackedA32(pm_color_value); \ 382 auto a = SkGetPackedA32(c); in SkPMColorValid() 408 return SkPackARGB_as_RGBA(SkGetPackedA32(c), SkGetPackedR32(c), in SkPackPMColor_as_RGBA() 413 return SkPackARGB_as_BGRA(SkGetPackedA32(c), SkGetPackedR32(c), in SkPackPMColor_as_BGRA() 426 unsigned a = SkAlphaBlend(SkGetPackedA32(src), SkGetPackedA32(dst), scale); in SkFourByteInterp256() 568 return src + SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); in SkPMSrcOver() 575 unsigned dst_scale = SkAlpha255To256(255 - SkAlphaMul(SkGetPackedA32(src), src_scale)); in SkBlendARGB32() 672 unsigned isa = 255 - SkGetPackedA32(src); in SkSrcOver32To16() 910 return SkDitherARGB32To4444(SkGetPackedA32(c), SkGetPackedR32(c), in SkDitherPixel32To4444()
|
/external/skia/src/opts/ |
D | SkBlitRow_opts_mips_dsp.cpp | 100 SkASSERT(SkGetPackedA32(c) == 255); in S32_D565_Blend_mips_dsp() 244 unsigned a = SkGetPackedA32(c); in S32A_D565_Opaque_Dither_mips_dsp() 369 SkASSERT(SkGetPackedA32(c) == 255); in S32_D565_Opaque_Dither_mips_dsp() 518 SkASSERT(SkGetPackedA32(c) == 255); in S32_D565_Blend_Dither_mips_dsp() 755 unsigned dst_scale = 255 - SkMulDiv255Round(SkGetPackedA32(sc), alpha); in S32A_D565_Blend_mips_dsp()
|
D | SkBlitRow_opts.h | 21 unsigned invA = 255 - SkGetPackedA32(color); in blit_row_color32()
|
D | SkBlurImageFilter_opts.h | 198 sumA += SkGetPackedA32(c); \ 203 sumA -= SkGetPackedA32(c); \
|
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() 1416 unsigned a = SkGetPackedA32(c); in S32A_D565_Opaque_Dither_neon() 1525 SkASSERT(SkGetPackedA32(c) == 255); in S32_D565_Opaque_Dither_neon()
|
/external/skia/include/gpu/ |
D | SkGr.h | 31 unsigned a = SkGetPackedA32(pm); in SkColorToPremulGrColor() 63 SkGetPackedA32(c)); in SkPMColorToGrColor()
|
/external/skia/src/effects/ |
D | SkArithmeticMode.cpp | 103 a = arith(k1, k2, k3, k4, SkGetPackedA32(sc), SkGetPackedA32(dc)); in xfer32() 116 a = blend(a, SkGetPackedA32(sc), scale); in xfer32()
|
D | SkDisplacementMapEffect.cpp | 39 return SkUnPreMultiply::ApplyScale(table[SkGetPackedA32(l)], SkGetPackedR32(l)); in getValue() 44 return SkUnPreMultiply::ApplyScale(table[SkGetPackedA32(l)], SkGetPackedG32(l)); in getValue() 49 return SkUnPreMultiply::ApplyScale(table[SkGetPackedA32(l)], SkGetPackedB32(l)); in getValue() 54 return SkGetPackedA32(l); in getValue()
|
D | SkMatrixConvolutionImageFilter.cpp | 183 sumA += SkScalarMul(SkIntToScalar(SkGetPackedA32(s)), k); in filterPixels() 197 a = SkGetPackedA32(PixelFetcher::fetch(src, x, y, bounds)); in filterPixels()
|
/external/skia/src/images/ |
D | SkImageEncoder_argb.cpp | 29 argb[0] = SkGetPackedA32(c); in ARGB_8888_To_ARGB() 66 argb[0] = SkGetPackedA32(c); in Index8_To_ARGB()
|
D | transform_scanline.h | 94 unsigned a = SkGetPackedA32(c); in transform_scanline_8888()
|
/external/skia/samplecode/ |
D | SampleUnpremul.cpp | 34 U8CPU a = SkGetPackedA32(c); in premultiply_unpmcolor()
|
D | SampleDither.cpp | 90 unsigned a = SkGetPackedA32(c); in pre_dither()
|