/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 const SkImageGenerator::Result result = fGenerator->getPixels(info, pixels, fRowBytes, NULL, in onNewLockPixels() 101 rec->fRowBytes = fRowBytes; in onNewLockPixels()
|
D | SkCachingPixelRef.cpp | 35 , fRowBytes(rowBytes) { in SkCachingPixelRef() 52 if (!fLockedBitmap.tryAllocPixels(info, fRowBytes)) { in onNewLockPixels() 57 fLockedBitmap.getPixels(), fRowBytes); in onNewLockPixels() 75 rec->fRowBytes = fLockedBitmap.rowBytes(); in onNewLockPixels()
|
D | SkCachingPixelRef.h | 56 const size_t fRowBytes; variable
|
D | SkDiscardablePixelRef.h | 39 const size_t fRowBytes; variable
|
/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/include/core/ |
D | SkMask.h | 34 uint32_t fRowBytes; member 61 return fImage + ((x - fBounds.fLeft) >> 3) + (y - fBounds.fTop) * fRowBytes; in getAddr1() 72 return fImage + x - fBounds.fLeft + (y - fBounds.fTop) * fRowBytes; in getAddr8() 84 uint16_t* row = (uint16_t*)(fImage + (y - fBounds.fTop) * fRowBytes); in getAddrLCD16() 97 uint32_t* row = (uint32_t*)(fImage + (y - fBounds.fTop) * fRowBytes); in getAddr32()
|
D | SkBitmap.h | 88 return fRowBytes >> this->shiftPerPixel(); in rowBytesAsPixels() 115 size_t rowBytes() const { return fRowBytes; } in rowBytes() 136 size_t getSize() const { return fInfo.height() * fRowBytes; } in getSize() 142 size_t getSafeSize() const { return fInfo.getSafeSize(fRowBytes); } in getSafeSize() 148 return sk_64_mul(fInfo.height(), fRowBytes); in computeSize64() 157 return fInfo.getSafeSize64(fRowBytes); in computeSafeSize64() 745 uint32_t fRowBytes; variable 792 return (uint32_t*)((char*)fPixels + y * fRowBytes + (x << 2)); in getAddr32() 799 return (uint16_t*)((char*)fPixels + y * fRowBytes + (x << 1)); in getAddr16() 806 return (uint8_t*)fPixels + y * fRowBytes + x; in getAddr8() [all …]
|
D | SkPixelRef.h | 71 size_t rowBytes() const { return fRec.fRowBytes; } in rowBytes() 80 size_t fRowBytes; member 85 return NULL == fPixels && NULL == fColorTable && 0 == fRowBytes; in isZero()
|
/external/skia/src/core/ |
D | SkBitmap.cpp | 83 SkTSwap(fRowBytes, other.fRowBytes); in swap() 138 fRowBytes = SkToU32(rowBytes); in setInfo() 163 + fPixelRefOrigin.fY * fRowBytes in updatePixelsFromRef() 256 SkPixelRef* pr = SkMallocPixelRef::NewDirect(fInfo, p, fRowBytes, ctable); in setPixels() 373 mask.fImage, mask.fRowBytes); in installMaskPixels() 437 dstRowBytes = fRowBytes; in copyPixelsTo() 445 if (!preserveDstPad && static_cast<uint32_t>(dstRowBytes) == fRowBytes) { in copyPixelsTo() 468 for (int row = 0; row < fInfo.height(); row++, srcP += fRowBytes, dstP += dstRowBytes) { in copyPixelsTo() 680 const int rowBytes = fRowBytes; in internalErase() 1027 rowBytes = fRowBytes; in deepCopyTo() [all …]
|
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 | 93 if (NULL == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim() 115 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 | SkConfig8888.h | 16 size_t fRowBytes; member
|
D | SkMaskFilter.cpp | 47 dst->fImage = src.fImage + dy * src.fRowBytes + dx; in extractMaskSubset() 48 dst->fRowBytes = src.fRowBytes; in extractMaskSubset() 353 srcM.fRowBytes = 0; in computeFastBounds()
|
D | SkYUVPlanesCache.h | 32 size_t fRowBytes[3]; member
|
D | SkMipMap.h | 25 uint32_t fRowBytes; member
|
/external/skia/src/image/ |
D | SkReadPixelsRec.h | 19 , fRowBytes(rowBytes) in SkReadPixelsRec() 26 size_t fRowBytes; member
|
/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 | 63 mask->fRowBytes = 0; in copyToMask() 69 mask->fRowBytes = mask->fBounds.width(); in copyToMask() 78 bitmap.installPixels(info, mask->fImage, mask->fRowBytes); in copyToMask() 298 expected.fRowBytes = 4; in test_path_with_hole()
|
/external/skia/src/ports/ |
D | SkImageGenerator_skia.cpp | 16 const size_t fRowBytes; member in BareMemoryAllocator 20 : fInfo(info), fMemory(memory), fRowBytes(rowBytes) in BareMemoryAllocator() 31 return bm->installPixels(bmi, fMemory, fRowBytes, ctable, NULL, NULL); in allocPixelRef()
|
/external/skia/src/images/ |
D | SkDecodingImageGenerator.cpp | 62 , fRowBytes(rowBytes) in TargetAllocator() 76 bm->installPixels(fInfo, fTarget, fRowBytes, ct, NULL, NULL); in allocPixelRef() 87 const size_t fRowBytes; // rowbytes for the destination bitmap member in __anon99b6a65a0111::TargetAllocator
|
/external/skia/src/gpu/ |
D | SkGr.cpp | 59 dstPI.fRowBytes = count * sizeof(SkPMColor); in build_index8_data() 65 srcPI.fRowBytes = count * sizeof(SkPMColor); in build_index8_data() 337 yuvInfo.fRowBytes[i] = yuvInfo.fSize[i].fWidth; in load_yuv_texture() 338 yuvInfo.fSizeInMemory[i] = yuvInfo.fRowBytes[i] * yuvInfo.fSize[i].fHeight; in load_yuv_texture() 352 if (!pixelRef->getYUV8Planes(yuvInfo.fSize, planes, yuvInfo.fRowBytes, in load_yuv_texture() 377 yuvDesc.fConfig, planes[i], yuvInfo.fRowBytes[i])) { in load_yuv_texture()
|