/external/skia/src/core/ |
D | SkXfermode.cpp | 423 SkAlphaMulAlpha(da, SkGetPackedR32(src)) + in srcatop_modeproc() 424 SkAlphaMulAlpha(isa, SkGetPackedR32(dst)), in srcatop_modeproc() 438 SkAlphaMulAlpha(ida, SkGetPackedR32(src)) + in dstatop_modeproc() 439 SkAlphaMulAlpha(sa, SkGetPackedR32(dst)), in dstatop_modeproc() 454 SkAlphaMulAlpha(ida, SkGetPackedR32(src)) + in xor_modeproc() 455 SkAlphaMulAlpha(isa, SkGetPackedR32(dst)), in xor_modeproc() 468 unsigned r = saturated_add(SkGetPackedR32(src), SkGetPackedR32(dst)); in plus_modeproc() 476 int r = SkAlphaMulAlpha(SkGetPackedR32(src), SkGetPackedR32(dst)); in modulate_modeproc() 497 int r = blendfunc_multiply_byte(SkGetPackedR32(src), SkGetPackedR32(dst), sa, da); in multiply_modeproc() 506 int r = srcover_byte(SkGetPackedR32(src), SkGetPackedR32(dst)); in screen_modeproc() [all …]
|
D | SkDither.h | 77 unsigned sr = SkGetPackedR32(c); in SkDitherARGB32For565() 91 unsigned sr = SkGetPackedR32(c); in SkDitherRGB32For565() 115 unsigned sr = SkGetPackedR32(c); in SkDitherRGB32To565() 130 unsigned sr = SkGetPackedR32(c); in SkDitherARGB32To565() 158 unsigned r = SkGetPackedR32(c); in SkDitherARGB32To4444()
|
D | SkUnPreMultiply.cpp | 14 ApplyScale(scale, SkGetPackedR32(c)), in PMColorToColor() 23 ApplyScale(scale, SkGetPackedR32(c)), in UnPreMultiplyPreservingByteOrder()
|
D | SkBlitRow_D16.cpp | 118 int sr = SkGetPackedR32(c); in S32_D565_Blend_Dither() 149 unsigned sr = SkGetPackedR32(c); in S32A_D565_Opaque_Dither() 186 int sr = SkGetPackedR32(c); in S32A_D565_Blend_Dither() 208 unsigned r = SkGetPackedR32(c); in pmcolor_to_expand16()
|
D | SkBlitMask_D32.cpp | 204 int srcR = SkGetPackedR32(s); in LCD16_RowProc_Blend() 221 int dstR = SkGetPackedR32(d); in LCD16_RowProc_Blend() 246 int srcR = SkGetPackedR32(s); in LCD16_RowProc_Opaque() 262 int dstR = SkGetPackedR32(d); in LCD16_RowProc_Opaque()
|
/external/skia/tools/skdiff/ |
D | skdiff.cpp | 145 int dr = SkGetPackedR32(c0) - SkGetPackedR32(c1); in colors_match_thresholded() 183 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()
|
/external/skia/include/core/ |
D | SkColorPriv.h | 366 #define SkGetPackedR32(packed) ((uint32_t)((packed) << (24 - SK_R32_SHIFT)) >> 24) macro 381 SkASSERT(SkGetPackedR32(pm_color_value) <= alpha_color_value); \ 392 && SkGetPackedR32(c) <= a in SkPMColorValid() 416 return SkPackARGB_as_RGBA(SkGetPackedA32(c), SkGetPackedR32(c), in SkPackPMColor_as_RGBA() 421 return SkPackARGB_as_BGRA(SkGetPackedA32(c), SkGetPackedR32(c), in SkPackPMColor_as_BGRA() 435 unsigned r = SkAlphaBlend(SkGetPackedR32(src), SkGetPackedR32(dst), scale); in SkFourByteInterp256() 662 return SkDitherPack888ToRGB16(SkGetPackedR32(c), SkGetPackedG32(c), SkGetPackedB32(c)); in SkDitherPixel32ToPixel16() 687 unsigned sr = SkGetPackedR32(src); in SkSrcOver32To16() 933 return SkDitherARGB32To4444(SkGetPackedA32(c), SkGetPackedR32(c), in SkDitherPixel32To4444() 1010 int dstR = SkGetPackedR32(dst); in SkBlendLCD16() [all …]
|
/external/skia/tests/ |
D | ColorPrivTest.cpp | 34 const int deltaR = SkGetPackedR32(slow) - SkGetPackedR32(fast); in DEF_TEST()
|
D | ColorFilterTest.cpp | 125 REPORTER_ASSERT(reporter, SkGetPackedR32(out) == 0); in DEF_TEST() 143 REPORTER_ASSERT(reporter, SkGetPackedR32(out) == 0); in DEF_TEST()
|
D | WritePixelsTest.cpp | 137 unsigned c0 = SkGetPackedR32(color); in premul() 169 int32_t aR = static_cast<int32_t>(SkGetPackedR32(a)); in check_pixel() 174 int32_t bR = static_cast<int32_t>(SkGetPackedR32(b)); in check_pixel()
|
D | GrGetCoeffBlendKnownComponentsTest.cpp | 22 return GrColorPackRGBA(SkGetPackedR32(c), SkGetPackedG32(c), SkGetPackedB32(c), in SkPMColorToGrColor()
|
D | ColorSpaceXformTest.cpp | 98 SkGetPackedR32(dstPixels[i]))); in test_identity_xform() 134 SkGetPackedR32(dstPixels[i]))); in test_identity_xform_A2B()
|
/external/skia/src/images/ |
D | SkPNGImageEncoder.cpp | 143 palette[numWithAlpha].red = SkGetPackedR32(colors[i]); in pack_palette() 156 palette[i].red = SkGetPackedR32(c); in pack_palette() 167 palette[currIndex].red = SkGetPackedR32(colors[i]); in pack_palette()
|
/external/skia/gm/ |
D | imagefromyuvtextures.cpp | 67 yPixels[i] = static_cast<unsigned char>(0.299f * SkGetPackedR32(rgbColors[i]) + in onOnceBeforeDraw() 78 rgb[0] += SkGetPackedR32(rgbColors[rgbIndex]); in onOnceBeforeDraw()
|
D | gammaencodedpremul.cpp | 17 uint8_t r = SkGetPackedR32(pixels[i]); in clamp_to_alpha()
|
D | image_pict.cpp | 166 const int cr = SkGetPackedR32(c); in find_closest() 173 int dr = SkAbs32((int)SkGetPackedR32(table[i]) - cr); in find_closest()
|
/external/skia/src/effects/ |
D | SkLumaColorFilter.cpp | 33 unsigned luma = SkComputeLuminance(SkGetPackedR32(c), in filterSpan()
|
D | SkOverdrawColorFilter.cpp | 96 grColors[i] = GrColor4f::FromGrColor(GrColorPackRGBA(SkGetPackedR32(colors[i]), in Make()
|
/external/skia/src/opts/ |
D | SkBlurImageFilter_opts.h | 204 sumR += SkGetPackedR32(c); \ 209 sumR -= SkGetPackedR32(c); \
|
D | SkBlitRow_opts_SSE2.cpp | 110 (SkGetPackedR32(src) << 13) | in Color32A_D565_SSE2() 117 const __m128i src_R_wide = _mm_set1_epi16(SkGetPackedR32(src) << 2); in Color32A_D565_SSE2() 818 unsigned sr = SkGetPackedR32(c); in S32A_D565_Opaque_Dither_SSE2() 973 unsigned sr = SkGetPackedR32(c); in S32A_D565_Opaque_Dither_SSE2()
|
D | SkBlitRow_opts_arm_neon.cpp | 481 unsigned r = SkGetPackedR32(c); in pmcolor_to_expand16() 526 unsigned sr = SkGetPackedR32(src); in Color32A_D565_neon() 858 int sr = SkGetPackedR32(c); in S32_D565_Blend_Dither_neon() 1155 unsigned sr = SkGetPackedR32(c); in S32A_D565_Opaque_Dither_neon()
|
/external/skia/bench/ |
D | RepeatTileBench.cpp | 44 int r = SkGetPackedR32(c); in compute_666_index()
|
/external/skia/samplecode/ |
D | SampleUnpremul.cpp | 33 U8CPU r = SkGetPackedR32(c); in premultiply_unpmcolor()
|
D | SampleDither.cpp | 86 unsigned r = SkGetPackedR32(c); in pre_dither()
|