Lines Matching defs:width
18 // Each bit represents a pixel, so width is actually a number of bits.
19 // A row will always be stored in bytes, so we round width up to the
22 static inline size_t get_src_row_bytes(int width) {
23 return SkAlign8(width) >> 3;
75 uint64_t width, height;
76 if (!read_mbf(stream, &width) || width > 0xFFFF || !width) {
83 *size = SkISize::Make(SkToS32(width), SkToS32(height));
100 , fSrcRowBytes(get_src_row_bytes(this->dimensions().width()))
158 auto info = SkEncodedInfo::Make(size.width(), size.height(), SkEncodedInfo::kGray_Color,