/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/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 | 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_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 | 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()
|
D | SkBlitter_Sprite.cpp | 88 const size_t dstRB = fDst.rowBytes(); in blitRect() local 94 dst += dstRB; in blitRect()
|
D | SkBlurMask.cpp | 38 static void merge_src_with_blur(uint8_t dst[], int dstRB, in merge_src_with_blur() argument 42 dstRB -= sw; in merge_src_with_blur() 52 dst += dstRB; in merge_src_with_blur()
|
D | SkScalerContext.cpp | 313 size_t dstRB = dst.fRowBytes; in pack4xHToMask() local 350 dstPDelta = dstRB; in pack4xHToMask() 352 dstP = SkTAddOffset<uint8_t>(dstImage, y * dstRB); in pack4xHToMask() 664 int dstRB = dstMask.fRowBytes; in getImage() local 683 dst += dstRB; in getImage()
|
D | SkBitmap.cpp | 461 bool SkBitmap::readPixels(const SkImageInfo& requestedDstInfo, void* dstPixels, size_t dstRB, in readPixels() argument 467 return src.readPixels(requestedDstInfo, dstPixels, dstRB, x, y); in readPixels()
|
D | SkPixmap.cpp | 159 bool SkPixmap::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in readPixels() argument 165 SkReadPixelsRec rec(dstInfo, dstPixels, dstRB, x, y); in readPixels()
|
/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/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()
|
D | SkFontHost_win.cpp | 1060 const size_t dstRB = glyph.rowBytes(); in RGBToA8() local 1062 uint8_t* SK_RESTRICT dst = (uint8_t*)((char*)glyph.fImage + (glyph.height() - 1) * dstRB); in RGBToA8() 1072 dst -= dstRB; in RGBToA8() 1080 const size_t dstRB = glyph.rowBytes(); in RGBToLcd16() local 1082 uint16_t* SK_RESTRICT dst = (uint16_t*)((char*)glyph.fImage + (glyph.height() - 1) * dstRB); in RGBToLcd16() 1089 dst = (uint16_t*)((char*)dst - dstRB); in RGBToLcd16() 1136 size_t dstRB = glyph.rowBytes(); in generateImage() local 1139 uint8_t* dst = (uint8_t*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB); in generateImage() 1141 memcpy(dst, src, dstRB); in generateImage() 1143 dst -= dstRB; in generateImage() [all …]
|
D | SkFontHost_FreeType_common.cpp | 125 const size_t dstRB = mask.fRowBytes; in copyFT2LCD16() local 136 dst = (uint16_t*)((char*)dst + dstRB); in copyFT2LCD16() 145 dst = (uint16_t*)((char*)dst + dstRB); in copyFT2LCD16() 169 dst = (uint16_t*)((char*)dst + dstRB); in copyFT2LCD16() 188 dst = (uint16_t*)((char*)dst + dstRB); in copyFT2LCD16()
|
/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/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/skia/src/image/ |
D | SkImage_GpuBase.cpp | 163 size_t dstRB, in onReadPixels() argument 181 return sContext->readPixels(dContext, {dstInfo, dstPixels, dstRB}, {srcX, srcY}); in onReadPixels()
|
D | SkImage_GpuBase.h | 32 size_t dstRB,
|
D | SkImage_Lazy.cpp | 169 size_t dstRB, in onReadPixels() argument 175 return bm.readPixels(dstInfo, dstPixels, dstRB, srcX, srcY); in onReadPixels()
|
/third_party/skia/src/gpu/ |
D | GrDataUtils.h | 42 bool GrClearImage(const GrImageInfo& dstInfo, void* dst, size_t dstRB, std::array<float, 4> color);
|
D | GrDataUtils.cpp | 749 bool GrClearImage(const GrImageInfo& dstInfo, void* dst, size_t dstRB, std::array<float, 4> color) { in GrClearImage() argument 758 if (dstRB < dstInfo.minRowBytes()) { in GrClearImage() 765 char* d = static_cast<char*>(dst) + y * dstRB; in GrClearImage() 801 SkRasterPipeline_MemoryCtx dstCtx{dst, SkToInt(dstRB/dstInfo.bpp())}; in GrClearImage()
|
/third_party/skia/tests/ |
D | ReadWritePixelsGpuTest.cpp | 256 const size_t dstRB = readBpp * readInfo.width() + 10 * readBpp; in gpu_read_pixels_test_driver() local 258 const size_t dstSize = readInfo.computeByteSize(dstRB); in gpu_read_pixels_test_driver() 260 SkPixmap dstPixels(readInfo, dstData.get(), dstRB); in gpu_read_pixels_test_driver()
|