Home
last modified time | relevance | path

Searched refs:SkGetPackedB32 (Results 1 – 18 of 18) sorted by relevance

/third_party/skia/tools/skdiff/
Dskdiff.cpp147 int db = SkGetPackedB32(c0) - SkGetPackedB32(c1); in colors_match_thresholded()
183 uint32_t thisB = SkAbs32(SkGetPackedB32(c0) - SkGetPackedB32(c1)); in compute_diff()
Dskdiff.h261 int db = SkGetPackedB32(c0) - SkGetPackedB32(c1); in compute_diff_pmcolor()
/third_party/skia/tests/
DColorPrivTest.cpp45 const int deltaB = SkGetPackedB32(slow) - SkGetPackedB32(fast); in DEF_TEST()
DWritePixelsTest.cpp133 unsigned c2 = SkGetPackedB32(color); in premul()
166 int32_t aB = SkGetPackedB32(a); in check_pixel()
171 int32_t bB = static_cast<int32_t>(SkGetPackedB32(b)); in check_pixel()
DEncodeTest.cpp114 if (SkTAbs((int)SkGetPackedB32(a) - (int)SkGetPackedB32(b)) > tolerance) { in almost_equals()
DBitmapCopyTest.cpp148 0x80 == SkGetPackedB32(color); in check_4x4_pixel()
DReadPixelsTest.cpp148 int32_t aB = SkGetPackedB32(a); in check_read_pixel()
153 int32_t bB = static_cast<int32_t>(SkGetPackedB32(b)); in check_read_pixel()
DImageTest.cpp1233 REPORTER_ASSERT(r, almost_equal(0x5E, SkGetPackedB32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST()
1241 REPORTER_ASSERT(r, almost_equal(0x4C, SkGetPackedB32(*adobeBitmap.getAddr32(0, 0)))); in DEF_TEST()
1249 REPORTER_ASSERT(r, almost_equal(0x77, SkGetPackedB32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST()
/third_party/skia/src/core/
DSkCompressedDataUtils.cpp176 uint8_t b8 = SkScalarRoundToInt(t * SkGetPackedB32(col0) + (1.0f - t) * SkGetPackedB32(col1)); in lerp()
200 (SkGetPackedB32(colors[0]) + SkGetPackedB32(colors[1])) >> 1); in decompress_bc1()
DSkUnPreMultiply.cpp16 ApplyScale(scale, SkGetPackedB32(c))); in PMColorToColor()
DSkBlitter_ARGB32.cpp52 int dstB = SkGetPackedB32(dst); in blend_lcd16()
87 int dstB = SkGetPackedB32(dst); in blend_lcd16_opaque()
471 uint8x8_t vopqDstB = vdup_n_u8(SkGetPackedB32(opaqueDst)); in blit_row_lcd16_opaque()
1226 int srcB = SkGetPackedB32(s); in blend_row_lcd16()
1244 src_alpha_blend(srcB, SkGetPackedB32(d), srcA, maskB)); in blend_row_lcd16()
1262 int srcB = SkGetPackedB32(s); in blend_row_LCD16_opaque()
1278 blend_32(srcB, SkGetPackedB32(d), maskB)); in blend_row_LCD16_opaque()
/third_party/skia/include/private/
DSkColorData.h167 unsigned b = SkTo<uint8_t>(SkAlphaBlend(SkGetPackedB32(src), SkGetPackedB32(dst), scale)); in SkFourByteInterp256()
339 unsigned sb = SkGetPackedB32(src); in SkSrcOver32To16()
/third_party/skia/include/core/
DSkColorPriv.h93 #define SkGetPackedB32(packed) ((uint32_t)((packed) << (24 - SK_B32_SHIFT)) >> 24) macro
/third_party/skia/src/gpu/
DSkGr.h49 unsigned b = SkGetPackedB32(pm); in SkColorToPremulGrColor()
/third_party/skia/src/opts/
DSkBlitMask_opts.h60 vpmc.val[NEON_B] = vdup_n_u8(SkGetPackedB32(pmc)); in D32_A8_Opaque_Color_neon()
/third_party/skia/src/effects/imagefilters/
DSkMatrixConvolutionImageFilter.cpp259 sumB += SkGetPackedB32(s) * k; in filterPixels()
DSkMorphologyImageFilter.cpp588 int b = SkGetPackedB32(*p),
/third_party/skia/tools/viewer/
DViewer.cpp2777 SkGetPackedB32(pixel), SkGetPackedA32(pixel)); in drawImGui()