/third_party/flutter/skia/src/opts/ |
D | SkBlitMask_opts.h | 45 static void D32_A8_Opaque_Color_neon(void* SK_RESTRICT dst, size_t dstRB, in D32_A8_Opaque_Color_neon() argument 54 dstRB -= (width << 2); in D32_A8_Opaque_Color_neon() 102 device = (uint32_t*)((char*)device + dstRB); in D32_A8_Opaque_Color_neon() 108 static void blit_mask_d32_a8_general(SkPMColor* dst, size_t dstRB, in blit_mask_d32_a8_general() argument 111 D32_A8_Opaque_Color_neon<true>(dst, dstRB, mask, maskRB, color, w, h); in blit_mask_d32_a8_general() 115 static void blit_mask_d32_a8_opaque(SkPMColor* dst, size_t dstRB, in blit_mask_d32_a8_opaque() argument 118 D32_A8_Opaque_Color_neon<false>(dst, dstRB, mask, maskRB, color, w, h); in blit_mask_d32_a8_opaque() 122 static void blit_mask_d32_a8_black(SkPMColor* dst, size_t dstRB, in blit_mask_d32_a8_black() argument 129 dstRB -= (width << 2); in blit_mask_d32_a8_black() 152 device = (uint32_t*)((char*)device + dstRB); in blit_mask_d32_a8_black() [all …]
|
/third_party/skia/src/opts/ |
D | SkBlitMask_opts.h | 45 static void D32_A8_Opaque_Color_neon(void* SK_RESTRICT dst, size_t dstRB, in D32_A8_Opaque_Color_neon() argument 54 dstRB -= (width << 2); in D32_A8_Opaque_Color_neon() 102 device = (uint32_t*)((char*)device + dstRB); in D32_A8_Opaque_Color_neon() 108 static void blit_mask_d32_a8_general(SkPMColor* dst, size_t dstRB, in blit_mask_d32_a8_general() argument 111 D32_A8_Opaque_Color_neon<true>(dst, dstRB, mask, maskRB, color, w, h); in blit_mask_d32_a8_general() 115 static void blit_mask_d32_a8_opaque(SkPMColor* dst, size_t dstRB, in blit_mask_d32_a8_opaque() argument 118 D32_A8_Opaque_Color_neon<false>(dst, dstRB, mask, maskRB, color, w, h); in blit_mask_d32_a8_opaque() 122 static void blit_mask_d32_a8_black(SkPMColor* dst, size_t dstRB, in blit_mask_d32_a8_black() argument 129 dstRB -= (width << 2); in blit_mask_d32_a8_black() 152 device = (uint32_t*)((char*)device + dstRB); in blit_mask_d32_a8_black() [all …]
|
/third_party/flutter/skia/src/core/ |
D | SkConvertPixels.cpp | 17 static bool rect_memcpy(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in rect_memcpy() argument 29 SkRectMemcpy(dstPixels, dstRB, in rect_memcpy() 34 static bool swizzle_or_premul(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in swizzle_or_premul() argument 64 dstPixels = SkTAddOffset<void>(dstPixels, dstRB); in swizzle_or_premul() 70 static bool convert_to_alpha8(const SkImageInfo& dstInfo, void* vdst, size_t dstRB, in convert_to_alpha8() argument 93 dst = SkTAddOffset<uint8_t>(dst, dstRB); in convert_to_alpha8() 104 dst = SkTAddOffset<uint8_t>(dst, dstRB); in convert_to_alpha8() 117 dst = SkTAddOffset<uint8_t>(dst, dstRB); in convert_to_alpha8() 129 dst = SkTAddOffset<uint8_t>(dst, dstRB); in convert_to_alpha8() 142 dst = SkTAddOffset<uint8_t>(dst, dstRB); in convert_to_alpha8() [all …]
|
D | SkBlitter_A8.cpp | 53 const size_t dstRB = fDevice.rowBytes(); in blitV() local 56 dst += dstRB; in blitV() 62 const size_t dstRB = fDevice.rowBytes(); in blitRect() local 65 dst += dstRB; in blitRect() 83 const size_t dstRB = fDevice.rowBytes(); in blitMask() local 87 dst += dstRB; in blitMask()
|
D | SkConvertPixels.h | 19 static inline void SkRectMemcpy(void* dst, size_t dstRB, const void* src, size_t srcRB, in SkRectMemcpy() argument 21 SkASSERT(trimRowBytes <= dstRB); in SkRectMemcpy() 23 if (trimRowBytes == dstRB && trimRowBytes == srcRB) { in SkRectMemcpy() 30 dst = SkTAddOffset<void>(dst, dstRB); in SkRectMemcpy()
|
D | SkSpriteBlitter_ARGB32.cpp | 41 size_t dstRB = fDst.rowBytes(); in blitRect() local 48 dst = (uint32_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect() 73 size_t dstRB = fDst.rowBytes(); in blitRect() local 80 dst = (uint32_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
|
D | SkMaskBlurFilter.cpp | 768 uint8_t* dst, size_t dstRB) { in blur_column() argument 774 to += dstRB; in blur_column() 776 return to + dstRB; in blur_column() 786 dst += dstRB; in blur_column() 807 uint8_t *dst, size_t dstRB) { in blur_y_rect() argument 820 dst, dstRB); in blur_y_rect() 830 dst, dstRB); in blur_y_rect() 837 uint8_t* dst, size_t dstRB) { in direct_blur_y() argument 843 dst, dstRB); in direct_blur_y() 849 dst, dstRB); in direct_blur_y() [all …]
|
D | SkSpriteBlitter_RGB565.cpp | 45 size_t dstRB = fDst.rowBytes(); in blitRect() local 55 dst = (uint16_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect() 133 size_t dstRB = fDst.rowBytes(); in blitRect() local 143 dst = (uint8_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
|
D | SkScalerContext.cpp | 322 size_t dstRB = dst.fRowBytes; in pack4xHToLCD16() local 358 dstPDelta = dstRB; in pack4xHToLCD16() 360 dstP = SkTAddOffset<uint16_t>(dstImage, dstRB * y); in pack4xHToLCD16() 463 int dstRB = mask.fRowBytes; in generateMask() local 472 dstRB = 0; // signals we need a copy in generateMask() 489 dstRB = 0; // signals we need a copy in generateMask() 501 if (0 == dstRB) { in generateMask() 508 dst.reset(info, mask.fImage, dstRB); in generateMask() 593 int dstRB = origGlyph.rowBytes(); in getImage() local 610 dst += dstRB; in getImage()
|
D | SkBlitter_Sprite.cpp | 84 const size_t dstRB = fDst.rowBytes(); in blitRect() local 90 dst += dstRB; in blitRect()
|
/third_party/skia/src/core/ |
D | SkConvertPixels.cpp | 17 static bool rect_memcpy(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in rect_memcpy() argument 29 SkRectMemcpy(dstPixels, dstRB, in rect_memcpy() 34 static bool swizzle_or_premul(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in swizzle_or_premul() argument 64 dstPixels = SkTAddOffset<void>(dstPixels, dstRB); in swizzle_or_premul() 70 static bool convert_to_alpha8(const SkImageInfo& dstInfo, void* vdst, size_t dstRB, in convert_to_alpha8() argument 93 dst = SkTAddOffset<uint8_t>(dst, dstRB); in convert_to_alpha8() 109 dst = SkTAddOffset<uint8_t>(dst, dstRB); in convert_to_alpha8() 120 dst = SkTAddOffset<uint8_t>(dst, dstRB); in convert_to_alpha8() 134 dst = SkTAddOffset<uint8_t>(dst, dstRB); in convert_to_alpha8() 147 dst = SkTAddOffset<uint8_t>(dst, dstRB); in convert_to_alpha8() [all …]
|
D | SkBlitter_A8.cpp | 53 const size_t dstRB = fDevice.rowBytes(); in blitV() local 56 dst += dstRB; in blitV() 62 const size_t dstRB = fDevice.rowBytes(); in blitRect() local 65 dst += dstRB; in blitRect() 83 const size_t dstRB = fDevice.rowBytes(); in blitMask() local 87 dst += dstRB; in blitMask()
|
D | SkConvertPixels.h | 20 static inline void SkRectMemcpy(void* dst, size_t dstRB, const void* src, size_t srcRB, in SkRectMemcpy() argument 22 SkASSERT(trimRowBytes <= dstRB); in SkRectMemcpy() 24 if (trimRowBytes == dstRB && trimRowBytes == srcRB) { in SkRectMemcpy() 31 dst = SkTAddOffset<void>(dst, dstRB); in SkRectMemcpy()
|
D | SkSpriteBlitter_ARGB32.cpp | 40 size_t dstRB = fDst.rowBytes(); in blitRect() local 47 dst = (uint32_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect() 72 size_t dstRB = fDst.rowBytes(); in blitRect() local 79 dst = (uint32_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
|
D | SkMaskBlurFilter.cpp | 771 uint8_t* dst, size_t dstRB) { in blur_column() argument 777 to += dstRB; in blur_column() 779 return to + dstRB; in blur_column() 789 dst += dstRB; in blur_column() 810 uint8_t *dst, size_t dstRB) { in blur_y_rect() argument 823 dst, dstRB); in blur_y_rect() 833 dst, dstRB); in blur_y_rect() 840 uint8_t* dst, size_t dstRB) { in direct_blur_y() argument 846 dst, dstRB); in direct_blur_y() 852 dst, dstRB); in direct_blur_y() [all …]
|
D | SkSpriteBlitter_RGB565.cpp | 44 size_t dstRB = fDst.rowBytes(); in blitRect() local 54 dst = (uint16_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect() 133 size_t dstRB = fDst.rowBytes(); in blitRect() local 143 dst = (uint8_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
|
/third_party/flutter/skia/src/gpu/text/ |
D | GrStrikeCache.cpp | 84 int height, int dstRB, GrMaskFormat expectedMaskFormat, in get_packed_glyph_image() argument 123 dst = (char*)dst + dstRB; in get_packed_glyph_image() 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() 150 memcpy(dst, src, dstRB * height); in get_packed_glyph_image() 156 dst = (char*)dst + dstRB; in get_packed_glyph_image()
|
/third_party/skia/src/gpu/text/ |
D | GrAtlasManager.cpp | 60 const SkGlyph& glyph, int dstRB, GrMaskFormat expectedMaskFormat, void* dst) { in get_packed_glyph_image() argument 71 if (srcRB != dstRB) { in get_packed_glyph_image() 76 dst = (char*) dst + dstRB; in get_packed_glyph_image() 79 memcpy(dst, src, dstRB * height); 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() 131 dst = (char*)dst + dstRB; in get_packed_glyph_image()
|
/third_party/flutter/skia/src/gpu/ |
D | GrDataUtils.cpp | 491 bool GrConvertPixels(const GrPixelInfo& dstInfo, void* dst, size_t dstRB, in GrConvertPixels() argument 508 if (dstRB < dstInfo.minRowBytes() || srcRB < srcInfo.minRowBytes()) { in GrConvertPixels() 516 SkASSERT(dstRB % dstBpp == 0); in GrConvertPixels() 529 dst = static_cast<char*>(dst) + dstRB * (dstInfo.height() - 1); in GrConvertPixels() 533 dst = static_cast< char*>(dst) - dstRB; in GrConvertPixels() 536 SkRectMemcpy(dst, dstRB, src, srcRB, tightRB, srcInfo.height()); in GrConvertPixels() 570 dstCtx{ dst , SkToInt(dstRB / dstBpp)}; in GrConvertPixels() 619 dstCtx.pixels = static_cast<char*>(dstCtx.pixels) + dstRB; in GrConvertPixels()
|
/third_party/skia/src/ports/ |
D | SkScalerContext_mac_ct.cpp | 392 size_t dstRB = glyph.rowBytes(); in RGBToA8() local 400 dst = SkTAddOffset<uint8_t>(dst, dstRB); in RGBToA8() 424 size_t dstRB = glyph.rowBytes(); in RGBToLcd16() local 432 dst = SkTAddOffset<uint16_t>(dst, dstRB); in RGBToLcd16() 505 size_t dstRB = glyph.rowBytes(); in generateImage() local 510 dst = SkTAddOffset<uint8_t>(dst, dstRB); in generateImage() 515 size_t dstRB = glyph.rowBytes(); in generateImage() local 522 dst = SkTAddOffset<SkPMColor>(dst, dstRB); in generateImage()
|
D | SkScalerContext_win_dw.cpp | 868 const size_t dstRB = (width + 7) >> 3; in BilevelToBW() local 900 dst += dstRB; in BilevelToBW() 908 const size_t dstRB = glyph.rowBytes(); in GrayscaleToA8() local 917 dst = SkTAddOffset<uint8_t>(dst, dstRB); in GrayscaleToA8() 925 const size_t dstRB = glyph.rowBytes(); in RGBToA8() local 936 dst = SkTAddOffset<uint8_t>(dst, dstRB); in RGBToA8() 944 const size_t dstRB = glyph.rowBytes(); in RGBToLcd16() local 962 dst = SkTAddOffset<uint16_t>(dst, dstRB); in RGBToLcd16()
|
/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 62 dst = (char*)dst + dstRB; in rect_memcpy()
|
/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 61 dst = (char*)dst + dstRB; in rect_memcpy()
|
/third_party/skia/gm/ |
D | lazytiling.cpp | 126 size_t dstRB = bigBM.rowBytes(); in create_bitmap() local 133 dst = dst - dstRB; in create_bitmap() 137 SkRectMemcpy(dst, dstRB, src, srcRB, in create_bitmap()
|
/third_party/flutter/skia/src/ports/ |
D | SkScalerContext_win_dw.cpp | 800 const size_t dstRB = (width + 7) >> 3; in BilevelToBW() local 832 dst += dstRB; in BilevelToBW() 840 const size_t dstRB = glyph.rowBytes(); in GrayscaleToA8() local 849 dst = SkTAddOffset<uint8_t>(dst, dstRB); in GrayscaleToA8() 857 const size_t dstRB = glyph.rowBytes(); in RGBToA8() local 868 dst = SkTAddOffset<uint8_t>(dst, dstRB); in RGBToA8() 876 const size_t dstRB = glyph.rowBytes(); in RGBToLcd16() local 894 dst = SkTAddOffset<uint16_t>(dst, dstRB); in RGBToLcd16()
|