Home
last modified time | relevance | path

Searched refs:fRowBytes (Results 1 – 25 of 119) 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.h20 , fRowBytes(rowBytes) in SkWritePixelsRec()
28 , fRowBytes(pm.rowBytes()) in SkWritePixelsRec()
35 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.cpp129 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim()
152 fPixels = ((char*)fPixels + -y*fRowBytes + -x*fInfo.bytesPerPixel()); in trim()
166 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim()
189 fPixels = ((const char*)fPixels + -y*fRowBytes + -x*fInfo.bytesPerPixel()); in trim()
DSkMask.h40 uint32_t fRowBytes; member
69 return fImage + ((x - fBounds.fLeft) >> 3) + (y - fBounds.fTop) * fRowBytes; in getAddr1()
80 return fImage + x - fBounds.fLeft + (y - fBounds.fTop) * fRowBytes; in getAddr8()
92 uint16_t* row = (uint16_t*)(fImage + (y - fBounds.fTop) * fRowBytes); in getAddrLCD16()
105 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.makeDimensions(r.size()), pixels, fRowBytes); in extractSubset()
169 SkConvertPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, srcInfo, srcPixels, this->rowBytes()); in readPixels()
387 (const uint64_t*)fPixels + y * (fRowBytes >> 3) + x; in getColor()
400 (const float*)fPixels + 4*y*(fRowBytes >> 4) + 4*x; in getColor()
DSkBitmap.cpp334 mask.fImage, mask.fRowBytes); in installMaskPixels()
496 SkConvertPixels(dstInfo, dstPixels, this->rowBytes(), rec.fInfo, rec.fPixels, rec.fRowBytes); in writePixels()
536 srcM.fRowBytes = SkAlign4(this->width()); in extractAlpha()
547 dstM.fRowBytes = SkAlign4(dstM.fBounds.width()); in extractAlpha()
550 tmpBitmap.setInfo(SkImageInfo::MakeA8(this->width(), this->height()), srcM.fRowBytes); in extractAlpha()
557 GetBitmapAlpha(*this, tmpBitmap.getAddr8(0, 0), srcM.fRowBytes); in extractAlpha()
567 GetBitmapAlpha(*this, srcM.fImage, srcM.fRowBytes); in extractAlpha()
574 dstM.fRowBytes); in extractAlpha()
/external/skia/include/core/
DSkPixmap.h41 : fPixels(nullptr), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0)) in SkPixmap()
63 : fPixels(addr), fRowBytes(rowBytes), fInfo(info) in SkPixmap()
135 size_t rowBytes() const { return fRowBytes; } in rowBytes()
204 int rowBytesAsPixels() const { return int(fRowBytes >> this->shiftPerPixel()); } in rowBytesAsPixels()
221 size_t computeByteSize() const { return fInfo.computeByteSize(fRowBytes); } in computeByteSize()
286 return (const char*)fPixels + fInfo.computeOffset(x, y, fRowBytes); in addr()
372 return (const uint8_t*)((const char*)this->addr8() + y * fRowBytes + (x << 0)); in addr8()
390 return (const uint16_t*)((const char*)this->addr16() + y * fRowBytes + (x << 1)); in addr16()
408 return (const uint32_t*)((const char*)this->addr32() + y * fRowBytes + (x << 2)); in addr32()
426 return (const uint64_t*)((const char*)this->addr64() + y * fRowBytes + (x << 3)); in addr64()
[all …]
DSkPixelRef.h40 size_t rowBytes() const { return fRowBytes; } in rowBytes()
97 size_t fRowBytes; variable
/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 …]
DSkPixelRef.h41 size_t rowBytes() const { return fRowBytes; } in rowBytes()
98 size_t fRowBytes; variable
/external/skia/src/image/
DSkReadPixelsRec.h20 , fRowBytes(rowBytes) in SkReadPixelsRec()
28 , fRowBytes(pm.rowBytes()) in SkReadPixelsRec()
35 size_t fRowBytes; member
/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()
/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