Home
last modified time | relevance | path

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

/third_party/skia/include/core/
H A DSkImageInfo.h267 int shiftPerPixel() const;
590 int shiftPerPixel() const { return fColorInfo.shiftPerPixel(); } in shiftPerPixel() function
695 int shift = this->shiftPerPixel(); in validRowBytes()
H A DSkPixmap.h204 int rowBytesAsPixels() const { return int(fRowBytes >> this->shiftPerPixel()); } in rowBytesAsPixels()
211 int shiftPerPixel() const { return fInfo.shiftPerPixel(); } in shiftPerPixel() function in SkPixmap
H A DSkBitmap.h192 int shiftPerPixel() const { return fPixmap.shiftPerPixel(); } in shiftPerPixel() function in SkBitmap
/third_party/skia/docs/examples/
H A DBitmap_shiftPerPixel.cpp19 SkDebugf("color: k" "%s" "_SkColorType" "%*s" "shiftPerPixel: %d\n", in REG_FIDDLE()
21 bitmap.shiftPerPixel()); in REG_FIDDLE()
H A DPixmap_shiftPerPixel.cpp31 SkDebugf("color: k" "%s" "_SkColorType" "%*s" "bytesPerPixel: %d shiftPerPixel: %d\n", in REG_FIDDLE()
33 pixmap.info().bytesPerPixel(), pixmap.shiftPerPixel()); in REG_FIDDLE()
H A DImageInfo_shiftPerPixel.cpp32 SkDebugf("color: k" "%s" "_SkColorType" "%*s" "shiftPerPixel: %d\n", in REG_FIDDLE()
34 info.shiftPerPixel()); in REG_FIDDLE()
/third_party/skia/src/core/
H A DSkBitmap.cpp163 SkASSERT(this->bytesPerPixel() == (1 << this->shiftPerPixel())); in pixelRefOrigin()
166 return {SkToS32((off % rb) >> this->shiftPerPixel()), SkToS32(off / rb)}; in pixelRefOrigin()
393 base += (y * this->rowBytes()) + (x << this->shiftPerPixel()); in getAddr()
H A DSkImageInfo.cpp49 int SkColorInfo::shiftPerPixel() const { return SkColorTypeShiftPerPixel(fColorType); } in shiftPerPixel() function in SkColorInfo
H A DSkBlitter_Sprite.cpp90 const size_t bytesToCopy = width << fSource.shiftPerPixel();
H A DSkRasterPipelineBlitter.cpp267 switch (blitter->fDst.shiftPerPixel()) { in Create()
/third_party/skia/src/images/
H A DSkPngEncoder.cpp443 (const uint8_t*)srcRow + (fSrc.width() << fSrc.shiftPerPixel())); in onEncodeRows()

Completed in 15 milliseconds