Lines Matching defs:SkImageInfo
214 struct SK_API SkImageInfo { struct
255 static SkImageInfo Make(SkISize dimensions, const SkColorInfo& colorInfo) { in Make() argument
258 static SkImageInfo Make(SkISize dimensions, SkColorInfo&& colorInfo) { in Make() argument
363 static SkImageInfo MakeUnknown() { in MakeUnknown() argument
371 int width() const { return fDimensions.width(); } in width()
400 /** Returns if SkImageInfo describes an empty area of pixels by checking if either argument
408 alpha type, and color space as this SkImageInfo. argument
410 const SkColorInfo& colorInfo() const { return fColorInfo; } in colorInfo()
443 /** Creates SkImageInfo with the same SkColorType, SkColorSpace, and SkAlphaType, argument
450 SkImageInfo makeWH(int newWidth, int newHeight) const { in makeWH() argument
460 SkImageInfo makeDimensions(SkISize newSize) const { in makeDimensions() argument
472 SkImageInfo makeAlphaType(SkAlphaType newAlphaType) const { in makeAlphaType() argument
481 SkImageInfo makeColorType(SkColorType newColorType) const { in makeColorType() argument
498 int bytesPerPixel() const { return fColorInfo.bytesPerPixel(); } in bytesPerPixel()
505 int shiftPerPixel() const { return fColorInfo.shiftPerPixel(); } in shiftPerPixel()
513 uint64_t minRowBytes64() const { in minRowBytes64()
545 /** Compares SkImageInfo with other, and returns true if width, height, SkColorType, argument
598 /** Returns true if rowBytes is valid for this SkImageInfo. argument
613 /** Creates an empty SkImageInfo with kUnknown_SkColorType, kUnknown_SkAlphaType, argument
627 SkImageInfo(SkISize dimensions, const SkColorInfo& colorInfo) in SkImageInfo() argument
630 SkImageInfo(SkISize dimensions, SkColorInfo&& colorInfo) in SkImageInfo() argument