/external/skia/src/core/ |
D | SkConvertPixels.cpp | 18 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB, in rect_memcpy() argument 30 srcPixels, srcRB, dstInfo.minRowBytes(), dstInfo.height()); in rect_memcpy() 35 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB, in swizzle_or_premul() argument 65 srcPixels = SkTAddOffset<const void>(srcPixels, srcRB); in swizzle_or_premul() 71 const SkImageInfo& srcInfo, const void* src, size_t srcRB, in convert_to_alpha8() argument 94 src16 = SkTAddOffset<const uint16_t>(src16, srcRB); in convert_to_alpha8() 121 src16 = SkTAddOffset<const uint16_t>(src16, srcRB); in convert_to_alpha8() 134 src32 = SkTAddOffset<const uint32_t>(src32, srcRB); in convert_to_alpha8() 147 src32 = SkTAddOffset<const uint32_t>(src32, srcRB); in convert_to_alpha8() 160 src64 = SkTAddOffset<const uint64_t>(src64, srcRB); in convert_to_alpha8() [all …]
|
D | SkConvertPixels.h | 19 static inline void SkRectMemcpy(void* dst, size_t dstRB, const void* src, size_t srcRB, in SkRectMemcpy() argument 22 SkASSERT(trimRowBytes <= srcRB); in SkRectMemcpy() 23 if (trimRowBytes == dstRB && trimRowBytes == srcRB) { in SkRectMemcpy() 31 src = SkTAddOffset<const void>(src, srcRB); in SkRectMemcpy()
|
D | SkMipMap.cpp | 198 template <typename F> void downsample_1_2(void* dst, const void* src, size_t srcRB, int count) { in downsample_1_2() argument 201 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_1_2() 215 template <typename F> void downsample_1_3(void* dst, const void* src, size_t srcRB, int count) { in downsample_1_3() argument 218 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_1_3() 219 auto p2 = (const typename F::Type*)((const char*)p1 + srcRB); in downsample_1_3() 235 template <typename F> void downsample_2_1(void* dst, const void* src, size_t srcRB, int count) { in downsample_2_1() argument 250 template <typename F> void downsample_2_2(void* dst, const void* src, size_t srcRB, int count) { in downsample_2_2() argument 253 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_2_2() 269 template <typename F> void downsample_2_3(void* dst, const void* src, size_t srcRB, int count) { in downsample_2_3() argument 272 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_2_3() [all …]
|
D | SkSpriteBlitter_ARGB32.cpp | 41 size_t srcRB = fSource.rowBytes(); in blitRect() local 48 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect() 73 size_t srcRB = fSource.rowBytes(); in blitRect() local 80 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
|
D | SkSpriteBlitter_RGB565.cpp | 45 size_t srcRB = fSource.rowBytes(); in blitRect() local 55 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect() 133 size_t srcRB = fSource.rowBytes(); in blitRect() local 143 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
|
D | SkMaskBlurFilter.cpp | 769 const uint8_t* src, size_t srcRB, int srcH, in blur_column() argument 787 src += srcRB; in blur_column() 808 const uint8_t *src, size_t srcRB, int srcW, int srcH, in blur_y_rect() argument 821 src, srcRB, srcH, in blur_y_rect() 831 src, srcRB, srcH, in blur_y_rect() 838 const uint8_t* src, size_t srcRB, int srcW, int srcH, in direct_blur_y() argument 844 src, srcRB, srcW, srcH, in direct_blur_y() 850 src, srcRB, srcW, srcH, in direct_blur_y() 856 src, srcRB, srcW, srcH, in direct_blur_y() 862 src, srcRB, srcW, srcH, in direct_blur_y() [all …]
|
D | SkBlitter_A8.cpp | 82 const size_t srcRB = mask.fRowBytes; in blitMask() local 88 src += srcRB; in blitMask()
|
D | SkBlitter_Sprite.cpp | 85 const size_t srcRB = fSource.rowBytes(); in blitRect() local 91 src += srcRB; in blitRect()
|
/external/skqp/src/core/ |
D | SkConvertPixels.cpp | 18 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB, in rect_memcpy() argument 30 srcPixels, srcRB, dstInfo.minRowBytes(), dstInfo.height()); in rect_memcpy() 35 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB, in swizzle_or_premul() argument 65 srcPixels = SkTAddOffset<const void>(srcPixels, srcRB); in swizzle_or_premul() 71 const SkImageInfo& srcInfo, const void* src, size_t srcRB, in convert_to_alpha8() argument 105 src16 = SkTAddOffset<const uint16_t>(src16, srcRB); in convert_to_alpha8() 118 src32 = SkTAddOffset<const uint32_t>(src32, srcRB); in convert_to_alpha8() 130 src32 = SkTAddOffset<const uint32_t>(src32, srcRB); in convert_to_alpha8() 142 src64 = SkTAddOffset<const uint64_t>(src64, srcRB); in convert_to_alpha8() 154 rgba = SkTAddOffset<const float>(rgba, srcRB); in convert_to_alpha8() [all …]
|
D | SkMipMap.cpp | 114 template <typename F> void downsample_1_2(void* dst, const void* src, size_t srcRB, int count) { in downsample_1_2() argument 117 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_1_2() 131 template <typename F> void downsample_1_3(void* dst, const void* src, size_t srcRB, int count) { in downsample_1_3() argument 134 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_1_3() 135 auto p2 = (const typename F::Type*)((const char*)p1 + srcRB); in downsample_1_3() 151 template <typename F> void downsample_2_1(void* dst, const void* src, size_t srcRB, int count) { in downsample_2_1() argument 166 template <typename F> void downsample_2_2(void* dst, const void* src, size_t srcRB, int count) { in downsample_2_2() argument 169 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_2_2() 185 template <typename F> void downsample_2_3(void* dst, const void* src, size_t srcRB, int count) { in downsample_2_3() argument 188 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_2_3() [all …]
|
D | SkConvertPixels.h | 19 static inline void SkRectMemcpy(void* dst, size_t dstRB, const void* src, size_t srcRB, in SkRectMemcpy() argument 22 SkASSERT(trimRowBytes <= srcRB); in SkRectMemcpy() 23 if (trimRowBytes == dstRB && trimRowBytes == srcRB) { in SkRectMemcpy() 31 src = SkTAddOffset<const void>(src, srcRB); in SkRectMemcpy()
|
D | SkSpriteBlitter_ARGB32.cpp | 42 size_t srcRB = fSource.rowBytes(); in blitRect() local 49 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect() 74 size_t srcRB = fSource.rowBytes(); in blitRect() local 81 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
|
D | SkSpriteBlitter_RGB565.cpp | 46 size_t srcRB = fSource.rowBytes(); in blitRect() local 56 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect() 134 size_t srcRB = fSource.rowBytes(); in blitRect() local 144 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
|
D | SkMaskBlurFilter.cpp | 767 const uint8_t* src, size_t srcRB, int srcH, in blur_column() argument 785 src += srcRB; in blur_column() 806 const uint8_t *src, size_t srcRB, int srcW, int srcH, in blur_y_rect() argument 819 src, srcRB, srcH, in blur_y_rect() 829 src, srcRB, srcH, in blur_y_rect() 836 const uint8_t* src, size_t srcRB, int srcW, int srcH, in direct_blur_y() argument 842 src, srcRB, srcW, srcH, in direct_blur_y() 848 src, srcRB, srcW, srcH, in direct_blur_y() 854 src, srcRB, srcW, srcH, in direct_blur_y() 860 src, srcRB, srcW, srcH, in direct_blur_y() [all …]
|
D | SkBlitter_A8.cpp | 82 const size_t srcRB = mask.fRowBytes; in blitMask() local 88 src += srcRB; in blitMask()
|
D | SkBlitter_Sprite.cpp | 85 const size_t srcRB = fSource.rowBytes(); in blitRect() local 91 src += srcRB; in blitRect()
|
D | SkScalerContext.cpp | 351 static void packA8ToA1(const SkMask& mask, const uint8_t* src, size_t srcRB) { in packA8ToA1() argument 362 SkASSERT(srcRB >= (size_t)width); in packA8ToA1() 363 const size_t srcPad = srcRB - width; in packA8ToA1() 521 int srcRB = dstM.fRowBytes; in getImage() local 536 src += srcRB; in getImage()
|
/external/skia/src/gpu/text/ |
D | GrStrikeCache.cpp | 61 int srcRB = glyph.rowBytes(); in get_packed_glyph_image() local 64 if (srcRB != dstRB) { in get_packed_glyph_image() 68 src = (const char*) src + srcRB; in get_packed_glyph_image() 80 expand_bits(bytes, bits, width, height, dstRB, srcRB); in get_packed_glyph_image() 85 expand_bits(rgb565, bits, width, height, dstRB, srcRB); in get_packed_glyph_image()
|
/external/skqp/src/gpu/text/ |
D | GrStrikeCache.cpp | 128 int srcRB = glyph.rowBytes(); in get_packed_glyph_image() local 138 expand_bits(bytes, bits, width, height, dstRB, srcRB); in get_packed_glyph_image() 143 expand_bits(rgb565, bits, width, height, dstRB, srcRB); in get_packed_glyph_image() 149 } else if (srcRB == dstRB) { in get_packed_glyph_image() 155 src = (const char*)src + srcRB; in get_packed_glyph_image()
|
/external/skia/src/gpu/ |
D | GrDataUtils.cpp | 466 const GrImageInfo& srcInfo, const void* src, size_t srcRB, in GrConvertPixels() argument 482 if (dstRB < dstInfo.minRowBytes() || srcRB < srcInfo.minRowBytes()) { in GrConvertPixels() 491 if (!GrConvertPixels(tempDstInfo, tempDst.get(), tempRB, srcInfo, src, srcRB, flipY)) { in GrConvertPixels() 511 SkASSERT(srcRB % srcBpp == 0); in GrConvertPixels() 526 src = static_cast<const char*>(src) + srcRB; in GrConvertPixels() 530 SkRectMemcpy(dst, dstRB, src, srcRB, tightRB, srcInfo.height()); in GrConvertPixels() 564 SkRasterPipeline_MemoryCtx srcCtx{const_cast<void*>(src), SkToInt(srcRB / srcBpp)}, in GrConvertPixels() 573 srcCtx.pixels = static_cast<char*>(srcCtx.pixels) + srcRB * (height - 1); in GrConvertPixels() 618 srcCtx.pixels = static_cast<char*>(srcCtx.pixels) - srcRB; in GrConvertPixels()
|
D | GrDataUtils.h | 37 const GrImageInfo& srcInfo, const void* src, size_t srcRB,
|
/external/skia/src/ports/ |
D | SkFontHost_win.cpp | 531 size_t srcRB = isBW ? (biWidth >> 3) : (fWidth << 2); in draw() local 532 size_t size = fHeight * srcRB; in draw() 546 *srcRBPtr = srcRB; in draw() 548 return (const char*)fBits + (fHeight - glyph.height()) * srcRB; in draw() 577 static void RGBToA8(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, 581 static void RGBToLcd16(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph, 1068 void SkScalerContext_GDI::RGBToA8(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, in RGBToA8() argument 1081 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in RGBToA8() 1088 const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph, in RGBToLcd16() argument 1098 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in RGBToLcd16() [all …]
|
/external/skia/src/effects/ |
D | SkShaderMaskFilter.cpp | 57 static void rect_memcpy(void* dst, size_t dstRB, const void* src, size_t srcRB, in rect_memcpy() argument 62 src = (const char*)src + srcRB; in rect_memcpy()
|
/external/skqp/src/effects/ |
D | SkShaderMaskFilter.cpp | 57 static void rect_memcpy(void* dst, size_t dstRB, const void* src, size_t srcRB, in rect_memcpy() argument 62 src = (const char*)src + srcRB; in rect_memcpy()
|
/external/skqp/src/ports/ |
D | SkFontHost_win.cpp | 521 size_t srcRB = isBW ? (biWidth >> 3) : (fWidth << 2); in draw() local 522 size_t size = fHeight * srcRB; in draw() 536 *srcRBPtr = srcRB; in draw() 538 return (const char*)fBits + (fHeight - glyph.fHeight) * srcRB; in draw() 1119 static void rgb_to_a8(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, in rgb_to_a8() argument 1132 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in rgb_to_a8() 1138 static void rgb_to_lcd16(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph, in rgb_to_lcd16() argument 1148 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in rgb_to_lcd16() 1159 size_t srcRB; in generateImage() local 1160 const void* bits = fOffscreen.draw(glyph, isBW, &srcRB); in generateImage() [all …]
|