Lines Matching refs:ct
89 static int SkColorTypeBytesPerPixel(SkColorType ct) { in SkColorTypeBytesPerPixel() argument
104 SkASSERT((size_t)ct < SK_ARRAY_COUNT(gSize)); in SkColorTypeBytesPerPixel()
105 return gSize[ct]; in SkColorTypeBytesPerPixel()
108 static inline size_t SkColorTypeMinRowBytes(SkColorType ct, int width) { in SkColorTypeMinRowBytes() argument
109 return width * SkColorTypeBytesPerPixel(ct); in SkColorTypeMinRowBytes()
116 static inline size_t SkColorTypeComputeOffset(SkColorType ct, int x, int y, size_t rowBytes) { in SkColorTypeComputeOffset() argument
118 switch (SkColorTypeBytesPerPixel(ct)) { in SkColorTypeComputeOffset()
178 static SkImageInfo Make(int width, int height, SkColorType ct, SkAlphaType at,
180 return SkImageInfo(width, height, ct, at, pt);
312 SkImageInfo(int width, int height, SkColorType ct, SkAlphaType at, SkColorProfileType pt) in SkImageInfo()
315 , fColorType(ct) in SkImageInfo()