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

/external/skia/include/core/
H A DSkMask.h35 uint32_t fRowBytes; member in struct:SkMask
62 return fImage + ((x - fBounds.fLeft) >> 3) + (y - fBounds.fTop) * fRowBytes;
73 return fImage + x - fBounds.fLeft + (y - fBounds.fTop) * fRowBytes;
85 uint16_t* row = (uint16_t*)(fImage + (y - fBounds.fTop) * fRowBytes);
98 uint32_t* row = (uint32_t*)(fImage + (y - fBounds.fTop) * fRowBytes);
H A DSkBitmap.h110 int rowBytes() const { return fRowBytes; }
129 int rowBytesAsPixels() const { return fRowBytes >> (fBytesPerPixel >> 1); }
139 size_t getSize() const { return fHeight * fRowBytes; }
153 size.setMul(fHeight, fRowBytes);
620 uint32_t fRowBytes; member in class:SkBitmap
817 return (uint32_t*)((char*)fPixels + y * fRowBytes + (x << 2));
824 return (uint16_t*)((char*)fPixels + y * fRowBytes + (x << 1));
831 return (uint8_t*)fPixels + y * fRowBytes + x;
839 return (*fColorTable)[*((const uint8_t*)fPixels + y * fRowBytes + x)];
847 return (uint8_t*)fPixels + y * fRowBytes
[all...]
/external/skia/src/core/
H A DSkBitmap.cpp31 uint32_t fRowBytes; member in struct:MipLevel
141 SkTSwap(fRowBytes, other.fRowBytes);
272 fRowBytes = rowBytes;
452 return (fHeight ? ((fHeight - 1) * fRowBytes) +
457 return ComputeSafeSize64(getConfig(), fWidth, fHeight, fRowBytes);
464 dstRowBytes = fRowBytes;
472 if (!preserveDstPad && static_cast<uint32_t>(dstRowBytes) == fRowBytes) {
497 row++, srcP += fRowBytes, dstP += dstRowBytes) {
683 const int rowBytes = fRowBytes;
[all...]

Completed in 100 milliseconds