Home
last modified time | relevance | path

Searched refs:SkGetPackedA32 (Results 1 – 25 of 36) sorted by relevance

12

/external/skia/tools/skdiff/
Dskdiff.cpp144 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/
DSkUnPreMultiply.cpp11 const unsigned a = SkGetPackedA32(c); in PMColorToColor()
20 const U8CPU a = SkGetPackedA32(c); in UnPreMultiplyPreservingByteOrder()
DSkSpriteBlitter_RGB565.cpp101 dst[i] = SkGetPackedA32(src[i]); in S32_src_da8()
109 unsigned a = SkGetPackedA32(c); in S32_srcover_da8()
DSkDither.h74 unsigned sa = SkGetPackedA32(c); in SkDitherARGB32For565()
157 unsigned a = SkGetPackedA32(c); in SkDitherARGB32To4444()
DSkBlitRow_D32.cpp114 switch (SkGetPackedA32(color)) { in Color32()
/external/skia/tests/
DColorPrivTest.cpp33 const int deltaA = SkGetPackedA32(slow) - SkGetPackedA32(fast); in DEF_TEST()
DReadPixelsTest.cpp135 *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()
DWritePixelsTest.cpp136 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()
DApplyGammaTest.cpp49 float alpha = SkGetPackedA32(src); in check_gamma()
DEncodeTest.cpp109 if (SkTAbs((int)SkGetPackedA32(a) - (int)SkGetPackedA32(b)) > tolerance) { in almost_equals()
DColorSpaceXformTest.cpp100 SkGetPackedA32(dstPixels[i]))); in test_identity_xform()
136 SkGetPackedA32(dstPixels[i]), tol)); in test_identity_xform_A2B()
DBitmapCopyTest.cpp142 return 0xFF == SkGetPackedA32(color) && in check_4x4_pixel()
/external/skia/include/core/
DSkColorPriv.h365 #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/
DSkColorShader.cpp72 memset(alpha, SkGetPackedA32(fPMColor), count); in shadeSpanAlpha()
191 memset(alpha, SkGetPackedA32(fPMColor), count); in shadeSpanAlpha()
/external/skia/src/opts/
DSkBlurImageFilter_opts.h200 sumA += SkGetPackedA32(c); \
205 sumA -= SkGetPackedA32(c); \
DSkMorphologyImageFilter_opts.h105 a = SkGetPackedA32(*p); in morph()
DSkBlitRow_opts.h28 unsigned invA = 255 - SkGetPackedA32(color); in blit_row_color32()
DSkBlitMask_opts.h33 vpmc.val[NEON_A] = vdup_n_u8(SkGetPackedA32(pmc)); in D32_A8_Opaque_Color_neon()
DSkBlitMask_opts_arm_neon.cpp25 vopqDstA = vdup_n_u8(SkGetPackedA32(opaqueDst)); in SkBlitLCD16OpaqueRow_neon()
/external/skia/samplecode/
DSampleUnpremul.cpp32 U8CPU a = SkGetPackedA32(c); in premultiply_unpmcolor()
DSampleDither.cpp84 unsigned a = SkGetPackedA32(c); in pre_dither()
/external/skia/gm/
Dgammaencodedpremul.cpp17 uint8_t a = SkGetPackedA32(pixels[i]); in clamp_to_alpha()
/external/skia/src/effects/
DSkOverdrawColorFilter.cpp117 SkGetPackedA32(colors[i]))); in Make()
DSkMatrixConvolutionImageFilter.cpp186 sumA += SkGetPackedA32(s) * k; in filterPixels()
200 a = SkGetPackedA32(PixelFetcher::fetch(src, x, y, bounds)); in filterPixels()
/external/skia/src/gpu/
DSkGr.h49 unsigned a = SkGetPackedA32(pm); in SkColorToPremulGrColor()

12