Home
last modified time | relevance | path

Searched refs:srcRB (Results 1 – 14 of 14) sorted by relevance

/external/skia/src/core/
DARGB32_Clamp_Bilinear_BitmapShader.h20 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 …]
DSkBitmapShader16BilerpTemplate.h31 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 …]
DSkBitmapShaderTemplate.h67 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 …]
DSkSpriteBlitter_ARGB32.cpp43 size_t srcRB = fSource->rowBytes(); in blitRect() local
50 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
131 unsigned srcRB = fSource->rowBytes(); in blitRect() local
150 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
178 unsigned srcRB = fSource->rowBytes(); in blitRect() local
196 src = (const SkPMColor16* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
225 unsigned srcRB = fSource->rowBytes(); in blitRect() local
230 src = (const SkPMColor16* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
254 unsigned srcRB = fSource->rowBytes(); in blitRect() local
259 src = (const SkPMColor16* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
DSkProcSpriteBlitter.cpp22 size_t srcRB = fSource.rowBytes();
24 …const char* src = (const char*)fSource.getPixels() + (y - fTop) * srcRB + ((x - fLeft) << fSrcShif…
35 src += srcRB;
DSkSpriteBlitterTemplate.h26 unsigned srcRB = fSource->rowBytes(); in blitRect() local
52 ((const char*)src + srcRB); in blitRect()
DSkSpriteBlitter_RGB16.cpp62 unsigned srcRB = fSource->rowBytes(); in blitRect() local
67 src = (const uint16_t*)((const char*)src + srcRB); in blitRect()
289 unsigned srcRB = fSource->rowBytes(); in blitRect() local
297 src = (const SkPMColor* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
DSkScalerContext.cpp359 size_t srcRB = src.rowBytes(); in copyToLCD16() local
366 srcP += srcRB; in copyToLCD16()
559 int srcRB = dstM.fRowBytes; in getImage() local
574 src += srcRB; in getImage()
DSkAAClip.cpp2063 const size_t srcRB = srcMask.fRowBytes; in upscaleBW2A8() local
2091 src += srcRB; in upscaleBW2A8()
2127 const size_t srcRB = mask->fRowBytes; in blitMask() local
2154 src = (const void*)((const char*)src + srcRB); in blitMask()
/external/skia/src/ports/
DSkFontHost_win.cpp390 size_t srcRB = isBW ? (biWidth >> 3) : (fWidth << 2); in draw() local
391 size_t size = fHeight * srcRB; in draw()
406 *srcRBPtr = srcRB; in draw()
408 return (const char*)fBits + (fHeight - glyph.fHeight) * srcRB; in draw()
759 static bool is_rgb_really_bw(const SkGdiRGB* src, int width, int height, int srcRB) { in is_rgb_really_bw() argument
766 src = SkTAddByteOffset(src, srcRB); in is_rgb_really_bw()
771 static void rgb_to_bw(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, in rgb_to_bw() argument
782 srcRB -= byteCount * 8 * sizeof(SkGdiRGB); in rgb_to_bw()
809 src = SkTAddByteOffset(src, srcRB); in rgb_to_bw()
814 static void rgb_to_a8(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, in rgb_to_a8() argument
[all …]
/external/skia/src/gpu/
DSkGrFontScaler.cpp138 int srcRB = glyph.rowBytes(); in getPackedGlyphImage() local
145 bits += srcRB; in getPackedGlyphImage()
148 } else if (srcRB == dstRB) { in getPackedGlyphImage()
154 src = (const char*)src + srcRB; in getPackedGlyphImage()
/external/skia/src/images/
DSkImageDecoder_wbmp.cpp142 size_t srcRB = SkAlign8(width) >> 3; in onDecode() local
143 size_t srcSize = height * srcRB; in onDecode()
153 src += srcRB; in onDecode()
/external/skia/src/effects/
DSkBlurMask.cpp34 const uint8_t src[], int srcRB) { in build_sum_buffer() argument
37 SkASSERT(srcRB >= srcW); in build_sum_buffer()
39 srcRB -= srcW; in build_sum_buffer()
54 src += srcRB; in build_sum_buffer()
100 src += srcRB; in build_sum_buffer()
492 const uint8_t src[], int srcRB, in merge_src_with_blur() argument
496 srcRB -= sw; in merge_src_with_blur()
506 src += srcRB; in merge_src_with_blur()
DSkKernel33MaskFilter.cpp36 const int srcRB = src.fRowBytes; in filterMask() local
56 const uint8_t* srcRow = srcImage + ky * srcRB; // may be out-of-range in filterMask()