/external/skia/src/opts/ |
D | SkBlitMask_opts.h | 21 static void D32_A8_Opaque_Color_neon(void* SK_RESTRICT dst, size_t dstRB, in D32_A8_Opaque_Color_neon() argument 30 dstRB -= (width << 2); in D32_A8_Opaque_Color_neon() 78 device = (uint32_t*)((char*)device + dstRB); in D32_A8_Opaque_Color_neon() 84 static void blit_mask_d32_a8_general(SkPMColor* dst, size_t dstRB, in blit_mask_d32_a8_general() argument 87 D32_A8_Opaque_Color_neon<true>(dst, dstRB, mask, maskRB, color, w, h); in blit_mask_d32_a8_general() 91 static void blit_mask_d32_a8_opaque(SkPMColor* dst, size_t dstRB, in blit_mask_d32_a8_opaque() argument 94 D32_A8_Opaque_Color_neon<false>(dst, dstRB, mask, maskRB, color, w, h); in blit_mask_d32_a8_opaque() 98 static void blit_mask_d32_a8_black(SkPMColor* dst, size_t dstRB, in blit_mask_d32_a8_black() argument 105 dstRB -= (width << 2); in blit_mask_d32_a8_black() 128 device = (uint32_t*)((char*)device + dstRB); in blit_mask_d32_a8_black() [all …]
|
D | SkOpts_sse41.cpp | 183 static void blit_mask_d32_a8(SkPMColor* dst, size_t dstRB, in blit_mask_d32_a8() argument 196 dst += dstRB / sizeof(*dst); in blit_mask_d32_a8() 209 dst += dstRB / sizeof(*dst); in blit_mask_d32_a8()
|
/external/skia/src/core/ |
D | SkConfig8888.cpp | 129 static void copy_g8_to_32(void* dst, size_t dstRB, const void* src, size_t srcRB, int w, int h) { in copy_g8_to_32() argument 137 dst32 = (uint32_t*)((char*)dst32 + dstRB); in copy_g8_to_32() 142 static void copy_32_to_g8(void* dst, size_t dstRB, const void* src, size_t srcRB, in copy_32_to_g8() argument 166 dst8 += dstRB; in copy_32_to_g8() 170 bool SkPixelInfo::CopyPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in CopyPixels() argument 186 dstPixels = (char*)dstPixels + dstRB; in CopyPixels() 197 dstPI.fRowBytes = dstRB; in CopyPixels() 225 SkRectMemcpy(dstPixels, dstRB, srcPixels, srcRB, width * srcInfo.bytesPerPixel(), height); in CopyPixels() 235 copy_g8_to_32(dstPixels, dstRB, srcPixels, srcRB, width, height); in CopyPixels() 239 copy_32_to_g8(dstPixels, dstRB, srcPixels, srcRB, srcInfo); in CopyPixels() [all …]
|
D | SkSpriteBlitter_ARGB32.cpp | 39 size_t dstRB = fDst.rowBytes(); in blitRect() local 46 dst = (uint32_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect() 124 size_t dstRB = fDst.rowBytes(); in blitRect() local 143 dst = (uint32_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect() 170 size_t dstRB = fDst.rowBytes(); in blitRect() local 188 dst = (SkPMColor* SK_RESTRICT)((char*)dst + dstRB); in blitRect() 216 size_t dstRB = fDst.rowBytes(); in blitRect() local 221 dst = (SkPMColor* SK_RESTRICT)((char*)dst + dstRB); in blitRect() 244 size_t dstRB = fDst.rowBytes(); in blitRect() local 249 dst = (SkPMColor* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
|
D | SkConfig8888.h | 37 static inline void SkRectMemcpy(void* dst, size_t dstRB, const void* src, size_t srcRB, in SkRectMemcpy() argument 40 SkASSERT(bytesPerRow <= dstRB); in SkRectMemcpy() 43 dst = (char*)dst + dstRB; in SkRectMemcpy()
|
D | SkSpriteBlitter4f.cpp | 47 size_t dstRB = fDst.rowBytes(); in blitRect() local 53 dst = (uint64_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect() 96 size_t dstRB = fDst.rowBytes(); in blitRect() local 102 dst = (uint32_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
|
D | SkScalerContext.cpp | 262 size_t dstRB = dst.fRowBytes; in pack4xHToLCD16() local 322 dstP = (uint16_t*)((char*)dstP + dstRB); in pack4xHToLCD16() 380 int dstRB = mask.fRowBytes; in generateMask() local 389 dstRB = 0; // signals we need a copy in generateMask() 399 dstRB = 0; // signals we need a copy in generateMask() 411 if (0 == dstRB) { in generateMask() 418 dst.reset(info, mask.fImage, dstRB); in generateMask() 454 int dstRB = dst.fRowBytes; in extract_alpha() local 462 for (int x = width; x < dstRB; ++x) { in extract_alpha() 465 dstRow += dstRB; in extract_alpha() [all …]
|
D | SkBlitter_A8.cpp | 396 const size_t dstRB = fDevice.rowBytes(); in blitV() local 399 dst += dstRB; in blitV() 405 const size_t dstRB = fDevice.rowBytes(); in blitRect() local 408 dst += dstRB; in blitRect() 423 const size_t dstRB = fDevice.rowBytes(); in blitMask() local 427 dst += dstRB; in blitMask()
|
D | SkSpriteBlitterTemplate.h | 20 size_t dstRB = fDst.rowBytes(); in blitRect() local 45 dst = (SkSPRITE_DST_TYPE* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
|
D | SkPixmap.cpp | 76 bool SkPixmap::readPixels(const SkImageInfo& requestedDstInfo, void* dstPixels, size_t dstRB, in readPixels() argument 81 if (nullptr == dstPixels || dstRB < requestedDstInfo.minRowBytes()) { in readPixels() 104 dstPixels = ((char*)dstPixels - y * dstRB - x * dstInfo.bytesPerPixel()); in readPixels() 108 return SkPixelInfo::CopyPixels(dstInfo, dstPixels, dstRB, in readPixels()
|
D | SkSpriteBlitter_RGB16.cpp | 56 size_t dstRB = fDst.rowBytes(); in blitRect() local 61 dst = (uint16_t*)((char*)dst + dstRB); in blitRect() 278 size_t dstRB = fDst.rowBytes(); in blitRect() local 286 dst = (uint16_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
|
D | SkBlitMask.h | 29 typedef void (*ColorProc)(void* dst, size_t dstRB,
|
D | SkBlitter_PM4f.cpp | 94 const size_t dstRB = fDevice.rowBytes(); in blitLCDMask() local 100 device = (typename State::DstType*)((char*)device + dstRB); in blitLCDMask() 123 const size_t dstRB = fDevice.rowBytes(); in blitMask() local 129 device = (typename State::DstType*)((char*)device + dstRB); in blitMask()
|
D | SkImageCacherator.h | 66 bool directGeneratePixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB,
|
D | SkBlitMask_D32.cpp | 26 static void D32_LCD16_Proc(void* SK_RESTRICT dst, size_t dstRB, in D32_LCD16_Proc() argument 47 dstRow = (SkPMColor*)((char*)dstRow + dstRB); in D32_LCD16_Proc()
|
D | SkBlitter_ARGB32.cpp | 562 const size_t dstRB = fDevice.rowBytes(); in blitMask() local 574 dstRow += dstRB; in blitMask() 582 dstRow += dstRB; in blitMask()
|
D | SkBitmap.cpp | 501 bool SkBitmap::copyPixelsTo(void* dst, size_t dstSize, size_t dstRB, bool preserveDstPad) const { in copyPixelsTo() argument 509 return copy_pixels_to(result.pixmap(), dst, dstSize, dstRB, preserveDstPad); in copyPixelsTo() 823 bool SkBitmap::readPixels(const SkImageInfo& requestedDstInfo, void* dstPixels, size_t dstRB, in readPixels() argument 829 return src.pixmap().readPixels(requestedDstInfo, dstPixels, dstRB, x, y); in readPixels()
|
/external/skia/src/gpu/text/ |
D | GrFontScaler.cpp | 115 bool GrFontScaler::getPackedGlyphImage(const SkGlyph& glyph, int width, int height, int dstRB, in getPackedGlyphImage() argument 131 dst = (char*)dst + dstRB; in getPackedGlyphImage() 146 expand_bits(bytes, bits, width, height, dstRB, srcRB); in getPackedGlyphImage() 151 expand_bits(rgb565, bits, width, height, dstRB, srcRB); in getPackedGlyphImage() 157 } else if (srcRB == dstRB) { in getPackedGlyphImage() 158 memcpy(dst, src, dstRB * height); in getPackedGlyphImage() 164 dst = (char*)dst + dstRB; in getPackedGlyphImage()
|
/external/skia/src/image/ |
D | SkImage_Generator.cpp | 42 bool SkImage_Generator::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in onReadPixels() argument 47 return bm.readPixels(dstInfo, dstPixels, dstRB, srcX, srcY); in onReadPixels() 52 if (fCache->directGeneratePixels(dstInfo, dstPixels, dstRB, srcX, srcY)) { in onReadPixels() 60 return bm.readPixels(dstInfo, dstPixels, dstRB, srcX, srcY); in onReadPixels()
|
/external/skia/src/ports/ |
D | SkScalerContext_win_dw.cpp | 565 const size_t dstRB = (width + 7) >> 3; in bilevel_to_bw() local 597 dst += dstRB; in bilevel_to_bw() 603 const size_t dstRB = glyph.rowBytes(); in rgb_to_a8() local 614 dst = (uint8_t*)((char*)dst + dstRB); in rgb_to_a8() 621 const size_t dstRB = glyph.rowBytes(); in rgb_to_lcd16() local 639 dst = (uint16_t*)((char*)dst + dstRB); in rgb_to_lcd16()
|
D | SkFontHost_FreeType_common.cpp | 91 const size_t dstRB = mask.fRowBytes; in copyFT2LCD16() local 102 dst = (uint16_t*)((char*)dst + dstRB); in copyFT2LCD16() 111 dst = (uint16_t*)((char*)dst + dstRB); in copyFT2LCD16() 135 dst = (uint16_t*)((char*)dst + dstRB); in copyFT2LCD16() 153 dst = (uint16_t*)((char*)dst + dstRB); in copyFT2LCD16()
|
D | SkFontHost_win.cpp | 1146 const size_t dstRB = (width + 7) >> 3; in rgb_to_bw() local 1147 uint8_t* SK_RESTRICT dst = (uint8_t*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB); in rgb_to_bw() 1182 dst -= dstRB; in rgb_to_bw() 1187 uint8_t* last = (uint8_t*)((char*)glyph.fImage + glyph.fHeight * dstRB - 1); in rgb_to_bw() 1197 const size_t dstRB = glyph.rowBytes(); in rgb_to_a8() local 1199 uint8_t* SK_RESTRICT dst = (uint8_t*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB); in rgb_to_a8() 1209 dst -= dstRB; in rgb_to_a8() 1216 const size_t dstRB = glyph.rowBytes(); in rgb_to_lcd16() local 1218 uint16_t* SK_RESTRICT dst = (uint16_t*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB); in rgb_to_lcd16() 1225 dst = (uint16_t*)((char*)dst - dstRB); in rgb_to_lcd16() [all …]
|
D | SkFontHost_mac.cpp | 1196 size_t dstRB = glyph.rowBytes(); in rgb_to_a8() local 1204 dst += dstRB; in rgb_to_a8() 1226 size_t dstRB = glyph.rowBytes(); in rgb_to_lcd16() local 1234 dst = (uint16_t*)((char*)dst + dstRB); in rgb_to_lcd16() 1304 size_t dstRB = glyph.rowBytes(); in generateImage() local 1309 dst += dstRB; in generateImage() 1314 size_t dstRB = glyph.rowBytes(); in generateImage() local 1321 dst = (SkPMColor*)((char*)dst + dstRB); in generateImage()
|
/external/skia/src/utils/ |
D | SkTextureCompressor_R11EAC.h | 23 void DecompressR11EAC(uint8_t* dst, int dstRB, const uint8_t* src, int width, int height);
|
/external/skia/src/effects/ |
D | SkBlurMask.cpp | 419 static void merge_src_with_blur(uint8_t dst[], int dstRB, in merge_src_with_blur() argument 423 dstRB -= sw; in merge_src_with_blur() 433 dst += dstRB; in merge_src_with_blur()
|