/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 | 20 static inline void SkRectMemcpy(void* dst, size_t dstRB, const void* src, size_t srcRB, in SkRectMemcpy() argument 23 SkASSERT(trimRowBytes <= srcRB); in SkRectMemcpy() 24 if (trimRowBytes == dstRB && trimRowBytes == srcRB) { in SkRectMemcpy() 32 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 | 770 const uint8_t* src, size_t srcRB, int srcH, in blur_column() argument 788 src += srcRB; in blur_column() 809 const uint8_t *src, size_t srcRB, int srcW, int srcH, in blur_y_rect() argument 822 src, srcRB, srcH, in blur_y_rect() 832 src, srcRB, srcH, in blur_y_rect() 839 const uint8_t* src, size_t srcRB, int srcW, int srcH, in direct_blur_y() argument 845 src, srcRB, srcW, srcH, in direct_blur_y() 851 src, srcRB, srcW, srcH, in direct_blur_y() 857 src, srcRB, srcW, srcH, in direct_blur_y() 863 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 | 88 const size_t srcRB = fSource.rowBytes(); in blitRect() local 94 src += srcRB; in blitRect()
|
D | SkScalerContext.cpp | 423 static void packA8ToA1(const SkMask& mask, const uint8_t* src, size_t srcRB) { in packA8ToA1() argument 434 SkASSERT(srcRB >= (size_t)width); in packA8ToA1() 435 const size_t srcPad = srcRB - width; in packA8ToA1() 669 int srcRB = srcMask.fRowBytes; in getImage() local 686 src += srcRB; in getImage()
|
/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/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/text/ |
D | GrAtlasManager.cpp | 68 int srcRB = glyph.rowBytes(); in get_packed_glyph_image() local 71 if (srcRB != dstRB) { in get_packed_glyph_image() 75 src = (const char*) src + srcRB; in get_packed_glyph_image() 87 expand_bits(bytes, bits, width, height, dstRB, srcRB); in get_packed_glyph_image() 92 expand_bits(rgb565, bits, width, height, dstRB, srcRB); in get_packed_glyph_image()
|
/external/skia/gm/ |
D | lazytiling.cpp | 117 size_t srcRB = contentBM.rowBytes(); in create_bitmap() local 123 memcpy(dst, src, srcRB); in create_bitmap() 124 src = src + srcRB; in create_bitmap() 129 SkRectMemcpy(dst, dstRB, src, srcRB, in create_bitmap()
|
/external/skia/src/effects/ |
D | SkShaderMaskFilter.cpp | 58 static void rect_memcpy(void* dst, size_t dstRB, const void* src, size_t srcRB, in rect_memcpy() argument 63 src = (const char*)src + srcRB; in rect_memcpy()
|
/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() 576 static void RGBToA8(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, 580 static void RGBToLcd16(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph, 1057 void SkScalerContext_GDI::RGBToA8(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, in RGBToA8() argument 1070 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in RGBToA8() 1077 const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph, in RGBToLcd16() argument 1087 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in RGBToLcd16() [all …]
|
/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 …]
|