Home
last modified time | relevance | path

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

12

/external/skia/include/core/
DSkPixmap.h217 int rowBytesAsPixels() const { return int(fRowBytes >> this->shiftPerPixel()); } in rowBytesAsPixels()
224 int shiftPerPixel() const { return fInfo.shiftPerPixel(); } in shiftPerPixel() function
DSkBitmap.h199 int shiftPerPixel() const { return fPixmap.shiftPerPixel(); } in shiftPerPixel() function
DSkImageInfo.h500 int shiftPerPixel() const;
/external/skqp/include/core/
DSkPixmap.h207 int rowBytesAsPixels() const { return int(fRowBytes >> this->shiftPerPixel()); } in rowBytesAsPixels()
214 int shiftPerPixel() const { return fInfo.shiftPerPixel(); } in shiftPerPixel() function
DSkBitmap.h199 int shiftPerPixel() const { return fPixmap.shiftPerPixel(); } in shiftPerPixel() function
DSkImageInfo.h494 int shiftPerPixel() const;
/external/skqp/docs/
DSkPixmap_Reference.bmh517 #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 …]
DSkImageInfo_Reference.bmh1769 #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 …]
DSkBitmap_Reference.bmh570 #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/skia/docs/
DSkPixmap_Reference.bmh517 #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 …]
DSkImageInfo_Reference.bmh1761 #SeeAlso width shiftPerPixel SkBitmap::bytesPerPixel
1767 #Method int shiftPerPixel() const
1778 SkDebugf("color: k" "%s" "_SkColorType" "%*s" "shiftPerPixel: %d\n",
1780 info.shiftPerPixel());
1783 color: kUnknown_SkColorType shiftPerPixel: 0
1784 color: kAlpha_8_SkColorType shiftPerPixel: 0
1785 color: kRGB_565_SkColorType shiftPerPixel: 1
1786 color: kARGB_4444_SkColorType shiftPerPixel: 1
1787 color: kRGBA_8888_SkColorType shiftPerPixel: 2
1788 color: kRGB_888x_SkColorType shiftPerPixel: 2
[all …]
DSkBitmap_Reference.bmh570 #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/
DSkBitmap.cpp164 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()
DSkImageInfo.cpp39 int SkImageInfo::shiftPerPixel() const { return SkColorTypeShiftPerPixel(fColorType); } in shiftPerPixel() function in SkImageInfo
DSkBlitter_Sprite.cpp86 const size_t bytesToCopy = width << fSource.shiftPerPixel(); in blitRect()
/external/skia/src/core/
DSkBitmap.cpp164 SkASSERT(this->bytesPerPixel() == (1 << this->shiftPerPixel())); in pixelRefOrigin()
167 return {SkToS32((off % rb) >> this->shiftPerPixel()), SkToS32(off / rb)}; in pixelRefOrigin()
416 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()
/external/skqp/src/image/
DSkSurface_Raster.cpp49 int shift = info.shiftPerPixel(); in SkSurfaceValidateRasterInfo()
/external/skia/src/image/
DSkSurface_Raster.cpp49 int shift = info.shiftPerPixel(); in SkSurfaceValidateRasterInfo()
/external/skqp/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 …]
/external/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 …]

12