Home
last modified time | relevance | path

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

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