Lines Matching defs:size
62 uint32_t size) {
63 return convert_to_8((pixel & mask) >> shift, size);
72 return get_comp(pixel, fRed.mask, fRed.shift, fRed.size);
75 return get_comp(pixel, fGreen.mask, fGreen.shift, fGreen.size);
78 return get_comp(pixel, fBlue.mask, fBlue.shift, fBlue.size);
81 return get_comp(pixel, fAlpha.mask, fAlpha.shift, fAlpha.size);
93 uint32_t size = 0;
99 // Count the size of the mask
101 size++;
108 size++;
112 if (size > 8) {
113 shift += size - 8;
114 size = 8;
120 const SkMasks::MaskInfo info = { mask, shift, size };