Searched refs:srcMaxX (Results 1 – 3 of 3) sorted by relevance
/external/skia/src/core/ |
D | ARGB32_Clamp_Bilinear_BitmapShader.h | 12 SkPMColor sample_bilerp(SkFixed fx, SkFixed fy, unsigned srcMaxX, unsigned srcMaxY, 14 SkPMColor sample_bilerp(SkFixed fx, SkFixed fy, unsigned srcMaxX, unsigned srcMaxY, in sample_bilerp() argument 24 + SkClampMax(ix, srcMaxX); in sample_bilerp() 26 if ((unsigned)ix < srcMaxX) in sample_bilerp() 40 static inline SkPMColor sample_bilerpx(SkFixed fx, unsigned srcMaxX, const SkPMColor* srcPixels, in sample_bilerpx() argument 47 p00 = p01 = srcPixels + SkClampMax(ix, srcMaxX); in sample_bilerpx() 48 if ((unsigned)ix < srcMaxX) in sample_bilerpx() 66 unsigned srcMaxX = srcBitmap.width() - 1; in shadeSpan() local 87 *dstC++ = sample_bilerp(fx, fy, srcMaxX, srcMaxY, srcPixels, srcRB, proc_table); in shadeSpan() 100 … SkPMColor c = sample_bilerp(fx, fy, srcMaxX, srcMaxY, srcPixels, srcRB, proc_table); in shadeSpan() [all …]
|
D | SkBitmapShaderTemplate.h | 73 unsigned srcMaxX = srcBitmap.width() - 1; in shadeSpan() local 101 unsigned x = NOFILTER_BITMAP_SHADER_TILEPROC(fx, srcMaxX); in shadeSpan() 112 unsigned x = NOFILTER_BITMAP_SHADER_TILEPROC(fx, srcMaxX); in shadeSpan() 157 unsigned x = NOFILTER_BITMAP_SHADER_TILEPROC(fx, srcMaxX); in shadeSpan() 164 unsigned x = NOFILTER_BITMAP_SHADER_TILEPROC(fx, srcMaxX); in shadeSpan() 175 unsigned x = NOFILTER_BITMAP_SHADER_TILEPROC(fx, srcMaxX); in shadeSpan() 184 unsigned x = NOFILTER_BITMAP_SHADER_TILEPROC(fx, srcMaxX); in shadeSpan() 217 unsigned srcMaxX = srcBitmap.width() - 1; in shadeSpan16() local 237 unsigned x = NOFILTER_BITMAP_SHADER_TILEPROC(fx, srcMaxX); in shadeSpan16() 276 unsigned x = NOFILTER_BITMAP_SHADER_TILEPROC(fx, srcMaxX); in shadeSpan16() [all …]
|
D | SkBitmapShader16BilerpTemplate.h | 37 unsigned srcMaxX = srcBitmap.width() - 1; in shadeSpan() local 59 int x = SkClampMax(ix, srcMaxX); in shadeSpan() 65 if ((unsigned)ix < srcMaxX) in shadeSpan() 115 SkClampMax(ix, srcMaxX); in shadeSpan() 116 if ((unsigned)ix < srcMaxX) in shadeSpan() 146 unsigned srcMaxX = srcBitmap.width() - 1; in shadeSpan16() local 173 SkClampMax(ix, srcMaxX); in shadeSpan16() 174 if ((unsigned)ix < srcMaxX) in shadeSpan16() 223 SkClampMax(ix, srcMaxX); in shadeSpan16() 224 if ((unsigned)ix < srcMaxX) in shadeSpan16()
|