Lines Matching defs:L_tmp

206 	Word32 L_tmp, L_gain_code, L_max, L_tmp1;
279 L_tmp = new_speech[0] << 15;
280 L_tmp -= (st->mem_preemph * mu)<<1;
281 L_max = L_abs(L_tmp);
285 L_tmp = new_speech[i] << 15;
286 L_tmp -= (new_speech[i - 1] * mu)<<1;
287 L_tmp = L_abs(L_tmp);
288 if(L_tmp > L_max)
290 L_max = L_tmp;
332 L_tmp = new_speech[i] << 15;
333 L_tmp -= (new_speech[i - 1] * mu)<<1;
334 L_tmp = (L_tmp << Q_new);
335 new_speech[i] = vo_round(L_tmp);
338 L_tmp = new_speech[0] << 15;
339 L_tmp -= (st->mem_preemph * mu)<<1;
340 L_tmp = (L_tmp << Q_new);
341 new_speech[0] = vo_round(L_tmp);
556 L_tmp = 0;
558 L_tmp += (exc2[i] * exc2[i])<<1;
560 L_tmp >>= 1;
562 dtx_buffer(st->dtx_encSt, isf, L_tmp, codec_mode);
620 L_tmp = 0;
624 L_tmp += (tmp * tmp)<<1;
627 tmp = extract_h(L_shl2(L_tmp, 8));
629 tmp = vo_mult(tmp, 26214); /* tmp = L_tmp*0.8/256 */
673 L_tmp = 0;
675 L_tmp += (exc2[i] * exc2[i])<<1;
676 L_tmp >>= 1;
678 dtx_buffer(st->dtx_encSt, isf, L_tmp, codec_mode);
804 L_tmp = *vo_p0 << 14; /* x4 (Q12 to Q14) */
809 L_tmp -= *vo_p1++ * *vo_p2--;
810 L_tmp -= *vo_p1++ * *vo_p2--;
811 L_tmp -= *vo_p1++ * *vo_p2--;
812 L_tmp -= *vo_p1++ * *vo_p2--;
814 *vo_p3++ = *vo_p0++ = vo_round((L_tmp <<4));
991 L_tmp = 5898 * *vo_p0++;
993 L_tmp += 20972 * *vo_p0++;
996 L_tmp += 5898 * *vo_p0;
997 *vo_p1++ = (L_tmp + 0x4000)>>15;
1022 L_tmp = 0L;
1027 L_tmp += *vo_p0 * *vo_p0;
1029 L_tmp -= *vo_p1 * *vo_p1;
1031 L_tmp += *vo_p0 * *vo_p0;
1033 L_tmp -= *vo_p1 * *vo_p1;
1037 if (L_tmp <= 0)
1178 L_tmp = L_shl(L_gain_code, Q_new);
1179 gain_code = extract_h(L_add(L_tmp, 0x8000));
1204 L_tmp = (gain_code * y2[L_SUBFR - 1])<<1;
1205 L_tmp = L_shl(L_tmp, (5 + shift));
1206 L_tmp = L_negate(L_tmp);
1207 L_tmp += (xn[L_SUBFR - 1] * 16384)<<1;
1208 L_tmp -= (y1[L_SUBFR - 1] * gain_pit)<<1;
1209 L_tmp = L_shl(L_tmp, (1 - shift));
1210 st->mem_w0 = extract_h(L_add(L_tmp, 0x8000));
1218 L_tmp = (gain_code * code[i])<<1;
1219 L_tmp = (L_tmp << 5);
1220 L_tmp += (exc[i + i_subfr] * gain_pit)<<1;
1221 L_tmp = L_shl2(L_tmp, 1);
1222 exc[i + i_subfr] = extract_h(L_add(L_tmp, 0x8000));
1245 L_tmp = L_gain_code;
1246 if(L_tmp < st->L_gc_thres)
1248 L_tmp = vo_L_add(L_tmp, Mpy_32_16(gain_code, gain_code_lo, 6226));
1249 if(L_tmp > st->L_gc_thres)
1251 L_tmp = st->L_gc_thres;
1255 L_tmp = Mpy_32_16(gain_code, gain_code_lo, 27536);
1256 if(L_tmp < st->L_gc_thres)
1258 L_tmp = st->L_gc_thres;
1261 st->L_gc_thres = L_tmp;
1264 VO_L_Extract(L_tmp, &gain_code, &gain_code_lo);
1277 L_tmp = L_deposit_h(code[0]);
1278 L_tmp -= (code[1] * tmp)<<1;
1279 code2[0] = vo_round(L_tmp);
1283 L_tmp = L_deposit_h(code[i]);
1284 L_tmp -= (code[i + 1] * tmp)<<1;
1285 L_tmp -= (code[i - 1] * tmp)<<1;
1286 code2[i] = vo_round(L_tmp);
1289 L_tmp = L_deposit_h(code[L_SUBFR - 1]);
1290 L_tmp -= (code[L_SUBFR - 2] * tmp)<<1;
1291 code2[L_SUBFR - 1] = vo_round(L_tmp);
1298 L_tmp = (code2[i] * gain_code)<<1;
1299 L_tmp = (L_tmp << 5);
1300 L_tmp += (exc2[i] * gain_pit)<<1;
1301 L_tmp = (L_tmp << 1);
1302 exc2[i] = vo_round(L_tmp);
1339 Word32 L_tmp, i;
1425 L_tmp = L_deposit_h(div_s(tmp, ener)); /* result is normalized */
1427 Isqrt_n(&L_tmp, &exp);
1428 L_tmp = L_shl(L_tmp, (exp + 1)); /* L_tmp x 2, L_tmp in Q31 */
1429 tmp = extract_h(L_tmp); /* tmp = 2 x sqrt(ener_exc/ener_hf) */
1439 L_tmp = 1L;
1441 L_tmp += (synth[i] * synth[i])<<1;
1443 exp = norm_l(L_tmp);
1444 ener = extract_h(L_tmp << exp); /* ener = r[0] */
1446 L_tmp = 1L;
1448 L_tmp +=(synth[i] * synth[i - 1])<<1;
1450 tmp = extract_h(L_tmp << exp); /* tmp = r[1] */
1520 L_tmp = L_deposit_h(div_s(tmp, ener)); /* result is normalized */
1522 Isqrt_n(&L_tmp, &exp);
1523 L_tmp = L_shl(L_tmp, exp); /* L_tmp, L_tmp in Q31 */
1524 HP_calc_gain = extract_h(L_tmp); /* tmp = sqrt(ener_input/ener_hf) */
1527 L_tmp = (vo_L_mult(st->dtx_encSt->dtxHangoverCount, 4681) << 15);
1528 st->gain_alpha = vo_mult(st->gain_alpha, extract_h(L_tmp));