Searched refs:fProfileType (Results 1 – 2 of 2) sorted by relevance
/external/skia/include/core/ |
D | SkImageInfo.h | 158 , fProfileType(kLinear_SkColorProfileType) in SkImageInfo() 208 SkColorProfileType profileType() const { return fProfileType; } in profileType() 216 bool isLinear() const { return kLinear_SkColorProfileType == fProfileType; } in isLinear() 217 bool isSRGB() const { return kSRGB_SkColorProfileType == fProfileType; } in isSRGB() 227 return SkImageInfo::Make(newWidth, newHeight, fColorType, fAlphaType, fProfileType); in makeWH() 231 return SkImageInfo::Make(fWidth, fHeight, fColorType, newAlphaType, fProfileType); in makeAlphaType() 235 return SkImageInfo::Make(fWidth, fHeight, newColorType, fAlphaType, fProfileType); in makeColorType() 294 , fProfileType(pt) in SkImageInfo() 297 SkColorProfileType fProfileType; member
|
/external/skia/src/core/ |
D | SkImageInfo.cpp | 30 fProfileType = (SkColorProfileType)((packed >> 16) & 0xFF); in unflatten() 33 buffer.validate(profile_type_is_valid(fProfileType) && in unflatten() 42 SkASSERT(0 == (fProfileType & ~0xFF)); in flatten() 45 uint32_t packed = (fProfileType << 16) | (fAlphaType << 8) | fColorType; in flatten()
|