Home
last modified time | relevance | path

Searched refs:SkGetPackedR32 (Results 1 – 20 of 20) sorted by relevance

/third_party/skia/tools/skdiff/
Dskdiff.cpp145 int dr = SkGetPackedR32(c0) - SkGetPackedR32(c1); in colors_match_thresholded()
181 uint32_t thisR = SkAbs32(SkGetPackedR32(c0) - SkGetPackedR32(c1)); in compute_diff()
Dskdiff.h259 int dr = SkGetPackedR32(c0) - SkGetPackedR32(c1); in compute_diff_pmcolor()
/third_party/skia/tests/
DColorPrivTest.cpp43 const int deltaR = SkGetPackedR32(slow) - SkGetPackedR32(fast); in DEF_TEST()
DWritePixelsTest.cpp131 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()
DBitmapCopyTest.cpp146 x == SkGetPackedR32(color) && in check_4x4_pixel()
DEncodeTest.cpp106 if (SkTAbs((int)SkGetPackedR32(a) - (int)SkGetPackedR32(b)) > tolerance) { in almost_equals()
DReadPixelsTest.cpp146 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()
DImageTest.cpp1231 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()
DGradientTest.cpp336 REPORTER_ASSERT(reporter, SkGetPackedR32(centerPMColor) == 0); in test_two_point_conical_zero_radius()
/third_party/skia/src/core/
DSkCompressedDataUtils.cpp174 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()
DSkUnPreMultiply.cpp14 ApplyScale(scale, SkGetPackedR32(c)), in PMColorToColor()
DSkBlitter_ARGB32.cpp50 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/
DSkColorData.h165 unsigned r = SkTo<uint8_t>(SkAlphaBlend(SkGetPackedR32(src), SkGetPackedR32(dst), scale)); in SkFourByteInterp256()
337 unsigned sr = SkGetPackedR32(src); in SkSrcOver32To16()
/third_party/skia/gm/
Dpath_stroke_with_zero_length.cpp62 uint32_t v = SkGetPackedR32(*pmap.addr32(x, y)) + SkGetPackedR32(*pmap.addr32(x, y + 1)); in draw_path_cell()
/third_party/skia/include/core/
DSkColorPriv.h91 #define SkGetPackedR32(packed) ((uint32_t)((packed) << (24 - SK_R32_SHIFT)) >> 24) macro
/third_party/skia/src/gpu/
DSkGr.h47 unsigned r = SkGetPackedR32(pm); in SkColorToPremulGrColor()
/third_party/skia/src/opts/
DSkBlitMask_opts.h58 vpmc.val[NEON_R] = vdup_n_u8(SkGetPackedR32(pmc)); in D32_A8_Opaque_Color_neon()
/third_party/skia/src/effects/imagefilters/
DSkMatrixConvolutionImageFilter.cpp257 sumR += SkGetPackedR32(s) * k; in filterPixels()
DSkMorphologyImageFilter.cpp590 r = SkGetPackedR32(*p),
/third_party/skia/tools/viewer/
DViewer.cpp2776 SkGetPackedR32(pixel), SkGetPackedG32(pixel), in drawImGui()