Home
last modified time | relevance | path

Searched refs:dstRB (Results 1 – 25 of 27) sorted by relevance

12

/external/skia/src/opts/
DSkBlitMask_opts.h21 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 …]
/external/skia/src/core/
DSkConvertPixels.cpp54 void swizzle_and_multiply(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in swizzle_and_multiply() argument
84 dstPixels = SkTAddOffset<void>(dstPixels, dstRB); in swizzle_and_multiply()
120 static inline void apply_color_xform(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in apply_color_xform() argument
156 dstPixels = SkTAddOffset<void>(dstPixels, dstRB); in apply_color_xform()
163 void do_index8(const SkImageInfo& dstInfo, T* dstPixels, size_t dstRB, in do_index8() argument
178 dstPixels = SkTAddOffset<T>(dstPixels, dstRB); in do_index8()
183 void convert_from_index8(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in convert_from_index8() argument
188 do_index8(dstInfo, (uint8_t*) dstPixels, dstRB, srcInfo, srcPixels, srcRB, ctable, in convert_from_index8()
193 do_index8(dstInfo, (uint16_t*) dstPixels, dstRB, srcInfo, srcPixels, srcRB, ctable, in convert_from_index8()
198 do_index8(dstInfo, (uint32_t*) dstPixels, dstRB, srcInfo, srcPixels, srcRB, ctable, in convert_from_index8()
[all …]
DSkConvertPixels.h20 static inline void SkRectMemcpy(void* dst, size_t dstRB, const void* src, size_t srcRB, in SkRectMemcpy() argument
22 SkASSERT(bytesPerRow <= dstRB); in SkRectMemcpy()
24 if (bytesPerRow == dstRB && bytesPerRow == srcRB) { in SkRectMemcpy()
31 dst = SkTAddOffset<void>(dst, dstRB); in SkRectMemcpy()
DSkSpriteBlitter_ARGB32.cpp40 size_t dstRB = fDst.rowBytes(); in blitRect() local
47 dst = (uint32_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
123 size_t dstRB = fDst.rowBytes(); in blitRect() local
142 dst = (uint32_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
169 size_t dstRB = fDst.rowBytes(); in blitRect() local
187 dst = (SkPMColor* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
215 size_t dstRB = fDst.rowBytes(); in blitRect() local
220 dst = (SkPMColor* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
243 size_t dstRB = fDst.rowBytes(); in blitRect() local
248 dst = (SkPMColor* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
DSkSpriteBlitter4f.cpp48 size_t dstRB = fDst.rowBytes(); in blitRect() local
54 dst = (uint64_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
97 size_t dstRB = fDst.rowBytes(); in blitRect() local
103 dst = (uint32_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
DSkScalerContext.cpp244 size_t dstRB = dst.fRowBytes; in pack4xHToLCD16() local
304 dstP = (uint16_t*)((char*)dstP + dstRB); in pack4xHToLCD16()
362 int dstRB = mask.fRowBytes; in generateMask() local
371 dstRB = 0; // signals we need a copy in generateMask()
381 dstRB = 0; // signals we need a copy in generateMask()
393 if (0 == dstRB) { in generateMask()
400 dst.reset(info, mask.fImage, dstRB); in generateMask()
435 int dstRB = dst.fRowBytes; in extract_alpha() local
443 for (int x = width; x < dstRB; ++x) { in extract_alpha()
446 dstRow += dstRB; in extract_alpha()
[all …]
DSkBlitter_A8.cpp392 const size_t dstRB = fDevice.rowBytes(); in blitV() local
395 dst += dstRB; in blitV()
401 const size_t dstRB = fDevice.rowBytes(); in blitRect() local
404 dst += dstRB; in blitRect()
419 const size_t dstRB = fDevice.rowBytes(); in blitMask() local
423 dst += dstRB; in blitMask()
DSkSpriteBlitterTemplate.h20 size_t dstRB = fDst.rowBytes(); in blitRect() local
45 dst = (SkSPRITE_DST_TYPE* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
DSkSpriteBlitter_RGB16.cpp56 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()
DSkBlitter_Sprite.cpp111 const size_t dstRB = fDst.rowBytes(); in blitRect() local
117 dst += dstRB; in blitRect()
DSkBlitMask.h29 typedef void (*ColorProc)(void* dst, size_t dstRB,
DSkBlitter_PM4f.cpp96 const size_t dstRB = fDevice.rowBytes(); in blitLCDMask() local
102 device = (typename State::DstType*)((char*)device + dstRB); in blitLCDMask()
125 const size_t dstRB = fDevice.rowBytes(); in blitMask() local
131 device = (typename State::DstType*)((char*)device + dstRB); in blitMask()
DSkBlitMask_D32.cpp26 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()
DSkPixmap.cpp87 bool SkPixmap::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, int x, int y) in readPixels() argument
93 SkReadPixelsRec rec(dstInfo, dstPixels, dstRB, x, y); in readPixels()
DSkImageCacherator.h90 bool directGeneratePixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB,
DSkBitmap.cpp531 bool SkBitmap::copyPixelsTo(void* dst, size_t dstSize, size_t dstRB, bool preserveDstPad) const { in copyPixelsTo() argument
539 return copy_pixels_to(result.pixmap(), dst, dstSize, dstRB, preserveDstPad); in copyPixelsTo()
700 bool SkBitmap::readPixels(const SkImageInfo& requestedDstInfo, void* dstPixels, size_t dstRB, in readPixels() argument
706 return src.pixmap().readPixels(requestedDstInfo, dstPixels, dstRB, x, y); in readPixels()
DSkBlitter_ARGB32.cpp570 const size_t dstRB = fDevice.rowBytes(); in blitMask() local
582 dstRow += dstRB; in blitMask()
590 dstRow += dstRB; in blitMask()
DSkBlitter_RGB16.cpp715 size_t dstRB = fDevice.rowBytes(); in blitRect() local
722 dst = (uint16_t*)((char*)dst + dstRB); in blitRect()
729 dst = (uint16_t*)((char*)dst + dstRB); in blitRect()
/external/skia/src/image/
DSkImage_Generator.cpp51 bool SkImage_Generator::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in onReadPixels() argument
58 return bm.readPixels(dstInfo, dstPixels, dstRB, srcX, srcY); in onReadPixels()
63 if (fCache.directGeneratePixels(dstInfo, dstPixels, dstRB, srcX, srcY)) { in onReadPixels()
71 return bm.readPixels(dstInfo, dstPixels, dstRB, srcX, srcY); in onReadPixels()
/external/skia/src/gpu/text/
DGrAtlasGlyphCache.cpp264 int height, int dstRB, GrMaskFormat expectedMaskFormat, in get_packed_glyph_image() argument
280 dst = (char*)dst + dstRB; in get_packed_glyph_image()
295 expand_bits(bytes, bits, width, height, dstRB, srcRB); in get_packed_glyph_image()
300 expand_bits(rgb565, bits, width, height, dstRB, srcRB); in get_packed_glyph_image()
306 } else if (srcRB == dstRB) { in get_packed_glyph_image()
307 memcpy(dst, src, dstRB * height); in get_packed_glyph_image()
313 dst = (char*)dst + dstRB; in get_packed_glyph_image()
/external/skia/src/ports/
DSkScalerContext_win_dw.cpp663 const size_t dstRB = (width + 7) >> 3; in bilevel_to_bw() local
695 dst += dstRB; in bilevel_to_bw()
702 const size_t dstRB = glyph.rowBytes(); in grayscale_to_a8() local
711 dst = SkTAddOffset<uint8_t>(dst, dstRB); in grayscale_to_a8()
717 const size_t dstRB = glyph.rowBytes(); in rgb_to_a8() local
728 dst = SkTAddOffset<uint8_t>(dst, dstRB); in rgb_to_a8()
735 const size_t dstRB = glyph.rowBytes(); in rgb_to_lcd16() local
753 dst = SkTAddOffset<uint16_t>(dst, dstRB); in rgb_to_lcd16()
DSkFontHost_FreeType_common.cpp93 const size_t dstRB = mask.fRowBytes; in copyFT2LCD16() local
104 dst = (uint16_t*)((char*)dst + dstRB); in copyFT2LCD16()
113 dst = (uint16_t*)((char*)dst + dstRB); in copyFT2LCD16()
137 dst = (uint16_t*)((char*)dst + dstRB); in copyFT2LCD16()
155 dst = (uint16_t*)((char*)dst + dstRB); in copyFT2LCD16()
DSkFontHost_win.cpp1157 const size_t dstRB = (width + 7) >> 3; in rgb_to_bw() local
1158 uint8_t* SK_RESTRICT dst = (uint8_t*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB); in rgb_to_bw()
1193 dst -= dstRB; in rgb_to_bw()
1198 uint8_t* last = (uint8_t*)((char*)glyph.fImage + glyph.fHeight * dstRB - 1); in rgb_to_bw()
1208 const size_t dstRB = glyph.rowBytes(); in rgb_to_a8() local
1210 uint8_t* SK_RESTRICT dst = (uint8_t*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB); in rgb_to_a8()
1220 dst -= dstRB; in rgb_to_a8()
1227 const size_t dstRB = glyph.rowBytes(); in rgb_to_lcd16() local
1229 uint16_t* SK_RESTRICT dst = (uint16_t*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB); in rgb_to_lcd16()
1236 dst = (uint16_t*)((char*)dst - dstRB); in rgb_to_lcd16()
[all …]
DSkFontHost_mac.cpp1089 size_t dstRB = glyph.rowBytes(); in rgb_to_a8() local
1097 dst = SkTAddOffset<uint8_t>(dst, dstRB); in rgb_to_a8()
1119 size_t dstRB = glyph.rowBytes(); in rgb_to_lcd16() local
1127 dst = SkTAddOffset<uint16_t>(dst, dstRB); in rgb_to_lcd16()
1198 size_t dstRB = glyph.rowBytes(); in generateImage() local
1203 dst = SkTAddOffset<uint8_t>(dst, dstRB); in generateImage()
1208 size_t dstRB = glyph.rowBytes(); in generateImage() local
1215 dst = SkTAddOffset<SkPMColor>(dst, dstRB); in generateImage()
/external/skia/src/effects/
DSkBlurMask.cpp418 static void merge_src_with_blur(uint8_t dst[], int dstRB, in merge_src_with_blur() argument
422 dstRB -= sw; in merge_src_with_blur()
432 dst += dstRB; in merge_src_with_blur()

12