Lines Matching refs:tmp
327 int16 i, j, i_subfr, index, ind[8], tmp;
534 tmp = sub_int16(isf[i], st->isfold[i]);
535 L_tmp = mac_16by16_to_int32(L_tmp, tmp, tmp);
537 tmp = extract_h(shl_int32(L_tmp, 8));
538 tmp = mult_int16(tmp, 26214); /* tmp = L_tmp*0.8/256 */
540 tmp = 20480 - tmp; /* 1.25 - tmp */
541 stab_fac = shl_int16(tmp, 1); /* Q14 -> Q15 with saturation */
797 tmp = T0;
801 tmp++;
803 Pit_shrp(code, tmp, PIT_SHARP, L_SUBFR);
846 tmp = st->Qsubfr[0];
849 if (st->Qsubfr[i] < tmp)
851 tmp = st->Qsubfr[i];
857 if (tmp > Q_MAX)
859 tmp = Q_MAX;
865 while ((L_tmp < 0x08000000L) && (Q_new < tmp))
919 tmp = mult_int16(exc2[i], pit_sharp);
920 L_tmp = mul_16by16_to_int32(tmp, gain_pit);
952 tmp = amr_wb_round(L_tmp);
953 exc[i + i_subfr] = tmp;
954 tmp = tmp - (tmp < 0);
955 max |= tmp ^(tmp >> 15); /* |= tmp ^sign(tmp) */
959 /* tmp = scaling possible according to max value of excitation */
960 tmp = add_int16(norm_s(max), Q_new) - 1;
965 st->Qsubfr[0] = tmp;
1002 tmp = 16384 - (voice_fac >> 1); /* 1=unvoiced, 0=voiced */
1003 fac = mult_int16(stab_fac, tmp);
1039 tmp = (voice_fac >> 3) + 4096;/* 0.25=voiced, 0=unvoiced */
1046 L_tmp = msu_16by16_from_int32(L_tmp, code[1], tmp);
1057 L_tmp = msu_16by16_from_int32(L_tmp, (code[i + 1] + code[i - 1]), tmp);
1066 L_tmp = msu_16by16_from_int32(L_tmp, code[L_SUBFR - 2], tmp);