Home
last modified time | relevance | path

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

12

/third_party/skia/include/core/
DSkImageInfo.h267 int shiftPerPixel() const;
590 int shiftPerPixel() const { return fColorInfo.shiftPerPixel(); } in shiftPerPixel() function
695 int shift = this->shiftPerPixel(); in validRowBytes()
DSkPixmap.h204 int rowBytesAsPixels() const { return int(fRowBytes >> this->shiftPerPixel()); } in rowBytesAsPixels()
211 int shiftPerPixel() const { return fInfo.shiftPerPixel(); } in shiftPerPixel() function
DSkBitmap.h192 int shiftPerPixel() const { return fPixmap.shiftPerPixel(); } in shiftPerPixel() function
/third_party/flutter/skia/include/core/
DSkPixmap.h212 int rowBytesAsPixels() const { return int(fRowBytes >> this->shiftPerPixel()); } in rowBytesAsPixels()
219 int shiftPerPixel() const { return fInfo.shiftPerPixel(); } in shiftPerPixel() function
DSkBitmap.h191 int shiftPerPixel() const { return fPixmap.shiftPerPixel(); } in shiftPerPixel() function
DSkImageInfo.h490 int shiftPerPixel() const;
/third_party/skia/docs/examples/
DBitmap_shiftPerPixel.cpp21 bitmap.shiftPerPixel()); in draw()
DImageInfo_shiftPerPixel.cpp34 info.shiftPerPixel()); in draw()
DPixmap_shiftPerPixel.cpp33 pixmap.info().bytesPerPixel(), pixmap.shiftPerPixel()); in draw()
/third_party/flutter/skia/docs/examples/
DBitmap_shiftPerPixel.cpp21 bitmap.shiftPerPixel()); in draw()
DImageInfo_shiftPerPixel.cpp34 info.shiftPerPixel()); in draw()
DPixmap_shiftPerPixel.cpp33 pixmap.info().bytesPerPixel(), pixmap.shiftPerPixel()); in draw()
/third_party/skia/src/core/
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()
DSkImageInfo.cpp49 int SkColorInfo::shiftPerPixel() const { return SkColorTypeShiftPerPixel(fColorType); } in shiftPerPixel() function in SkColorInfo
DSkBlitter_Sprite.cpp90 const size_t bytesToCopy = width << fSource.shiftPerPixel(); in blitRect()
DSkRasterPipelineBlitter.cpp267 switch (blitter->fDst.shiftPerPixel()) { in Create()
/third_party/flutter/skia/src/core/
DSkBitmap.cpp165 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()
DSkImageInfo.cpp40 int SkImageInfo::shiftPerPixel() const { return SkColorTypeShiftPerPixel(fColorType); } in shiftPerPixel() function in SkImageInfo
DSkBlitter_Sprite.cpp86 const size_t bytesToCopy = width << fSource.shiftPerPixel(); in blitRect()
DSkRasterPipelineBlitter.cpp213 switch (blitter->fDst.shiftPerPixel()) { in Create()
/third_party/flutter/skia/src/image/
DSkSurface_Raster.cpp49 int shift = info.shiftPerPixel(); in SkSurfaceValidateRasterInfo()
/third_party/flutter/skia/site/user/api/
DSkImageInfo_Reference.md977 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 …]
DSkPixmap_Reference.md29 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 …]
DSkBitmap_Reference.md29 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/
DSkPngEncoder.cpp443 (const uint8_t*)srcRow + (fSrc.width() << fSrc.shiftPerPixel())); in onEncodeRows()

12