/third_party/skia/include/core/ |
D | SkImageInfo.h | 267 int shiftPerPixel() const; 590 int shiftPerPixel() const { return fColorInfo.shiftPerPixel(); } in shiftPerPixel() function 695 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
|
/third_party/flutter/skia/include/core/ |
D | SkPixmap.h | 212 int rowBytesAsPixels() const { return int(fRowBytes >> this->shiftPerPixel()); } in rowBytesAsPixels() 219 int shiftPerPixel() const { return fInfo.shiftPerPixel(); } in shiftPerPixel() function
|
D | SkBitmap.h | 191 int shiftPerPixel() const { return fPixmap.shiftPerPixel(); } in shiftPerPixel() function
|
D | SkImageInfo.h | 490 int shiftPerPixel() const;
|
/third_party/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()
|
/third_party/flutter/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()
|
/third_party/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 | 49 int SkColorInfo::shiftPerPixel() const { return SkColorTypeShiftPerPixel(fColorType); } in shiftPerPixel() function in SkColorInfo
|
D | SkBlitter_Sprite.cpp | 90 const size_t bytesToCopy = width << fSource.shiftPerPixel(); in blitRect()
|
D | SkRasterPipelineBlitter.cpp | 267 switch (blitter->fDst.shiftPerPixel()) { in Create()
|
/third_party/flutter/skia/src/core/ |
D | SkBitmap.cpp | 165 SkASSERT(this->bytesPerPixel() == (1 << this->shiftPerPixel())); in pixelRefOrigin() 168 return {SkToS32((off % rb) >> this->shiftPerPixel()), SkToS32(off / rb)}; in pixelRefOrigin() 407 base += (y * this->rowBytes()) + (x << this->shiftPerPixel()); in getAddr()
|
D | SkImageInfo.cpp | 40 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 | 213 switch (blitter->fDst.shiftPerPixel()) { in Create()
|
/third_party/flutter/skia/src/image/ |
D | SkSurface_Raster.cpp | 49 int shift = info.shiftPerPixel(); in SkSurfaceValidateRasterInfo()
|
/third_party/flutter/skia/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 …]
|
/third_party/skia/src/images/ |
D | SkPngEncoder.cpp | 443 (const uint8_t*)srcRow + (fSrc.width() << fSrc.shiftPerPixel())); in onEncodeRows()
|