Lines Matching defs:bits
169 mir_components_for_bits(unsigned bits)
171 return 1 << (7 - util_logbase2(bits));
182 mir_from_bytemask(uint16_t bytemask, unsigned bits)
185 unsigned count = bits / 8;
203 mir_round_bytemask_up(uint16_t mask, unsigned bits)
205 unsigned bytes = bits / 8;
207 unsigned channels = mir_components_for_bits(bits);
255 * (16/bytes), which simplifies to 8/bytes = 8 / (bits / 8) = 64 / bits
276 mir_bytemask_of_read_components_single(unsigned *swizzle, unsigned inmask, unsigned bits)
285 return pan_to_bytemask(bits, cmask);