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

/external/skia/include/core/
H A DSkBitmap.h108 int shiftPerPixel() const { return fBytesPerPixel >> 1; } function in class:SkBitmap
/external/skia/src/core/
H A DSkDraw.cpp247 int shiftPerPixel; local
250 shiftPerPixel = 2;
254 shiftPerPixel = 1;
257 shiftPerPixel = 0;
267 const int widthBytes = rect.width() << shiftPerPixel;
270 pixels += rect.fTop * rowBytes + (rect.fLeft << shiftPerPixel);

Completed in 47 milliseconds