Home
last modified time | relevance | path

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

12345

/external/skqp/src/core/
DSkBlurMask.cpp121 dst->fRowBytes = dst->fBounds.width(); in BoxBlur()
146 dst->fRowBytes = dst->fBounds.width(); in BoxBlur()
155 auto dstStart = &dst->fImage[border.x() + border.y() * dst->fRowBytes]; in BoxBlur()
159 dstStart, dst->fRowBytes, in BoxBlur()
160 SkMask::AlphaIter<SkMask::kBW_Format>(src.fImage, 0), src.fRowBytes, in BoxBlur()
165 dstStart, dst->fRowBytes, in BoxBlur()
166 SkMask::AlphaIter<SkMask::kA8_Format>(src.fImage), src.fRowBytes, in BoxBlur()
172 dstStart, dst->fRowBytes, in BoxBlur()
173 SkMask::AlphaIter<SkMask::kARGB32_Format>(srcARGB), src.fRowBytes, in BoxBlur()
179 dstStart, dst->fRowBytes, in BoxBlur()
[all …]
DSkWritePixelsRec.h19 , fRowBytes(rowBytes) in SkWritePixelsRec()
27 , fRowBytes(pm.rowBytes()) in SkWritePixelsRec()
34 size_t fRowBytes; member
DSkMask.cpp26 return safeMul32(fBounds.height(), fRowBytes); in computeImageSize()
67 dst.fRowBytes = 0; in PrepareDestination()
72 dst.fRowBytes = SkTo<uint32_t>(dstW); in PrepareDestination()
111 addr += (y - fBounds.fTop) * fRowBytes; in getAddr()
DSkImageInfo.cpp103 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim()
126 fPixels = ((char*)fPixels + -y*fRowBytes + -x*fInfo.bytesPerPixel()); in trim()
140 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim()
163 fPixels = ((const char*)fPixels + -y*fRowBytes + -x*fInfo.bytesPerPixel()); in trim()
DSkMask.h40 uint32_t fRowBytes; member
67 return fImage + ((x - fBounds.fLeft) >> 3) + (y - fBounds.fTop) * fRowBytes; in getAddr1()
78 return fImage + x - fBounds.fLeft + (y - fBounds.fTop) * fRowBytes; in getAddr8()
90 uint16_t* row = (uint16_t*)(fImage + (y - fBounds.fTop) * fRowBytes); in getAddrLCD16()
103 uint32_t* row = (uint32_t*)(fImage + (y - fBounds.fTop) * fRowBytes); in getAddr32()
DSkPixmap.cpp35 fRowBytes = 0; in reset()
44 fRowBytes = rowBytes; in reset()
51 src.fImage, src.fRowBytes); in reset()
77 pixels = (const uint8_t*)fPixels + r.fTop * fRowBytes + r.fLeft * bpp; in extractSubset()
79 result->reset(fInfo.makeWH(r.width(), r.height()), pixels, fRowBytes); in extractSubset()
147 SkConvertPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, srcInfo, srcPixels, this->rowBytes()); in readPixels()
309 (const uint64_t*)fPixels + y * (fRowBytes >> 3) + x; in getColor()
322 (const float*)fPixels + 4*y*(fRowBytes >> 4) + 4*x; in getColor()
DSkBitmap.cpp316 mask.fImage, mask.fRowBytes); in installMaskPixels()
478 SkConvertPixels(dstInfo, dstPixels, this->rowBytes(), rec.fInfo, rec.fPixels, rec.fRowBytes); in writePixels()
518 srcM.fRowBytes = SkAlign4(this->width()); in extractAlpha()
529 dstM.fRowBytes = SkAlign4(dstM.fBounds.width()); in extractAlpha()
532 tmpBitmap.setInfo(SkImageInfo::MakeA8(this->width(), this->height()), srcM.fRowBytes); in extractAlpha()
539 GetBitmapAlpha(*this, tmpBitmap.getAddr8(0, 0), srcM.fRowBytes); in extractAlpha()
549 GetBitmapAlpha(*this, srcM.fImage, srcM.fRowBytes); in extractAlpha()
556 dstM.fRowBytes); in extractAlpha()
/external/skia/src/core/
DSkBlurMask.cpp121 dst->fRowBytes = dst->fBounds.width(); in BoxBlur()
146 dst->fRowBytes = dst->fBounds.width(); in BoxBlur()
155 auto dstStart = &dst->fImage[border.x() + border.y() * dst->fRowBytes]; in BoxBlur()
159 dstStart, dst->fRowBytes, in BoxBlur()
160 SkMask::AlphaIter<SkMask::kBW_Format>(src.fImage, 0), src.fRowBytes, in BoxBlur()
165 dstStart, dst->fRowBytes, in BoxBlur()
166 SkMask::AlphaIter<SkMask::kA8_Format>(src.fImage), src.fRowBytes, in BoxBlur()
172 dstStart, dst->fRowBytes, in BoxBlur()
173 SkMask::AlphaIter<SkMask::kARGB32_Format>(srcARGB), src.fRowBytes, in BoxBlur()
179 dstStart, dst->fRowBytes, in BoxBlur()
[all …]
DSkWritePixelsRec.h19 , fRowBytes(rowBytes) in SkWritePixelsRec()
27 , fRowBytes(pm.rowBytes()) in SkWritePixelsRec()
34 size_t fRowBytes; member
DSkMask.cpp26 return safeMul32(fBounds.height(), fRowBytes); in computeImageSize()
67 dst.fRowBytes = 0; in PrepareDestination()
72 dst.fRowBytes = SkTo<uint32_t>(dstW); in PrepareDestination()
111 addr += (y - fBounds.fTop) * fRowBytes; in getAddr()
DSkImageInfo.cpp105 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim()
128 fPixels = ((char*)fPixels + -y*fRowBytes + -x*fInfo.bytesPerPixel()); in trim()
142 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim()
165 fPixels = ((const char*)fPixels + -y*fRowBytes + -x*fInfo.bytesPerPixel()); in trim()
DSkMask.h40 uint32_t fRowBytes; member
67 return fImage + ((x - fBounds.fLeft) >> 3) + (y - fBounds.fTop) * fRowBytes; in getAddr1()
78 return fImage + x - fBounds.fLeft + (y - fBounds.fTop) * fRowBytes; in getAddr8()
90 uint16_t* row = (uint16_t*)(fImage + (y - fBounds.fTop) * fRowBytes); in getAddrLCD16()
103 uint32_t* row = (uint32_t*)(fImage + (y - fBounds.fTop) * fRowBytes); in getAddr32()
DSkPixmap.cpp35 fRowBytes = 0; in reset()
44 fRowBytes = rowBytes; in reset()
51 src.fImage, src.fRowBytes); in reset()
77 pixels = (const uint8_t*)fPixels + r.fTop * fRowBytes + r.fLeft * bpp; in extractSubset()
79 result->reset(fInfo.makeWH(r.width(), r.height()), pixels, fRowBytes); in extractSubset()
148 SkConvertPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, srcInfo, srcPixels, this->rowBytes()); in readPixels()
311 (const uint64_t*)fPixels + y * (fRowBytes >> 3) + x; in getColor()
324 (const float*)fPixels + 4*y*(fRowBytes >> 4) + 4*x; in getColor()
DSkBitmap.cpp348 mask.fImage, mask.fRowBytes); in installMaskPixels()
510 SkConvertPixels(dstInfo, dstPixels, this->rowBytes(), rec.fInfo, rec.fPixels, rec.fRowBytes); in writePixels()
550 srcM.fRowBytes = SkAlign4(this->width()); in extractAlpha()
561 dstM.fRowBytes = SkAlign4(dstM.fBounds.width()); in extractAlpha()
564 tmpBitmap.setInfo(SkImageInfo::MakeA8(this->width(), this->height()), srcM.fRowBytes); in extractAlpha()
571 GetBitmapAlpha(*this, tmpBitmap.getAddr8(0, 0), srcM.fRowBytes); in extractAlpha()
581 GetBitmapAlpha(*this, srcM.fImage, srcM.fRowBytes); in extractAlpha()
588 dstM.fRowBytes); in extractAlpha()
/external/skia/include/core/
DSkPixmap.h51 : fPixels(nullptr), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0)) in SkPixmap()
73 : fPixels(addr), fRowBytes(rowBytes), fInfo(info) in SkPixmap()
139 size_t rowBytes() const { return fRowBytes; } in rowBytes()
217 int rowBytesAsPixels() const { return int(fRowBytes >> this->shiftPerPixel()); } in rowBytesAsPixels()
234 size_t computeByteSize() const { return fInfo.computeByteSize(fRowBytes); } in computeByteSize()
295 return (const char*)fPixels + fInfo.computeOffset(x, y, fRowBytes); in addr()
381 return (const uint8_t*)((const char*)this->addr8() + y * fRowBytes + (x << 0)); in addr8()
399 return (const uint16_t*)((const char*)this->addr16() + y * fRowBytes + (x << 1)); in addr16()
417 return (const uint32_t*)((const char*)this->addr32() + y * fRowBytes + (x << 2)); in addr32()
435 return (const uint64_t*)((const char*)this->addr64() + y * fRowBytes + (x << 3)); in addr64()
[all …]
/external/skqp/include/core/
DSkPixmap.h51 : fPixels(nullptr), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0)) in SkPixmap()
73 : fPixels(addr), fRowBytes(rowBytes), fInfo(info) in SkPixmap()
139 size_t rowBytes() const { return fRowBytes; } in rowBytes()
207 int rowBytesAsPixels() const { return int(fRowBytes >> this->shiftPerPixel()); } in rowBytesAsPixels()
224 size_t computeByteSize() const { return fInfo.computeByteSize(fRowBytes); } in computeByteSize()
285 return (const char*)fPixels + fInfo.computeOffset(x, y, fRowBytes); in addr()
370 return (const uint8_t*)((const char*)this->addr8() + y * fRowBytes + (x << 0)); in addr8()
388 return (const uint16_t*)((const char*)this->addr16() + y * fRowBytes + (x << 1)); in addr16()
406 return (const uint32_t*)((const char*)this->addr32() + y * fRowBytes + (x << 2)); in addr32()
424 return (const uint64_t*)((const char*)this->addr64() + y * fRowBytes + (x << 3)); in addr64()
[all …]
/external/skia/src/image/
DSkReadPixelsRec.h19 , fRowBytes(rowBytes) in SkReadPixelsRec()
27 , fRowBytes(pm.rowBytes()) in SkReadPixelsRec()
34 size_t fRowBytes; member
DSkSurface_Raster.cpp32 size_t fRowBytes; member in SkSurface_Raster
76 fRowBytes = 0; // don't need to track the rowbytes in SkSurface_Raster()
85 fRowBytes = pr->rowBytes(); // we track this, so that subsequent re-allocs will match in SkSurface_Raster()
153 SkASSERT(fBitmap.rowBytes() == fRowBytes); // be sure we always use the same value in onCopyOnWrite()
/external/skqp/src/image/
DSkReadPixelsRec.h19 , fRowBytes(rowBytes) in SkReadPixelsRec()
27 , fRowBytes(pm.rowBytes()) in SkReadPixelsRec()
34 size_t fRowBytes; member
DSkSurface_Raster.cpp32 size_t fRowBytes; member in SkSurface_Raster
76 fRowBytes = 0; // don't need to track the rowbytes in SkSurface_Raster()
85 fRowBytes = pr->rowBytes(); // we track this, so that subsequent re-allocs will match in SkSurface_Raster()
153 SkASSERT(fBitmap.rowBytes() == fRowBytes); // be sure we always use the same value in onCopyOnWrite()
/external/skqp/src/gpu/text/
DGrSDFMaskFilter.cpp72 src.fRowBytes); in filterMask()
76 src.fRowBytes); in filterMask()
80 src.fRowBytes); in filterMask()
/external/skia/src/gpu/text/
DGrSDFMaskFilter.cpp72 src.fRowBytes); in filterMask()
76 src.fRowBytes); in filterMask()
80 src.fRowBytes); in filterMask()
/external/skia/src/effects/
DSkShaderMaskFilter.cpp76 dst->fRowBytes = src.fBounds.width(); // need alignment? in filterMask()
90 rect_memcpy(dst->fImage, dst->fRowBytes, src.fImage, src.fRowBytes, in filterMask()
DSkTableMaskFilter.cpp55 dst->fRowBytes = SkAlign4(dst->fBounds.width()); in filterMask()
66 int extraZeros = dst->fRowBytes - dstWidth; in filterMask()
72 srcP += src.fRowBytes; in filterMask()
/external/skqp/src/effects/
DSkShaderMaskFilter.cpp76 dst->fRowBytes = src.fBounds.width(); // need alignment? in filterMask()
90 rect_memcpy(dst->fImage, dst->fRowBytes, src.fImage, src.fRowBytes, in filterMask()

12345