/external/skia/src/core/ |
D | SkConfig8888.cpp | 129 static void copy_g8_to_32(void* dst, size_t dstRB, const void* src, size_t srcRB, int w, int h) { in copy_g8_to_32() argument 138 src8 += srcRB; in copy_g8_to_32() 142 static void copy_32_to_g8(void* dst, size_t dstRB, const void* src, size_t srcRB, in copy_32_to_g8() argument 165 src32 = (const uint32_t*)((const char*)src32 + srcRB); in copy_32_to_g8() 171 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB, in CopyPixels() argument 185 srcPixels = (const char*)srcPixels + srcRB; in CopyPixels() 203 srcPI.fRowBytes = srcRB; in CopyPixels() 225 SkRectMemcpy(dstPixels, dstRB, srcPixels, srcRB, width * srcInfo.bytesPerPixel(), height); in CopyPixels() 235 copy_g8_to_32(dstPixels, dstRB, srcPixels, srcRB, width, height); in CopyPixels() 239 copy_32_to_g8(dstPixels, dstRB, srcPixels, srcRB, srcInfo); in CopyPixels() [all …]
|
D | SkMipMap.cpp | 87 template <typename F> void downsample_2_2(void* dst, const void* src, size_t srcRB, int count) { in downsample_2_2() argument 89 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_2_2() 105 template <typename F> void downsample_3_2(void* dst, const void* src, size_t srcRB, int count) { in downsample_3_2() argument 108 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_3_2() 128 template <typename F> void downsample_2_3(void* dst, const void* src, size_t srcRB, int count) { in downsample_2_3() argument 130 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_2_3() 131 auto p2 = (const typename F::Type*)((const char*)p1 + srcRB); in downsample_2_3() 150 template <typename F> void downsample_3_3(void* dst, const void* src, size_t srcRB, int count) { in downsample_3_3() argument 152 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_3_3() 153 auto p2 = (const typename F::Type*)((const char*)p1 + srcRB); in downsample_3_3() [all …]
|
D | SkSpriteBlitter_ARGB32.cpp | 40 size_t srcRB = fSource.rowBytes(); in blitRect() local 47 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect() 125 size_t srcRB = fSource.rowBytes(); in blitRect() local 144 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect() 171 size_t srcRB = fSource.rowBytes(); in blitRect() local 189 src = (const SkPMColor16* SK_RESTRICT)((const char*)src + srcRB); in blitRect() 217 size_t srcRB = fSource.rowBytes(); in blitRect() local 222 src = (const SkPMColor16* SK_RESTRICT)((const char*)src + srcRB); in blitRect() 245 size_t srcRB = fSource.rowBytes(); in blitRect() local 250 src = (const SkPMColor16* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
|
D | SkConfig8888.h | 37 static inline void SkRectMemcpy(void* dst, size_t dstRB, const void* src, size_t srcRB, in SkRectMemcpy() argument 39 SkASSERT(bytesPerRow <= srcRB); in SkRectMemcpy() 44 src = (const char*)src + srcRB; in SkRectMemcpy()
|
D | SkSpriteBlitterTemplate.h | 21 size_t srcRB = fSource.rowBytes(); in blitRect() local 46 src = (const SkSPRITE_SRC_TYPE* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
|
D | SkSpriteBlitter_RGB16.cpp | 57 size_t srcRB = fSource.rowBytes(); in blitRect() local 62 src = (const uint16_t*)((const char*)src + srcRB); in blitRect() 279 size_t srcRB = fSource.rowBytes(); in blitRect() local 287 src = (const SkPMColor* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
|
D | SkScalerContext.cpp | 340 static void packA8ToA1(const SkMask& mask, const uint8_t* src, size_t srcRB) { in packA8ToA1() argument 351 SkASSERT(srcRB >= (size_t)width); in packA8ToA1() 352 const size_t srcPad = srcRB - width; in packA8ToA1() 451 const SkPMColor* srcRow, size_t srcRB) { in extract_alpha() argument 466 srcRow = (const SkPMColor*)((const char*)srcRow + srcRB); in extract_alpha() 561 int srcRB = dstM.fRowBytes; in getImage() local 576 src += srcRB; in getImage()
|
D | SkBlitter_A8.cpp | 422 const size_t srcRB = mask.fRowBytes; in blitMask() local 428 src += srcRB; in blitMask()
|
D | SkAAClip.cpp | 2123 const size_t srcRB = srcMask.fRowBytes; in upscaleBW2A8() local 2151 src += srcRB; in upscaleBW2A8() 2186 const size_t srcRB = mask->fRowBytes; in blitMask() local 2213 src = (const void*)((const char*)src + srcRB); in blitMask()
|
/external/skia/src/gpu/text/ |
D | GrFontScaler.cpp | 136 int srcRB = glyph.rowBytes(); in getPackedGlyphImage() local 146 expand_bits(bytes, bits, width, height, dstRB, srcRB); in getPackedGlyphImage() 151 expand_bits(rgb565, bits, width, height, dstRB, srcRB); in getPackedGlyphImage() 157 } else if (srcRB == dstRB) { in getPackedGlyphImage() 163 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/skia/src/ports/ |
D | SkFontHost_win.cpp | 510 size_t srcRB = isBW ? (biWidth >> 3) : (fWidth << 2); in draw() local 511 size_t size = fHeight * srcRB; in draw() 525 *srcRBPtr = srcRB; in draw() 527 return (const char*)fBits + (fHeight - glyph.fHeight) * srcRB; in draw() 1129 static bool is_rgb_really_bw(const SkGdiRGB* src, int width, int height, size_t srcRB) { in is_rgb_really_bw() argument 1136 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in is_rgb_really_bw() 1143 static void rgb_to_bw(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, in rgb_to_bw() argument 1154 srcRB -= byteCount * 8 * sizeof(SkGdiRGB); in rgb_to_bw() 1181 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in rgb_to_bw() 1195 static void rgb_to_a8(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, in rgb_to_a8() argument [all …]
|
D | SkFontHost_FreeType_common.cpp | 267 static void packA8ToA1(const SkMask& mask, const uint8_t* src, size_t srcRB) { in packA8ToA1() argument 277 const int srcPad = srcRB - width; in packA8ToA1()
|
/external/skia/src/effects/ |
D | SkBlurMask.cpp | 420 const uint8_t src[], int srcRB, in merge_src_with_blur() argument 424 srcRB -= sw; in merge_src_with_blur() 434 src += srcRB; in merge_src_with_blur()
|