Lines Matching refs:tmp

410     Word16 g_code, exp, frac, tmp;
442 tmp = shr_r (frac, 5);
443 qua_ener_MR122 = add (tmp, shl (exp, 10));
487 Word16 tmp;
506 tmp = 10 - exp_gcode0;
507 L_tmp = L_shr(L_tmp, tmp, pOverflow);
522 tmp = shr_r(frac, 5, pOverflow);
524 qua_ener_MR122 = tmp + qua_ener_MR122;
595 Word16 tmp, exp, frac;
637 tmp = sub (sub (cod_gain_exp, exp_gcode0), 1);
640 exp = add (exp, tmp);
702 Word16 tmp;
751 tmp = cod_gain_exp - exp_gcode0;
752 tmp -= 1;
755 exp += tmp;
759 tmp = exp << 10;
760 qua_ener_MR122 += tmp;
888 Word16 tmp;
965 tmp = shr_r (sf1_frac_target_en, 1); // tmp = ceil(0.5*en(sf1))
966 if (sub (tmp, sf0_frac_target_en) > 0) // tmp > en(sf0)?
974 tmp = shr (add (sf0_frac_target_en, 3), 2); // tmp=ceil(0.25*en(sf0))
975 if (sub (tmp, sf1_frac_target_en) > 0) // tmp > en(sf1)?
1015 tmp = sub(exp, exp_max[i]);
1017 L_tmp = L_shr(L_tmp, tmp);
1022 tmp = sub(exp, exp_max[i]);
1024 L_tmp = L_shr(L_tmp, tmp);
1061 tmp = sub (g_pitch, gp_limit);
1067 if (tmp <= 0 && sub(g_pitch, gp_limit) <= 0)
1097 tmp = shl(index, 2);
1099 &table_gain_MR475[tmp],
1112 tmp = add (tmp, 2);
1114 &table_gain_MR475[tmp],
1184 Word16 tmp;
1271 tmp = shr_r(sf1_frac_target_en, 1, pOverflow); /* tmp = ceil(0.5*en(sf1)) */
1273 if (tmp > sf0_frac_target_en) /* tmp > en(sf0)? */
1283 tmp = ((sf0_frac_target_en + 3) >> 2); /* tmp=ceil(0.25*en(sf0)) */
1285 if (tmp > sf1_frac_target_en) /* tmp > en(sf1)? */
1328 tmp = (exp - exp_max[i]);
1330 L_tmp = L_shr(L_tmp, tmp, pOverflow);
1337 tmp = exp - exp_max[i];
1339 L_tmp = L_shr(L_tmp, tmp, pOverflow);
1380 tmp = (g_pitch - gp_limit);
1386 if ((tmp <= 0) && (g_pitch <= gp_limit))
1416 tmp = index << 2;
1418 &table_gain_MR475[tmp],
1434 tmp += 2;
1437 &table_gain_MR475[tmp],