/external/skia/src/lazy/ |
D | SkDiscardablePixelRef.cpp | 19 , fRowBytes(rowBytes) in SkDiscardablePixelRef() 24 SkASSERT(fRowBytes > 0); in SkDiscardablePixelRef() 47 rec->fRowBytes = fRowBytes; in onNewLockPixels() 55 const size_t size = this->info().getSafeSize(fRowBytes); in onNewLockPixels() 74 if (!fGenerator->getPixels(info, pixels, fRowBytes, colors, &colorCount)) { in onNewLockPixels() 95 rec->fRowBytes = fRowBytes; in onNewLockPixels()
|
D | SkDiscardablePixelRef.h | 44 const size_t fRowBytes; variable
|
/external/skia/include/core/ |
D | SkPixmap.h | 26 : fPixels(NULL), fCTable(NULL), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0)) in SkPixmap() 31 : fPixels(addr), fCTable(ctable), fRowBytes(rowBytes), fInfo(info) in fPixels() 62 size_t rowBytes() const { return fRowBytes; } in rowBytes() 74 uint64_t getSize64() const { return sk_64_mul(fInfo.height(), fRowBytes); } in getSize64() 75 uint64_t getSafeSize64() const { return fInfo.getSafeSize64(fRowBytes); } in getSafeSize64() 76 size_t getSafeSize() const { return fInfo.getSafeSize(fRowBytes); } in getSafeSize() 79 return (const char*)fPixels + fInfo.computeOffset(x, y, fRowBytes); in addr() 108 return (const uint8_t*)((const char*)this->addr8() + y * fRowBytes + (x << 0)); in addr8() 113 return (const uint16_t*)((const char*)this->addr16() + y * fRowBytes + (x << 1)); in addr16() 118 return (const uint32_t*)((const char*)this->addr32() + y * fRowBytes + (x << 2)); in addr32() [all …]
|
D | SkMask.h | 36 uint32_t fRowBytes; member 63 return fImage + ((x - fBounds.fLeft) >> 3) + (y - fBounds.fTop) * fRowBytes; in getAddr1() 74 return fImage + x - fBounds.fLeft + (y - fBounds.fTop) * fRowBytes; in getAddr8() 86 uint16_t* row = (uint16_t*)(fImage + (y - fBounds.fTop) * fRowBytes); in getAddrLCD16() 99 uint32_t* row = (uint32_t*)(fImage + (y - fBounds.fTop) * fRowBytes); in getAddr32()
|
D | SkBitmap.h | 101 return fRowBytes >> this->shiftPerPixel(); in rowBytesAsPixels() 128 size_t rowBytes() const { return fRowBytes; } in rowBytes() 149 size_t getSize() const { return fInfo.height() * fRowBytes; } in getSize() 155 size_t getSafeSize() const { return fInfo.getSafeSize(fRowBytes); } in getSafeSize() 161 return sk_64_mul(fInfo.height(), fRowBytes); in computeSize64() 170 return fInfo.getSafeSize64(fRowBytes); in computeSafeSize64() 766 uint32_t fRowBytes; variable 809 return (uint32_t*)((char*)fPixels + y * fRowBytes + (x << 2)); in getAddr32() 816 return (uint16_t*)((char*)fPixels + y * fRowBytes + (x << 1)); in getAddr16() 823 return (uint8_t*)fPixels + y * fRowBytes + x; in getAddr8() [all …]
|
D | SkPixelRef.h | 55 size_t rowBytes() const { return fRec.fRowBytes; } in rowBytes() 66 size_t fRowBytes; member 71 return NULL == fPixels && NULL == fColorTable && 0 == fRowBytes; in isZero() 195 size_t fRowBytes; member
|
/external/skia/src/effects/ |
D | SkBlurMask.cpp | 531 dst->fRowBytes = dst->fBounds.width(); in BoxBlur() 557 w = boxBlur(sp, src.fRowBytes, tp, loRadius, hiRadius, w, h, false); in BoxBlur() 565 w = boxBlur(sp, src.fRowBytes, tp, rx, rx, w, h, true); in BoxBlur() 571 w = boxBlurInterp(sp, src.fRowBytes, tp, rx, w, h, false, outerWeight); in BoxBlur() 579 w = boxBlurInterp(sp, src.fRowBytes, tp, rx, w, h, true, outerWeight); in BoxBlur() 594 merge_src_with_blur(dst->fImage, src.fRowBytes, in BoxBlur() 595 sp, src.fRowBytes, in BoxBlur() 596 dp + passCount * (rx + ry * dst->fRowBytes), in BoxBlur() 597 dst->fRowBytes, sw, sh); in BoxBlur() 600 clamp_with_orig(dp + passCount * (rx + ry * dst->fRowBytes), in BoxBlur() [all …]
|
D | SkTableMaskFilter.cpp | 34 dst->fRowBytes = SkAlign4(dst->fBounds.width()); in filterMask() 45 int extraZeros = dst->fRowBytes - dstWidth; in filterMask() 51 srcP += src.fRowBytes; in filterMask()
|
/external/skia/src/core/ |
D | SkBitmap.cpp | 92 SkTSwap(fRowBytes, other.fRowBytes); in swap() 147 fRowBytes = SkToU32(rowBytes); in setInfo() 172 + fPixelRefOrigin.fY * fRowBytes in updatePixelsFromRef() 265 SkPixelRef* pr = SkMallocPixelRef::NewDirect(fInfo, p, fRowBytes, ctable); in setPixels() 399 mask.fImage, mask.fRowBytes); in installMaskPixels() 605 const uint64_t* addr = (const uint64_t*)fPixels + y * (fRowBytes >> 3) + x; in getColor() 936 rowBytes = fRowBytes; in deepCopyTo() 1042 srcM.fRowBytes = SkAlign4(this->width()); in extractAlpha() 1053 dstM.fRowBytes = SkAlign4(dstM.fBounds.width()); in extractAlpha() 1056 tmpBitmap.setInfo(SkImageInfo::MakeA8(this->width(), this->height()), srcM.fRowBytes); in extractAlpha() [all …]
|
D | SkPixelRef.cpp | 109 fRec.fRowBytes = rowBytes; in setPreLocked() 205 result->fRowBytes = fRec.fRowBytes; in requestLock() 350 result->fRowBytes = fRec.fRowBytes; in onRequestLock()
|
D | SkPixmap.cpp | 31 fRowBytes = 0; in reset() 41 fRowBytes = rowBytes; in reset() 48 src.fImage, src.fRowBytes, nullptr); in reset() 70 pixels = (const uint8_t*)fPixels + r.fTop * fRowBytes + r.fLeft * bpp; in extractSubset() 72 result->reset(fInfo.makeWH(r.width(), r.height()), pixels, fRowBytes, fCTable); in extractSubset()
|
D | SkMask.cpp | 24 return safeMul32(fBounds.height(), fRowBytes); in computeImageSize() 83 addr += (y - fBounds.fTop) * fRowBytes; in getAddr()
|
D | SkConfig8888.cpp | 119 size_t srcInc = fRowBytes >> 2; in convertPixelsTo() 120 size_t dstInc = dst->fRowBytes >> 2; in convertPixelsTo() 197 dstPI.fRowBytes = dstRB; in CopyPixels() 203 srcPI.fRowBytes = srcRB; in CopyPixels()
|
D | SkImageInfo.cpp | 94 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim() 116 fPixels = ((char*)fPixels - y * fRowBytes - x * fInfo.bytesPerPixel()); in trim()
|
D | SkScalerContext.cpp | 33 mask->fRowBytes = this->rowBytes(); in toMask() 240 unsigned rowBytes = mask.fRowBytes; in applyLUTToA8Mask() 262 size_t dstRB = dst.fRowBytes; in pack4xHToLCD16() 347 const int dstPad = mask.fRowBytes - SkAlign8(width)/8; in packA8ToA1() 380 int dstRB = mask.fRowBytes; in generateMask() 454 int dstRB = dst.fRowBytes; in extract_alpha() 547 srcM.fRowBytes = SkAlign4(srcM.fBounds.width()); in getImage() 561 int srcRB = dstM.fRowBytes; in getImage()
|
D | SkYUVPlanesCache.h | 32 size_t fRowBytes[3]; member
|
D | SkMaskFilter.cpp | 47 dst->fImage = src.fImage + dy * src.fRowBytes + dx; in extractMaskSubset() 48 dst->fRowBytes = src.fRowBytes; in extractMaskSubset() 352 srcM.fRowBytes = 0; in computeFastBounds()
|
D | SkConfig8888.h | 18 size_t fRowBytes; member
|
D | SkBlitter_PM4f.cpp | 96 const size_t maskRB = mask.fRowBytes; in blitLCDMask() 125 const size_t maskRB = mask.fRowBytes; in blitMask() 228 const size_t maskRB = mask.fRowBytes; in blitLCDMask() 262 const size_t maskRB = mask.fRowBytes; in blitMask()
|
/external/skia/src/gpu/ |
D | GrYUVProvider.cpp | 55 yuvInfo->fRowBytes[i] = yuvInfo->fSize[i].fWidth; // we assume snug fit: rb == width in init() 56 yuvInfo->fSizeInMemory[i] = yuvInfo->fRowBytes[i] * yuvInfo->fSize[i].fHeight; in init() 70 if (!provider->onGetYUVPlanes(yuvInfo->fSize, planes, yuvInfo->fRowBytes, in init() 107 yuvDesc.fConfig, planes[i], yuvInfo.fRowBytes[i])) { in refAsTexture()
|
/external/skia/src/image/ |
D | SkReadPixelsRec.h | 19 , fRowBytes(rowBytes) in SkReadPixelsRec() 26 size_t fRowBytes; member
|
D | SkSurface_Raster.cpp | 34 size_t fRowBytes; member in SkSurface_Raster 95 fRowBytes = 0; // don't need to track the rowbytes in SkSurface_Raster() 106 fRowBytes = pr->rowBytes(); // we track this, so that subsequent re-allocs will match in SkSurface_Raster() 160 SkASSERT(fBitmap.rowBytes() == fRowBytes); // be sure we always use the same value in onCopyOnWrite()
|
/external/skia/tests/ |
D | YUVCacheTest.cpp | 39 yuvInfo.fRowBytes[i] = 80 * i; in DEF_TEST() 67 REPORTER_ASSERT(reporter, yuvInfo.fRowBytes[i] == yuvInfoRead.fRowBytes[i]); in DEF_TEST()
|
D | MaskCacheTest.cpp | 49 mask.fRowBytes = 100; in DEF_TEST() 87 mask.fRowBytes = 100; in DEF_TEST()
|
D | AAClipTest.cpp | 64 mask->fRowBytes = 0; in copyToMask() 70 mask->fRowBytes = mask->fBounds.width(); in copyToMask() 79 bitmap.installPixels(info, mask->fImage, mask->fRowBytes); in copyToMask() 299 expected.fRowBytes = 4; in test_path_with_hole()
|