Lines Matching refs:shift_count
220 int32_t shift_count, value, f = *sample;
225 shift_count = 0;
227 shift_count = s->max_exp - get_exponent(f);
230 shift_count = s->max_exp ? s->max_exp - 1 : 0;
234 if (shift_count < 25)
235 value >>= shift_count;
244 } else if (shift_count) {
245 int32_t mask = (1 << shift_count) - 1;
2174 int32_t value, shift_count;
2185 shift_count = 0;
2187 shift_count = max_exp - get_exponent(*sample);
2190 shift_count = max_exp ? max_exp - 1 : 0;
2194 if (shift_count < 25)
2195 value >>= shift_count;
2216 } else if (shift_count) {
2218 int32_t data = get_mantissa(*sample) & ((1 << shift_count) - 1);
2219 put_bits(pb, shift_count, data);