/third_party/skia/src/opts/ |
H A 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() 217 blit_mask_d32_a8(SkPMColor* dst, size_t dstRB, const SkAlpha* mask, size_t maskRB, SkColor color, int w, int h) blit_mask_d32_a8() argument [all...] |
/third_party/skia/src/core/ |
H A 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() 222 SkConvertPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB) SkConvertPixels() argument [all...] |
H A 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()
|
H A 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()
|
H A D | SkSpriteBlitter_ARGB32.cpp | 40 size_t dstRB = fDst.rowBytes(); variable 47 dst = (uint32_t* SK_RESTRICT)((char*)dst + dstRB); 72 size_t dstRB = fDst.rowBytes(); variable 79 dst = (uint32_t* SK_RESTRICT)((char*)dst + dstRB);
|
H A D | SkMaskBlurFilter.cpp | 771 uint8_t* dst, size_t dstRB) { 777 to += dstRB; 779 return to + dstRB; 789 dst += dstRB; 810 uint8_t *dst, size_t dstRB) { 823 dst, dstRB); 833 dst, dstRB); 840 uint8_t* dst, size_t dstRB) { 846 dst, dstRB); 852 dst, dstRB); [all...] |
H A D | SkSpriteBlitter_RGB565.cpp | 44 size_t dstRB = fDst.rowBytes(); variable 54 dst = (uint16_t* SK_RESTRICT)((char*)dst + dstRB); 133 size_t dstRB = fDst.rowBytes(); variable 143 dst = (uint8_t* SK_RESTRICT)((char*)dst + dstRB);
|
H A D | SkBlitter_Sprite.cpp | 88 const size_t dstRB = fDst.rowBytes(); variable 94 dst += dstRB;
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A D | SkBlitter_ARGB32.cpp | 1316 const size_t dstRB = fDevice.rowBytes(); in blitMask() local 1328 dstRow += dstRB; in blitMask() 1337 dstRow += dstRB; in blitMask()
|
/third_party/skia/src/gpu/text/ |
H A D | GrAtlasManager.cpp | 60 const SkGlyph& glyph, int dstRB, GrMaskFormat expectedMaskFormat, void* dst) { 71 if (srcRB != dstRB) { 76 dst = (char*) dst + dstRB; 79 memcpy(dst, src, dstRB * height); 87 expand_bits(bytes, bits, width, height, dstRB, srcRB); 92 expand_bits(rgb565, bits, width, height, dstRB, srcRB); 131 dst = (char*)dst + dstRB; 59 get_packed_glyph_image( const SkGlyph& glyph, int dstRB, GrMaskFormat expectedMaskFormat, void* dst) global() argument
|
/third_party/skia/src/ports/ |
H A 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()
|
H A 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()
|
H A 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...] |
H A 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/ |
H A 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/ |
H A 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/ |
H A D | SkImage_GpuBase.cpp | 163 size_t dstRB, in onReadPixels() 181 return sContext->readPixels(dContext, {dstInfo, dstPixels, dstRB}, {srcX, srcY}); in onReadPixels() 160 onReadPixels(GrDirectContext* dContext, const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, int srcX, int srcY, CachingHint) const onReadPixels() argument
|
H A D | SkImage_GpuBase.h | 32 size_t dstRB,
|
H A D | SkImage_Lazy.cpp | 169 size_t dstRB, in onReadPixels() 175 return bm.readPixels(dstInfo, dstPixels, dstRB, srcX, srcY); in onReadPixels() 166 onReadPixels(GrDirectContext* dContext, const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, int srcX, int srcY, CachingHint chint) const onReadPixels() argument
|
/third_party/skia/src/gpu/ |
H A D | GrDataUtils.h | 42 bool GrClearImage(const GrImageInfo& dstInfo, void* dst, size_t dstRB, std::array<float, 4> color);
|
H A 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()
|