/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
voicefac.c | 38 Word32 i, L_tmp; 46 L_tmp = vo_L_mult(gain_pit, gain_pit); 47 exp = norm_l(L_tmp); 48 tmp = extract_h(L_tmp << exp);
|
autocorr.c | 40 Word32 L_sum, L_sum1, L_tmp, F_LEN; 60 L_tmp = vo_L_mult(y[i], y[i]); 61 L_tmp = (L_tmp >> 8); 62 L_sum += L_tmp;
|
voAMRWBEnc.c | 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; [all...] |
dtx.c | 387 Word32 L_tmp; 406 L_tmp = 0; 410 L_tmp = L_add(L_tmp, L_deposit_l(isf_old[i * M + j])); 412 isf_aver[j] = L_tmp; 436 Word32 L_tmp, summin, summax, summax2nd; 491 L_tmp = 0; 495 L_tmp = L_mac(L_tmp, tmp, tmp); 497 st->D[i - 1] = L_tmp; [all...] |
qpisf_2s.c | 236 Word32 i, j, L_tmp; 285 L_tmp = mean_isf[i] << 14; 288 L_tmp += (isf_buf[j * M + i] << 14); 290 ref_isf[i] = vo_round(L_tmp); 329 Word32 i, j, L_tmp; 379 L_tmp = (mean_isf[i] << 14); 382 L_tmp += (isf_buf[j * M + i] << 14); 384 ref_isf[i] = vo_round(L_tmp);
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
gc_pred.cpp | 338 Word32 L_tmp; 352 L_tmp = Mpy_32_16(exp, frac, -24660); // Q0.Q15 * Q13 -> Q14 354 * L_tmp = means_ener - 10log10(ener_code/L_SUBFR) 379 L_tmp = L_mac(L_tmp, 16678, 64); // Q14 395 L_tmp = L_mac(L_tmp, 17062, 64); // Q14 400 L_tmp = L_mac(L_tmp, 32588, 32); // Q14 405 L_tmp = L_mac(L_tmp, 32268, 32); // Q1 [all...] |
lsp_lsf.cpp | 175 Word32 L_tmp; 184 L_tmp = L_mult (sub (table[ind + 1], table[ind]), offset); 185 lsp[i] = add (table[ind], extract_l (L_shr (L_tmp, 9))); 222 Word32 L_tmp; 231 L_tmp = ((Word32)(table[ind + 1] - table[ind]) * offset) >> 8; 232 lsp[i] = add(table[ind], (Word16) L_tmp, pOverflow); 298 Word32 L_tmp; 315 L_tmp = L_mult (sub (lsp[i], table[ind]), slope[ind]); 317 lsf[i] = pv_round (L_shl (L_tmp, 3)); 356 Word32 L_tmp; [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
post_pro.cpp | 292 Word32 L_tmp; 303 L_tmp = Mpy_32_16 (st->y1_hi, st->y1_lo, a[1]); 304 L_tmp = L_add (L_tmp, Mpy_32_16 (st->y2_hi, st->y2_lo, a[2])); 305 L_tmp = L_mac (L_tmp, st->x0, b[0]); 306 L_tmp = L_mac (L_tmp, st->x1, b[1]); 307 L_tmp = L_mac (L_tmp, x2, b[2]) [all...] |
pstfilt.cpp | 330 Word32 L_tmp; 371 L_tmp = L_mult (h[0], h[0]); 374 L_tmp = L_mac (L_tmp, h[i], h[i]); 376 temp1 = extract_h (L_tmp); 378 L_tmp = L_mult (h[0], h[1]); 381 L_tmp = L_mac (L_tmp, h[i], h[i + 1]); 383 temp2 = extract_h (L_tmp); 457 Word32 L_tmp; [all...] |
lsp_avg.cpp | 252 Word32 L_tmp; // Q31 257 L_tmp = L_deposit_h(st->lsp_meanSave[i]); 258 L_tmp = L_msu(L_tmp, EXPCONST, st->lsp_meanSave[i]); 261 L_tmp = L_mac(L_tmp, EXPCONST, lsp[i]); 264 st->lsp_meanSave[i] = pv_round(L_tmp); // Q15 300 Word32 L_tmp; /* Q31 */ 306 L_tmp = L_deposit_h(st->lsp_meanSave[i]); 307 L_tmp = L_msu(L_tmp, EXPCONST, st->lsp_meanSave[i], pOverflow) [all...] |
dec_gain.cpp | 199 Word32 L_tmp; 250 L_tmp = Mpy_32_16(exp, frac, 24660, pOverflow); 251 L_tmp = L_shl(L_tmp, 13, pOverflow); 252 qua_ener = pv_round(L_tmp, pOverflow); 288 L_tmp = L_mult(g_code, gcode0, pOverflow); 290 L_tmp = L_shr(L_tmp, temp1, pOverflow); 291 *gain_cod = extract_h(L_tmp);
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
qgain795.cpp | 242 Word32 L_tmp; 296 L_tmp = L_deposit_h(frac_coeff[i]); 297 L_tmp = L_shr(L_tmp, j, pOverflow); 298 L_Extract(L_tmp, &coeff[i], &coeff_lo[i], pOverflow); 337 L_tmp = L_mult(g_code, g_code, pOverflow); 338 L_Extract(L_tmp, &g2_code_h, &g2_code_l, pOverflow); 340 L_tmp = L_mult(g_code, g_pitch, pOverflow); 341 L_Extract(L_tmp, &g_pit_cod_h, &g_pit_cod_l, pOverflow); 343 L_tmp = Mac_32(L_tmp0, coeff[2], coeff_lo[2] [all...] |
qgain475.cpp | 411 Word32 L_tmp; 427 L_tmp = L_mult(g_code, gcode0); 428 L_tmp = L_shr(L_tmp, sub(10, exp_gcode0)); 429 *gain_cod = extract_h(L_tmp); 445 L_tmp = Mpy_32_16(exp, frac, 24660); // 24660 Q12 ~= 6.0206 = 20*log10(2) 446 qua_ener = pv_round (L_shl (L_tmp, 13)); // Q12 * Q0 = Q13 -> Q10 488 Word32 L_tmp; 505 L_tmp = ((Word32) g_code * gcode0) << 1; 507 L_tmp = L_shr(L_tmp, tmp, pOverflow) [all...] |
qua_gain.cpp | 227 Word32 L_tmp; 315 L_tmp = L_deposit_h(frac_coeff[i]); 316 L_tmp = L_shr(L_tmp, j, pOverflow); 317 L_Extract(L_tmp, &coeff[i], &coeff_lo[i], pOverflow); 351 L_tmp = Mpy_32_16(coeff[0], coeff_lo[0], g2_pitch, pOverflow); 353 L_tmp = L_add(L_tmp, L_tmp2, pOverflow); 356 L_tmp = L_add(L_tmp, L_tmp2, pOverflow) [all...] |
pre_proc.cpp | 485 Word32 L_tmp; 496 L_tmp = Mpy_32_16 (st->y1_hi, st->y1_lo, a[1]); 497 L_tmp = L_add (L_tmp, Mpy_32_16 (st->y2_hi, st->y2_lo, a[2])); 498 L_tmp = L_mac (L_tmp, st->x0, b[0]); 499 L_tmp = L_mac (L_tmp, st->x1, b[1]); 500 L_tmp = L_mac (L_tmp, x2, b[2]) [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/ |
Syn_filt_32_opt.s | 144 RSB r14, r12, #0 @ L_tmp 145 MOV r14, r14, ASR #11 @ L_tmp >>= 11 146 ADD r14, r14, r7, LSL #1 @ L_tmp += (exc[i] * a0) << 1 207 MOV r14, r14, LSL #3 @ L_tmp <<=3 209 MOV r7, r14, ASR #16 @ L_tmp >> 16 211 MOV r14, r14, ASR #4 @ L_tmp >>=4 212 STRH r7, [r4], #2 @ sig_hi[i] = L_tmp >> 16 213 SUB r9, r14, r7, LSL #12 @ sig_lo[i] = L_tmp - (sig_hi[i] << 12)
|
scale_sig_opt.s | 58 MOV r6, r5, LSL #16 @L_tmp = x[i] << 16 59 MOV r5, r6, ASR r7 @L_tmp >>= exp
|
syn_filt_opt.s | 139 MUL r0, r5, r6 @ L_tmp = x[i] * a0 215 MOV r7, r14, LSL #4 @ L_tmp <<=4 218 MOV r7, r14, ASR #16 @ (L_tmp + 0x8000) >> 16
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
isf_extrapolation.cpp | 121 int32 L_tmp; 133 L_tmp = 0; 138 L_tmp = mac_16by16_to_int32(L_tmp, IsfDiff[i - 1], INV_LENGTH); 141 mean = amr_wb_round(L_tmp); 163 L_tmp = mul_16by16_to_int32(tmp2, tmp3); 164 int32_to_dpf(L_tmp, &hi, &lo); 165 L_tmp = mpy_dpf_32(hi, lo, hi, lo); 166 IsfCorr[0] = add_int32(IsfCorr[0], L_tmp); 173 L_tmp = mul_16by16_to_int32(tmp2, tmp3) [all...] |
synthesis_amr_wb.cpp | 153 int32 L_tmp; 262 L_tmp = L_deposit_h(div_16by16(tmp, ener)); /* result is normalized */ 264 one_ov_sqrt_norm(&L_tmp, &exp); 265 L_tmp = shl_int32(L_tmp, exp + 1); /* L_tmp x 2, L_tmp in Q31 */ 267 tmp = (int16)(L_tmp >> 16); /* tmp = 2 x sqrt(ener_exc/ener_hf) */ 288 L_tmp = 1L; 292 L_tmp = mac_16by16_to_int32(L_tmp, synth[0], synth[0]) [all...] |
qpisf_2s.cpp | 142 int32 L_tmp; 192 L_tmp = mul_16by16_to_int32(mean_isf[i], 8192); 195 L_tmp = mac_16by16_to_int32(L_tmp, isf_buf[j * M + i], 8192); 197 ref_isf[i] = amr_wb_round(L_tmp); 238 int32 L_tmp; 286 L_tmp = mul_16by16_to_int32(mean_isf[i], 8192); 289 L_tmp = mac_16by16_to_int32(L_tmp, isf_buf[j * M + i], 8192); 292 ref_isf[i] = amr_wb_round(L_tmp); [all...] |
interpolate_isp.cpp | 124 int32 L_tmp; 133 L_tmp = mul_16by16_to_int32(isp_old[i], fac_old); 134 L_tmp = mac_16by16_to_int32(L_tmp, isp_new[i], fac_new); 135 isp[i] = amr_wb_round(L_tmp);
|
voice_factor.cpp | 128 int32 L_tmp; 132 L_tmp = mul_16by16_to_int32(gain_pit, gain_pit); 133 exp = normalize_amr_wb(L_tmp); 135 tmp = (int16)((L_tmp << exp) >> 16);
|
dtx_decoder_amr_wb.cpp | 675 int32 L_tmp; 695 L_tmp = 0; 699 L_tmp = add_int32(L_tmp, (int32)(isf_old[i * M + j])); 701 isf_aver[j] = L_tmp; 731 int32 L_tmp, summin, summax, summax2nd; 787 L_tmp = 0; 791 L_tmp = mac_16by16_to_int32(L_tmp, tmp, tmp); 793 st->D[i - 1] = L_tmp; [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/ |
syn_filt_neon.s | 67 MUL r12, r6, r5 @ L_tmp = x[i] * a0
|