/external/chromium_org/third_party/skia/src/core/ |
D | ARGB32_Clamp_Bilinear_BitmapShader.h | 20 const SkPMColor* srcPixels, int srcRB, const SkFilterPtrProc* proc_table); 22 const SkPMColor* srcPixels, int srcRB, const SkFilterPtrProc* proc_table) in sample_bilerp() argument 30 + SkClampMax(iy, srcMaxY) * srcRB)) in sample_bilerp() 39 p10 = (const SkPMColor*)((const char*)p10 + srcRB); in sample_bilerp() 40 p11 = (const SkPMColor*)((const char*)p11 + srcRB); in sample_bilerp() 48 int srcRB, const SkFilterPtrProc* proc_table) in sample_bilerpx() argument 58 p10 = (const SkPMColor*)((const char*)p00 + srcRB); in sample_bilerpx() 59 p11 = (const SkPMColor*)((const char*)p01 + srcRB); in sample_bilerpx() 75 unsigned srcRB = srcBitmap.rowBytes(); in shadeSpan() local 94 *dstC++ = sample_bilerp(fx, fy, srcMaxX, srcMaxY, srcPixels, srcRB, proc_table); in shadeSpan() [all …]
|
D | SkBitmapShader16BilerpTemplate.h | 31 unsigned srcRB = srcBitmap.rowBytes(); in shadeSpan() local 56 … p00 = p01 = ((const BILERP_BITMAP16_SHADER_TYPE*)((const char*)srcPixels + y * srcRB)) + x; in shadeSpan() 63 p10 = (const BILERP_BITMAP16_SHADER_TYPE*)((const char*)p10 + srcRB); in shadeSpan() 64 p11 = (const BILERP_BITMAP16_SHADER_TYPE*)((const char*)p11 + srcRB); in shadeSpan() 106 … SkClampMax(iy, srcMaxY) * srcRB)) + in shadeSpan() 114 p10 = (const BILERP_BITMAP16_SHADER_TYPE*)((const char*)p10 + srcRB); in shadeSpan() 115 p11 = (const BILERP_BITMAP16_SHADER_TYPE*)((const char*)p11 + srcRB); in shadeSpan() 140 unsigned srcRB = srcBitmap.rowBytes(); in shadeSpan16() local 164 … SkClampMax(iy, srcMaxY) * srcRB)) + in shadeSpan16() 172 p10 = (const BILERP_BITMAP16_SHADER_TYPE*)((const char*)p10 + srcRB); in shadeSpan16() [all …]
|
D | SkBitmapShaderTemplate.h | 67 unsigned srcRB = srcBitmap.rowBytes(); in shadeSpan() local 71 NOFILTER_BITMAP_SHADER_PREAMBLE(srcBitmap, srcRB); in shadeSpan() 95 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); in shadeSpan() 106 uint32_t c = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); in shadeSpan() 145 … srcPixels = (const NOFILTER_BITMAP_SHADER_TYPE*)((const char*)srcPixels + y_index * srcRB); in shadeSpan() 171 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); in shadeSpan() 178 SkPMColor c = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); in shadeSpan() 211 unsigned srcRB = srcBitmap.rowBytes(); in shadeSpan16() local 215 NOFILTER_BITMAP_SHADER_PREAMBLE16(srcBitmap, srcRB); in shadeSpan16() 231 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_XY16(srcPixels, x, y, srcRB); in shadeSpan16() [all …]
|
D | SkSpriteBlitter_ARGB32.cpp | 43 size_t srcRB = fSource->rowBytes(); in blitRect() local 50 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect() 131 size_t srcRB = fSource->rowBytes(); in blitRect() local 150 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect() 178 size_t srcRB = fSource->rowBytes(); in blitRect() local 196 src = (const SkPMColor16* SK_RESTRICT)((const char*)src + srcRB); in blitRect() 225 size_t srcRB = fSource->rowBytes(); in blitRect() local 230 src = (const SkPMColor16* SK_RESTRICT)((const char*)src + srcRB); in blitRect() 254 size_t srcRB = fSource->rowBytes(); in blitRect() local 259 src = (const SkPMColor16* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
|
D | SkProcSpriteBlitter.cpp | 22 size_t srcRB = fSource.rowBytes(); 24 …const char* src = (const char*)fSource.getPixels() + (y - fTop) * srcRB + ((x - fLeft) << fSrcShif… 35 src += srcRB;
|
D | SkSpriteBlitterTemplate.h | 26 size_t srcRB = fSource->rowBytes(); in blitRect() local 52 ((const char*)src + srcRB); in blitRect()
|
D | SkSpriteBlitter_RGB16.cpp | 62 size_t srcRB = fSource->rowBytes(); in blitRect() local 67 src = (const uint16_t*)((const char*)src + srcRB); in blitRect() 289 size_t srcRB = fSource->rowBytes(); in blitRect() local 297 src = (const SkPMColor* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
|
D | SkScalerContext.cpp | 540 static void packA8ToA1(const SkMask& mask, const uint8_t* src, size_t srcRB) { in packA8ToA1() argument 550 const int srcPad = srcRB - width; in packA8ToA1() 660 const SkPMColor* srcRow, size_t srcRB) { in extract_alpha() argument 675 srcRow = (const SkPMColor*)((const char*)srcRow + srcRB); in extract_alpha() 770 int srcRB = dstM.fRowBytes; in getImage() local 785 src += srcRB; in getImage()
|
D | SkBlitter_A8.cpp | 419 const size_t srcRB = mask.fRowBytes; in blitMask() local 425 src += srcRB; in blitMask()
|
/external/skia/src/core/ |
D | ARGB32_Clamp_Bilinear_BitmapShader.h | 20 const SkPMColor* srcPixels, int srcRB, const SkFilterPtrProc* proc_table); 22 const SkPMColor* srcPixels, int srcRB, const SkFilterPtrProc* proc_table) in sample_bilerp() argument 30 + SkClampMax(iy, srcMaxY) * srcRB)) in sample_bilerp() 39 p10 = (const SkPMColor*)((const char*)p10 + srcRB); in sample_bilerp() 40 p11 = (const SkPMColor*)((const char*)p11 + srcRB); in sample_bilerp() 48 int srcRB, const SkFilterPtrProc* proc_table) in sample_bilerpx() argument 58 p10 = (const SkPMColor*)((const char*)p00 + srcRB); in sample_bilerpx() 59 p11 = (const SkPMColor*)((const char*)p01 + srcRB); in sample_bilerpx() 75 unsigned srcRB = srcBitmap.rowBytes(); in shadeSpan() local 94 *dstC++ = sample_bilerp(fx, fy, srcMaxX, srcMaxY, srcPixels, srcRB, proc_table); in shadeSpan() [all …]
|
D | SkBitmapShader16BilerpTemplate.h | 31 unsigned srcRB = srcBitmap.rowBytes(); in shadeSpan() local 56 … p00 = p01 = ((const BILERP_BITMAP16_SHADER_TYPE*)((const char*)srcPixels + y * srcRB)) + x; in shadeSpan() 63 p10 = (const BILERP_BITMAP16_SHADER_TYPE*)((const char*)p10 + srcRB); in shadeSpan() 64 p11 = (const BILERP_BITMAP16_SHADER_TYPE*)((const char*)p11 + srcRB); in shadeSpan() 106 … SkClampMax(iy, srcMaxY) * srcRB)) + in shadeSpan() 114 p10 = (const BILERP_BITMAP16_SHADER_TYPE*)((const char*)p10 + srcRB); in shadeSpan() 115 p11 = (const BILERP_BITMAP16_SHADER_TYPE*)((const char*)p11 + srcRB); in shadeSpan() 140 unsigned srcRB = srcBitmap.rowBytes(); in shadeSpan16() local 164 … SkClampMax(iy, srcMaxY) * srcRB)) + in shadeSpan16() 172 p10 = (const BILERP_BITMAP16_SHADER_TYPE*)((const char*)p10 + srcRB); in shadeSpan16() [all …]
|
D | SkBitmapShaderTemplate.h | 67 unsigned srcRB = srcBitmap.rowBytes(); in shadeSpan() local 71 NOFILTER_BITMAP_SHADER_PREAMBLE(srcBitmap, srcRB); in shadeSpan() 95 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); in shadeSpan() 106 uint32_t c = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); in shadeSpan() 145 … srcPixels = (const NOFILTER_BITMAP_SHADER_TYPE*)((const char*)srcPixels + y_index * srcRB); in shadeSpan() 171 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); in shadeSpan() 178 SkPMColor c = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); in shadeSpan() 211 unsigned srcRB = srcBitmap.rowBytes(); in shadeSpan16() local 215 NOFILTER_BITMAP_SHADER_PREAMBLE16(srcBitmap, srcRB); in shadeSpan16() 231 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_XY16(srcPixels, x, y, srcRB); in shadeSpan16() [all …]
|
D | SkSpriteBlitter_ARGB32.cpp | 43 size_t srcRB = fSource->rowBytes(); in blitRect() local 50 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect() 131 size_t srcRB = fSource->rowBytes(); in blitRect() local 150 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect() 178 size_t srcRB = fSource->rowBytes(); in blitRect() local 196 src = (const SkPMColor16* SK_RESTRICT)((const char*)src + srcRB); in blitRect() 225 size_t srcRB = fSource->rowBytes(); in blitRect() local 230 src = (const SkPMColor16* SK_RESTRICT)((const char*)src + srcRB); in blitRect() 254 size_t srcRB = fSource->rowBytes(); in blitRect() local 259 src = (const SkPMColor16* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
|
D | SkProcSpriteBlitter.cpp | 22 size_t srcRB = fSource.rowBytes(); 24 …const char* src = (const char*)fSource.getPixels() + (y - fTop) * srcRB + ((x - fLeft) << fSrcShif… 35 src += srcRB;
|
D | SkSpriteBlitterTemplate.h | 26 size_t srcRB = fSource->rowBytes(); in blitRect() local 52 ((const char*)src + srcRB); in blitRect()
|
D | SkSpriteBlitter_RGB16.cpp | 62 size_t srcRB = fSource->rowBytes(); in blitRect() local 67 src = (const uint16_t*)((const char*)src + srcRB); in blitRect() 289 size_t srcRB = fSource->rowBytes(); in blitRect() local 297 src = (const SkPMColor* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
|
D | SkScalerContext.cpp | 540 static void packA8ToA1(const SkMask& mask, const uint8_t* src, size_t srcRB) { in packA8ToA1() argument 550 const int srcPad = srcRB - width; in packA8ToA1() 660 const SkPMColor* srcRow, size_t srcRB) { in extract_alpha() argument 675 srcRow = (const SkPMColor*)((const char*)srcRow + srcRB); in extract_alpha() 770 int srcRB = dstM.fRowBytes; in getImage() local 785 src += srcRB; in getImage()
|
/external/skia/src/gpu/ |
D | SkGrFontScaler.cpp | 154 int srcRB = glyph.rowBytes(); in getPackedGlyphImage() local 164 expand_bits(bytes, bits, width, height, dstRB, srcRB); in getPackedGlyphImage() 169 expand_bits(rgb565, bits, width, height, dstRB, srcRB); in getPackedGlyphImage() 174 expand_bits(rgba8888, bits, width, height, dstRB, srcRB); in getPackedGlyphImage() 180 } else if (srcRB == dstRB) { in getPackedGlyphImage() 186 src = (const char*)src + srcRB; in getPackedGlyphImage()
|
/external/chromium_org/third_party/skia/src/gpu/ |
D | SkGrFontScaler.cpp | 154 int srcRB = glyph.rowBytes(); in getPackedGlyphImage() local 164 expand_bits(bytes, bits, width, height, dstRB, srcRB); in getPackedGlyphImage() 169 expand_bits(rgb565, bits, width, height, dstRB, srcRB); in getPackedGlyphImage() 174 expand_bits(rgba8888, bits, width, height, dstRB, srcRB); in getPackedGlyphImage() 180 } else if (srcRB == dstRB) { in getPackedGlyphImage() 186 src = (const char*)src + srcRB; in getPackedGlyphImage()
|
/external/skia/src/images/ |
D | SkImageDecoder_wbmp.cpp | 134 size_t srcRB = SkAlign8(width) >> 3; in onDecode() local 135 size_t srcSize = height * srcRB; in onDecode() 145 src += srcRB; in onDecode()
|
/external/chromium_org/third_party/skia/src/images/ |
D | SkImageDecoder_wbmp.cpp | 134 size_t srcRB = SkAlign8(width) >> 3; in onDecode() local 135 size_t srcSize = height * srcRB; in onDecode() 145 src += srcRB; in onDecode()
|
/external/skia/src/ports/ |
D | SkFontHost_win.cpp | 518 size_t srcRB = isBW ? (biWidth >> 3) : (fWidth << 2); in draw() local 519 size_t size = fHeight * srcRB; in draw() 533 *srcRBPtr = srcRB; in draw() 535 return (const char*)fBits + (fHeight - glyph.fHeight) * srcRB; in draw() 1189 static bool is_rgb_really_bw(const SkGdiRGB* src, int width, int height, size_t srcRB) { in is_rgb_really_bw() argument 1196 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in is_rgb_really_bw() 1203 static void rgb_to_bw(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, in rgb_to_bw() argument 1214 srcRB -= byteCount * 8 * sizeof(SkGdiRGB); in rgb_to_bw() 1241 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in rgb_to_bw() 1255 static void rgb_to_a8(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, in rgb_to_a8() argument [all …]
|
/external/chromium_org/third_party/skia/src/ports/ |
D | SkFontHost_win.cpp | 518 size_t srcRB = isBW ? (biWidth >> 3) : (fWidth << 2); in draw() local 519 size_t size = fHeight * srcRB; in draw() 533 *srcRBPtr = srcRB; in draw() 535 return (const char*)fBits + (fHeight - glyph.fHeight) * srcRB; in draw() 1189 static bool is_rgb_really_bw(const SkGdiRGB* src, int width, int height, size_t srcRB) { in is_rgb_really_bw() argument 1196 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in is_rgb_really_bw() 1203 static void rgb_to_bw(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, in rgb_to_bw() argument 1214 srcRB -= byteCount * 8 * sizeof(SkGdiRGB); in rgb_to_bw() 1241 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in rgb_to_bw() 1255 static void rgb_to_a8(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, in rgb_to_a8() argument [all …]
|
/external/chromium_org/third_party/skia/src/effects/ |
D | SkKernel33MaskFilter.cpp | 38 const int srcRB = src.fRowBytes; in filterMask() local 58 const uint8_t* srcRow = srcImage + ky * srcRB; // may be out-of-range in filterMask()
|
/external/skia/src/effects/ |
D | SkKernel33MaskFilter.cpp | 38 const int srcRB = src.fRowBytes; in filterMask() local 58 const uint8_t* srcRow = srcImage + ky * srcRB; // may be out-of-range in filterMask()
|