/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
g_pitch.cpp | 317 Word32 L_temp; /* Use this as an intermediate value */ 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, pOverflow) [all...] |
spstproc.cpp | 195 Word32 L_temp; 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);
|
hp_max.cpp | 252 Word32 L_temp; 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);
|
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; /* temporarily variable * [all...] |
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, add (exp, 3)) [all...] |
pitch_ol.cpp | 332 Word32 L_temp; 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; [all...] |
c2_9pf.cpp | 326 Word32 L_temp; 328 L_temp = ((Word32) pitch_sharp) << 1; 331 if (L_temp != (Word32)((Word16) L_temp)) 338 sharp = (Word16) L_temp; 612 Word32 L_temp; 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 - (((Word32) sq * alp_16) << 1) [all...] |
set_sign.cpp | 508 Word32 L_temp; 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);
|
dtx_enc.cpp | 948 Word32 L_temp; 983 L_temp = ((Word32) log_en_e) << 10; 984 if (L_temp != (Word32)((Word16) L_temp)) 991 log_en = (Word16) L_temp; [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/ |
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; 722 L_temp = ((Word32) state->prevCbGain * ONFACTPLUS1) << 1 [all...] |
bgnscd.cpp | 412 Word32 s, L_temp; 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...] |
a_refl.cpp | 144 Word32 L_temp; 164 L_temp = L_mult(refl[i], refl[i]); 165 L_acc = L_sub(MAX_32, L_temp); 181 L_temp = L_mult(mult, temp); 182 L_temp = L_shr_r(L_temp, scale); 184 if (L_sub(L_abs(L_temp), 32767) > 0) 189 bState[j] = extract_l(L_temp); 244 Word32 L_temp; 268 L_temp = L_mult(refl[i], refl[i], pOverflow) [all...] |
agc.cpp | 755 Word32 L_temp; 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 = ((Word32)(*(p_sig_out)) * gain) << 1 [all...] |
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); [all...] |
b_cn_cod.cpp | 500 Word32 L_temp; 503 L_temp = L_mult(*pSeed, 31821, pOverflow); 504 L_temp >>= 1; 506 *pSeed = (Word16)(L_add(L_temp, 13849L, pOverflow));
|
dtx_dec.cpp | 886 Word32 L_temp; 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; [all...] |
/external/libgsm/src/ |
preprocess.c | 47 longword L_temp; 95 L_temp = (longword)msp * 32735; /* GSM_L_MULT(msp,32735) >> 1;*/ 96 L_z2 = GSM_L_ADD( L_temp, L_s2 ); 100 L_temp = GSM_L_ADD( L_z2, 16384 ); 106 mp = SASR( L_temp, 15 );
|
long_term.c | 120 register longword L_temp; 122 L_temp = SASR( dp[k - Nc], 3 ); 123 L_power += L_temp * L_temp; 255 register longword L_temp; 257 L_temp = SASR( dp[k - Nc], 3 ); 258 L_power += L_temp * L_temp; 435 register longword L_temp; 437 L_temp = SASR( dp[k - Nc], 3 ) [all...] |
rpe.c | 57 * L_temp = GSM_L_MULT( wt[k+i], gsm_H[i] ); 58 * L_result = GSM_L_ADD( L_result, L_temp ); 128 register longword L_result, L_temp; 147 * L_temp = GSM_L_MULT( temp1, temp1 ); 148 * L_result = GSM_L_ADD( L_temp, L_result ); 159 #define STEP( m, i ) L_temp = SASR( x[m + 3 * i], 2 ); \ 160 L_result += L_temp * L_temp;
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
wb_vad.c | 51 Word32 i, l_temp; local 62 l_temp = vo_L_mult(mant, mant); 64 ex2 = norm_l(l_temp); 65 mant = extract_h(l_temp << ex2); 467 Word32 L_temp; 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 [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/ |
az_lsp.cpp | 251 Word32 L_temp; 256 /* L_temp = 1.0 */ 258 L_temp = 0x01000000L; 276 t0 -= L_temp; 281 L_temp = ((Word32) b1_h << 16) + ((Word32) b1_l << 1); 296 t0 -= L_temp;
|
q_plsf_3.cpp | 1025 Word32 L_temp; 1074 L_temp = ((Word32) * (temp_r1 + i)) * *(temp_r1 + i); 1076 L_pred_init_err = L_pred_init_err + (L_temp << 1); [all...] |
vad1.cpp | [all...] |