/external/skia/include/core/ |
D | SkImageInfo.h | 265 int shiftPerPixel() const; 588 int shiftPerPixel() const { return fColorInfo.shiftPerPixel(); } in shiftPerPixel() function 693 int shift = this->shiftPerPixel(); in validRowBytes()
|
D | SkPixmap.h | 204 int rowBytesAsPixels() const { return int(fRowBytes >> this->shiftPerPixel()); } in rowBytesAsPixels() 211 int shiftPerPixel() const { return fInfo.shiftPerPixel(); } in shiftPerPixel() function
|
D | SkBitmap.h | 192 int shiftPerPixel() const { return fPixmap.shiftPerPixel(); } in shiftPerPixel() function
|
/external/skqp/include/core/ |
D | SkPixmap.h | 207 int rowBytesAsPixels() const { return int(fRowBytes >> this->shiftPerPixel()); } in rowBytesAsPixels() 214 int shiftPerPixel() const { return fInfo.shiftPerPixel(); } in shiftPerPixel() function
|
D | SkBitmap.h | 199 int shiftPerPixel() const { return fPixmap.shiftPerPixel(); } in shiftPerPixel() function
|
D | SkImageInfo.h | 494 int shiftPerPixel() const;
|
/external/skia/docs/examples/ |
D | Bitmap_shiftPerPixel.cpp | 21 bitmap.shiftPerPixel()); in draw()
|
D | ImageInfo_shiftPerPixel.cpp | 34 info.shiftPerPixel()); in draw()
|
D | Pixmap_shiftPerPixel.cpp | 33 pixmap.info().bytesPerPixel(), pixmap.shiftPerPixel()); in draw()
|
/external/skqp/docs/ |
D | SkPixmap_Reference.bmh | 517 #SeeAlso rowBytes shiftPerPixel width SkImageInfo::bytesPerPixel 523 #Method int shiftPerPixel() const 538 SkDebugf("color: k" "%s" "_SkColorType" "%*s" "bytesPerPixel: %d shiftPerPixel: %d\n", 540 pixmap.info().bytesPerPixel(), pixmap.shiftPerPixel()); 543 color: kUnknown_SkColorType bytesPerPixel: 0 shiftPerPixel: 0 544 color: kAlpha_8_SkColorType bytesPerPixel: 1 shiftPerPixel: 0 545 color: kRGB_565_SkColorType bytesPerPixel: 2 shiftPerPixel: 1 546 color: kARGB_4444_SkColorType bytesPerPixel: 2 shiftPerPixel: 1 547 color: kRGBA_8888_SkColorType bytesPerPixel: 4 shiftPerPixel: 2 548 color: kBGRA_8888_SkColorType bytesPerPixel: 4 shiftPerPixel: 2 [all …]
|
D | SkImageInfo_Reference.bmh | 1769 #SeeAlso width shiftPerPixel SkBitmap::bytesPerPixel 1775 #Method int shiftPerPixel() const 1786 SkDebugf("color: k" "%s" "_SkColorType" "%*s" "shiftPerPixel: %d\n", 1788 info.shiftPerPixel()); 1791 color: kUnknown_SkColorType shiftPerPixel: 0 1792 color: kAlpha_8_SkColorType shiftPerPixel: 0 1793 color: kRGB_565_SkColorType shiftPerPixel: 1 1794 color: kARGB_4444_SkColorType shiftPerPixel: 1 1795 color: kRGBA_8888_SkColorType shiftPerPixel: 2 1796 color: kRGB_888x_SkColorType shiftPerPixel: 2 [all …]
|
D | SkBitmap_Reference.bmh | 570 #SeeAlso rowBytes rowBytesAsPixels width shiftPerPixel SkImageInfo::bytesPerPixel 596 #SeeAlso rowBytes shiftPerPixel width bytesPerPixel 602 #Method int shiftPerPixel() const 615 SkDebugf("color: k" "%s" "_SkColorType" "%*s" "shiftPerPixel: %d\n", 617 bitmap.shiftPerPixel()); 620 color: kUnknown_SkColorType shiftPerPixel: 0 621 color: kAlpha_8_SkColorType shiftPerPixel: 0 622 color: kRGB_565_SkColorType shiftPerPixel: 1 623 color: kARGB_4444_SkColorType shiftPerPixel: 1 624 color: kRGBA_8888_SkColorType shiftPerPixel: 2 [all …]
|
/external/skqp/src/core/ |
D | SkBitmap.cpp | 164 SkASSERT(this->bytesPerPixel() == (1 << this->shiftPerPixel())); in pixelRefOrigin() 167 return {SkToS32((off % rb) >> this->shiftPerPixel()), SkToS32(off / rb)}; in pixelRefOrigin() 384 base += (y * this->rowBytes()) + (x << this->shiftPerPixel()); in getAddr()
|
D | SkImageInfo.cpp | 39 int SkImageInfo::shiftPerPixel() const { return SkColorTypeShiftPerPixel(fColorType); } in shiftPerPixel() function in SkImageInfo
|
D | SkBlitter_Sprite.cpp | 86 const size_t bytesToCopy = width << fSource.shiftPerPixel(); in blitRect()
|
D | SkRasterPipelineBlitter.cpp | 211 switch (blitter->fDst.shiftPerPixel()) { in Create()
|
/external/skia/src/core/ |
D | SkBitmap.cpp | 163 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()
|
D | SkImageInfo.cpp | 48 int SkColorInfo::shiftPerPixel() const { return SkColorTypeShiftPerPixel(fColorType); } in shiftPerPixel() function in SkColorInfo
|
D | SkBlitter_Sprite.cpp | 89 const size_t bytesToCopy = width << fSource.shiftPerPixel(); in blitRect()
|
D | SkRasterPipelineBlitter.cpp | 259 switch (blitter->fDst.shiftPerPixel()) { in Create()
|
/external/skqp/src/image/ |
D | SkSurface_Raster.cpp | 49 int shift = info.shiftPerPixel(); in SkSurfaceValidateRasterInfo()
|
/external/skqp/site/user/api/ |
D | SkImageInfo_Reference.md | 977 int <a href='#SkImageInfo_shiftPerPixel'>shiftPerPixel</a>() const; 1861 <a href='#SkImageInfo_width'>width</a> <a href='#SkImageInfo_shiftPerPixel'>shiftPerPixel</a> <a hr… 1868 int <a href='#SkImageInfo_shiftPerPixel'>shiftPerPixel</a>()const 1888 color: kUnknown_SkColorType shiftPerPixel: 0 1889 color: kAlpha_8_SkColorType shiftPerPixel: 0 1890 color: kRGB_565_SkColorType shiftPerPixel: 1 1891 color: kARGB_4444_SkColorType shiftPerPixel: 1 1892 color: kRGBA_8888_SkColorType shiftPerPixel: 2 1893 color: kRGB_888x_SkColorType shiftPerPixel: 2 1894 color: kBGRA_8888_SkColorType shiftPerPixel: 2 [all …]
|
D | SkPixmap_Reference.md | 29 int <a href='#SkPixmap_shiftPerPixel'>shiftPerPixel</a>() const; 677 <a href='#SkPixmap_rowBytes'>rowBytes</a> <a href='#SkPixmap_shiftPerPixel'>shiftPerPixel</a> <a hr… 684 int <a href='#SkPixmap_shiftPerPixel'>shiftPerPixel</a>()const 701 color: kUnknown_SkColorType bytesPerPixel: 0 shiftPerPixel: 0 702 color: kAlpha_8_SkColorType bytesPerPixel: 1 shiftPerPixel: 0 703 color: kRGB_565_SkColorType bytesPerPixel: 2 shiftPerPixel: 1 704 color: kARGB_4444_SkColorType bytesPerPixel: 2 shiftPerPixel: 1 705 color: kRGBA_8888_SkColorType bytesPerPixel: 4 shiftPerPixel: 2 706 color: kBGRA_8888_SkColorType bytesPerPixel: 4 shiftPerPixel: 2 707 color: kGray_8_SkColorType bytesPerPixel: 1 shiftPerPixel: 0 [all …]
|
D | SkBitmap_Reference.md | 29 int <a href='#SkBitmap_shiftPerPixel'>shiftPerPixel</a>() const; 793 …<a href='#SkBitmap_width'>width</a> <a href='#SkBitmap_shiftPerPixel'>shiftPerPixel</a> <a href='S… 828 <a href='#SkBitmap_rowBytes'>rowBytes</a> <a href='#SkBitmap_shiftPerPixel'>shiftPerPixel</a> <a hr… 835 int <a href='#SkBitmap_shiftPerPixel'>shiftPerPixel</a>()const 855 color: kUnknown_SkColorType shiftPerPixel: 0 856 color: kAlpha_8_SkColorType shiftPerPixel: 0 857 color: kRGB_565_SkColorType shiftPerPixel: 1 858 color: kARGB_4444_SkColorType shiftPerPixel: 1 859 color: kRGBA_8888_SkColorType shiftPerPixel: 2 860 color: kRGB_888x_SkColorType shiftPerPixel: 2 [all …]
|
/external/skia/src/images/ |
D | SkPngEncoder.cpp | 438 (const uint8_t*)srcRow + (fSrc.width() << fSrc.shiftPerPixel())); in onEncodeRows()
|