Home
last modified time | relevance | path

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

/external/skia/include/core/
DSkPixmap.h81 int rowBytesAsPixels() const { return int(fRowBytes >> this->shiftPerPixel()); } in rowBytesAsPixels()
87 int shiftPerPixel() const { return fInfo.shiftPerPixel(); } in shiftPerPixel() function
DSkBitmap.h102 return fRowBytes >> this->shiftPerPixel(); in rowBytesAsPixels()
109 int shiftPerPixel() const { return this->fInfo.shiftPerPixel(); } in shiftPerPixel() function
DSkImageInfo.h274 int shiftPerPixel() const { return SkColorTypeShiftPerPixel(fColorType); } in shiftPerPixel() function
/external/skia/src/core/
DSkBlitter_Sprite.cpp113 const size_t bytesToCopy = width << fSource.shiftPerPixel(); in blitRect()
DSkDraw.cpp200 int shiftPerPixel; in CallBitmapXferProc() local
203 shiftPerPixel = 2; in CallBitmapXferProc()
206 shiftPerPixel = 1; in CallBitmapXferProc()
209 shiftPerPixel = 0; in CallBitmapXferProc()
219 const int widthBytes = rect.width() << shiftPerPixel; in CallBitmapXferProc()
222 pixels += rect.fTop * rowBytes + (rect.fLeft << shiftPerPixel); in CallBitmapXferProc()
DSkRasterPipelineBlitter.cpp217 switch (fDst.shiftPerPixel()) { in blitH()