Searched refs:SkGetPackedB32 (Results 1 – 18 of 18) sorted by relevance
/third_party/skia/tools/skdiff/ |
D | skdiff.cpp | 147 int db = SkGetPackedB32(c0) - SkGetPackedB32(c1); in colors_match_thresholded() 183 uint32_t thisB = SkAbs32(SkGetPackedB32(c0) - SkGetPackedB32(c1)); in compute_diff()
|
D | skdiff.h | 261 int db = SkGetPackedB32(c0) - SkGetPackedB32(c1); in compute_diff_pmcolor()
|
/third_party/skia/tests/ |
D | ColorPrivTest.cpp | 45 const int deltaB = SkGetPackedB32(slow) - SkGetPackedB32(fast); in DEF_TEST()
|
D | WritePixelsTest.cpp | 133 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()
|
D | EncodeTest.cpp | 114 if (SkTAbs((int)SkGetPackedB32(a) - (int)SkGetPackedB32(b)) > tolerance) { in almost_equals()
|
D | BitmapCopyTest.cpp | 148 0x80 == SkGetPackedB32(color); in check_4x4_pixel()
|
D | ReadPixelsTest.cpp | 148 int32_t aB = SkGetPackedB32(a); in check_read_pixel() 153 int32_t bB = static_cast<int32_t>(SkGetPackedB32(b)); in check_read_pixel()
|
D | ImageTest.cpp | 1233 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/ |
D | SkCompressedDataUtils.cpp | 176 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()
|
D | SkUnPreMultiply.cpp | 16 ApplyScale(scale, SkGetPackedB32(c))); in PMColorToColor()
|
D | SkBlitter_ARGB32.cpp | 52 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/ |
D | SkColorData.h | 167 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/ |
D | SkColorPriv.h | 93 #define SkGetPackedB32(packed) ((uint32_t)((packed) << (24 - SK_B32_SHIFT)) >> 24) macro
|
/third_party/skia/src/gpu/ |
D | SkGr.h | 49 unsigned b = SkGetPackedB32(pm); in SkColorToPremulGrColor()
|
/third_party/skia/src/opts/ |
D | SkBlitMask_opts.h | 60 vpmc.val[NEON_B] = vdup_n_u8(SkGetPackedB32(pmc)); in D32_A8_Opaque_Color_neon()
|
/third_party/skia/src/effects/imagefilters/ |
D | SkMatrixConvolutionImageFilter.cpp | 259 sumB += SkGetPackedB32(s) * k; in filterPixels()
|
D | SkMorphologyImageFilter.cpp | 588 int b = SkGetPackedB32(*p),
|
/third_party/skia/tools/viewer/ |
D | Viewer.cpp | 2777 SkGetPackedB32(pixel), SkGetPackedA32(pixel)); in drawImGui()
|