Lines Matching defs:SkImageInfo
192 struct SK_API SkImageInfo { struct
200 SkImageInfo() in SkImageInfo() argument
302 static SkImageInfo MakeN32Premul(const SkISize& size) { in MakeN32Premul() argument
313 static SkImageInfo MakeA8(int width, int height) { in MakeA8() argument
327 static SkImageInfo MakeUnknown(int width, int height) { in MakeUnknown() argument
339 static SkImageInfo MakeUnknown() { in MakeUnknown() argument
347 int width() const { return fDimensions.width(); } in width()
353 int height() const { return fDimensions.height(); } in height()
363 SkColorType colorType() const { return fColorType; } in colorType()
390 /** Returns if SkImageInfo describes an empty area of pixels by checking if either argument
395 bool isEmpty() const { return fDimensions.isEmpty(); } in isEmpty()
406 bool isOpaque() const { in isOpaque()
432 /** Creates SkImageInfo with the same SkColorType, SkColorSpace, and SkAlphaType, argument
439 SkImageInfo makeWH(int newWidth, int newHeight) const { in makeWH() argument
454 SkImageInfo makeAlphaType(SkAlphaType newAlphaType) const { in makeAlphaType() argument
468 SkImageInfo makeColorType(SkColorType newColorType) const { in makeColorType() argument
478 SkImageInfo makeColorSpace(sk_sp<SkColorSpace> cs) const { in makeColorSpace() argument
502 uint64_t minRowBytes64() const { return sk_64_mul(this->width(), this->bytesPerPixel()); } in minRowBytes64()
530 /** Compares SkImageInfo with other, and returns true if width, height, SkColorType, argument
594 /** Creates an empty SkImageInfo with kUnknown_SkColorType, kUnknown_SkAlphaType, argument
615 SkImageInfo(int width, int height, SkColorType ct, SkAlphaType at, sk_sp<SkColorSpace> cs) in SkImageInfo() function