Home
last modified time | relevance | path

Searched refs:fRowBytes (Results 1 – 18 of 18) sorted by relevance

/external/skia/src/effects/
DSkBlurMask.cpp267 dst->fRowBytes = dst->fBounds.width(); in Blur()
289 build_sum_buffer(sumBuffer, sw, sh, sp, src.fRowBytes); in Blur()
307 merge_src_with_blur(dst->fImage, src.fRowBytes, in Blur()
308 sp, src.fRowBytes, in Blur()
309 dp + rx + ry*dst->fRowBytes, dst->fRowBytes, in Blur()
313 clamp_with_orig(dp + rx + ry*dst->fRowBytes, dst->fRowBytes, in Blur()
314 sp, src.fRowBytes, sw, sh, in Blur()
322 dst->fRowBytes = src.fRowBytes; in Blur()
DSkKernel33MaskFilter.cpp20 dst->fRowBytes = dst->fBounds.width(); in filterMask()
29 const int srcRB = src.fRowBytes; in filterMask()
66 dstImage += dst->fRowBytes; in filterMask()
DSkTableMaskFilter.cpp26 dst->fRowBytes = SkAlign4(dst->fBounds.width()); in filterMask()
37 int extraZeros = dst->fRowBytes - dstWidth; in filterMask()
43 srcP += src.fRowBytes; in filterMask()
DSkLayerRasterizer.cpp110 mask->fRowBytes = mask->fBounds.width(); in onRasterize()
133 …ce.setConfig(SkBitmap::kA8_Config, mask->fBounds.width(), mask->fBounds.height(), mask->fRowBytes); in onRasterize()
DSkEmbossMask.cpp112 int rowBytes = mask->fRowBytes; in Emboss()
/external/skia/include/core/
DSkBitmap.h101 int rowBytes() const { return fRowBytes; } in rowBytes()
120 int rowBytesAsPixels() const { return fRowBytes >> (fBytesPerPixel >> 1); } in rowBytesAsPixels()
130 size_t getSize() const { return fHeight * fRowBytes; } in getSize()
138 size.setMul(fHeight, fRowBytes); in getSize64()
468 uint32_t fRowBytes; variable
644 return (uint32_t*)((char*)fPixels + y * fRowBytes + (x << 2)); in getAddr32()
651 return (uint16_t*)((char*)fPixels + y * fRowBytes + (x << 1)); in getAddr16()
658 return (uint8_t*)fPixels + y * fRowBytes + x; in getAddr8()
666 return (*fColorTable)[*((const uint8_t*)fPixels + y * fRowBytes + x)]; in getIndex8Color()
674 return (uint8_t*)fPixels + y * fRowBytes + (x >> 3); in getAddr1()
DSkMask.h57 uint32_t fRowBytes; member
84 return fImage + ((x - fBounds.fLeft) >> 3) + (y - fBounds.fTop) * fRowBytes; in getAddr1()
95 return fImage + x - fBounds.fLeft + (y - fBounds.fTop) * fRowBytes; in getAddr()
105 return reinterpret_cast<const uint32_t*>(fImage + SkAlign4(fRowBytes * fBounds.height())) + in getAddrLCD()
/external/skia/src/core/
DSkBitmap.cpp35 uint32_t fRowBytes; member
138 SkTSwap<uint32_t>(fRowBytes, other.fRowBytes); in swap()
245 fRowBytes = rowBytes; in setConfig()
548 const int rowBytes = fRowBytes; in eraseARGB()
986 level[i].fRowBytes = rowBytes; in buildMipMap()
1025 mip.fWidth, mip.fHeight, mip.fRowBytes); in extractMipLevel()
1124 srcM.fRowBytes = SkAlign4(this->width()); in extractAlpha()
1136 dstM.fRowBytes = SkAlign4(dstM.fBounds.width()); in extractAlpha()
1140 srcM.fRowBytes); in extractAlpha()
1142 GetBitmapAlpha(*this, dst->getAddr8(0, 0), srcM.fRowBytes); in extractAlpha()
[all …]
DSkScan_AntiPath.cpp233 fMask.fRowBytes = ir.width(); in MaskSuperBlitter()
241 memset(fStorage, 0, fMask.fBounds.height() * fMask.fRowBytes + 1); in MaskSuperBlitter()
316 uint8_t* row = fMask.fImage + iy * fMask.fRowBytes + (x >> SHIFT); in blitH()
DSkMask.cpp34 return safeMul32(fBounds.height(), fRowBytes); in computeImageSize()
DSkBlitter_ARGB32.cpp168 unsigned maskRB = mask.fRowBytes - width; in blitMask()
233 unsigned maskRB = mask.fRowBytes - width; in blitMask()
348 unsigned maskRB = mask.fRowBytes - width; in blitMask()
DSkBlitBWMaskTemplate.h41 unsigned mask_rowBytes = srcMask.fRowBytes; in SK_BLITBWMASK_NAME()
DSkBlitter_A8.cpp188 alpha += mask.fRowBytes; in blitMask()
384 alpha += mask.fRowBytes; in blitMask()
DSkDraw.cpp943 mask.fRowBytes = bitmap.rowBytes(); in drawBitmapAsMask()
968 mask.fRowBytes = SkAlign4(mask.fBounds.width()); in drawBitmapAsMask()
984 mask.fBounds.height(), mask.fRowBytes); in drawBitmapAsMask()
1315 mask.fRowBytes = glyph.rowBytes(); in D1G_NoBounder_RectClip()
1345 mask.fRowBytes = glyph.rowBytes(); in D1G_NoBounder_RgnClip()
1382 mask.fRowBytes = glyph.rowBytes(); in D1G_Bounder()
2469 bm.setConfig(SkBitmap::kA8_Config, mask.fBounds.width(), mask.fBounds.height(), mask.fRowBytes); in draw_into_mask()
2494 mask->fRowBytes = mask->fBounds.width(); in DrawToMask()
DSkScalerContext.cpp44 mask->fRowBytes = this->rowBytes(); in toMask()
472 int srcRB = dstM.fRowBytes; in getImage()
DSkBlitter_RGB16.cpp216 unsigned maskRB = mask.fRowBytes - width; in blitMask()
387 unsigned maskRB = mask.fRowBytes - width; in blitMask()
647 unsigned maskRB = mask.fRowBytes - width; in blitMask()
DSkBlitter.cpp117 int mask_rowBytes = mask.fRowBytes; in blitMask()
192 aa += mask.fRowBytes; in blitMask()
DSkBlitter_4444.cpp364 unsigned maskRB = mask.fRowBytes - width; in blitMask()