/external/skia/src/effects/ |
H A D | SkLerpXfermode.cpp | 42 SkPMColor dstC = dst[i]; local 43 SkPMColor resC = SkFastFourByteInterp256(src[i], dstC, scale); 45 resC = SkFastFourByteInterp256(resC, dstC, a + (a >> 7)); 65 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); local 66 SkPMColor resC = SkFastFourByteInterp256(src[i], dstC, scale); 68 resC = SkFastFourByteInterp256(resC, dstC, a + (a >> 7)); 75 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); local 76 SkPMColor resC = SkFastFourByteInterp256(src[i], dstC, scale);
|
/external/skia/src/effects/gradients/ |
H A D | SkLinearGradient.cpp | 110 *dstC++ = cache[toggle + fi]; \ 117 SkPMColor* dstC, const SkPMColor* cache, 124 SkPMColor* SK_RESTRICT dstC, 143 sk_memset32_dither(dstC, lerp, dlerp, count); 147 SkPMColor* SK_RESTRICT dstC, 155 sk_memset32_dither(dstC, 159 dstC += count; 177 sk_memset32_dither(dstC, 185 SkPMColor* SK_RESTRICT dstC, 192 *dstC 123 shadeSpan_linear_vertical_lerp(TileProc proc, SkGradFixed dx, SkGradFixed fx, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int toggle, int count) argument 146 shadeSpan_linear_clamp(TileProc proc, SkGradFixed dx, SkGradFixed fx, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int toggle, int count) argument 184 shadeSpan_linear_mirror(TileProc proc, SkGradFixed dx, SkGradFixed fx, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int toggle, int count) argument 197 shadeSpan_linear_repeat(TileProc proc, SkGradFixed dx, SkGradFixed fx, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int toggle, int count) argument 212 shadeSpan(int x, int y, SkPMColor* SK_RESTRICT dstC, int count) argument 319 shadeSpan16_linear_vertical(TileProc proc, SkGradFixed dx, SkGradFixed fx, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument 368 shadeSpan16_linear_mirror(TileProc proc, SkGradFixed dx, SkGradFixed fx, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument 401 shadeSpan16(int x, int y, uint16_t* SK_RESTRICT dstC, int count) argument [all...] |
H A D | SkRadialGradient.cpp | 72 uint16_t* dstC, const uint16_t* cache, 77 uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, 102 *dstC++ = cache[toggle + 114 *dstC++ = cache[toggle + 123 uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, 129 *dstC++ = cache[toggle + (fi >> SkGradientShaderBase::kCache16Shift)]; 137 uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, 139 shadeSpan16_radial<mirror_tileproc_nonstatic>(fx, dx, fy, dy, dstC, cache, toggle, count); 143 uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, 145 shadeSpan16_radial<repeat_tileproc_nonstatic>(fx, dx, fy, dy, dstC, cach 75 shadeSpan16_radial_clamp(SkScalar sfx, SkScalar sdx, SkScalar sfy, SkScalar sdy, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument 122 shadeSpan16_radial(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument 136 shadeSpan16_radial_mirror(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument 142 shadeSpan16_radial_repeat(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument 176 uint16_t* SK_RESTRICT dstC = dstCParam; local 294 shadeSpan_radial_clamp2(SkScalar sfx, SkScalar sdx, SkScalar sfy, SkScalar sdy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument 352 shadeSpan_radial(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument 366 shadeSpan_radial_mirror(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument 372 shadeSpan_radial_repeat(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument 380 shadeSpan(int x, int y, SkPMColor* SK_RESTRICT dstC, int count) argument [all...] |
H A D | SkLinearGradient.h | 24 void shadeSpan(int x, int y, SkPMColor dstC[], int count) override; 25 void shadeSpan16(int x, int y, uint16_t dstC[], int count) override;
|
H A D | SkRadialGradient.h | 24 void shadeSpan(int x, int y, SkPMColor dstC[], int count) override; 25 void shadeSpan16(int x, int y, uint16_t dstC[], int count) override;
|
H A D | SkSweepGradient.h | 24 void shadeSpan(int x, int y, SkPMColor dstC[], int count) override; 25 void shadeSpan16(int x, int y, uint16_t dstC[], int count) override;
|
H A D | SkTwoPointConicalGradient.cpp | 135 typedef void (*TwoPointConicalProc)(TwoPtRadialContext* rec, SkPMColor* dstC, 138 static void twopoint_clamp(TwoPtRadialContext* rec, SkPMColor* SK_RESTRICT dstC, argument 144 *dstC++ = 0; 148 *dstC++ = cache[toggle + 155 static void twopoint_repeat(TwoPtRadialContext* rec, SkPMColor* SK_RESTRICT dstC, argument 161 *dstC++ = 0; 165 *dstC++ = cache[toggle + 172 static void twopoint_mirror(TwoPtRadialContext* rec, SkPMColor* SK_RESTRICT dstC, argument 178 *dstC++ = 0; 182 *dstC 244 SkPMColor* SK_RESTRICT dstC = dstCParam; local [all...] |
H A D | SkSweepGradient.cpp | 92 void SkSweepGradient::SweepGradientContext::shadeSpan(int x, int y, SkPMColor* SK_RESTRICT dstC, argument 119 *dstC++ = cache[toggle + SkATan2_255(fy, fx)]; 128 *dstC++ = cache[toggle + SkATan2_255(srcPt.fY, srcPt.fX)]; 134 void SkSweepGradient::SweepGradientContext::shadeSpan16(int x, int y, uint16_t* SK_RESTRICT dstC, argument 162 *dstC++ = cache[toggle + index]; 174 *dstC++ = cache[toggle + index];
|
H A D | SkTwoPointConicalGradient.h | 55 void shadeSpan(int x, int y, SkPMColor dstC[], int count) override;
|
/external/skia/src/core/ |
H A D | SkBitmapProcShader.h | 44 void shadeSpan(int x, int y, SkPMColor dstC[], int count) override; 46 void shadeSpan16(int x, int y, uint16_t dstC[], int count) override;
|
H A D | SkPictureShader.h | 60 void shadeSpan(int x, int y, SkPMColor dstC[], int count) override; 61 void shadeSpan16(int x, int y, uint16_t dstC[], int count) override;
|
H A D | SkBitmapProcShader.cpp | 180 void SkBitmapProcShader::BitmapProcShaderContext::shadeSpan(int x, int y, SkPMColor dstC[], argument 184 state.getShaderProc32()(state, x, y, dstC, count); 214 sproc(state, buffer, n, dstC); 221 dstC += n; 233 void SkBitmapProcShader::BitmapProcShaderContext::shadeSpan16(int x, int y, uint16_t dstC[], argument 237 state.getShaderProc16()(state, x, y, dstC, count); 256 sproc(state, buffer, n, dstC); 262 dstC += n;
|
H A D | SkPictureShader.cpp | 280 void SkPictureShader::PictureShaderContext::shadeSpan(int x, int y, SkPMColor dstC[], int count) { argument 282 fBitmapShaderContext->shadeSpan(x, y, dstC, count); 285 void SkPictureShader::PictureShaderContext::shadeSpan16(int x, int y, uint16_t dstC[], int count) { argument 287 fBitmapShaderContext->shadeSpan16(x, y, dstC, count);
|
H A D | SkXfermode.cpp | 716 SkPMColor dstC = dst[i]; local 717 SkPMColor C = this->xferColor(src[i], dstC); 719 C = SkFourByteInterp(C, dstC, a); 734 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); local 735 dst[i] = SkPixel32ToPixel16_ToU16(this->xferColor(src[i], dstC)); 741 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); local 742 SkPMColor C = this->xferColor(src[i], dstC); 744 C = SkFourByteInterp(C, dstC, a); 865 SkPMColor dstC = dst[i]; local 866 SkPMColor C = proc(src[i], dstC); 887 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); local 894 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); local [all...] |
H A D | SkDraw.cpp | 1905 void shadeSpan(int x, int y, SkPMColor dstC[], int count) override; 1980 void SkTriColorShader::TriColorShaderContext::shadeSpan(int x, int y, SkPMColor dstC[], int count) { argument 2007 dstC[i] = SkAlphaMulQ(fColors[0], scale0) +
|
/external/skia/src/opts/ |
H A D | SkXfermode_opts_SSE2.cpp | 686 SkPMColor dstC = dst[i]; local 687 SkPMColor C = proc(src[i], dstC); 689 C = SkFourByteInterp(C, dstC, a); 708 SkPMColor dstC = SkPixel16ToPixel32(*dst); local 709 *dst = SkPixel32ToPixel16_ToU16(proc(*src, dstC)); 742 SkPMColor dstC = SkPixel16ToPixel32(*dst); local 743 *dst = SkPixel32ToPixel16_ToU16(proc(*src, dstC)); 751 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); local 752 SkPMColor C = proc(src[i], dstC); 754 C = SkFourByteInterp(C, dstC, [all...] |
H A D | SkXfermode_opts_arm_neon.cpp | 839 SkPMColor dstC = dst[i]; local 840 SkPMColor C = proc(src[i], dstC); 842 C = SkFourByteInterp_neon(C, dstC, a); 907 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); local 908 dst[i] = SkPixel32ToPixel16_ToU16(proc(src[i], dstC)); 914 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); local 915 SkPMColor C = proc(src[i], dstC); 917 C = SkFourByteInterp_neon(C, dstC, a);
|
/external/skia/tests/ |
H A D | BitmapCopyTest.cpp | 622 SkPMColor dstC = dstPixels[y*4+x]; 627 REPORTER_ASSERT(reporter, check_4x4_pixel(dstC, sx, sy)); 629 REPORTER_ASSERT(reporter, 0 == dstC);
|