Searched refs:SkGetPackedR32 (Results 1 – 20 of 20) sorted by relevance
/third_party/skia/tools/skdiff/ |
D | skdiff.cpp | 145 int dr = SkGetPackedR32(c0) - SkGetPackedR32(c1); in colors_match_thresholded() 181 uint32_t thisR = SkAbs32(SkGetPackedR32(c0) - SkGetPackedR32(c1)); in compute_diff()
|
D | skdiff.h | 259 int dr = SkGetPackedR32(c0) - SkGetPackedR32(c1); in compute_diff_pmcolor()
|
/third_party/skia/tests/ |
D | ColorPrivTest.cpp | 43 const int deltaR = SkGetPackedR32(slow) - SkGetPackedR32(fast); in DEF_TEST()
|
D | WritePixelsTest.cpp | 131 unsigned c0 = SkGetPackedR32(color); in premul() 164 int32_t aR = static_cast<int32_t>(SkGetPackedR32(a)); in check_pixel() 169 int32_t bR = static_cast<int32_t>(SkGetPackedR32(b)); in check_pixel()
|
D | BitmapCopyTest.cpp | 146 x == SkGetPackedR32(color) && in check_4x4_pixel()
|
D | EncodeTest.cpp | 106 if (SkTAbs((int)SkGetPackedR32(a) - (int)SkGetPackedR32(b)) > tolerance) { in almost_equals()
|
D | ReadPixelsTest.cpp | 146 int32_t aR = static_cast<int32_t>(SkGetPackedR32(a)); in check_read_pixel() 151 int32_t bR = static_cast<int32_t>(SkGetPackedR32(b)); in check_read_pixel()
|
D | ImageTest.cpp | 1231 REPORTER_ASSERT(r, almost_equal(0x28, SkGetPackedR32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST() 1239 REPORTER_ASSERT(r, almost_equal(0x21, SkGetPackedR32(*adobeBitmap.getAddr32(0, 0)))); in DEF_TEST() 1247 REPORTER_ASSERT(r, almost_equal(0x8B, SkGetPackedR32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST()
|
D | GradientTest.cpp | 336 REPORTER_ASSERT(reporter, SkGetPackedR32(centerPMColor) == 0); in test_two_point_conical_zero_radius()
|
/third_party/skia/src/core/ |
D | SkCompressedDataUtils.cpp | 174 uint8_t r8 = SkScalarRoundToInt(t * SkGetPackedR32(col0) + (1.0f - t) * SkGetPackedR32(col1)); in lerp() 198 (SkGetPackedR32(colors[0]) + SkGetPackedR32(colors[1])) >> 1, in decompress_bc1()
|
D | SkUnPreMultiply.cpp | 14 ApplyScale(scale, SkGetPackedR32(c)), in PMColorToColor()
|
D | SkBlitter_ARGB32.cpp | 50 int dstR = SkGetPackedR32(dst); in blend_lcd16() 85 int dstR = SkGetPackedR32(dst); in blend_lcd16_opaque() 469 uint8x8_t vopqDstR = vdup_n_u8(SkGetPackedR32(opaqueDst)); in blit_row_lcd16_opaque() 1224 int srcR = SkGetPackedR32(s); in blend_row_lcd16() 1242 src_alpha_blend(srcR, SkGetPackedR32(d), srcA, maskR), in blend_row_lcd16() 1260 int srcR = SkGetPackedR32(s); in blend_row_LCD16_opaque() 1276 blend_32(srcR, SkGetPackedR32(d), maskR), in blend_row_LCD16_opaque()
|
/third_party/skia/include/private/ |
D | SkColorData.h | 165 unsigned r = SkTo<uint8_t>(SkAlphaBlend(SkGetPackedR32(src), SkGetPackedR32(dst), scale)); in SkFourByteInterp256() 337 unsigned sr = SkGetPackedR32(src); in SkSrcOver32To16()
|
/third_party/skia/gm/ |
D | path_stroke_with_zero_length.cpp | 62 uint32_t v = SkGetPackedR32(*pmap.addr32(x, y)) + SkGetPackedR32(*pmap.addr32(x, y + 1)); in draw_path_cell()
|
/third_party/skia/include/core/ |
D | SkColorPriv.h | 91 #define SkGetPackedR32(packed) ((uint32_t)((packed) << (24 - SK_R32_SHIFT)) >> 24) macro
|
/third_party/skia/src/gpu/ |
D | SkGr.h | 47 unsigned r = SkGetPackedR32(pm); in SkColorToPremulGrColor()
|
/third_party/skia/src/opts/ |
D | SkBlitMask_opts.h | 58 vpmc.val[NEON_R] = vdup_n_u8(SkGetPackedR32(pmc)); in D32_A8_Opaque_Color_neon()
|
/third_party/skia/src/effects/imagefilters/ |
D | SkMatrixConvolutionImageFilter.cpp | 257 sumR += SkGetPackedR32(s) * k; in filterPixels()
|
D | SkMorphologyImageFilter.cpp | 590 r = SkGetPackedR32(*p),
|
/third_party/skia/tools/viewer/ |
D | Viewer.cpp | 2776 SkGetPackedR32(pixel), SkGetPackedG32(pixel), in drawImGui()
|