Searched refs:SkGetPackedA32 (Results 1 – 25 of 36) sorted by relevance
12
/external/skia/tools/skdiff/ |
D | skdiff.cpp | 144 int da = SkGetPackedA32(c0) - SkGetPackedA32(c1); in colors_match_thresholded() 180 uint32_t thisA = SkAbs32(SkGetPackedA32(c0) - SkGetPackedA32(c1)); in compute_diff()
|
/external/skia/src/core/ |
D | SkUnPreMultiply.cpp | 11 const unsigned a = SkGetPackedA32(c); in PMColorToColor() 20 const U8CPU a = SkGetPackedA32(c); in UnPreMultiplyPreservingByteOrder()
|
D | SkSpriteBlitter_RGB565.cpp | 101 dst[i] = SkGetPackedA32(src[i]); in S32_src_da8() 109 unsigned a = SkGetPackedA32(c); in S32_srcover_da8()
|
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()
|
/external/skia/tests/ |
D | ColorPrivTest.cpp | 33 const int deltaA = SkGetPackedA32(slow) - SkGetPackedA32(fast); in DEF_TEST()
|
D | ReadPixelsTest.cpp | 135 *alpha = SkGetPackedA32(initColor); in fill_dst_bmp_with_init_data() 148 int32_t aA = static_cast<int32_t>(SkGetPackedA32(a)); in check_read_pixel() 153 int32_t bA = static_cast<int32_t>(SkGetPackedA32(b)); in check_read_pixel() 195 uint8_t canvasAlpha = SkGetPackedA32(get_src_color(devx, devy)); in check_read() 203 uint32_t origDstAlpha = SkGetPackedA32(get_dst_bmp_init_color(bx, by, bw)); in check_read()
|
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()
|
D | ApplyGammaTest.cpp | 49 float alpha = SkGetPackedA32(src); in check_gamma()
|
D | EncodeTest.cpp | 109 if (SkTAbs((int)SkGetPackedA32(a) - (int)SkGetPackedA32(b)) > tolerance) { in almost_equals()
|
D | ColorSpaceXformTest.cpp | 100 SkGetPackedA32(dstPixels[i]))); in test_identity_xform() 136 SkGetPackedA32(dstPixels[i]), tol)); in test_identity_xform_A2B()
|
D | BitmapCopyTest.cpp | 142 return 0xFF == SkGetPackedA32(color) && in check_4x4_pixel()
|
/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/shaders/ |
D | SkColorShader.cpp | 72 memset(alpha, SkGetPackedA32(fPMColor), count); in shadeSpanAlpha() 191 memset(alpha, SkGetPackedA32(fPMColor), count); in shadeSpanAlpha()
|
/external/skia/src/opts/ |
D | SkBlurImageFilter_opts.h | 200 sumA += SkGetPackedA32(c); \ 205 sumA -= SkGetPackedA32(c); \
|
D | SkMorphologyImageFilter_opts.h | 105 a = SkGetPackedA32(*p); in morph()
|
D | SkBlitRow_opts.h | 28 unsigned invA = 255 - SkGetPackedA32(color); in blit_row_color32()
|
D | SkBlitMask_opts.h | 33 vpmc.val[NEON_A] = vdup_n_u8(SkGetPackedA32(pmc)); in D32_A8_Opaque_Color_neon()
|
D | SkBlitMask_opts_arm_neon.cpp | 25 vopqDstA = vdup_n_u8(SkGetPackedA32(opaqueDst)); in SkBlitLCD16OpaqueRow_neon()
|
/external/skia/samplecode/ |
D | SampleUnpremul.cpp | 32 U8CPU a = SkGetPackedA32(c); in premultiply_unpmcolor()
|
D | SampleDither.cpp | 84 unsigned a = SkGetPackedA32(c); in pre_dither()
|
/external/skia/gm/ |
D | gammaencodedpremul.cpp | 17 uint8_t a = SkGetPackedA32(pixels[i]); in clamp_to_alpha()
|
/external/skia/src/effects/ |
D | SkOverdrawColorFilter.cpp | 117 SkGetPackedA32(colors[i]))); in Make()
|
D | SkMatrixConvolutionImageFilter.cpp | 186 sumA += SkGetPackedA32(s) * k; in filterPixels() 200 a = SkGetPackedA32(PixelFetcher::fetch(src, x, y, bounds)); in filterPixels()
|
/external/skia/src/gpu/ |
D | SkGr.h | 49 unsigned a = SkGetPackedA32(pm); in SkColorToPremulGrColor()
|
12