/external/skia/src/core/ |
H A D | ARGB32_Clamp_Bilinear_BitmapShader.h | 9 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) argument 87 *dstC++ = sample_bilerp(fx, fy, srcMaxX, srcMaxY, srcPixels, srcRB, proc_table); 101 *dstC++ = SkAlphaMulQ(c, srcScale); 136 *dstC++ = sample_bilerpx(fx, srcMaxX, srcPixels, srcRB, proc_table); 144 *dstC++ = SkAlphaMulQ(c, srcScale); 154 *dstC++ = sample_bilerp(fx, fy, srcMaxX, srcMaxY, srcPixels, srcRB, proc_table); 163 *dstC++ = SkAlphaMulQ(c, srcScale);
|
H A D | SkBitmapShader16BilerpTemplate.h | 29 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) argument 81 *dstC++ = expanded_rgb16_to_8888(c, alpha); 131 *dstC++ = expanded_rgb16_to_8888(c, alpha); 140 virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count) argument 189 *dstC++ = SkCompact_rgb_16(c); 239 *dstC++ = SkCompact_rgb_16(c);
|
H A D | SkBitmapProcShader.cpp | 140 void SkBitmapProcShader::shadeSpan(int x, int y, SkPMColor dstC[], int count) { argument 143 state.fShaderProc32(state, x, y, dstC, count); 162 sproc(state, buffer, n, dstC); 168 dstC += n; 172 void SkBitmapProcShader::shadeSpan16(int x, int y, uint16_t dstC[], int count) { argument 175 state.fShaderProc16(state, x, y, dstC, count); 194 sproc(state, buffer, n, dstC); 200 dstC += n;
|
H A D | SkBitmapShaderTemplate.h | 52 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) argument 59 NOFILTER_BITMAP_SHADER_SPRITEPROC32(this, x, y, dstC, count); 103 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); 115 *dstC++ = SkAlphaMulQ(c, scale); 159 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_X(srcPixels, x); 167 *dstC++ = SkAlphaMulQ(c, scale); 179 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); 189 *dstC++ = SkAlphaMulQ(c, scale); 196 virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count) argument 204 NOFILTER_BITMAP_SHADER_SPRITEPROC16(this, x, y, dstC, coun [all...] |
H A D | SkXfermode.cpp | 108 SkPMColor dstC = dst[i]; local 109 SkPMColor C = this->xferColor(src[i], dstC); 111 C = SkFourByteInterp(C, dstC, a); 126 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); local 127 dst[i] = SkPixel32ToPixel16_ToU16(this->xferColor(src[i], dstC)); 133 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); local 134 SkPMColor C = this->xferColor(src[i], dstC); 136 C = SkFourByteInterp(C, dstC, a); 152 SkPMColor dstC = SkPixel4444ToPixel32(dst[i]); local 153 dst[i] = SkPixel32ToPixel4444(this->xferColor(src[i], dstC)); 159 SkPMColor dstC = SkPixel4444ToPixel32(dst[i]); local 215 SkPMColor dstC = dst[i]; local 237 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); local 244 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); local 266 SkPMColor dstC = SkPixel4444ToPixel32(dst[i]); local 273 SkPMColor dstC = SkPixel4444ToPixel32(dst[i]); local [all...] |
H A D | SkDraw.cpp | 2090 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count); 2142 void SkTriColorShader::shadeSpan(int x, int y, SkPMColor dstC[], int count) { argument 2161 dstC[i] = SkAlphaMulQ(fColors[0], scale0) +
|
/external/skia/src/effects/ |
H A D | SkGradientShader.cpp | 615 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) argument 695 sk_memset32(dstC, cache[fi >> (16 - kCache32Bits)], count); 703 fi = fx >> 8; SkASSERT(fi <= 0xFF); fx += dx; *dstC++ = cache[fi]; 704 fi = fx >> 8; SkASSERT(fi <= 0xFF); fx += dx; *dstC++ = cache[fi]; 705 fi = fx >> 8; SkASSERT(fi <= 0xFF); fx += dx; *dstC++ = cache[fi]; 706 fi = fx >> 8; SkASSERT(fi <= 0xFF); fx += dx; *dstC++ = cache[fi]; 715 *dstC++ = cache[fi]; 724 *dstC 794 shadeSpan16(int x, int y, uint16_t dstC[], int count) argument 926 shadeSpan(int x, int y, SkPMColor dstC[], int count) argument 1010 shadeSpan16(int x, int y, uint16_t dstC[], int count) argument 1231 shadeSpan(int x, int y, SkPMColor dstC[], int count) argument [all...] |