/third_party/skia/src/core/ |
H A D | SkBlurMask.cpp | 122 dst->fRowBytes = dst->fBounds.width(); in BoxBlur() 147 dst->fRowBytes = dst->fBounds.width(); in BoxBlur() 156 auto dstStart = &dst->fImage[border.x() + border.y() * dst->fRowBytes]; in BoxBlur() 160 dstStart, dst->fRowBytes, in BoxBlur() 161 SkMask::AlphaIter<SkMask::kBW_Format>(src.fImage, 0), src.fRowBytes, in BoxBlur() 166 dstStart, dst->fRowBytes, in BoxBlur() 167 SkMask::AlphaIter<SkMask::kA8_Format>(src.fImage), src.fRowBytes, in BoxBlur() 173 dstStart, dst->fRowBytes, in BoxBlur() 174 SkMask::AlphaIter<SkMask::kARGB32_Format>(srcARGB), src.fRowBytes, in BoxBlur() 180 dstStart, dst->fRowBytes, in BoxBlur() [all...] |
H A D | SkWritePixelsRec.h | 20 , fRowBytes(rowBytes) in SkWritePixelsRec() 28 , fRowBytes(pm.rowBytes()) in SkWritePixelsRec() 35 size_t fRowBytes; member 41 * On true, may have modified its fields (except fRowBytes) to make it a legal subset
|
H A D | SkYUVAPixmaps.cpp | 98 fRowBytes[i] = rowBytes[i]; in SkYUVAPixmapInfo() 108 ok &= fPlaneInfos[i].validRowBytes(fRowBytes[i]); in SkYUVAPixmapInfo() 134 fRowBytes == that.fRowBytes; in operator ==() 146 return fYUVAInfo.computeTotalBytes(fRowBytes.data(), planeSizes); in computeTotalBytes() 158 SkASSERT(fPlaneInfos[i].validRowBytes(fRowBytes[i])); in initPixmapsFromSingleAllocation() 159 pixmaps[i].reset(fPlaneInfos[i], addr, fRowBytes[i]); in initPixmapsFromSingleAllocation()
|
H A D | SkMask.cpp | 28 return safeMul32(fBounds.height(), fRowBytes); in computeImageSize() 74 dst.fRowBytes = 0; in PrepareDestination() 81 dst.fRowBytes = SkTo<uint32_t>(dstW); in PrepareDestination() 114 addr += (y - fBounds.fTop) * fRowBytes; in getAddr()
|
H A D | SkMask.h | 40 uint32_t fRowBytes; variable 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()
|
H A D | SkImageInfo.cpp | 147 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim() 170 fPixels = ((char*)fPixels + -y*fRowBytes + -x*fInfo.bytesPerPixel()); in trim() 184 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim() 207 fPixels = ((const char*)fPixels + -y*fRowBytes + -x*fInfo.bytesPerPixel()); in trim()
|
H A D | SkPixmap.cpp | 37 fRowBytes = 0; in reset() 46 fRowBytes = rowBytes; in reset() 53 src.fImage, src.fRowBytes); in reset() 79 pixels = (const uint8_t*)fPixels + r.fTop * fRowBytes + r.fLeft * bpp; in extractSubset() 81 result->reset(fInfo.makeDimensions(r.size()), pixels, fRowBytes); in extractSubset() 172 return SkConvertPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, srcInfo, srcPixels, in readPixels() 411 (const uint64_t*)fPixels + y * (fRowBytes >> 3) + x; in getColor() 424 (const float*)fPixels + 4*y*(fRowBytes >> 4) + 4*x; in getColor()
|
H A D | SkBitmap.cpp | 337 mask.fImage, mask.fRowBytes); in installMaskPixels() 487 rec.fInfo, rec.fPixels, rec.fRowBytes)) { in writePixels() 528 srcM.fRowBytes = SkAlign4(this->width()); in extractAlpha() 539 dstM.fRowBytes = SkAlign4(dstM.fBounds.width()); in extractAlpha() 542 tmpBitmap.setInfo(SkImageInfo::MakeA8(this->width(), this->height()), srcM.fRowBytes); in extractAlpha() 549 GetBitmapAlpha(*this, tmpBitmap.getAddr8(0, 0), srcM.fRowBytes); in extractAlpha() 559 GetBitmapAlpha(*this, srcM.fImage, srcM.fRowBytes); in extractAlpha() 566 dstM.fRowBytes); in extractAlpha()
|
H A D | SkMaskFilter.cpp | 46 dst->fImage = src.fImage + dy * src.fRowBytes + dx; in extractMaskSubset() 47 dst->fRowBytes = src.fRowBytes; in extractMaskSubset() 175 leftMask.fRowBytes = 0; // so we repeat the scanline for our height in draw_nine_clipped() 186 rightMask.fRowBytes = 0; // so we repeat the scanline for our height in draw_nine_clipped() 374 srcM.fRowBytes = 0; in computeFastBounds()
|
H A D | SkBitmapCache.cpp | 71 , fRowBytes(rowBytes) in Rec() 91 return sizeof(fKey) + fInfo.computeByteSize(fRowBytes); 142 bitmap->installPixels(fInfo, fDM ? fDM->data() : fMalloc, fRowBytes, ReleaseProc, this); in install() 165 size_t fRowBytes; member in SkBitmapCache::Rec
|
H A D | SkMaskBlurFilter.cpp | 913 size_t srcRB = src.fRowBytes, 914 dstRB = dst->fRowBytes; 1008 for (int y = 0; y < srcH; ++y, start >>= src.fRowBytes, end >>= src.fRowBytes) { 1017 for (int y = 0; y < srcH; ++y, start >>= src.fRowBytes, end >>= src.fRowBytes) { 1026 for (int y = 0; y < srcH; ++y, start >>= src.fRowBytes, end >>= src.fRowBytes) { 1035 for (int y = 0; y < srcH; ++y, start >>= src.fRowBytes, end >>= src.fRowBytes) { [all...] |
H A D | SkPixelRef.cpp | 34 , fRowBytes(rowBytes) in SkPixelRef() 49 fRowBytes = rowBytes; in android_only_reset()
|
H A D | SkDraw_text.cpp | 69 mask.fRowBytes); in paintMasks() 104 mask.fRowBytes); in paintMasks()
|
H A D | SkScalerContext.cpp | 280 unsigned rowBytes = mask.fRowBytes; in applyLUTToA8Mask() 313 size_t dstRB = dst.fRowBytes; in pack4xHToMask() 429 const int dstPad = mask.fRowBytes - SkAlign8(width)/8; in packA8ToA1() 520 dst.reset(info, mask.fImage, mask.fRowBytes); in generateMask() 627 srcMask.fImage += srcMask.fRowBytes * topDiff; in getImage() 632 dstMask.fImage += dstMask.fRowBytes * topDiff; in getImage() 664 int dstRB = dstMask.fRowBytes; in getImage() 665 int srcRB = srcMask.fRowBytes; in getImage()
|
/third_party/skia/include/core/ |
H A D | SkPixmap.h | 41 : 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() + (size_t)y * fRowBytes + (x << 0)); in addr8() 390 return (const uint16_t*)((const char*)this->addr16() + (size_t)y * fRowBytes + (x << 1)); in addr16() 408 return (const uint32_t*)((const char*)this->addr32() + (size_t)y * fRowBytes + (x << 2)); in addr32() 426 return (const uint64_t*)((const char*)this->addr64() + (size_t)y * fRowBytes in addr64() 714 size_t fRowBytes; global() member in SkPixmap [all...] |
H A D | SkPixelRef.h | 41 size_t rowBytes() const { return fRowBytes; } in rowBytes() 93 size_t fRowBytes; member in SkPixelRef
|
/third_party/skia/src/gpu/ |
H A D | GrPixmap.h | 21 size_t rowBytes() const { return fRowBytes; } in rowBytes() 49 (rect.fTop - surfacePt->fY) * fRowBytes + in clip() 53 return DERIVED{this->info().makeDimensions(rect.size()), addr, fRowBytes}; in clip() 64 : fAddr(addr), fRowBytes(rowBytes), fInfo(std::move(info)) { in GrPixmapBase() 65 if (fRowBytes < info.minRowBytes() || !addr) { in GrPixmapBase() 77 size_t fRowBytes = 0; member in GrPixmapBase
|
/third_party/skia/src/image/ |
H A D | SkReadPixelsRec.h | 20 , fRowBytes(rowBytes) in SkReadPixelsRec() 28 , fRowBytes(pm.rowBytes()) in SkReadPixelsRec() 35 size_t fRowBytes; member 41 * On true, may have modified its fields (except fRowBytes) to make it a legal subset
|
H A D | SkRescaleAndReadPixels.cpp | 142 : fData(std::move(data)), fRowBytes(rowBytes) {} in SkRescaleAndReadPixels() 145 size_t rowBytes(int i) const override { return fRowBytes; } in SkRescaleAndReadPixels() 149 size_t fRowBytes; in SkRescaleAndReadPixels() member in Result
|
/third_party/skia/src/effects/ |
H A D | SkShaderMaskFilter.cpp | 77 dst->fRowBytes = src.fBounds.width(); // need alignment? in filterMask() 91 rect_memcpy(dst->fImage, dst->fRowBytes, src.fImage, src.fRowBytes, in filterMask()
|
H A D | SkTableMaskFilter.cpp | 56 dst->fRowBytes = SkAlign4(dst->fBounds.width()); in filterMask() 67 int extraZeros = dst->fRowBytes - dstWidth; in filterMask() 73 srcP += src.fRowBytes; in filterMask()
|
/third_party/skia/src/gpu/text/ |
H A D | GrSDFMaskFilter.cpp | 72 src.fRowBytes); in filterMask() 76 src.fRowBytes); in filterMask() 80 src.fRowBytes); in filterMask()
|
/third_party/skia/src/codec/ |
H A D | SkPngCodec.cpp | 503 , fRowBytes(0) in SkPngNormalDecoder() 519 size_t fRowBytes; member in SkPngNormalDecoder 536 fRowBytes = rowBytes; 558 fDst = SkTAddOffset<void>(fDst, fRowBytes); in allRowsCallback() 566 fRowBytes = rowBytes; 601 fDst = SkTAddOffset<void>(fDst, fRowBytes); in rowCallback() 636 size_t fRowBytes; member in SkPngInterlacedDecoder 714 fRowBytes = rowBytes; 743 dst = SkTAddOffset<void>(dst, fRowBytes);
|
/third_party/skia/tests/ |
H A D | MaskCacheTest.cpp | 48 mask.fRowBytes = 100; in DEF_TEST() 85 mask.fRowBytes = 100; in DEF_TEST()
|
H A D | AAClipTest.cpp | 76 mask->fRowBytes = 0; in copyToMask() 82 mask->fRowBytes = mask->fBounds.width(); in copyToMask() 91 bitmap.installPixels(info, mask->fImage, mask->fRowBytes); in copyToMask() 314 expected.fRowBytes = 4; in test_path_with_hole()
|