Lines Matching defs:shift
277 int shift, round;
279 shift = 22 - s_m[m].exp;
280 if (shift < 1) {
281 av_log(NULL, AV_LOG_ERROR, "Overflow in sbr_hf_apply_noise, shift=%d\n", shift);
283 } else if (shift < 30) {
284 round = 1 << (shift-1);
285 y0 += (s_m[m].mant * phi_sign0 + round) >> shift;
286 y1 += (s_m[m].mant * phi_sign1 + round) >> shift;
289 int shift, round, tmp;
292 shift = 22 - q_filt[m].exp;
293 if (shift < 1) {
294 av_log(NULL, AV_LOG_ERROR, "Overflow in sbr_hf_apply_noise, shift=%d\n", shift);
296 } else if (shift < 30) {
297 round = 1 << (shift-1);
301 y0 += (tmp + round) >> shift;
305 y1 += (tmp + round) >> shift;