Searched defs:fRowBytes (Results 1 - 10 of 10) sorted by relevance

/external/skia/include/core/
H A DSkRasterHandleAllocator.h49 size_t fRowBytes; // rowbytes for these pixels member in struct:SkRasterHandleAllocator::Rec
H A DSkMask.h36 uint32_t fRowBytes; member in struct:SkMask
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);
H A DSkPixelRef.h54 size_t rowBytes() const { return fRec.fRowBytes; }
65 size_t fRowBytes; member in struct:SkPixelRef::LockRec
70 return NULL == fPixels && NULL == fColorTable && 0 == fRowBytes;
182 size_t fRowBytes; member in struct:SkPixelRef::LockResult
H A DSkPixmap.h26 : fPixels(NULL), fCTable(NULL), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0))
31 : fPixels(addr), fCTable(ctable), fRowBytes(rowBytes), fInfo(info)
65 size_t rowBytes() const { return fRowBytes; }
81 int rowBytesAsPixels() const { return int(fRowBytes >> this->shiftPerPixel()); }
89 uint64_t getSize64() const { return sk_64_mul(fInfo.height(), fRowBytes); }
90 uint64_t getSafeSize64() const { return fInfo.getSafeSize64(fRowBytes); }
91 size_t getSafeSize() const { return fInfo.getSafeSize(fRowBytes); }
110 return (const char*)fPixels + fInfo.computeOffset(x, y, fRowBytes);
139 return (const uint8_t*)((const char*)this->addr8() + y * fRowBytes + (x << 0));
144 return (const uint16_t*)((const char*)this->addr16() + y * fRowBytes
218 size_t fRowBytes; member in class:SkPixmap
[all...]
H A DSkBitmap.h102 return fRowBytes >> this->shiftPerPixel();
129 size_t rowBytes() const { return fRowBytes; }
150 size_t getSize() const { return fInfo.height() * fRowBytes; }
156 size_t getSafeSize() const { return fInfo.getSafeSize(fRowBytes); }
162 return sk_64_mul(fInfo.height(), fRowBytes);
171 return fInfo.getSafeSize64(fRowBytes);
779 uint32_t fRowBytes; member in class:SkBitmap
825 return (uint32_t*)((char*)fPixels + y * fRowBytes + (x << 2));
832 return (uint16_t*)((char*)fPixels + y * fRowBytes + (x << 1));
839 return (uint8_t*)fPixels + y * fRowBytes
[all...]
/external/skia/src/core/
H A DSkWritePixelsRec.h19 , fRowBytes(rowBytes)
26 size_t fRowBytes; member in struct:SkWritePixelsRec
32 * On true, may have modified its fields (except fRowBytes) to make it a legal subset
/external/skia/src/image/
H A DSkReadPixelsRec.h19 , fRowBytes(rowBytes)
26 size_t fRowBytes; member in struct:SkReadPixelsRec
32 * On true, may have modified its fields (except fRowBytes) to make it a legal subset
H A DSkSurface_Raster.cpp34 size_t fRowBytes; member in class:SkSurface_Raster
107 fRowBytes = 0; // don't need to track the rowbytes
117 fRowBytes = pr->rowBytes(); // we track this, so that subsequent re-allocs will match
173 SkASSERT(fBitmap.rowBytes() == fRowBytes); // be sure we always use the same value
H A DSkImage_Gpu.cpp205 if (!sContext->readPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, rec.fX, rec.fY, flags)) {
218 apply_premul(rec.fInfo, rec.fPixels, rec.fRowBytes);
513 size_t fRowBytes; member in struct:__anon17104::MipMapLevelData
727 memcpy(bufferAsCharPtr + offsetof(DeferredTextureImage, fMipMapLevelData[0].fRowBytes),
777 offsetof(MipMapLevelData, fRowBytes), &rowBytes, sizeof(rowBytes));
805 pixmap.reset(info, dti->fMipMapLevelData[0].fPixelData, dti->fMipMapLevelData[0].fRowBytes);
817 texels[i].fRowBytes = dti->fMipMapLevelData[i].fRowBytes;
/external/skia/src/codec/
H A DSkPngCodec.cpp504 , fRowBytes(0)
520 size_t fRowBytes; member in class:SkPngNormalDecoder
537 fRowBytes = rowBytes;
560 fDst = SkTAddOffset<void>(fDst, fRowBytes);
568 fRowBytes = rowBytes;
603 fDst = SkTAddOffset<void>(fDst, fRowBytes);
638 size_t fRowBytes; member in class:SkPngInterlacedDecoder
717 fRowBytes = rowBytes;
746 dst = SkTAddOffset<void>(dst, fRowBytes);

Completed in 3015 milliseconds