/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | highpass_400hz_at_12k8.cpp | 152 int32 L_tmp2; local 168 L_tmp2 = fxp_mul_16by16(y1_hi, 29280); 170 L_tmp2 = fxp_mac_16by16(y2_hi, -14160, L_tmp2); 174 L_tmp2 = fxp_mac_16by16(x2, 915, L_tmp2); 175 L_tmp2 = fxp_mac_16by16(x1, -1830, L_tmp2); 176 L_tmp2 = fxp_mac_16by16(x0, 915, L_tmp2); [all...] |
H A D | highpass_50hz_at_12k8.cpp | 154 int32 L_tmp2; local 173 L_tmp2 = fxp_mul_16by16(y1_hi, 32422); 174 L_tmp2 = fxp_mac_16by16(y2_hi, -16042, L_tmp2); 179 L_tmp2 = fxp_mac_16by16(x2, 8106, L_tmp2); 180 L_tmp2 = fxp_mac_16by16(x1, -16212, L_tmp2); 181 L_tmp2 = fxp_mac_16by16(x0, 8106, L_tmp2); [all...] |
H A D | wb_syn_filt.cpp | 139 int32 L_tmp2; local 154 L_tmp2 = -((int32)x[(i<<2)+1] << 11); 161 L_tmp2 = fxp_mac_16by16(yy[(i<<2) -2], a[3], L_tmp2); 163 L_tmp2 = fxp_mac_16by16(yy[(i<<2) -1], a[2], L_tmp2); 169 L_tmp2 = fxp_mac_16by16(yy[(i<<2) - j], a[j+1], L_tmp2); 171 L_tmp2 = fxp_mac_16by16(yy[(i<<2)+1 - j], a[j ], L_tmp2); 237 int32 L_tmp2; local [all...] |
H A D | band_pass_6k_7k.cpp | 158 int32 L_tmp2; local 176 L_tmp2 = 0x00004000; 181 L_tmp2 -= ((int32)x[(i<<2)+L_FIR+1] << 5); 186 L_tmp2 -= ((int32)x[(i<<2)+1] << 5); 198 L_tmp2 = fxp_mac_16by16(tmp2, fir_6k_7k[j ], L_tmp2); 200 L_tmp2 = fxp_mac_16by16(tmp3, fir_6k_7k[j+1], L_tmp2); 207 L_tmp2 = fxp_mac_16by16(tmp1, fir_6k_7k[j+2], L_tmp2); [all...] |
H A D | low_pass_filt_7k.cpp | 151 int32 L_tmp2; local 165 L_tmp2 = fxp_mac_16by16(x[(i<<2)+1] + signal[(i<<2)+1], fir_7k[0], 0x00004000); 178 L_tmp2 = fxp_mac_16by16(tmp2, fir_7k[j ], L_tmp2); 180 L_tmp2 = fxp_mac_16by16(tmp3, fir_7k[j+1], L_tmp2); 187 L_tmp2 = fxp_mac_16by16(tmp1, fir_7k[j+2], L_tmp2); 191 L_tmp2 = fxp_mac_16by16(tmp2, fir_7k[j+3], L_tmp2); [all...] |
H A D | synthesis_amr_wb.cpp | 154 int32 L_tmp2; local 289 L_tmp2 = 1L; 297 L_tmp2 = mac_16by16_to_int32(L_tmp2, synth[i], synth[i - 1]); 304 tmp = (int16)((L_tmp2 << exp) >> 16); /* tmp = r[1] */
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | updt_tar.c | 36 Word32 L_tmp, L_tmp2; local 41 L_tmp2 = L_mult(y[i], gain); 42 L_tmp = L_sub(L_tmp, L_tmp2);
|
H A D | pitch_f4.c | 175 Word32 L_tmp, L_tmp1, L_tmp2; local 241 L_tmp2 = L_add(exp_corr, exp_norm + scale); 242 if(L_tmp2 < 0) 244 L_tmp2 = -L_tmp2; 245 L_tmp = L_tmp >> L_tmp2; 249 L_tmp = L_shl(L_tmp, L_tmp2);
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | pstfilt.cpp | 458 Word32 L_tmp2; local 503 L_tmp2 = ((Word32) h[i]) * h[i]; 505 if (L_tmp2 != (Word32) 0x40000000L) 507 L_tmp2 = L_tmp2 << 1; 512 L_tmp2 = MAX_32; 516 L_tmp = L_add(L_tmp, L_tmp2, pOverflow); 524 L_tmp2 = ((Word32) h[i]) * h[i + 1]; 526 if (L_tmp2 != (Word32) 0x40000000L) 528 L_tmp2 [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | qua_gain.cpp | 228 Word32 L_tmp2; local 352 L_tmp2 = Mpy_32_16(coeff[1], coeff_lo[1], g_pitch, pOverflow); 353 L_tmp = L_add(L_tmp, L_tmp2, pOverflow); 355 L_tmp2 = Mpy_32_16(coeff[2], coeff_lo[2], g2_code, pOverflow); 356 L_tmp = L_add(L_tmp, L_tmp2, pOverflow); 358 L_tmp2 = Mpy_32_16(coeff[3], coeff_lo[3], g_code, pOverflow); 359 L_tmp = L_add(L_tmp, L_tmp2, pOverflow); 361 L_tmp2 = Mpy_32_16(coeff[4], coeff_lo[4], g_pit_cod, pOverflow); 362 L_tmp = L_add(L_tmp, L_tmp2, pOverflow);
|