Searched refs:shiftPerPixel (Results 1 - 2 of 2) sorted by relevance

/external/skia/include/core/
H A DSkBitmap.h101 return fRowBytes >> this->shiftPerPixel();
108 int shiftPerPixel() const { return this->bytesPerPixel() >> 1; } function in class:SkBitmap
/external/skia/src/core/
H A DSkDraw.cpp228 int shiftPerPixel; local
231 shiftPerPixel = 2;
234 shiftPerPixel = 1;
237 shiftPerPixel = 0;
247 const int widthBytes = rect.width() << shiftPerPixel;
250 pixels += rect.fTop * rowBytes + (rect.fLeft << shiftPerPixel);

Completed in 101 milliseconds