Lines Matching defs:bits
143 const int bits = parts.iterated.size();
144 const uint32_t size = ((bits>=32) ? 0 : (1LU << bits)) - 1;
173 mask, bits);
282 tmu.bits = tmu.format.size*8;
351 txPtr.setTo(obtainReg(), tmu.bits);
488 // for 8-bits textures, we can afford
489 // 7 bits of fractional precision at no
490 // additional cost (we can't do 8 bits
491 // because filter8 uses signed 16 bits muls)
494 // filter16() is internally limited to 4 bits, so:
500 // filter32() is internally limited to 8 bits, so:
505 // for all other cases we use 4 bits.
625 txPtr.setTo(texel.reg, tmu.bits);
756 texel.format.c[i].l = FRAC_BITS*2; // keeping 8 bits in enough
798 ALOGE("Unsupported 16-bits texture format (%d)", tmu.format_idx);
814 texel.format.c[i].l = texel.format.c[i].h - (tmu.format.bits(i) + prec);
1142 // if tx_linear is set, we need 4 extra bits of precision on the result
1148 // 2 cycles using SMULWB, but we're loosing 16 bits of precision
1181 // Nt should always be less than 10 bits because it comes
1204 // we will overflow, reduce the precision of Ni to 8 bits
1205 // (Note Nt cannot be more than 10 bits which happens with
1231 // if shift==16, we can use 16-bits mul instructions later
1252 // low bits are not valid
1255 // no need to keep more than 8 bits/component
1275 // no need to keep more than 8-bits for decal
1313 // no need to keep more than 8-bits for blend