Home
last modified time | relevance | path

Searched refs:dstC (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/core/
DSkBitmapShaderTemplate.h52 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) in shadeSpan() argument
59 NOFILTER_BITMAP_SHADER_SPRITEPROC32(this, x, y, dstC, count); in shadeSpan()
103 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); in shadeSpan()
115 *dstC++ = SkAlphaMulQ(c, scale); in shadeSpan()
159 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_X(srcPixels, x); in shadeSpan()
167 *dstC++ = SkAlphaMulQ(c, scale); in shadeSpan()
179 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); in shadeSpan()
189 *dstC++ = SkAlphaMulQ(c, scale); in shadeSpan()
196 virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count) in shadeSpan16() argument
204 NOFILTER_BITMAP_SHADER_SPRITEPROC16(this, x, y, dstC, count); in shadeSpan16()
[all …]
DARGB32_Clamp_Bilinear_BitmapShader.h9 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count);
58 void ARGB32_Clamp_Bilinear_BitmapShader::shadeSpan(int x, int y, SkPMColor dstC[], int count) in shadeSpan() argument
87 *dstC++ = sample_bilerp(fx, fy, srcMaxX, srcMaxY, srcPixels, srcRB, proc_table); in shadeSpan()
101 *dstC++ = SkAlphaMulQ(c, srcScale); in shadeSpan()
136 *dstC++ = sample_bilerpx(fx, srcMaxX, srcPixels, srcRB, proc_table); in shadeSpan()
144 *dstC++ = SkAlphaMulQ(c, srcScale); in shadeSpan()
154 *dstC++ = sample_bilerp(fx, fy, srcMaxX, srcMaxY, srcPixels, srcRB, proc_table); in shadeSpan()
163 *dstC++ = SkAlphaMulQ(c, srcScale); in shadeSpan()
DSkBitmapProcShader.cpp140 void SkBitmapProcShader::shadeSpan(int x, int y, SkPMColor dstC[], int count) { in shadeSpan() argument
143 state.fShaderProc32(state, x, y, dstC, count); in shadeSpan()
162 sproc(state, buffer, n, dstC); in shadeSpan()
168 dstC += n; in shadeSpan()
172 void SkBitmapProcShader::shadeSpan16(int x, int y, uint16_t dstC[], int count) { in shadeSpan16() argument
175 state.fShaderProc16(state, x, y, dstC, count); in shadeSpan16()
194 sproc(state, buffer, n, dstC); in shadeSpan16()
200 dstC += n; in shadeSpan16()
DSkXfermode.cpp108 SkPMColor dstC = dst[i]; in xfer32() local
109 SkPMColor C = this->xferColor(src[i], dstC); in xfer32()
111 C = SkFourByteInterp(C, dstC, a); in xfer32()
126 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); in xfer16() local
127 dst[i] = SkPixel32ToPixel16_ToU16(this->xferColor(src[i], dstC)); in xfer16()
133 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); in xfer16() local
134 SkPMColor C = this->xferColor(src[i], dstC); in xfer16()
136 C = SkFourByteInterp(C, dstC, a); in xfer16()
152 SkPMColor dstC = SkPixel4444ToPixel32(dst[i]); in xfer4444() local
153 dst[i] = SkPixel32ToPixel4444(this->xferColor(src[i], dstC)); in xfer4444()
[all …]
DSkBitmapShader16BilerpTemplate.h29 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) in shadeSpan() argument
81 *dstC++ = expanded_rgb16_to_8888(c, alpha); in shadeSpan()
131 *dstC++ = expanded_rgb16_to_8888(c, alpha); in shadeSpan()
140 virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count) in shadeSpan16() argument
189 *dstC++ = SkCompact_rgb_16(c); in shadeSpan16()
239 *dstC++ = SkCompact_rgb_16(c); in shadeSpan16()
DSkBitmapProcShader.h31 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count);
32 virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count);
DSkDraw.cpp2090 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count);
2142 void SkTriColorShader::shadeSpan(int x, int y, SkPMColor dstC[], int count) { in shadeSpan() argument
2161 dstC[i] = SkAlphaMulQ(fColors[0], scale0) + in shadeSpan()
/external/skia/src/effects/
DSkGradientShader.cpp615 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count);
616 virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count);
667 void Linear_Gradient::shadeSpan(int x, int y, SkPMColor dstC[], int count) in shadeSpan() argument
695 sk_memset32(dstC, cache[fi >> (16 - kCache32Bits)], count); in shadeSpan()
703 fi = fx >> 8; SkASSERT(fi <= 0xFF); fx += dx; *dstC++ = cache[fi]; in shadeSpan()
704 fi = fx >> 8; SkASSERT(fi <= 0xFF); fx += dx; *dstC++ = cache[fi]; in shadeSpan()
705 fi = fx >> 8; SkASSERT(fi <= 0xFF); fx += dx; *dstC++ = cache[fi]; in shadeSpan()
706 fi = fx >> 8; SkASSERT(fi <= 0xFF); fx += dx; *dstC++ = cache[fi]; in shadeSpan()
715 *dstC++ = cache[fi]; in shadeSpan()
724 *dstC++ = cache[fi]; in shadeSpan()
[all …]