Lines Matching refs:bitsPerComponent
70 static SkEncodedInfo Make(Color color, Alpha alpha, int bitsPerComponent) { in Make()
71 SkASSERT(1 == bitsPerComponent || in Make()
72 2 == bitsPerComponent || in Make()
73 4 == bitsPerComponent || in Make()
74 8 == bitsPerComponent || in Make()
75 16 == bitsPerComponent); in Make()
85 SkASSERT(16 != bitsPerComponent); in Make()
91 SkASSERT(bitsPerComponent >= 8); in Make()
97 SkASSERT(8 == bitsPerComponent); in Make()
101 SkASSERT(bitsPerComponent >= 8); in Make()
106 SkASSERT(8 == bitsPerComponent); in Make()
113 return SkEncodedInfo(color, alpha, bitsPerComponent); in Make()
159 uint8_t bitsPerComponent() const { return fBitsPerComponent; } in bitsPerComponent() function
188 SkEncodedInfo(Color color, Alpha alpha, uint8_t bitsPerComponent) in SkEncodedInfo()
191 , fBitsPerComponent(bitsPerComponent) in SkEncodedInfo()