Home
last modified time | relevance | path

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

123

/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.h115 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/
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/effects/
DSkStippleMaskFilter.cpp21 dst->fRowBytes = dst->fBounds.width(); in filterMask()
40 scanline += dst->fRowBytes; in filterMask()
41 srcScanLine += src.fRowBytes; in filterMask()
DSkTableMaskFilter.cpp32 dst->fRowBytes = SkAlign4(dst->fBounds.width()); in filterMask()
43 int extraZeros = dst->fRowBytes - dstWidth; in filterMask()
49 srcP += src.fRowBytes; in filterMask()
DSkKernel33MaskFilter.cpp28 dst->fRowBytes = dst->fBounds.width(); in filterMask()
37 const int srcRB = src.fRowBytes; in filterMask()
72 dstImage += dst->fRowBytes; in filterMask()
DSkBlurMask.cpp897 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 …]
DSkBlurMaskFilter.cpp113 mask->fRowBytes = SkAlign4(mask->fBounds.width()); in drawRectsIntoMask()
125 mask->fRowBytes); in drawRectsIntoMask()
179 srcM.fRowBytes = 0; in filterRectsToNine()
DSkLayerRasterizer.cpp102 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/
DSkBitmap.cpp33 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 …]
DSkMask.cpp25 return safeMul32(fBounds.height(), fRowBytes); in computeImageSize()
73 addr += (y - fBounds.fTop) * fRowBytes; in getAddr()
DSkMaskFilter.cpp29 dst->fImage = src.fImage + dy * src.fRowBytes + dx; in extractMaskSubset()
30 dst->fRowBytes = src.fRowBytes; in extractMaskSubset()
270 srcM.fRowBytes = 0; in computeFastBounds()
DSkScalerContext.cpp33 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/
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()
/external/skia/legacy/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()
/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()
297 expected.fRowBytes = 4; in test_path_with_hole()
/external/skia/src/ports/
DSkFontHost_ascender.cpp150 glyph->fRowBytes = rec.width; in generateMetrics()
173 dst += glyph.fRowBytes; in generateImage()
/external/skia/legacy/src/ports/
DSkFontHost_ascender.cpp150 glyph->fRowBytes = rec.width; in generateMetrics()
173 dst += glyph.fRowBytes; in generateImage()

123