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

/external/skia/include/core/
H A DSkBitmap.h122 int shiftPerPixel() const { return fBytesPerPixel >> 1; } function in class:SkBitmap
/external/skia/legacy/src/core/
H A DSkDraw.cpp222 int shiftPerPixel; local
225 shiftPerPixel = 2;
229 shiftPerPixel = 1;
232 shiftPerPixel = 0;
242 const int widthBytes = rect.width() << shiftPerPixel;
245 pixels += rect.fTop * rowBytes + (rect.fLeft << shiftPerPixel);
/external/skia/legacy/include/core/
H A DSkBitmap.h117 int shiftPerPixel() const { return fBytesPerPixel >> 1; } function in class:SkBitmap
/external/skia/src/core/
H A DSkDraw.cpp240 int shiftPerPixel; local
243 shiftPerPixel = 2;
247 shiftPerPixel = 1;
250 shiftPerPixel = 0;
260 const int widthBytes = rect.width() << shiftPerPixel;
263 pixels += rect.fTop * rowBytes + (rect.fLeft << shiftPerPixel);

Completed in 106 milliseconds