Searched refs:dstC (Results 1 - 25 of 32) sorted by relevance

12

/external/chromium_org/third_party/skia/src/effects/
H A DSkLerpXfermode.cpp43 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 DSkLerpXfermode.cpp43 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/effects/gradients/
H A DSkLinearGradient.h19 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) SK_OVERRIDE;
20 virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count) SK_OVERRIDE;
H A DSkSweepGradient.h17 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) SK_OVERRIDE;
18 virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count) SK_OVERRIDE;
H A DSkLinearGradient.cpp99 *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 DSkRadialGradient.cpp59 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 DSkRadialGradient.h17 virtual void shadeSpan(int x, int y, SkPMColor* dstC, int count)
H A DSkTwoPointRadialGradient.cpp111 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 DSkSweepGradient.cpp299 void SkSweepGradient::shadeSpan(int x, int y, SkPMColor* SK_RESTRICT dstC,
326 *dstC++ = cache[toggle + SkATan2_255(fy, fx)];
335 *dstC++ = cache[toggle + SkATan2_255(srcPt.fY, srcPt.fX)];
341 void SkSweepGradient::shadeSpan16(int x, int y, uint16_t* SK_RESTRICT dstC,
369 *dstC++ = cache[toggle + index];
381 *dstC++ = cache[toggle + index];
/external/skia/src/effects/gradients/
H A DSkLinearGradient.h19 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) SK_OVERRIDE;
20 virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count) SK_OVERRIDE;
H A DSkSweepGradient.h17 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) SK_OVERRIDE;
18 virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count) SK_OVERRIDE;
H A DSkLinearGradient.cpp99 *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 DSkRadialGradient.cpp59 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 DSkRadialGradient.h17 virtual void shadeSpan(int x, int y, SkPMColor* dstC, int count)
H A DSkTwoPointRadialGradient.cpp111 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...]
/external/chromium_org/third_party/skia/src/core/
H A DSkBitmapShaderTemplate.h44 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 DARGB32_Clamp_Bilinear_BitmapShader.h16 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 DSkBitmapProcShader.h25 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) SK_OVERRIDE;
27 virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count) SK_OVERRIDE;
H A DSkBitmapProcShader.cpp161 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 DSkBitmapShader16BilerpTemplate.h21 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);
/external/skia/src/core/
H A DSkBitmapShaderTemplate.h44 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 DARGB32_Clamp_Bilinear_BitmapShader.h16 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 DSkBitmapProcShader.h25 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) SK_OVERRIDE;
27 virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count) SK_OVERRIDE;
H A DSkBitmapProcShader.cpp161 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 DSkBitmapShader16BilerpTemplate.h21 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);

Completed in 429 milliseconds

12