Searched refs:SkGetPackedG32 (Results 1 – 18 of 18) sorted by relevance
/third_party/skia/tools/skdiff/ |
D | skdiff.cpp | 146 int dg = SkGetPackedG32(c0) - SkGetPackedG32(c1); in colors_match_thresholded() 182 uint32_t thisG = SkAbs32(SkGetPackedG32(c0) - SkGetPackedG32(c1)); in compute_diff()
|
D | skdiff.h | 260 int dg = SkGetPackedG32(c0) - SkGetPackedG32(c1); in compute_diff_pmcolor()
|
/third_party/skia/tests/ |
D | ColorPrivTest.cpp | 44 const int deltaG = SkGetPackedG32(slow) - SkGetPackedG32(fast); in DEF_TEST()
|
D | WritePixelsTest.cpp | 132 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()
|
D | BitmapCopyTest.cpp | 147 y == SkGetPackedG32(color) && in check_4x4_pixel()
|
D | EncodeTest.cpp | 110 if (SkTAbs((int)SkGetPackedG32(a) - (int)SkGetPackedG32(b)) > tolerance) { in almost_equals()
|
D | ReadPixelsTest.cpp | 147 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()
|
D | ImageTest.cpp | 1232 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/ |
D | SkCompressedDataUtils.cpp | 175 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()
|
D | SkUnPreMultiply.cpp | 15 ApplyScale(scale, SkGetPackedG32(c)), in PMColorToColor()
|
D | SkBlitter_ARGB32.cpp | 51 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/ |
D | SkColorData.h | 166 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/ |
D | SkColorPriv.h | 92 #define SkGetPackedG32(packed) ((uint32_t)((packed) << (24 - SK_G32_SHIFT)) >> 24) macro
|
/third_party/skia/src/gpu/ |
D | SkGr.h | 48 unsigned g = SkGetPackedG32(pm); in SkColorToPremulGrColor()
|
/third_party/skia/src/opts/ |
D | SkBlitMask_opts.h | 59 vpmc.val[NEON_G] = vdup_n_u8(SkGetPackedG32(pmc)); in D32_A8_Opaque_Color_neon()
|
/third_party/skia/src/effects/imagefilters/ |
D | SkMatrixConvolutionImageFilter.cpp | 258 sumG += SkGetPackedG32(s) * k; in filterPixels()
|
D | SkMorphologyImageFilter.cpp | 589 g = SkGetPackedG32(*p),
|
/third_party/skia/tools/viewer/ |
D | Viewer.cpp | 2776 SkGetPackedR32(pixel), SkGetPackedG32(pixel), in drawImGui()
|