Home
last modified time | relevance | path

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

/third_party/skia/tools/skdiff/
Dskdiff.cpp146 int dg = SkGetPackedG32(c0) - SkGetPackedG32(c1); in colors_match_thresholded()
182 uint32_t thisG = SkAbs32(SkGetPackedG32(c0) - SkGetPackedG32(c1)); in compute_diff()
Dskdiff.h260 int dg = SkGetPackedG32(c0) - SkGetPackedG32(c1); in compute_diff_pmcolor()
/third_party/skia/tests/
DColorPrivTest.cpp44 const int deltaG = SkGetPackedG32(slow) - SkGetPackedG32(fast); in DEF_TEST()
DWritePixelsTest.cpp132 unsigned c1 = SkGetPackedG32(color); in premul()
165 int32_t aG = static_cast<int32_t>(SkGetPackedG32(a)); in check_pixel()
170 int32_t bG = static_cast<int32_t>(SkGetPackedG32(b)); in check_pixel()
DBitmapCopyTest.cpp147 y == SkGetPackedG32(color) && in check_4x4_pixel()
DEncodeTest.cpp110 if (SkTAbs((int)SkGetPackedG32(a) - (int)SkGetPackedG32(b)) > tolerance) { in almost_equals()
DReadPixelsTest.cpp147 int32_t aG = static_cast<int32_t>(SkGetPackedG32(a)); in check_read_pixel()
152 int32_t bG = static_cast<int32_t>(SkGetPackedG32(b)); in check_read_pixel()
DImageTest.cpp1232 REPORTER_ASSERT(r, almost_equal(0x40, SkGetPackedG32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST()
1240 REPORTER_ASSERT(r, almost_equal(0x31, SkGetPackedG32(*adobeBitmap.getAddr32(0, 0)))); in DEF_TEST()
1248 REPORTER_ASSERT(r, almost_equal(0x82, SkGetPackedG32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST()
/third_party/skia/src/core/
DSkCompressedDataUtils.cpp175 uint8_t g8 = SkScalarRoundToInt(t * SkGetPackedG32(col0) + (1.0f - t) * SkGetPackedG32(col1)); in lerp()
199 (SkGetPackedG32(colors[0]) + SkGetPackedG32(colors[1])) >> 1, in decompress_bc1()
DSkUnPreMultiply.cpp15 ApplyScale(scale, SkGetPackedG32(c)), in PMColorToColor()
DSkBlitter_ARGB32.cpp51 int dstG = SkGetPackedG32(dst); in blend_lcd16()
86 int dstG = SkGetPackedG32(dst); in blend_lcd16_opaque()
470 uint8x8_t vopqDstG = vdup_n_u8(SkGetPackedG32(opaqueDst)); in blit_row_lcd16_opaque()
1225 int srcG = SkGetPackedG32(s); in blend_row_lcd16()
1243 src_alpha_blend(srcG, SkGetPackedG32(d), srcA, maskG), in blend_row_lcd16()
1261 int srcG = SkGetPackedG32(s); in blend_row_LCD16_opaque()
1277 blend_32(srcG, SkGetPackedG32(d), maskG), in blend_row_LCD16_opaque()
/third_party/skia/include/private/
DSkColorData.h166 unsigned g = SkTo<uint8_t>(SkAlphaBlend(SkGetPackedG32(src), SkGetPackedG32(dst), scale)); in SkFourByteInterp256()
338 unsigned sg = SkGetPackedG32(src); in SkSrcOver32To16()
/third_party/skia/include/core/
DSkColorPriv.h92 #define SkGetPackedG32(packed) ((uint32_t)((packed) << (24 - SK_G32_SHIFT)) >> 24) macro
/third_party/skia/src/gpu/
DSkGr.h48 unsigned g = SkGetPackedG32(pm); in SkColorToPremulGrColor()
/third_party/skia/src/opts/
DSkBlitMask_opts.h59 vpmc.val[NEON_G] = vdup_n_u8(SkGetPackedG32(pmc)); in D32_A8_Opaque_Color_neon()
/third_party/skia/src/effects/imagefilters/
DSkMatrixConvolutionImageFilter.cpp258 sumG += SkGetPackedG32(s) * k; in filterPixels()
DSkMorphologyImageFilter.cpp589 g = SkGetPackedG32(*p),
/third_party/skia/tools/viewer/
DViewer.cpp2776 SkGetPackedR32(pixel), SkGetPackedG32(pixel), in drawImGui()