/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 | 115 int rowBytes() const { return fRowBytes; } in rowBytes() 134 int rowBytesAsPixels() const { return fRowBytes >> (fBytesPerPixel >> 1); } in rowBytesAsPixels() 144 size_t getSize() const { return fHeight * fRowBytes; } in getSize() 158 size.setMul(fHeight, fRowBytes); in getSize64() 659 uint32_t fRowBytes; variable 767 return (uint32_t*)((char*)fPixels + y * fRowBytes + (x << 2)); in getAddr32() 774 return (uint16_t*)((char*)fPixels + y * fRowBytes + (x << 1)); in getAddr16() 781 return (uint8_t*)fPixels + y * fRowBytes + x; in getAddr8() 789 return (*fColorTable)[*((const uint8_t*)fPixels + y * fRowBytes + x)]; in getIndex8Color() 797 return (uint8_t*)fPixels + y * fRowBytes + (x >> 3); in getAddr1()
|
/external/skia/legacy/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/effects/ |
D | SkStippleMaskFilter.cpp | 21 dst->fRowBytes = dst->fBounds.width(); in filterMask() 40 scanline += dst->fRowBytes; in filterMask() 41 srcScanLine += src.fRowBytes; in filterMask()
|
D | SkTableMaskFilter.cpp | 32 dst->fRowBytes = SkAlign4(dst->fBounds.width()); in filterMask() 43 int extraZeros = dst->fRowBytes - dstWidth; in filterMask() 49 srcP += src.fRowBytes; in filterMask()
|
D | SkKernel33MaskFilter.cpp | 28 dst->fRowBytes = dst->fBounds.width(); in filterMask() 37 const int srcRB = src.fRowBytes; in filterMask() 72 dstImage += dst->fRowBytes; in filterMask()
|
D | SkBlurMask.cpp | 897 dst->fRowBytes = dst->fBounds.width(); in Blur() 925 w = boxBlur(sp, src.fRowBytes, tp, loRadius, hiRadius, w, h, false); in Blur() 933 w = boxBlur(sp, src.fRowBytes, tp, rx, rx, w, h, true); in Blur() 939 w = boxBlurInterp(sp, src.fRowBytes, tp, rx, w, h, false, outer_weight); in Blur() 947 w = boxBlurInterp(sp, src.fRowBytes, tp, rx, w, h, true, outer_weight); in Blur() 958 build_sum_buffer(sumBuffer, sw, sh, sp, src.fRowBytes); in Blur() 999 merge_src_with_blur(dst->fImage, src.fRowBytes, in Blur() 1000 sp, src.fRowBytes, in Blur() 1001 dp + passCount * (rx + ry * dst->fRowBytes), in Blur() 1002 dst->fRowBytes, sw, sh); in Blur() [all …]
|
D | SkBlurMaskFilter.cpp | 113 mask->fRowBytes = SkAlign4(mask->fBounds.width()); in drawRectsIntoMask() 125 mask->fRowBytes); in drawRectsIntoMask() 179 srcM.fRowBytes = 0; in filterRectsToNine()
|
D | SkLayerRasterizer.cpp | 102 mask->fRowBytes = mask->fBounds.width(); in onRasterize() 124 …ce.setConfig(SkBitmap::kA8_Config, mask->fBounds.width(), mask->fBounds.height(), mask->fRowBytes); in onRasterize()
|
/external/skia/src/core/ |
D | SkBitmap.cpp | 33 uint32_t fRowBytes; member 142 SkTSwap(fRowBytes, other.fRowBytes); in swap() 286 fRowBytes = rowBytes; in setConfig() 459 return (fHeight ? ((fHeight - 1) * fRowBytes) + in getSafeSize() 464 return ComputeSafeSize64(getConfig(), fWidth, fHeight, fRowBytes); in getSafeSize64() 471 dstRowBytes = fRowBytes; in copyPixelsTo() 479 if (!preserveDstPad && static_cast<uint32_t>(dstRowBytes) == fRowBytes) { in copyPixelsTo() 504 row++, srcP += fRowBytes, dstP += dstRowBytes) { in copyPixelsTo() 765 const int rowBytes = fRowBytes; in eraseARGB() 1134 rowBytes = fRowBytes; in deepCopyTo() [all …]
|
D | SkMask.cpp | 25 return safeMul32(fBounds.height(), fRowBytes); in computeImageSize() 73 addr += (y - fBounds.fTop) * fRowBytes; in getAddr()
|
D | SkMaskFilter.cpp | 29 dst->fImage = src.fImage + dy * src.fRowBytes + dx; in extractMaskSubset() 30 dst->fRowBytes = src.fRowBytes; in extractMaskSubset() 270 srcM.fRowBytes = 0; in computeFastBounds()
|
D | SkScalerContext.cpp | 33 mask->fRowBytes = this->rowBytes(); in toMask() 370 unsigned rowBytes = mask.fRowBytes; in applyLUTToA8Mask() 389 size_t dstRB = dst.fRowBytes; in pack3xHToLCD16() 412 size_t dstRB = dst.fRowBytes; in pack3xHToLCD32() 435 int dstRB = mask.fRowBytes; in generateMask() 573 int srcRB = dstM.fRowBytes; in getImage()
|
/external/skia/legacy/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()
|
/external/skia/legacy/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()
|
/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() 297 expected.fRowBytes = 4; in test_path_with_hole()
|
/external/skia/src/ports/ |
D | SkFontHost_ascender.cpp | 150 glyph->fRowBytes = rec.width; in generateMetrics() 173 dst += glyph.fRowBytes; in generateImage()
|
/external/skia/legacy/src/ports/ |
D | SkFontHost_ascender.cpp | 150 glyph->fRowBytes = rec.width; in generateMetrics() 173 dst += glyph.fRowBytes; in generateImage()
|