/third_party/flutter/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 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() 143 src64 = SkTAddOffset<const uint64_t>(src64, srcRB); in convert_to_alpha8() 155 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 | 422 static void packA8ToA1(const SkMask& mask, const uint8_t* src, size_t srcRB) { in packA8ToA1() argument 433 SkASSERT(srcRB >= (size_t)width); in packA8ToA1() 434 const size_t srcPad = srcRB - width; in packA8ToA1() 594 int srcRB = dstM.fRowBytes; in getImage() local 609 src += srcRB; in getImage()
|
/third_party/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() 135 src32 = SkTAddOffset<const uint32_t>(src32, srcRB); in convert_to_alpha8() 148 src32 = SkTAddOffset<const uint32_t>(src32, srcRB); in convert_to_alpha8() 161 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() 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 | 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 | 89 const size_t srcRB = fSource.rowBytes(); in blitRect() local 95 src += srcRB; in blitRect()
|
/third_party/flutter/skia/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()
|
/third_party/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()
|
/third_party/flutter/skia/src/gpu/ |
D | GrDataUtils.cpp | 492 const GrPixelInfo& srcInfo, const void* src, size_t srcRB, in GrConvertPixels() argument 508 if (dstRB < dstInfo.minRowBytes() || srcRB < srcInfo.minRowBytes()) { in GrConvertPixels() 517 SkASSERT(srcRB % srcBpp == 0); in GrConvertPixels() 532 src = static_cast<const char*>(src) + srcRB; in GrConvertPixels() 536 SkRectMemcpy(dst, dstRB, src, srcRB, tightRB, srcInfo.height()); in GrConvertPixels() 569 SkRasterPipeline_MemoryCtx srcCtx{const_cast<void*>(src), SkToInt(srcRB / srcBpp)}, in GrConvertPixels() 578 srcCtx.pixels = static_cast<char*>(srcCtx.pixels) + srcRB * (height - 1); in GrConvertPixels() 618 srcCtx.pixels = static_cast<char*>(srcCtx.pixels) - srcRB; in GrConvertPixels()
|
/third_party/skia/gm/ |
D | lazytiling.cpp | 125 size_t srcRB = contentBM.rowBytes(); in create_bitmap() local 131 memcpy(dst, src, srcRB); in create_bitmap() 132 src = src + srcRB; in create_bitmap() 137 SkRectMemcpy(dst, dstRB, src, srcRB, in create_bitmap()
|
/third_party/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()
|
/third_party/skia/src/ports/ |
D | SkFontHost_win.cpp | 532 size_t srcRB = isBW ? (biWidth >> 3) : (fWidth << 2); in draw() local 533 size_t size = fHeight * srcRB; in draw() 547 *srcRBPtr = srcRB; in draw() 549 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, 1058 void SkScalerContext_GDI::RGBToA8(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, in RGBToA8() argument 1071 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in RGBToA8() 1078 const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph, in RGBToLcd16() argument 1088 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in RGBToLcd16() [all …]
|
/third_party/flutter/skia/src/ports/ |
D | SkFontHost_win.cpp | 524 size_t srcRB = isBW ? (biWidth >> 3) : (fWidth << 2); in draw() local 525 size_t size = fHeight * srcRB; in draw() 539 *srcRBPtr = srcRB; in draw() 541 return (const char*)fBits + (fHeight - glyph.height()) * srcRB; in draw() 570 static void RGBToA8(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, 574 static void RGBToLcd16(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph, 1061 void SkScalerContext_GDI::RGBToA8(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, in RGBToA8() argument 1074 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in RGBToA8() 1081 const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph, in RGBToLcd16() argument 1091 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in RGBToLcd16() [all …]
|
/third_party/flutter/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()
|