/external/skqp/src/gpu/text/ |
H A D | GrAtlasGlyphCache.cpp | 279 int height, int dstRB, GrMaskFormat expectedMaskFormat, 295 dst = (char*)dst + dstRB; 310 expand_bits(bytes, bits, width, height, dstRB, srcRB); 315 expand_bits(rgb565, bits, width, height, dstRB, srcRB); 321 } else if (srcRB == dstRB) { 322 memcpy(dst, src, dstRB * height); 328 dst = (char*)dst + dstRB; 278 get_packed_glyph_image(SkGlyphCache* cache, const SkGlyph& glyph, int width, int height, int dstRB, GrMaskFormat expectedMaskFormat, void* dst) argument
|
/external/skqp/src/image/ |
H A D | SkImage_Gpu.cpp | 206 bool SkImage_Gpu::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, argument 212 SkReadPixelsRec rec(dstInfo, dstPixels, dstRB, srcX, srcY);
|
H A D | SkImage_Lazy.cpp | 102 bool directGeneratePixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, 542 bool SkImage_Lazy::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, argument 551 return bm.readPixels(dstInfo, dstPixels, dstRB, srcX, srcY); 556 if (this->directGeneratePixels(genPixelsInfo, dstPixels, dstRB, srcX, srcY, behavior)) { 564 return bm.readPixels(dstInfo, dstPixels, dstRB, srcX, srcY);
|
/external/skqp/src/opts/ |
H A D | SkBlitMask_opts.h | 21 static void D32_A8_Opaque_Color_neon(void* SK_RESTRICT dst, size_t dstRB, argument 30 dstRB -= (width << 2); 78 device = (uint32_t*)((char*)device + dstRB); 84 static void blit_mask_d32_a8_general(SkPMColor* dst, size_t dstRB, argument 87 D32_A8_Opaque_Color_neon<true>(dst, dstRB, mask, maskRB, color, w, h); 91 static void blit_mask_d32_a8_opaque(SkPMColor* dst, size_t dstRB, argument 94 D32_A8_Opaque_Color_neon<false>(dst, dstRB, mask, maskRB, color, w, h); 98 static void blit_mask_d32_a8_black(SkPMColor* dst, size_t dstRB, argument 105 dstRB -= (width << 2); 128 device = (uint32_t*)((char*)device + dstRB); 192 blit_mask_d32_a8(SkPMColor* dst, size_t dstRB, const SkAlpha* mask, size_t maskRB, SkColor color, int w, int h) argument [all...] |
/external/skqp/src/ports/ |
H A D | SkFontHost_FreeType_common.cpp | 109 const size_t dstRB = mask.fRowBytes; local 120 dst = (uint16_t*)((char*)dst + dstRB); 129 dst = (uint16_t*)((char*)dst + dstRB); 153 dst = (uint16_t*)((char*)dst + dstRB); 171 dst = (uint16_t*)((char*)dst + dstRB);
|
H A D | SkFontHost_win.cpp | 1133 const size_t dstRB = (width + 7) >> 3; local 1134 uint8_t* SK_RESTRICT dst = (uint8_t*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB); 1169 dst -= dstRB; 1174 uint8_t* last = (uint8_t*)((char*)glyph.fImage + glyph.fHeight * dstRB - 1); 1184 const size_t dstRB = glyph.rowBytes(); local 1186 uint8_t* SK_RESTRICT dst = (uint8_t*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB); 1196 dst -= dstRB; 1203 const size_t dstRB = glyph.rowBytes(); local 1205 uint16_t* SK_RESTRICT dst = (uint16_t*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB); 1212 dst = (uint16_t*)((char*)dst - dstRB); 1260 size_t dstRB = glyph.rowBytes(); local [all...] |
H A D | SkScalerContext_win_dw.cpp | 667 const size_t dstRB = (width + 7) >> 3; local 699 dst += dstRB; 706 const size_t dstRB = glyph.rowBytes(); local 715 dst = SkTAddOffset<uint8_t>(dst, dstRB); 721 const size_t dstRB = glyph.rowBytes(); local 732 dst = SkTAddOffset<uint8_t>(dst, dstRB); 739 const size_t dstRB = glyph.rowBytes(); local 757 dst = SkTAddOffset<uint16_t>(dst, dstRB);
|
/external/skqp/src/core/ |
H A D | SkAAClip.cpp | 2148 const size_t dstRB = dstMask->fRowBytes; local 2175 dst += dstRB;
|
H A D | SkBitmap.cpp | 475 bool SkBitmap::readPixels(const SkImageInfo& requestedDstInfo, void* dstPixels, size_t dstRB, argument 481 return src.readPixels(requestedDstInfo, dstPixels, dstRB, x, y, behavior);
|
H A D | SkBlitMask_D32.cpp | 26 static void D32_LCD16_Proc(void* SK_RESTRICT dst, size_t dstRB, argument 47 dstRow = (SkPMColor*)((char*)dstRow + dstRB);
|
H A D | SkBlitter_A8.cpp | 53 const size_t dstRB = fDevice.rowBytes(); local 56 dst += dstRB; 62 const size_t dstRB = fDevice.rowBytes(); local 65 dst += dstRB; 80 const size_t dstRB = fDevice.rowBytes(); local 84 dst += dstRB;
|
H A D | SkBlitter_ARGB32.cpp | 557 const size_t dstRB = fDevice.rowBytes(); local 569 dstRow += dstRB; 577 dstRow += dstRB;
|
H A D | SkBlitter_Sprite.cpp | 84 const size_t dstRB = fDst.rowBytes(); variable 90 dst += dstRB;
|
H A D | SkConvertPixels.cpp | 56 void swizzle_and_multiply(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, argument 86 dstPixels = SkTAddOffset<void>(dstPixels, dstRB); 122 static inline void apply_color_xform(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, argument 158 dstPixels = SkTAddOffset<void>(dstPixels, dstRB); 164 static void convert_to_alpha8(uint8_t* dst, size_t dstRB, const SkImageInfo& srcInfo, argument 169 dst = SkTAddOffset<uint8_t>(dst, dstRB); 182 dst = SkTAddOffset<uint8_t>(dst, dstRB); 193 dst = SkTAddOffset<uint8_t>(dst, dstRB); 204 dst = SkTAddOffset<uint8_t>(dst, dstRB); 216 static void convert_with_pipeline(const SkImageInfo& dstInfo, void* dstRow, size_t dstRB, argument 348 SkConvertPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB, SkColorTable* ctable, SkTransferFunctionBehavior behavior) argument [all...] |
H A D | SkConvertPixels.h | 20 static inline void SkRectMemcpy(void* dst, size_t dstRB, const void* src, size_t srcRB, argument 22 SkASSERT(bytesPerRow <= dstRB); 24 if (bytesPerRow == dstRB && bytesPerRow == srcRB) { 31 dst = SkTAddOffset<void>(dst, dstRB);
|
H A D | SkPixmap.cpp | 76 bool SkPixmap::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, int x, int y, argument 82 SkReadPixelsRec rec(dstInfo, dstPixels, dstRB, x, y);
|
H A D | SkScalerContext.cpp | 233 size_t dstRB = dst.fRowBytes; local 293 dstP = (uint16_t*)((char*)dstP + dstRB); 351 int dstRB = mask.fRowBytes; local 360 dstRB = 0; // signals we need a copy 370 dstRB = 0; // signals we need a copy 382 if (0 == dstRB) { 389 dst.reset(info, mask.fImage, dstRB); 424 int dstRB = dst.fRowBytes; local 432 for (int x = width; x < dstRB; ++x) { 435 dstRow += dstRB; 514 int dstRB = origGlyph.rowBytes(); local [all...] |
H A D | SkSpriteBlitter_ARGB32.cpp | 41 size_t dstRB = fDst.rowBytes(); variable 48 dst = (uint32_t* SK_RESTRICT)((char*)dst + dstRB); 73 size_t dstRB = fDst.rowBytes(); variable 80 dst = (uint32_t* SK_RESTRICT)((char*)dst + dstRB);
|
H A D | SkSpriteBlitter_RGB565.cpp | 45 size_t dstRB = fDst.rowBytes(); variable 55 dst = (uint16_t* SK_RESTRICT)((char*)dst + dstRB); 133 size_t dstRB = fDst.rowBytes(); variable 143 dst = (uint8_t* SK_RESTRICT)((char*)dst + dstRB);
|
/external/skqp/src/effects/ |
H A D | SkBlurMask.cpp | 34 static void merge_src_with_blur(uint8_t dst[], int dstRB, argument 38 dstRB -= sw; 48 dst += dstRB;
|
H A D | SkShaderMaskFilter.cpp | 64 static void rect_memcpy(void* dst, size_t dstRB, const void* src, size_t srcRB, argument 68 dst = (char*)dst + dstRB;
|
/external/skia/src/ports/ |
H A D | SkFontHost_FreeType_common.cpp | 109 const size_t dstRB = mask.fRowBytes; local 120 dst = (uint16_t*)((char*)dst + dstRB); 129 dst = (uint16_t*)((char*)dst + dstRB); 153 dst = (uint16_t*)((char*)dst + dstRB); 171 dst = (uint16_t*)((char*)dst + dstRB);
|
H A D | SkFontHost_win.cpp | 1133 const size_t dstRB = (width + 7) >> 3; local 1134 uint8_t* SK_RESTRICT dst = (uint8_t*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB); 1169 dst -= dstRB; 1174 uint8_t* last = (uint8_t*)((char*)glyph.fImage + glyph.fHeight * dstRB - 1); 1184 const size_t dstRB = glyph.rowBytes(); local 1186 uint8_t* SK_RESTRICT dst = (uint8_t*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB); 1196 dst -= dstRB; 1203 const size_t dstRB = glyph.rowBytes(); local 1205 uint16_t* SK_RESTRICT dst = (uint16_t*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB); 1212 dst = (uint16_t*)((char*)dst - dstRB); 1260 size_t dstRB = glyph.rowBytes(); local [all...] |
H A D | SkScalerContext_win_dw.cpp | 667 const size_t dstRB = (width + 7) >> 3; local 699 dst += dstRB; 706 const size_t dstRB = glyph.rowBytes(); local 715 dst = SkTAddOffset<uint8_t>(dst, dstRB); 721 const size_t dstRB = glyph.rowBytes(); local 732 dst = SkTAddOffset<uint8_t>(dst, dstRB); 739 const size_t dstRB = glyph.rowBytes(); local 757 dst = SkTAddOffset<uint16_t>(dst, dstRB);
|
/external/skia/src/opts/ |
H A D | SkBlitMask_opts.h | 21 static void D32_A8_Opaque_Color_neon(void* SK_RESTRICT dst, size_t dstRB, argument 30 dstRB -= (width << 2); 78 device = (uint32_t*)((char*)device + dstRB); 84 static void blit_mask_d32_a8_general(SkPMColor* dst, size_t dstRB, argument 87 D32_A8_Opaque_Color_neon<true>(dst, dstRB, mask, maskRB, color, w, h); 91 static void blit_mask_d32_a8_opaque(SkPMColor* dst, size_t dstRB, argument 94 D32_A8_Opaque_Color_neon<false>(dst, dstRB, mask, maskRB, color, w, h); 98 static void blit_mask_d32_a8_black(SkPMColor* dst, size_t dstRB, argument 105 dstRB -= (width << 2); 128 device = (uint32_t*)((char*)device + dstRB); 192 blit_mask_d32_a8(SkPMColor* dst, size_t dstRB, const SkAlpha* mask, size_t maskRB, SkColor color, int w, int h) argument [all...] |