/external/skia/src/core/ |
D | SkXfermode.cpp | 425 SkAlphaMulAlpha(da, SkGetPackedG32(src)) + in srcatop_modeproc() 426 SkAlphaMulAlpha(isa, SkGetPackedG32(dst)), in srcatop_modeproc() 440 SkAlphaMulAlpha(ida, SkGetPackedG32(src)) + in dstatop_modeproc() 441 SkAlphaMulAlpha(sa, SkGetPackedG32(dst)), in dstatop_modeproc() 456 SkAlphaMulAlpha(ida, SkGetPackedG32(src)) + in xor_modeproc() 457 SkAlphaMulAlpha(isa, SkGetPackedG32(dst)), in xor_modeproc() 467 unsigned g = saturated_add(SkGetPackedG32(src), SkGetPackedG32(dst)); in plus_modeproc() 477 int g = SkAlphaMulAlpha(SkGetPackedG32(src), SkGetPackedG32(dst)); in modulate_modeproc() 498 int g = blendfunc_multiply_byte(SkGetPackedG32(src), SkGetPackedG32(dst), sa, da); in multiply_modeproc() 507 int g = srcover_byte(SkGetPackedG32(src), SkGetPackedG32(dst)); in screen_modeproc() [all …]
|
D | SkDither.h | 78 unsigned sg = SkGetPackedG32(c); in SkDitherARGB32For565() 92 unsigned sg = SkGetPackedG32(c); in SkDitherRGB32For565() 116 unsigned sg = SkGetPackedG32(c); in SkDitherRGB32To565() 131 unsigned sg = SkGetPackedG32(c); in SkDitherARGB32To565() 159 unsigned g = SkGetPackedG32(c); in SkDitherARGB32To4444()
|
D | SkUnPreMultiply.cpp | 15 ApplyScale(scale, SkGetPackedG32(c)), in PMColorToColor() 24 ApplyScale(scale, SkGetPackedG32(c)), in UnPreMultiplyPreservingByteOrder()
|
D | SkBlitRow_D16.cpp | 119 int sg = SkGetPackedG32(c); in S32_D565_Blend_Dither() 150 unsigned sg = SkGetPackedG32(c); in S32A_D565_Opaque_Dither() 187 int sg = SkGetPackedG32(c); in S32A_D565_Blend_Dither() 209 unsigned g = SkGetPackedG32(c); in pmcolor_to_expand16()
|
D | SkBlitMask_D32.cpp | 205 int srcG = SkGetPackedG32(s); in LCD16_RowProc_Blend() 222 int dstG = SkGetPackedG32(d); in LCD16_RowProc_Blend() 247 int srcG = SkGetPackedG32(s); in LCD16_RowProc_Opaque() 263 int dstG = SkGetPackedG32(d); in LCD16_RowProc_Opaque()
|
/external/skia/tools/skdiff/ |
D | skdiff.cpp | 146 int dg = SkGetPackedG32(c0) - SkGetPackedG32(c1); in colors_match_thresholded() 184 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()
|
/external/skia/include/core/ |
D | SkColorPriv.h | 367 #define SkGetPackedG32(packed) ((uint32_t)((packed) << (24 - SK_G32_SHIFT)) >> 24) macro 382 SkASSERT(SkGetPackedG32(pm_color_value) <= alpha_color_value); \ 393 && SkGetPackedG32(c) <= a in SkPMColorValid() 417 SkGetPackedG32(c), SkGetPackedB32(c)); in SkPackPMColor_as_RGBA() 422 SkGetPackedG32(c), SkGetPackedB32(c)); in SkPackPMColor_as_BGRA() 436 unsigned g = SkAlphaBlend(SkGetPackedG32(src), SkGetPackedG32(dst), scale); in SkFourByteInterp256() 662 return SkDitherPack888ToRGB16(SkGetPackedR32(c), SkGetPackedG32(c), SkGetPackedB32(c)); in SkDitherPixel32ToPixel16() 688 unsigned sg = SkGetPackedG32(src); in SkSrcOver32To16() 934 SkGetPackedG32(c), SkGetPackedB32(c)); in SkDitherPixel32To4444() 1011 int dstG = SkGetPackedG32(dst); in SkBlendLCD16() [all …]
|
/external/skia/tests/ |
D | ColorPrivTest.cpp | 35 const int deltaG = SkGetPackedG32(slow) - SkGetPackedG32(fast); in DEF_TEST()
|
D | ColorFilterTest.cpp | 126 REPORTER_ASSERT(reporter, SkGetPackedG32(out) == 0); in DEF_TEST() 144 REPORTER_ASSERT(reporter, SkGetPackedG32(out) == 0); in DEF_TEST()
|
D | WritePixelsTest.cpp | 138 unsigned c1 = SkGetPackedG32(color); in premul() 170 int32_t aG = static_cast<int32_t>(SkGetPackedG32(a)); in check_pixel() 175 int32_t bG = static_cast<int32_t>(SkGetPackedG32(b)); in check_pixel()
|
D | GrGetCoeffBlendKnownComponentsTest.cpp | 22 return GrColorPackRGBA(SkGetPackedR32(c), SkGetPackedG32(c), SkGetPackedB32(c), in SkPMColorToGrColor()
|
D | ColorSpaceXformTest.cpp | 96 SkGetPackedG32(dstPixels[i]))); in test_identity_xform() 132 SkGetPackedG32(dstPixels[i]))); in test_identity_xform_A2B()
|
/external/skia/src/images/ |
D | SkPNGImageEncoder.cpp | 144 palette[numWithAlpha].green = SkGetPackedG32(colors[i]); in pack_palette() 157 palette[i].green = SkGetPackedG32(c); in pack_palette() 168 palette[currIndex].green = SkGetPackedG32(colors[i]); in pack_palette()
|
/external/skia/gm/ |
D | imagefromyuvtextures.cpp | 68 0.587f * SkGetPackedG32(rgbColors[i]) + in onOnceBeforeDraw() 79 rgb[1] += SkGetPackedG32(rgbColors[rgbIndex]); in onOnceBeforeDraw()
|
D | gammaencodedpremul.cpp | 18 uint8_t g = SkGetPackedG32(pixels[i]); in clamp_to_alpha()
|
D | image_pict.cpp | 167 const int cg = SkGetPackedG32(c); in find_closest() 174 int dg = SkAbs32((int)SkGetPackedG32(table[i]) - cg); in find_closest()
|
/external/skia/src/effects/ |
D | SkLumaColorFilter.cpp | 34 SkGetPackedG32(c), in filterSpan()
|
D | SkOverdrawColorFilter.cpp | 97 SkGetPackedG32(colors[i]), in Make()
|
/external/skia/src/opts/ |
D | SkBlurImageFilter_opts.h | 205 sumG += SkGetPackedG32(c); \ 210 sumG -= SkGetPackedG32(c); \
|
D | SkBlitRow_opts_SSE2.cpp | 109 uint32_t src_expand = (SkGetPackedG32(src) << 24) | in Color32A_D565_SSE2() 118 const __m128i src_G_wide = _mm_set1_epi16(SkGetPackedG32(src) << 3); in Color32A_D565_SSE2() 819 unsigned sg = SkGetPackedG32(c); in S32A_D565_Opaque_Dither_SSE2() 974 unsigned sg = SkGetPackedG32(c); in S32A_D565_Opaque_Dither_SSE2()
|
D | SkBlitRow_opts_arm_neon.cpp | 482 unsigned g = SkGetPackedG32(c); in pmcolor_to_expand16() 527 unsigned sg = SkGetPackedG32(src); in Color32A_D565_neon() 859 int sg = SkGetPackedG32(c); in S32_D565_Blend_Dither_neon() 1156 unsigned sg = SkGetPackedG32(c); in S32A_D565_Opaque_Dither_neon()
|
/external/skia/bench/ |
D | RepeatTileBench.cpp | 45 int g = SkGetPackedG32(c); in compute_666_index()
|
/external/skia/samplecode/ |
D | SampleUnpremul.cpp | 34 U8CPU g = SkGetPackedG32(c); in premultiply_unpmcolor()
|
D | SampleDither.cpp | 87 unsigned g = SkGetPackedG32(c); in pre_dither()
|