Home | History | Annotate | Download | only in core

Lines Matching refs:fRowBytes

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));
142 return (const uint32_t*)((const char*)this->addr32() + y * fRowBytes + (x << 2));
147 return (const uint64_t*)((const char*)this->addr64() + y * fRowBytes + (x << 3));
215 : fPixels(addr), fRowBytes(rowBytes), fInfo(info)
226 size_t fRowBytes;