/external/chromium_org/third_party/skia/src/effects/ |
H A D | SkLerpXfermode.cpp | 43 SkPMColor dstC = dst[i]; local 44 SkPMColor resC = SkFastFourByteInterp256(src[i], dstC, scale); 46 resC = SkFastFourByteInterp256(resC, dstC, a + (a >> 7)); 66 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); local 67 SkPMColor resC = SkFastFourByteInterp256(src[i], dstC, scale); 69 resC = SkFastFourByteInterp256(resC, dstC, a + (a >> 7)); 76 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); local 77 SkPMColor resC = SkFastFourByteInterp256(src[i], dstC, scale);
|
/external/skia/src/effects/ |
H A D | SkLerpXfermode.cpp | 43 SkPMColor dstC = dst[i]; local 44 SkPMColor resC = SkFastFourByteInterp256(src[i], dstC, scale); 46 resC = SkFastFourByteInterp256(resC, dstC, a + (a >> 7)); 66 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); local 67 SkPMColor resC = SkFastFourByteInterp256(src[i], dstC, scale); 69 resC = SkFastFourByteInterp256(resC, dstC, a + (a >> 7)); 76 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); local 77 SkPMColor resC = SkFastFourByteInterp256(src[i], dstC, scale);
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | ARGB32_Clamp_Bilinear_BitmapShader.h | 16 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count); 65 void ARGB32_Clamp_Bilinear_BitmapShader::shadeSpan(int x, int y, SkPMColor dstC[], int count) argument 94 *dstC++ = sample_bilerp(fx, fy, srcMaxX, srcMaxY, srcPixels, srcRB, proc_table); 108 *dstC++ = SkAlphaMulQ(c, srcScale); 143 *dstC++ = sample_bilerpx(fx, srcMaxX, srcPixels, srcRB, proc_table); 151 *dstC++ = SkAlphaMulQ(c, srcScale); 161 *dstC++ = sample_bilerp(fx, fy, srcMaxX, srcMaxY, srcPixels, srcRB, proc_table); 170 *dstC++ = SkAlphaMulQ(c, srcScale);
|
H A D | SkBitmapShader16BilerpTemplate.h | 21 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) argument 73 *dstC++ = expanded_rgb16_to_8888(c, alpha); 123 *dstC++ = expanded_rgb16_to_8888(c, alpha); 132 virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count) argument 181 *dstC++ = SkCompact_rgb_16(c); 231 *dstC++ = SkCompact_rgb_16(c);
|
H A D | SkBitmapProcShader.cpp | 161 void SkBitmapProcShader::shadeSpan(int x, int y, SkPMColor dstC[], int count) { argument 164 state.getShaderProc32()(state, x, y, dstC, count); 194 sproc(state, buffer, n, dstC); 201 dstC += n; 213 void SkBitmapProcShader::shadeSpan16(int x, int y, uint16_t dstC[], int count) { argument 216 state.getShaderProc16()(state, x, y, dstC, count); 235 sproc(state, buffer, n, dstC); 241 dstC += n;
|
H A D | SkBitmapShaderTemplate.h | 44 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) argument 51 NOFILTER_BITMAP_SHADER_SPRITEPROC32(this, x, y, dstC, count); 95 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); 107 *dstC++ = SkAlphaMulQ(c, scale); 151 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_X(srcPixels, x); 159 *dstC++ = SkAlphaMulQ(c, scale); 171 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); 181 *dstC++ = SkAlphaMulQ(c, scale); 188 virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count) argument 196 NOFILTER_BITMAP_SHADER_SPRITEPROC16(this, x, y, dstC, coun [all...] |
H A D | SkXfermode.cpp | 721 SkPMColor dstC = dst[i]; local 722 SkPMColor C = this->xferColor(src[i], dstC); 724 C = SkFourByteInterp(C, dstC, a); 739 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); local 740 dst[i] = SkPixel32ToPixel16_ToU16(this->xferColor(src[i], dstC)); 746 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); local 747 SkPMColor C = this->xferColor(src[i], dstC); 749 C = SkFourByteInterp(C, dstC, a); 801 SkPMColor dstC = dst[i]; local 802 SkPMColor C = proc(src[i], dstC); 823 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); local 830 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); local [all...] |
H A D | SkDraw.cpp | 2384 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) SK_OVERRIDE; 2434 void SkTriColorShader::shadeSpan(int x, int y, SkPMColor dstC[], int count) { argument 2453 dstC[i] = SkAlphaMulQ(fColors[0], scale0) +
|
/external/skia/src/core/ |
H A D | ARGB32_Clamp_Bilinear_BitmapShader.h | 16 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count); 65 void ARGB32_Clamp_Bilinear_BitmapShader::shadeSpan(int x, int y, SkPMColor dstC[], int count) argument 94 *dstC++ = sample_bilerp(fx, fy, srcMaxX, srcMaxY, srcPixels, srcRB, proc_table); 108 *dstC++ = SkAlphaMulQ(c, srcScale); 143 *dstC++ = sample_bilerpx(fx, srcMaxX, srcPixels, srcRB, proc_table); 151 *dstC++ = SkAlphaMulQ(c, srcScale); 161 *dstC++ = sample_bilerp(fx, fy, srcMaxX, srcMaxY, srcPixels, srcRB, proc_table); 170 *dstC++ = SkAlphaMulQ(c, srcScale);
|
H A D | SkBitmapShader16BilerpTemplate.h | 21 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) argument 73 *dstC++ = expanded_rgb16_to_8888(c, alpha); 123 *dstC++ = expanded_rgb16_to_8888(c, alpha); 132 virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count) argument 181 *dstC++ = SkCompact_rgb_16(c); 231 *dstC++ = SkCompact_rgb_16(c);
|
H A D | SkBitmapProcShader.cpp | 161 void SkBitmapProcShader::shadeSpan(int x, int y, SkPMColor dstC[], int count) { argument 164 state.getShaderProc32()(state, x, y, dstC, count); 194 sproc(state, buffer, n, dstC); 201 dstC += n; 213 void SkBitmapProcShader::shadeSpan16(int x, int y, uint16_t dstC[], int count) { argument 216 state.getShaderProc16()(state, x, y, dstC, count); 235 sproc(state, buffer, n, dstC); 241 dstC += n;
|
H A D | SkBitmapShaderTemplate.h | 44 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) argument 51 NOFILTER_BITMAP_SHADER_SPRITEPROC32(this, x, y, dstC, count); 95 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); 107 *dstC++ = SkAlphaMulQ(c, scale); 151 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_X(srcPixels, x); 159 *dstC++ = SkAlphaMulQ(c, scale); 171 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); 181 *dstC++ = SkAlphaMulQ(c, scale); 188 virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count) argument 196 NOFILTER_BITMAP_SHADER_SPRITEPROC16(this, x, y, dstC, coun [all...] |
H A D | SkXfermode.cpp | 721 SkPMColor dstC = dst[i]; local 722 SkPMColor C = this->xferColor(src[i], dstC); 724 C = SkFourByteInterp(C, dstC, a); 739 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); local 740 dst[i] = SkPixel32ToPixel16_ToU16(this->xferColor(src[i], dstC)); 746 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); local 747 SkPMColor C = this->xferColor(src[i], dstC); 749 C = SkFourByteInterp(C, dstC, a); 801 SkPMColor dstC = dst[i]; local 802 SkPMColor C = proc(src[i], dstC); 823 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); local 830 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); local [all...] |
H A D | SkDraw.cpp | 2430 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) SK_OVERRIDE; 2480 void SkTriColorShader::shadeSpan(int x, int y, SkPMColor dstC[], int count) { argument 2499 dstC[i] = SkAlphaMulQ(fColors[0], scale0) +
|
/external/chromium_org/third_party/skia/src/effects/gradients/ |
H A D | SkTwoPointRadialGradient.cpp | 111 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, 118 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, 125 *dstC++ = cache[index >> SkGradientShaderBase::kCache32Shift]; 135 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, 142 *dstC++ = cache[index >> SkGradientShaderBase::kCache32Shift]; 153 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, 160 *dstC++ = cache[index >> SkGradientShaderBase::kCache32Shift]; 227 SkPMColor* SK_RESTRICT dstC = dstCParam; local 231 sk_bzero(dstC, count * sizeof(*dstC)); 114 shadeSpan_twopoint_clamp(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkScalar b, SkScalar db, SkScalar fSr2D2, SkScalar foura, SkScalar fOneOverTwoA, bool posRoot, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count) argument 131 shadeSpan_twopoint_mirror(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkScalar b, SkScalar db, SkScalar fSr2D2, SkScalar foura, SkScalar fOneOverTwoA, bool posRoot, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count) argument 149 shadeSpan_twopoint_repeat(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkScalar b, SkScalar db, SkScalar fSr2D2, SkScalar foura, SkScalar fOneOverTwoA, bool posRoot, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count) argument [all...] |
H A D | SkLinearGradient.cpp | 99 *dstC++ = cache[toggle + fi]; \ 106 SkPMColor* dstC, const SkPMColor* cache, 113 SkPMColor* SK_RESTRICT dstC, 132 sk_memset32_dither(dstC, lerp, dlerp, count); 136 SkPMColor* SK_RESTRICT dstC, 143 sk_memset32_dither(dstC, 147 dstC += count; 165 sk_memset32_dither(dstC, 173 SkPMColor* SK_RESTRICT dstC, 180 *dstC 112 shadeSpan_linear_vertical_lerp(TileProc proc, SkFixed dx, SkFixed fx, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int toggle, int count) argument 135 shadeSpan_linear_clamp(TileProc proc, SkFixed dx, SkFixed fx, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int toggle, int count) argument 172 shadeSpan_linear_mirror(TileProc proc, SkFixed dx, SkFixed fx, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int toggle, int count) argument 185 shadeSpan_linear_repeat(TileProc proc, SkFixed dx, SkFixed fx, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int toggle, int count) argument 200 shadeSpan(int x, int y, SkPMColor* SK_RESTRICT dstC, int count) argument 304 shadeSpan16_linear_vertical(TileProc proc, SkFixed dx, SkFixed fx, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument 352 shadeSpan16_linear_mirror(TileProc proc, SkFixed dx, SkFixed fx, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument [all...] |
H A D | SkRadialGradient.cpp | 59 uint16_t* dstC, const uint16_t* cache, 64 uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, 89 *dstC++ = cache[toggle + 101 *dstC++ = cache[toggle + 110 uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, 125 *dstC++ = cache[toggle + (fi >> SkGradientShaderBase::kCache16Shift)]; 134 uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, 146 *dstC++ = cache[toggle + (fi >> SkGradientShaderBase::kCache16Shift)]; 171 uint16_t* SK_RESTRICT dstC = dstCParam; local 204 (*shadeProc)(srcPt.fX, sdx, srcPt.fY, sdy, dstC, 62 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 108 shadeSpan16_radial_mirror(SkScalar sfx, SkScalar sdx, SkScalar sfy, SkScalar sdy, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument 132 shadeSpan16_radial_repeat(SkScalar sfx, SkScalar sdx, SkScalar sfy, SkScalar sdy, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument 308 shadeSpan_radial_clamp(SkScalar sfx, SkScalar sdx, SkScalar sfy, SkScalar sdy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument 370 shadeSpan_radial_mirror(SkScalar sfx, SkScalar sdx, SkScalar sfy, SkScalar sdy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument 394 shadeSpan_radial_repeat(SkScalar sfx, SkScalar sdx, SkScalar sfy, SkScalar sdy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument 418 shadeSpan(int x, int y, SkPMColor* SK_RESTRICT dstC, int count) argument [all...] |
H A D | SkTwoPointConicalGradient.cpp | 116 typedef void (*TwoPointConicalProc)(TwoPtRadial* rec, SkPMColor* dstC, 119 static void twopoint_clamp(TwoPtRadial* rec, SkPMColor* SK_RESTRICT dstC, argument 125 *dstC++ = 0; 129 *dstC++ = cache[toggle + 136 static void twopoint_repeat(TwoPtRadial* rec, SkPMColor* SK_RESTRICT dstC, argument 142 *dstC++ = 0; 146 *dstC++ = cache[toggle + 153 static void twopoint_mirror(TwoPtRadial* rec, SkPMColor* SK_RESTRICT dstC, argument 159 *dstC++ = 0; 163 *dstC 204 SkPMColor* SK_RESTRICT dstC = dstCParam; local [all...] |
/external/skia/src/effects/gradients/ |
H A D | SkTwoPointRadialGradient.cpp | 111 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, 118 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, 125 *dstC++ = cache[index >> SkGradientShaderBase::kCache32Shift]; 135 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, 142 *dstC++ = cache[index >> SkGradientShaderBase::kCache32Shift]; 153 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, 160 *dstC++ = cache[index >> SkGradientShaderBase::kCache32Shift]; 227 SkPMColor* SK_RESTRICT dstC = dstCParam; local 231 sk_bzero(dstC, count * sizeof(*dstC)); 114 shadeSpan_twopoint_clamp(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkScalar b, SkScalar db, SkScalar fSr2D2, SkScalar foura, SkScalar fOneOverTwoA, bool posRoot, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count) argument 131 shadeSpan_twopoint_mirror(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkScalar b, SkScalar db, SkScalar fSr2D2, SkScalar foura, SkScalar fOneOverTwoA, bool posRoot, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count) argument 149 shadeSpan_twopoint_repeat(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkScalar b, SkScalar db, SkScalar fSr2D2, SkScalar foura, SkScalar fOneOverTwoA, bool posRoot, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count) argument [all...] |
H A D | SkLinearGradient.cpp | 99 *dstC++ = cache[toggle + fi]; \ 106 SkPMColor* dstC, const SkPMColor* cache, 113 SkPMColor* SK_RESTRICT dstC, 132 sk_memset32_dither(dstC, lerp, dlerp, count); 136 SkPMColor* SK_RESTRICT dstC, 143 sk_memset32_dither(dstC, 147 dstC += count; 165 sk_memset32_dither(dstC, 173 SkPMColor* SK_RESTRICT dstC, 180 *dstC 112 shadeSpan_linear_vertical_lerp(TileProc proc, SkFixed dx, SkFixed fx, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int toggle, int count) argument 135 shadeSpan_linear_clamp(TileProc proc, SkFixed dx, SkFixed fx, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int toggle, int count) argument 172 shadeSpan_linear_mirror(TileProc proc, SkFixed dx, SkFixed fx, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int toggle, int count) argument 185 shadeSpan_linear_repeat(TileProc proc, SkFixed dx, SkFixed fx, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int toggle, int count) argument 200 shadeSpan(int x, int y, SkPMColor* SK_RESTRICT dstC, int count) argument 304 shadeSpan16_linear_vertical(TileProc proc, SkFixed dx, SkFixed fx, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument 352 shadeSpan16_linear_mirror(TileProc proc, SkFixed dx, SkFixed fx, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument [all...] |
H A D | SkRadialGradient.cpp | 59 uint16_t* dstC, const uint16_t* cache, 64 uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, 89 *dstC++ = cache[toggle + 101 *dstC++ = cache[toggle + 110 uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, 125 *dstC++ = cache[toggle + (fi >> SkGradientShaderBase::kCache16Shift)]; 134 uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, 146 *dstC++ = cache[toggle + (fi >> SkGradientShaderBase::kCache16Shift)]; 171 uint16_t* SK_RESTRICT dstC = dstCParam; local 204 (*shadeProc)(srcPt.fX, sdx, srcPt.fY, sdy, dstC, 62 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 108 shadeSpan16_radial_mirror(SkScalar sfx, SkScalar sdx, SkScalar sfy, SkScalar sdy, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument 132 shadeSpan16_radial_repeat(SkScalar sfx, SkScalar sdx, SkScalar sfy, SkScalar sdy, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument 308 shadeSpan_radial_clamp(SkScalar sfx, SkScalar sdx, SkScalar sfy, SkScalar sdy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument 370 shadeSpan_radial_mirror(SkScalar sfx, SkScalar sdx, SkScalar sfy, SkScalar sdy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument 394 shadeSpan_radial_repeat(SkScalar sfx, SkScalar sdx, SkScalar sfy, SkScalar sdy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument 418 shadeSpan(int x, int y, SkPMColor* SK_RESTRICT dstC, int count) argument [all...] |
H A D | SkTwoPointConicalGradient.cpp | 116 typedef void (*TwoPointConicalProc)(TwoPtRadial* rec, SkPMColor* dstC, 119 static void twopoint_clamp(TwoPtRadial* rec, SkPMColor* SK_RESTRICT dstC, argument 125 *dstC++ = 0; 129 *dstC++ = cache[toggle + 136 static void twopoint_repeat(TwoPtRadial* rec, SkPMColor* SK_RESTRICT dstC, argument 142 *dstC++ = 0; 146 *dstC++ = cache[toggle + 153 static void twopoint_mirror(TwoPtRadial* rec, SkPMColor* SK_RESTRICT dstC, argument 159 *dstC++ = 0; 163 *dstC 204 SkPMColor* SK_RESTRICT dstC = dstCParam; local [all...] |