/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | g_pitch.cpp | 317 Word32 L_temp; /* Use this as an intermediate value */ local 344 L_temp = s << exp_yy; 345 yy = pv_round(L_temp, pOverflow); 363 L_temp = s << exp_yy; 364 yy = pv_round(L_temp, pOverflow); 377 L_temp = ((Word32) * (p_xn++) * *(p_y1++)); 379 s = s1 + L_temp; 381 if ((s1 ^ L_temp) > 0) 398 L_temp = s << exp_xy; 399 xy = pv_round(L_temp, pOverflo [all...] |
H A D | spstproc.cpp | 195 Word32 L_temp; local 263 L_temp = ((Word32) * (p_exc++) * pitch_fac) << 1; 265 L_temp += ((Word32) * (p_code++) * gain_code) << 1; 267 L_temp <<= tempShift; 269 *(p_exc++) = (Word16)((L_temp + 0x08000L) >> 16); 304 L_temp = ((Word32)y1[i] * gain_pit); 305 temp = (Word16)(L_temp >> 14); 307 L_temp = ((Word32)y2[i] * gain_code); 308 temp += (Word16)(L_temp >> kShift);
|
H A D | hp_max.cpp | 252 Word32 L_temp; local 261 L_temp = L_sub(t0, corr[-i-1], pOverflow); 262 t0 = L_sub(L_temp, corr[-i+1], pOverflow); 289 L_temp = L_shl(t0, 1, pOverflow); 291 t0 = L_sub(L_temp, t1, pOverflow); 303 L_temp = L_shl(max, shift1, pOverflow); 304 max16 = (Word16)(L_temp >> 16); 307 L_temp = L_shl(t0, shift2, pOverflow); 308 t016 = (Word16)(L_temp >> 16);
|
H A D | cl_ltp.cpp | 516 Word32 L_temp; // temporarily variable 584 L_temp = L_mult(y1[i], *gain_pit); 585 L_temp = L_shl(L_temp, 1); 586 xn2[i] = sub(xn[i], extract_h(L_temp)); 588 L_temp = L_mult(exc[i], *gain_pit); 589 L_temp = L_shl(L_temp, 1); 590 res2[i] = sub(res2[i], extract_h(L_temp)); 643 Word32 L_temp; /* temporaril local [all...] |
H A D | calc_en.cpp | 157 Word32 s, L_temp; 202 L_temp = L_mult(exc[i], gain_pit); 203 L_temp = L_shl(L_temp, 1); 204 tmp = sub(res[i], pv_round(L_temp)); // LTP residual, Q0 222 // L_temp = ltpGain * 2^(30 + exp) 223 L_temp = L_deposit_h (pred_gain); 224 // L_temp = ltpGain * 2^27 225 L_temp = L_shr (L_temp, ad 281 Word32 L_temp; /* temporal 32 bits storage */ local [all...] |
H A D | pitch_ol.cpp | 332 Word32 L_temp; local 414 L_temp = L_temp_2 - L_temp_3; 416 max_l = (Word16)L_temp; 431 L_temp = L_temp_2 - L_temp_3; 433 ener_l = (Word16)L_temp; 982 Word32 L_temp; local 1098 L_temp = ((Word32)pit_min) << 2; 1099 if (L_temp != (Word32)((Word16) L_temp)) 1106 j = (Word16)L_temp; [all...] |
H A D | c2_9pf.cpp | 326 Word32 L_temp; local 328 L_temp = ((Word32) pitch_sharp) << 1; 331 if (L_temp != (Word32)((Word16) L_temp)) 338 sharp = (Word16) L_temp; 612 Word32 L_temp; local 692 /* L_temp = L_mult(alp, sq1, pOverflow); */ 693 L_temp = ((Word32) alp * sq1) << 1; 695 /* s = L_msu(L_temp, sq, alp_16, pOverflow); */ 696 s = L_temp [all...] |
H A D | set_sign.cpp | 508 Word32 L_temp; local 542 L_temp = ((Word32)k_cn * *(p_cn--)) << 1; 544 s = L_mac(L_temp, k_dn, val, pOverflow); 545 L_temp = L_shl(s, 10, pOverflow); 546 cor = pv_round(L_temp, pOverflow);
|
H A D | dtx_enc.cpp | 948 Word32 L_temp; local 983 L_temp = ((Word32) log_en_e) << 10; 984 if (L_temp != (Word32)((Word16) L_temp)) 991 log_en = (Word16) L_temp;
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | ph_disp.cpp | 51 Description: Clarified grouping in the equation to calculated L_temp from the 455 Word32 L_temp; 618 L_temp = L_mult ( x[i], pitch_fac); 621 L_temp = L_mac (L_temp, inno[i], cbGain); 624 L_temp = L_shl (L_temp, tmp_shift); // Q16 625 x[i] = pv_round (L_temp); 672 Word32 L_temp; local 722 L_temp [all...] |
H A D | bgnscd.cpp | 412 Word32 s, L_temp; local 423 L_temp = ((Word32) speech[i]) * speech[i]; 424 if (L_temp != (Word32) 0x40000000L) 426 L_temp = L_temp << 1; 430 L_temp = MAX_32; 432 s = L_add(s, L_temp, pOverflow); 455 L_temp = (Word32)frameEnergyMin << 4; 456 if (L_temp != (Word32)((Word16) L_temp)) [all...] |
H A D | a_refl.cpp | 147 Word32 L_temp; 167 L_temp = L_mult(refl[i], refl[i]); 168 L_acc = L_sub(MAX_32, L_temp); 184 L_temp = L_mult(mult, temp); 185 L_temp = L_shr_r(L_temp, scale); 187 if (L_sub(L_abs(L_temp), 32767) > 0) 192 bState[j] = extract_l(L_temp); 247 Word32 L_temp; local 271 L_temp [all...] |
H A D | agc.cpp | 755 Word32 L_temp; local 770 L_temp = L_shl(s, exp, pOverflow); 771 gain_out = pv_round(L_temp, pOverflow); 784 /* L_temp = L_shl(s, i, pOverflow); */ 785 L_temp = s << i; 787 gain_in = pv_round(L_temp, pOverflow); 804 L_temp = s << 9; 806 i = (Word16)((L_temp + (Word32) 0x00008000L) >> 16); 830 /* L_temp = L_mult (sig_out[i], gain, pOverflow); */ 831 L_temp 977 Word32 L_temp; local [all...] |
H A D | dec_amr.cpp | 578 Word32 L_temp; 1056 L_temp = L_mult (temp, gain_pit); 1059 L_temp = L_shr (L_temp, 1); 1061 excp[i] = pv_round (L_temp); 1139 L_temp = L_mult (st->exc[i], pitch_fac); 1142 L_temp = L_mac (L_temp, code[i], gain_code); 1145 L_temp = L_shl (L_temp, tmp_shif 1387 Word32 L_temp; local [all...] |
H A D | b_cn_cod.cpp | 500 Word32 L_temp; local 503 L_temp = L_mult(*pSeed, 31821, pOverflow); 504 L_temp >>= 1; 506 *pSeed = (Word16)(L_add(L_temp, 13849L, pOverflow));
|
H A D | dtx_dec.cpp | 886 Word32 L_temp; local 1054 L_temp = ((Word32) tmp_int_length) << 10; 1055 if (L_temp != (Word32)((Word16) L_temp)) 1058 L_temp = (Word32)((tmp_int_length > 0) ? MAX_16 : MIN_16); 1060 temp = (Word16) L_temp; 1200 L_temp = ((Word32) lsp_int[i]) << 1; /* Q14 -> Q15 */ 1201 if (L_temp != (Word32)((Word16) L_temp)) 1204 L_temp 1501 Word32 L_temp; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | wb_vad.c | 467 Word32 L_temp; local 489 L_temp = 0; 492 L_temp = vo_L_add(L_temp, st->bckr_est[i]); 495 noise_level = extract_h((L_temp << 12)); 767 Word32 L_temp, pow_sum; local 770 L_temp = 0L; 773 L_temp = L_mac(L_temp, in_buf[i], in_buf[i]); 777 pow_sum = L_add(L_temp, s [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | az_lsp.cpp | 253 Word32 L_temp; local 258 /* L_temp = 1.0 */ 260 L_temp = 0x01000000L; 278 t0 -= L_temp; 283 L_temp = ((Word32) b1_h << 16) + ((Word32) b1_l << 1); 298 t0 -= L_temp;
|
H A D | q_plsf_3.cpp | 1025 Word32 L_temp; local 1074 L_temp = ((Word32) * (temp_r1 + i)) * *(temp_r1 + i); 1076 L_pred_init_err = L_pred_init_err + (L_temp << 1);
|
H A D | vad1.cpp | 1487 Word32 L_temp; local 1498 L_temp = 0; 1508 L_temp = L_mac(L_temp, temp, temp, pOverflow); 1511 snr_sum = extract_h(L_shl(L_temp, 6, pOverflow)); 1515 L_temp = 0; 1518 L_temp = L_add(L_temp, st->bckr_est[i], pOverflow); 1521 noise_level = extract_h(L_shl(L_temp, 13, pOverflow));
|