/external/skia/src/core/ |
SkWritePixelsRec.h | 19 , fRowBytes(rowBytes) 26 size_t fRowBytes; 32 * On true, may have modified its fields (except fRowBytes) to make it a legal subset
|
SkMaskBlurFilter.cpp | 92 dst->fRowBytes = dstW; 109 auto srcStart = &src.fImage[y * src.fRowBytes]; 123 dstStart, dst->fRowBytes, dstStart + dst->fRowBytes * dstH); 129 auto srcStart = &src.fImage[y * src.fRowBytes]; 130 auto dstStart = &dst->fImage[y * dst->fRowBytes]; 140 auto srcEnd = &src.fImage[src.fRowBytes * srcH]; 142 auto dstEnd = &dst->fImage[dst->fRowBytes * dstH]; 144 srcStart, src.fRowBytes, srcEnd, 145 dstStart, dst->fRowBytes, dstEnd) [all...] |
SkMask.cpp | 26 return safeMul32(fBounds.height(), fRowBytes); 85 addr += (y - fBounds.fTop) * fRowBytes;
|
SkPixelRef.cpp | 37 , fRowBytes(rowBytes) 56 , fRowBytes(rowBytes) 86 fRowBytes = rowBytes;
|
SkBitmap.cpp | 39 , fRowBytes (0) 47 , fRowBytes (src.fRowBytes) 59 , fRowBytes (other.fRowBytes) 66 other.fRowBytes = 0; 78 fRowBytes = src.fRowBytes; 91 fRowBytes = other.fRowBytes; [all...] |
SkImageInfo.cpp | 161 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { 183 fPixels = ((char*)fPixels - y * fRowBytes - x * fInfo.bytesPerPixel()); 197 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { 219 fPixels = ((const char*)fPixels - y * fRowBytes - x * fInfo.bytesPerPixel());
|
SkPixmap.cpp | 27 fRowBytes = 0; 36 fRowBytes = rowBytes; 43 src.fImage, src.fRowBytes); 69 pixels = (const uint8_t*)fPixels + r.fTop * fRowBytes + r.fLeft * bpp; 71 result->reset(fInfo.makeWH(r.width(), r.height()), pixels, fRowBytes); 88 SkConvertPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, srcInfo, srcPixels, this->rowBytes(), 293 (const uint64_t*)fPixels + y * (fRowBytes >> 3) + x;
|
SkMaskFilter.cpp | 45 dst->fImage = src.fImage + dy * src.fRowBytes + dx; 46 dst->fRowBytes = src.fRowBytes; 174 m.fRowBytes = 0; // so we repeat the scanline for our height 185 m.fRowBytes = 0; // so we repeat the scanline for our height 344 srcM.fRowBytes = 0;
|
SkBitmapCache.cpp | 132 , fRowBytes(rowBytes) 163 return sizeof(fKey) + fInfo.getSafeSize(fRowBytes); 228 bitmap->installPixels(fInfo, fDM ? fDM->data() : fMalloc, fRowBytes, ReleaseProc, this); 259 size_t fRowBytes;
|
SkBlitBWMaskTemplate.h | 32 unsigned mask_rowBytes = srcMask.fRowBytes;
|
SkBlitter_A8.cpp | 79 const size_t srcRB = mask.fRowBytes;
|
/external/skia/src/image/ |
SkReadPixelsRec.h | 19 , fRowBytes(rowBytes) 26 size_t fRowBytes; 32 * On true, may have modified its fields (except fRowBytes) to make it a legal subset
|
SkSurface_Raster.cpp | 30 size_t fRowBytes; 103 fRowBytes = 0; // don't need to track the rowbytes 112 fRowBytes = pr->rowBytes(); // we track this, so that subsequent re-allocs will match 167 SkASSERT(fBitmap.rowBytes() == fRowBytes); // be sure we always use the same value
|
/external/skia/include/core/ |
SkMask.h | 36 uint32_t fRowBytes; 63 return fImage + ((x - fBounds.fLeft) >> 3) + (y - fBounds.fTop) * fRowBytes; 74 return fImage + x - fBounds.fLeft + (y - fBounds.fTop) * fRowBytes; 86 uint16_t* row = (uint16_t*)(fImage + (y - fBounds.fTop) * fRowBytes); 99 uint32_t* row = (uint32_t*)(fImage + (y - fBounds.fTop) * fRowBytes);
|
SkPixmap.h | 28 : fPixels(NULL), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0)) 32 : fPixels(addr), fRowBytes(rowBytes), fInfo(info) 59 size_t rowBytes() const { return fRowBytes; } 74 int rowBytesAsPixels() const { return int(fRowBytes >> this->shiftPerPixel()); } 82 uint64_t getSize64() const { return sk_64_mul(fInfo.height(), fRowBytes); } 83 uint64_t getSafeSize64() const { return fInfo.getSafeSize64(fRowBytes); } 84 size_t getSafeSize() const { return fInfo.getSafeSize(fRowBytes); } 103 return (const char*)fPixels + fInfo.computeOffset(x, y, fRowBytes); 132 return (const uint8_t*)((const char*)this->addr8() + y * fRowBytes + (x << 0)); 137 return (const uint16_t*)((const char*)this->addr16() + y * fRowBytes + (x << 1)) [all...] |
SkRasterHandleAllocator.h | 49 size_t fRowBytes; // rowbytes for these pixels
|
SkPixelRef.h | 43 size_t rowBytes() const { return fRowBytes; } 123 size_t fRowBytes;
|
SkBitmap.h | 101 return fRowBytes >> this->shiftPerPixel(); 130 size_t rowBytes() const { return fRowBytes; } 151 size_t getSize() const { return fInfo.height() * fRowBytes; } 157 size_t getSafeSize() const { return fInfo.getSafeSize(fRowBytes); } 163 return sk_64_mul(fInfo.height(), fRowBytes); 172 return fInfo.getSafeSize64(fRowBytes); 739 uint32_t fRowBytes; 760 return (uint32_t*)((char*)fPixels + y * fRowBytes + (x << 2)); 767 return (uint16_t*)((char*)fPixels + y * fRowBytes + (x << 1)); 774 return (uint8_t*)fPixels + y * fRowBytes + x [all...] |
/external/skia/src/effects/ |
SkBlurMask.cpp | 536 dst->fRowBytes = dst->fBounds.width(); 562 w = boxBlur<false>(sp, src.fRowBytes, tp, loRadius, hiRadius, w, h); 570 w = boxBlur<true>(sp, src.fRowBytes, tp, rx, rx, w, h); 576 w = boxBlurInterp<false>(sp, src.fRowBytes, tp, rx, w, h, outerWeight); 584 w = boxBlurInterp<true>(sp, src.fRowBytes, tp, rx, w, h, outerWeight); 607 auto blurStart = &blur[border.x() + border.y() * dst->fRowBytes]; 608 merge_src_with_blur(dst->fImage, src.fRowBytes, 609 src.fImage, src.fRowBytes, 611 dst->fRowBytes, 615 auto dstStart = &dst->fImage[border.x() + border.y() * dst->fRowBytes]; [all...] |
SkTableMaskFilter.cpp | 34 dst->fRowBytes = SkAlign4(dst->fBounds.width()); 45 int extraZeros = dst->fRowBytes - dstWidth; 51 srcP += src.fRowBytes;
|
SkEmbossMask.cpp | 62 int rowBytes = mask->fRowBytes;
|
/external/skia/tests/ |
MaskCacheTest.cpp | 49 mask.fRowBytes = 100; 87 mask.fRowBytes = 100;
|
BlitMaskClip.cpp | 53 mask.fRowBytes = rowBytes;
|
/external/skia/src/codec/ |
SkPngCodec.cpp | 488 , fRowBytes(0) 504 size_t fRowBytes; 521 fRowBytes = rowBytes; 544 fDst = SkTAddOffset<void>(fDst, fRowBytes); 552 fRowBytes = rowBytes; 587 fDst = SkTAddOffset<void>(fDst, fRowBytes); 622 size_t fRowBytes; 701 fRowBytes = rowBytes; 730 dst = SkTAddOffset<void>(dst, fRowBytes); [all...] |
/external/skia/samplecode/ |
SampleStrokePath.cpp | 55 src.fRowBytes = src.fBounds.width(); 70 dstPtr += dst.fRowBytes;
|