/external/skia/include/core/ |
D | SkMask.h | 35 uint32_t fRowBytes; member 62 return fImage + ((x - fBounds.fLeft) >> 3) + (y - fBounds.fTop) * fRowBytes; in getAddr1() 73 return fImage + x - fBounds.fLeft + (y - fBounds.fTop) * fRowBytes; in getAddr8() 85 uint16_t* row = (uint16_t*)(fImage + (y - fBounds.fTop) * fRowBytes); in getAddrLCD16() 98 uint32_t* row = (uint32_t*)(fImage + (y - fBounds.fTop) * fRowBytes); in getAddrLCD32()
|
D | SkBitmap.h | 110 int rowBytes() const { return fRowBytes; } in rowBytes() 129 int rowBytesAsPixels() const { return fRowBytes >> (fBytesPerPixel >> 1); } in rowBytesAsPixels() 139 size_t getSize() const { return fHeight * fRowBytes; } in getSize() 153 size.setMul(fHeight, fRowBytes); in getSize64() 620 uint32_t fRowBytes; variable 817 return (uint32_t*)((char*)fPixels + y * fRowBytes + (x << 2)); in getAddr32() 824 return (uint16_t*)((char*)fPixels + y * fRowBytes + (x << 1)); in getAddr16() 831 return (uint8_t*)fPixels + y * fRowBytes + x; in getAddr8() 839 return (*fColorTable)[*((const uint8_t*)fPixels + y * fRowBytes + x)]; in getIndex8Color() 847 return (uint8_t*)fPixels + y * fRowBytes + (x >> 3); in getAddr1()
|
/external/skia/src/core/ |
D | SkBitmap.cpp | 31 uint32_t fRowBytes; member 141 SkTSwap(fRowBytes, other.fRowBytes); in swap() 272 fRowBytes = rowBytes; in setConfig() 452 return (fHeight ? ((fHeight - 1) * fRowBytes) + in getSafeSize() 457 return ComputeSafeSize64(getConfig(), fWidth, fHeight, fRowBytes); in getSafeSize64() 464 dstRowBytes = fRowBytes; in copyPixelsTo() 472 if (!preserveDstPad && static_cast<uint32_t>(dstRowBytes) == fRowBytes) { in copyPixelsTo() 497 row++, srcP += fRowBytes, dstP += dstRowBytes) { in copyPixelsTo() 683 const int rowBytes = fRowBytes; in eraseARGB() 1163 level[i].fRowBytes = rowBytes; in buildMipMap() [all …]
|
D | SkMask.cpp | 25 return safeMul32(fBounds.height(), fRowBytes); in computeImageSize() 73 addr += (y - fBounds.fTop) * fRowBytes; in getAddr()
|
D | SkScalerContext.cpp | 29 mask->fRowBytes = this->rowBytes(); in toMask() 379 size_t dstRB = dst.fRowBytes; in copyToLCD16() 414 size_t dstRB = dst.fRowBytes; in pack3xHToLCD16() 434 size_t dstRB = dst.fRowBytes; in pack3xHToLCD32() 456 int dstRB = mask.fRowBytes; in generateMask() 577 int srcRB = dstM.fRowBytes; in getImage()
|
D | SkMaskFilter.cpp | 64 srcM.fRowBytes = 0; in computeFastBounds()
|
D | SkBlitBWMaskTemplate.h | 33 unsigned mask_rowBytes = srcMask.fRowBytes; in SK_BLITBWMASK_NAME()
|
D | SkScan_AntiPath.cpp | 428 fMask.fRowBytes = ir.width(); in MaskSuperBlitter() 436 memset(fStorage, 0, fMask.fBounds.height() * fMask.fRowBytes + 1); in MaskSuperBlitter() 539 uint8_t* row = fMask.fImage + iy * fMask.fRowBytes + (x >> SHIFT); in blitH()
|
D | SkAAClip.cpp | 1764 mask->fRowBytes = 0; in copyToMask() 1769 mask->fRowBytes = fBounds.width(); in copyToMask() 1781 dst += mask->fRowBytes; in copyToMask() 2063 const size_t srcRB = srcMask.fRowBytes; in upscaleBW2A8() 2065 const size_t dstRB = dstMask->fRowBytes; in upscaleBW2A8() 2112 grayMask.fRowBytes = origMask.fBounds.width(); in blitMask() 2127 const size_t srcRB = mask->fRowBytes; in blitMask() 2135 rowMask.fRowBytes = mask->fRowBytes; // doesn't matter, since our height==1 in blitMask()
|
D | SkBlitter_A8.cpp | 170 alpha += mask.fRowBytes; in blitMask() 343 alpha += mask.fRowBytes; in blitMask()
|
D | SkBlitter_ARGB32.cpp | 37 srcRow = (const SkPMColor*)((const char*)srcRow + mask.fRowBytes); in SkARGB32_Blit32() 406 const size_t maskRB = mask.fRowBytes; in blitMask()
|
D | SkDraw.cpp | 1049 mask.fRowBytes = bitmap.rowBytes(); in drawBitmapAsMask() 1074 mask.fRowBytes = SkAlign4(mask.fBounds.width()); in drawBitmapAsMask() 1090 mask.fBounds.height(), mask.fRowBytes); in drawBitmapAsMask() 1378 mask.fRowBytes = glyph.rowBytes(); in D1G_NoBounder_RectClip() 1411 mask.fRowBytes = glyph.rowBytes(); in D1G_NoBounder_RgnClip() 1451 mask.fRowBytes = glyph.rowBytes(); in D1G_Bounder() 2598 bm.setConfig(SkBitmap::kA8_Config, mask.fBounds.width(), mask.fBounds.height(), mask.fRowBytes); in draw_into_mask() 2624 mask->fRowBytes = mask->fBounds.width(); in DrawToMask()
|
D | SkBlitter_RGB16.cpp | 215 unsigned maskRB = mask.fRowBytes - width; in blitMask() 385 unsigned maskRB = mask.fRowBytes - width; in blitMask() 645 unsigned maskRB = mask.fRowBytes - width; in blitMask()
|
D | SkBlitter.cpp | 114 int mask_rowBytes = mask.fRowBytes; in blitMask() 177 aa += mask.fRowBytes; in blitMask()
|
D | SkBlitter_4444.cpp | 341 unsigned maskRB = mask.fRowBytes - width; in blitMask()
|
/external/skia/src/effects/ |
D | SkBlurMask.cpp | 587 dst->fRowBytes = dst->fBounds.width(); in Blur() 612 build_sum_buffer(sumBuffer, sw, sh, sp, src.fRowBytes); in Blur() 653 merge_src_with_blur(dst->fImage, src.fRowBytes, in Blur() 654 sp, src.fRowBytes, in Blur() 655 dp + passCount * (rx + ry * dst->fRowBytes), in Blur() 656 dst->fRowBytes, sw, sh); in Blur() 659 clamp_with_orig(dp + passCount * (rx + ry * dst->fRowBytes), in Blur() 660 dst->fRowBytes, sp, src.fRowBytes, sw, sh, style); in Blur() 667 dst->fRowBytes = src.fRowBytes; in Blur()
|
D | SkKernel33MaskFilter.cpp | 27 dst->fRowBytes = dst->fBounds.width(); in filterMask() 36 const int srcRB = src.fRowBytes; in filterMask() 71 dstImage += dst->fRowBytes; in filterMask()
|
D | SkTableMaskFilter.cpp | 35 dst->fRowBytes = SkAlign4(dst->fBounds.width()); in filterMask() 46 int extraZeros = dst->fRowBytes - dstWidth; in filterMask() 52 srcP += src.fRowBytes; in filterMask()
|
D | SkLayerRasterizer.cpp | 100 mask->fRowBytes = mask->fBounds.width(); in onRasterize() 122 …ce.setConfig(SkBitmap::kA8_Config, mask->fBounds.width(), mask->fBounds.height(), mask->fRowBytes); in onRasterize()
|
D | SkEmbossMask.cpp | 99 int rowBytes = mask->fRowBytes; in Emboss()
|
/external/skia/tests/ |
D | AAClipTest.cpp | 64 mask->fRowBytes = 0; in copyToMask() 70 mask->fRowBytes = mask->fBounds.width(); in copyToMask() 76 mask->fBounds.height(), mask->fRowBytes); in copyToMask() 295 expected.fRowBytes = 4; in test_path_with_hole()
|
/external/skia/samplecode/ |
D | SampleAAClip2.cpp | 32 mask.fBounds.height(), mask.fRowBytes); in drawClip() 51 mask.fBounds.height(), mask.fRowBytes); in paint_rgn()
|
D | SampleStrokePath.cpp | 56 src.fRowBytes = src.fBounds.width(); 71 dstPtr += dst.fRowBytes;
|
D | SampleAAClip.cpp | 50 mask.fBounds.height(), mask.fRowBytes); in drawClip()
|
/external/skia/src/ports/ |
D | SkFontHost_ascender.cpp | 150 glyph->fRowBytes = rec.width; in generateMetrics() 173 dst += glyph.fRowBytes; in generateImage()
|