Home
last modified time | relevance | path

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

12

/external/skia/src/opts/
DSkBlitMask_opts.h45 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 …]
/external/skqp/src/opts/
DSkBlitMask_opts.h45 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 …]
/external/skia/src/core/
DSkConvertPixels.cpp17 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 …]
DSkBlitter_A8.cpp53 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()
DSkConvertPixels.h19 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()
DSkSpriteBlitter_ARGB32.cpp41 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()
DSkMaskBlurFilter.cpp768 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 …]
DSkSpriteBlitter_RGB565.cpp45 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()
DSkScalerContext.cpp305 size_t dstRB = dst.fRowBytes; in pack4xHToLCD16() local
365 dstP = (uint16_t*)((char*)dstP + dstRB); in pack4xHToLCD16()
423 int dstRB = mask.fRowBytes; in generateMask() local
432 dstRB = 0; // signals we need a copy in generateMask()
442 dstRB = 0; // signals we need a copy in generateMask()
454 if (0 == dstRB) { in generateMask()
461 dst.reset(info, mask.fImage, dstRB); in generateMask()
552 int dstRB = origGlyph.rowBytes(); in getImage() local
569 dst += dstRB; in getImage()
DSkBlitter_Sprite.cpp84 const size_t dstRB = fDst.rowBytes(); in blitRect() local
90 dst += dstRB; in blitRect()
/external/skqp/src/core/
DSkConvertPixels.cpp17 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()
141 dst = SkTAddOffset<uint8_t>(dst, dstRB); in convert_to_alpha8()
[all …]
DSkBlitter_A8.cpp53 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()
DSkConvertPixels.h19 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()
DSkSpriteBlitter_ARGB32.cpp41 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()
DSkMaskBlurFilter.cpp768 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 …]
DSkSpriteBlitter_RGB565.cpp45 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()
DSkScalerContext.cpp273 size_t dstRB = dst.fRowBytes; in pack4xHToLCD16() local
333 dstP = (uint16_t*)((char*)dstP + dstRB); in pack4xHToLCD16()
391 int dstRB = mask.fRowBytes; in generateMask() local
400 dstRB = 0; // signals we need a copy in generateMask()
410 dstRB = 0; // signals we need a copy in generateMask()
422 if (0 == dstRB) { in generateMask()
429 dst.reset(info, mask.fImage, dstRB); in generateMask()
520 int dstRB = origGlyph.rowBytes(); in getImage() local
537 dst += dstRB; in getImage()
DSkBlitter_Sprite.cpp84 const size_t dstRB = fDst.rowBytes(); in blitRect() local
90 dst += dstRB; in blitRect()
/external/skqp/src/gpu/text/
DGrStrikeCache.cpp84 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()
/external/skia/src/gpu/text/
DGrStrikeCache.cpp84 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()
/external/skia/src/effects/
DSkShaderMaskFilter.cpp57 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()
/external/skqp/src/effects/
DSkShaderMaskFilter.cpp57 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()
/external/skqp/src/ports/
DSkScalerContext_win_dw.cpp803 const size_t dstRB = (width + 7) >> 3; in bilevel_to_bw() local
835 dst += dstRB; in bilevel_to_bw()
842 const size_t dstRB = glyph.rowBytes(); in grayscale_to_a8() local
851 dst = SkTAddOffset<uint8_t>(dst, dstRB); in grayscale_to_a8()
857 const size_t dstRB = glyph.rowBytes(); in rgb_to_a8() local
868 dst = SkTAddOffset<uint8_t>(dst, dstRB); in rgb_to_a8()
875 const size_t dstRB = glyph.rowBytes(); in rgb_to_lcd16() local
893 dst = SkTAddOffset<uint16_t>(dst, dstRB); in rgb_to_lcd16()
/external/skia/src/ports/
DSkScalerContext_win_dw.cpp805 const size_t dstRB = (width + 7) >> 3; in bilevel_to_bw() local
837 dst += dstRB; in bilevel_to_bw()
844 const size_t dstRB = glyph.rowBytes(); in grayscale_to_a8() local
853 dst = SkTAddOffset<uint8_t>(dst, dstRB); in grayscale_to_a8()
859 const size_t dstRB = glyph.rowBytes(); in rgb_to_a8() local
870 dst = SkTAddOffset<uint8_t>(dst, dstRB); in rgb_to_a8()
877 const size_t dstRB = glyph.rowBytes(); in rgb_to_lcd16() local
895 dst = SkTAddOffset<uint16_t>(dst, dstRB); in rgb_to_lcd16()
DSkFontHost_FreeType_common.cpp113 const size_t dstRB = mask.fRowBytes; in copyFT2LCD16() local
124 dst = (uint16_t*)((char*)dst + dstRB); in copyFT2LCD16()
133 dst = (uint16_t*)((char*)dst + dstRB); in copyFT2LCD16()
157 dst = (uint16_t*)((char*)dst + dstRB); in copyFT2LCD16()
176 dst = (uint16_t*)((char*)dst + dstRB); in copyFT2LCD16()

12