Home
last modified time | relevance | path

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

12

/external/skia/include/core/
DSkMask.h35 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()
DSkBitmap.h110 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/
DSkBitmap.cpp31 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 …]
DSkMask.cpp25 return safeMul32(fBounds.height(), fRowBytes); in computeImageSize()
73 addr += (y - fBounds.fTop) * fRowBytes; in getAddr()
DSkScalerContext.cpp29 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()
DSkMaskFilter.cpp64 srcM.fRowBytes = 0; in computeFastBounds()
DSkBlitBWMaskTemplate.h33 unsigned mask_rowBytes = srcMask.fRowBytes; in SK_BLITBWMASK_NAME()
DSkScan_AntiPath.cpp428 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()
DSkAAClip.cpp1764 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()
DSkBlitter_A8.cpp170 alpha += mask.fRowBytes; in blitMask()
343 alpha += mask.fRowBytes; in blitMask()
DSkBlitter_ARGB32.cpp37 srcRow = (const SkPMColor*)((const char*)srcRow + mask.fRowBytes); in SkARGB32_Blit32()
406 const size_t maskRB = mask.fRowBytes; in blitMask()
DSkDraw.cpp1049 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()
DSkBlitter_RGB16.cpp215 unsigned maskRB = mask.fRowBytes - width; in blitMask()
385 unsigned maskRB = mask.fRowBytes - width; in blitMask()
645 unsigned maskRB = mask.fRowBytes - width; in blitMask()
DSkBlitter.cpp114 int mask_rowBytes = mask.fRowBytes; in blitMask()
177 aa += mask.fRowBytes; in blitMask()
DSkBlitter_4444.cpp341 unsigned maskRB = mask.fRowBytes - width; in blitMask()
/external/skia/src/effects/
DSkBlurMask.cpp587 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()
DSkKernel33MaskFilter.cpp27 dst->fRowBytes = dst->fBounds.width(); in filterMask()
36 const int srcRB = src.fRowBytes; in filterMask()
71 dstImage += dst->fRowBytes; in filterMask()
DSkTableMaskFilter.cpp35 dst->fRowBytes = SkAlign4(dst->fBounds.width()); in filterMask()
46 int extraZeros = dst->fRowBytes - dstWidth; in filterMask()
52 srcP += src.fRowBytes; in filterMask()
DSkLayerRasterizer.cpp100 mask->fRowBytes = mask->fBounds.width(); in onRasterize()
122 …ce.setConfig(SkBitmap::kA8_Config, mask->fBounds.width(), mask->fBounds.height(), mask->fRowBytes); in onRasterize()
DSkEmbossMask.cpp99 int rowBytes = mask->fRowBytes; in Emboss()
/external/skia/tests/
DAAClipTest.cpp64 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/
DSampleAAClip2.cpp32 mask.fBounds.height(), mask.fRowBytes); in drawClip()
51 mask.fBounds.height(), mask.fRowBytes); in paint_rgn()
DSampleStrokePath.cpp56 src.fRowBytes = src.fBounds.width();
71 dstPtr += dst.fRowBytes;
DSampleAAClip.cpp50 mask.fBounds.height(), mask.fRowBytes); in drawClip()
/external/skia/src/ports/
DSkFontHost_ascender.cpp150 glyph->fRowBytes = rec.width; in generateMetrics()
173 dst += glyph.fRowBytes; in generateImage()

12