Searched defs:dstRB (Results 1 - 25 of 25) sorted by relevance

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

Completed in 5902 milliseconds