/external/skia/include/core/ |
D | SkPixmap.h | 28 : fPixels(NULL), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0)) in SkPixmap() 32 : fPixels(addr), fRowBytes(rowBytes), fInfo(info) in SkPixmap() 59 size_t rowBytes() const { return fRowBytes; } in rowBytes() 74 int rowBytesAsPixels() const { return int(fRowBytes >> this->shiftPerPixel()); } in rowBytesAsPixels() 82 uint64_t getSize64() const { return sk_64_mul(fInfo.height(), fRowBytes); } in getSize64() 83 uint64_t getSafeSize64() const { return fInfo.getSafeSize64(fRowBytes); } in getSafeSize64() 84 size_t getSafeSize() const { return fInfo.getSafeSize(fRowBytes); } in getSafeSize() 103 return (const char*)fPixels + fInfo.computeOffset(x, y, fRowBytes); in addr() 132 return (const uint8_t*)((const char*)this->addr8() + y * fRowBytes + (x << 0)); in addr8() 137 return (const uint16_t*)((const char*)this->addr16() + y * fRowBytes + (x << 1)); in addr16() [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() 130 size_t rowBytes() const { return fRowBytes; } in rowBytes() 151 size_t getSize() const { return fInfo.height() * fRowBytes; } in getSize() 157 size_t getSafeSize() const { return fInfo.getSafeSize(fRowBytes); } in getSafeSize() 163 return sk_64_mul(fInfo.height(), fRowBytes); in computeSize64() 172 return fInfo.getSafeSize64(fRowBytes); in computeSafeSize64() 739 uint32_t fRowBytes; variable 760 return (uint32_t*)((char*)fPixels + y * fRowBytes + (x << 2)); in getAddr32() 767 return (uint16_t*)((char*)fPixels + y * fRowBytes + (x << 1)); in getAddr16() 774 return (uint8_t*)fPixels + y * fRowBytes + x; in getAddr8()
|
D | SkPixelRef.h | 43 size_t rowBytes() const { return fRowBytes; } in rowBytes() 123 size_t fRowBytes; variable
|
D | SkRasterHandleAllocator.h | 49 size_t fRowBytes; // rowbytes for these pixels member
|
/external/skia/src/core/ |
D | SkBitmap.cpp | 39 , fRowBytes (0) 47 , fRowBytes (src.fRowBytes) in SkBitmap() 59 , fRowBytes (other.fRowBytes) in SkBitmap() 66 other.fRowBytes = 0; in SkBitmap() 78 fRowBytes = src.fRowBytes; in operator =() 91 fRowBytes = other.fRowBytes; in operator =() 97 other.fRowBytes = 0; in operator =() 158 fRowBytes = SkToU32(rowBytes); in setInfo() 180 SkASSERT(fRowBytes == fPixelRef->rowBytes()); in updatePixelsFromRef() 182 + fPixelRefOrigin.fY * fRowBytes in updatePixelsFromRef() [all …]
|
D | SkMaskBlurFilter.cpp | 92 dst->fRowBytes = dstW; in blur() 109 auto srcStart = &src.fImage[y * src.fRowBytes]; in blur() 123 dstStart, dst->fRowBytes, dstStart + dst->fRowBytes * dstH); in blur() 129 auto srcStart = &src.fImage[y * src.fRowBytes]; in blur() 130 auto dstStart = &dst->fImage[y * dst->fRowBytes]; in blur() 140 auto srcEnd = &src.fImage[src.fRowBytes * srcH]; in blur() 142 auto dstEnd = &dst->fImage[dst->fRowBytes * dstH]; in blur() 144 srcStart, src.fRowBytes, srcEnd, in blur() 145 dstStart, dst->fRowBytes, dstEnd); in blur() 151 std::memcpy(&dst->fImage[y * dst->fRowBytes], &src.fImage[y * src.fRowBytes], dstW); in blur()
|
D | SkPixmap.cpp | 27 fRowBytes = 0; in reset() 36 fRowBytes = rowBytes; in reset() 43 src.fImage, src.fRowBytes); in reset() 69 pixels = (const uint8_t*)fPixels + r.fTop * fRowBytes + r.fLeft * bpp; in extractSubset() 71 result->reset(fInfo.makeWH(r.width(), r.height()), pixels, fRowBytes); in extractSubset() 88 SkConvertPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, srcInfo, srcPixels, this->rowBytes(), in readPixels() 293 (const uint64_t*)fPixels + y * (fRowBytes >> 3) + x; in getColor()
|
D | SkWritePixelsRec.h | 19 , fRowBytes(rowBytes) in SkWritePixelsRec() 26 size_t fRowBytes; member
|
D | SkImageInfo.cpp | 161 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim() 183 fPixels = ((char*)fPixels - y * fRowBytes - x * fInfo.bytesPerPixel()); in trim() 197 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim() 219 fPixels = ((const char*)fPixels - y * fRowBytes - x * fInfo.bytesPerPixel()); in trim()
|
D | SkPixelRef.cpp | 37 , fRowBytes(rowBytes) in SkPixelRef() 56 , fRowBytes(rowBytes) in SkPixelRef() 86 fRowBytes = rowBytes; in android_only_reset()
|
D | SkMask.cpp | 26 return safeMul32(fBounds.height(), fRowBytes); in computeImageSize() 85 addr += (y - fBounds.fTop) * fRowBytes; in getAddr()
|
D | SkMaskFilter.cpp | 45 dst->fImage = src.fImage + dy * src.fRowBytes + dx; in extractMaskSubset() 46 dst->fRowBytes = src.fRowBytes; in extractMaskSubset() 174 m.fRowBytes = 0; // so we repeat the scanline for our height in draw_nine_clipped() 185 m.fRowBytes = 0; // so we repeat the scanline for our height in draw_nine_clipped() 344 srcM.fRowBytes = 0; in computeFastBounds()
|
D | SkScalerContext.cpp | 36 mask->fRowBytes = this->rowBytes(); in toMask() 223 unsigned rowBytes = mask.fRowBytes; in applyLUTToA8Mask() 245 size_t dstRB = dst.fRowBytes; in pack4xHToLCD16() 330 const int dstPad = mask.fRowBytes - SkAlign8(width)/8; in packA8ToA1() 363 int dstRB = mask.fRowBytes; in generateMask() 436 int dstRB = dst.fRowBytes; in extract_alpha() 528 srcM.fRowBytes = SkAlign4(srcM.fBounds.width()); in getImage() 542 int srcRB = dstM.fRowBytes; in getImage()
|
D | SkBitmapCache.cpp | 132 , fRowBytes(rowBytes) in Rec() 163 return sizeof(fKey) + fInfo.getSafeSize(fRowBytes); in bytesUsed() 228 bitmap->installPixels(fInfo, fDM ? fDM->data() : fMalloc, fRowBytes, ReleaseProc, this); in install() 259 size_t fRowBytes; member in SkBitmapCache::Rec
|
/external/skia/src/effects/ |
D | SkBlurMask.cpp | 536 dst->fRowBytes = dst->fBounds.width(); in BoxBlur() 562 w = boxBlur<false>(sp, src.fRowBytes, tp, loRadius, hiRadius, w, h); in BoxBlur() 570 w = boxBlur<true>(sp, src.fRowBytes, tp, rx, rx, w, h); in BoxBlur() 576 w = boxBlurInterp<false>(sp, src.fRowBytes, tp, rx, w, h, outerWeight); in BoxBlur() 584 w = boxBlurInterp<true>(sp, src.fRowBytes, tp, rx, w, h, outerWeight); in BoxBlur() 607 auto blurStart = &blur[border.x() + border.y() * dst->fRowBytes]; in BoxBlur() 608 merge_src_with_blur(dst->fImage, src.fRowBytes, in BoxBlur() 609 src.fImage, src.fRowBytes, in BoxBlur() 611 dst->fRowBytes, in BoxBlur() 615 auto dstStart = &dst->fImage[border.x() + border.y() * 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/image/ |
D | SkReadPixelsRec.h | 19 , fRowBytes(rowBytes) in SkReadPixelsRec() 26 size_t fRowBytes; member
|
D | SkSurface_Raster.cpp | 30 size_t fRowBytes; member in SkSurface_Raster 103 fRowBytes = 0; // don't need to track the rowbytes in SkSurface_Raster() 112 fRowBytes = pr->rowBytes(); // we track this, so that subsequent re-allocs will match in SkSurface_Raster() 167 SkASSERT(fBitmap.rowBytes() == fRowBytes); // be sure we always use the same value in onCopyOnWrite()
|
D | SkImage_Gpu.cpp | 213 if (!sContext->readPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, rec.fX, rec.fY, flags)) { in onReadPixels() 226 apply_premul(rec.fInfo, rec.fPixels, rec.fRowBytes); in onReadPixels() 553 size_t fRowBytes; member 821 memcpy(bufferAsCharPtr + offsetof(DeferredTextureImage, fMipMapLevelData[0].fRowBytes), in getDeferredTextureImageData() 877 offsetof(MipMapLevelData, fRowBytes), &rowBytes, sizeof(rowBytes)); in getDeferredTextureImageData() 905 pixmap.reset(info, dti->fMipMapLevelData[0].fPixelData, dti->fMipMapLevelData[0].fRowBytes); in MakeFromDeferredTextureImageData() 921 texels[i].fRowBytes = dti->fMipMapLevelData[i].fRowBytes; in MakeFromDeferredTextureImageData()
|
/external/skia/src/codec/ |
D | SkPngCodec.cpp | 488 , fRowBytes(0) in SkPngNormalDecoder() 504 size_t fRowBytes; member in SkPngNormalDecoder 521 fRowBytes = rowBytes; in decodeAllRows() 544 fDst = SkTAddOffset<void>(fDst, fRowBytes); in allRowsCallback() 552 fRowBytes = rowBytes; in setRange() 587 fDst = SkTAddOffset<void>(fDst, fRowBytes); in rowCallback() 622 size_t fRowBytes; member in SkPngInterlacedDecoder 701 fRowBytes = rowBytes; in setRange() 730 dst = SkTAddOffset<void>(dst, fRowBytes); in decode()
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType_common.cpp | 93 const size_t dstRB = mask.fRowBytes; in copyFT2LCD16() 203 const size_t dstRowBytes = dstMask.fRowBytes; in copyFTBitmap() 286 const int dstPad = mask.fRowBytes - SkAlign8(width)/8; in packA8ToA1() 421 memset(mask.fImage, 0x80, mask.fBounds.height() * mask.fRowBytes); in generateGlyphImage() 451 mask.fImage += mask.fRowBytes * (-ftGlyph.bitmap_top - mask.fBounds.fTop); in generateGlyphImage() 552 unscaledBitmapAlias.fRowBytes = unscaledBitmap.rowBytes(); in generateGlyphImage()
|
/external/skia/tests/ |
D | MaskCacheTest.cpp | 49 mask.fRowBytes = 100; in DEF_TEST() 87 mask.fRowBytes = 100; in DEF_TEST()
|
D | AAClipTest.cpp | 65 mask->fRowBytes = 0; in copyToMask() 71 mask->fRowBytes = mask->fBounds.width(); in copyToMask() 80 bitmap.installPixels(info, mask->fImage, mask->fRowBytes); in copyToMask() 300 expected.fRowBytes = 4; in test_path_with_hole()
|
/external/skia/samplecode/ |
D | SampleStrokePath.cpp | 55 src.fRowBytes = src.fBounds.width(); 70 dstPtr += dst.fRowBytes;
|