Home
last modified time | relevance | path

Searched refs:L_tmp2 (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dwb_syn_filt.cpp139 int32 L_tmp2; in wb_syn_filt() local
154 L_tmp2 = -((int32)x[(i<<2)+1] << 11); in wb_syn_filt()
161 L_tmp2 = fxp_mac_16by16(yy[(i<<2) -2], a[3], L_tmp2); in wb_syn_filt()
163 L_tmp2 = fxp_mac_16by16(yy[(i<<2) -1], a[2], L_tmp2); in wb_syn_filt()
169 L_tmp2 = fxp_mac_16by16(yy[(i<<2) - j], a[j+1], L_tmp2); in wb_syn_filt()
171 L_tmp2 = fxp_mac_16by16(yy[(i<<2)+1 - j], a[j ], L_tmp2); in wb_syn_filt()
179 L_tmp2 = fxp_mac_16by16(yy[(i<<2)+1 - j], a[j], L_tmp2); in wb_syn_filt()
187 L_tmp2 = fxp_mac_16by16(yy[(i<<2)], a[1], L_tmp2); in wb_syn_filt()
189 L_tmp2 = shl_int32(L_tmp2, 4); in wb_syn_filt()
191 y[(i<<2)+1] = yy[(i<<2)+1] = amr_wb_round(-L_tmp2); in wb_syn_filt()
[all …]
Dhighpass_50hz_at_12k8.cpp154 int32 L_tmp2; in highpass_50Hz_at_12k8() local
173 L_tmp2 = fxp_mul_16by16(y1_hi, 32422); in highpass_50Hz_at_12k8()
174 L_tmp2 = fxp_mac_16by16(y2_hi, -16042, L_tmp2); in highpass_50Hz_at_12k8()
179 L_tmp2 = fxp_mac_16by16(x2, 8106, L_tmp2); in highpass_50Hz_at_12k8()
180 L_tmp2 = fxp_mac_16by16(x1, -16212, L_tmp2); in highpass_50Hz_at_12k8()
181 L_tmp2 = fxp_mac_16by16(x0, 8106, L_tmp2); in highpass_50Hz_at_12k8()
184 L_tmp1 = ((L_tmp1 >> 14) + L_tmp2) << 2; in highpass_50Hz_at_12k8()
Dhighpass_400hz_at_12k8.cpp152 int32 L_tmp2; in highpass_400Hz_at_12k8() local
168 L_tmp2 = fxp_mul_16by16(y1_hi, 29280); in highpass_400Hz_at_12k8()
170 L_tmp2 = fxp_mac_16by16(y2_hi, -14160, L_tmp2); in highpass_400Hz_at_12k8()
174 L_tmp2 = fxp_mac_16by16(x2, 915, L_tmp2); in highpass_400Hz_at_12k8()
175 L_tmp2 = fxp_mac_16by16(x1, -1830, L_tmp2); in highpass_400Hz_at_12k8()
176 L_tmp2 = fxp_mac_16by16(x0, 915, L_tmp2); in highpass_400Hz_at_12k8()
178 L_tmp1 = (L_tmp1 >> 13) + (L_tmp2 << 2); /* coeff Q12 --> Q13 */ in highpass_400Hz_at_12k8()
Dband_pass_6k_7k.cpp158 int32 L_tmp2; in band_pass_6k_7k() local
176 L_tmp2 = 0x00004000; in band_pass_6k_7k()
181 L_tmp2 -= ((int32)x[(i<<2)+L_FIR+1] << 5); in band_pass_6k_7k()
186 L_tmp2 -= ((int32)x[(i<<2)+1] << 5); in band_pass_6k_7k()
198 L_tmp2 = fxp_mac_16by16(tmp2, fir_6k_7k[j ], L_tmp2); in band_pass_6k_7k()
200 L_tmp2 = fxp_mac_16by16(tmp3, fir_6k_7k[j+1], L_tmp2); in band_pass_6k_7k()
207 L_tmp2 = fxp_mac_16by16(tmp1, fir_6k_7k[j+2], L_tmp2); in band_pass_6k_7k()
211 L_tmp2 = fxp_mac_16by16(tmp2, fir_6k_7k[j+3], L_tmp2); in band_pass_6k_7k()
225 L_tmp2 = fxp_mac_16by16(x[(i<<2)+j+1], fir_6k_7k[L_FIR-1 ], L_tmp2); in band_pass_6k_7k()
231 *(pt_sign++) = (int16)(L_tmp2 >> 15); in band_pass_6k_7k()
Dlow_pass_filt_7k.cpp151 int32 L_tmp2; in low_pass_filt_7k() local
165 L_tmp2 = fxp_mac_16by16(x[(i<<2)+1] + signal[(i<<2)+1], fir_7k[0], 0x00004000); in low_pass_filt_7k()
178 L_tmp2 = fxp_mac_16by16(tmp2, fir_7k[j ], L_tmp2); in low_pass_filt_7k()
180 L_tmp2 = fxp_mac_16by16(tmp3, fir_7k[j+1], L_tmp2); in low_pass_filt_7k()
187 L_tmp2 = fxp_mac_16by16(tmp1, fir_7k[j+2], L_tmp2); in low_pass_filt_7k()
191 L_tmp2 = fxp_mac_16by16(tmp2, fir_7k[j+3], L_tmp2); in low_pass_filt_7k()
205 L_tmp2 = fxp_mac_16by16(x[(i<<2)+j+1], fir_7k[j ], L_tmp2); in low_pass_filt_7k()
210 signal[(i<<2)+1] = (int16)(L_tmp2 >> 15); in low_pass_filt_7k()
Dsynthesis_amr_wb.cpp154 int32 L_tmp2; in synthesis_amr_wb() local
289 L_tmp2 = 1L; in synthesis_amr_wb()
297 L_tmp2 = mac_16by16_to_int32(L_tmp2, synth[i], synth[i - 1]); in synthesis_amr_wb()
304 tmp = (int16)((L_tmp2 << exp) >> 16); /* tmp = r[1] */ in synthesis_amr_wb()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Dpstfilt.cpp458 Word32 L_tmp2; in Post_Filter() local
503 L_tmp2 = ((Word32) h[i]) * h[i]; in Post_Filter()
505 if (L_tmp2 != (Word32) 0x40000000L) in Post_Filter()
507 L_tmp2 = L_tmp2 << 1; in Post_Filter()
512 L_tmp2 = MAX_32; in Post_Filter()
516 L_tmp = L_add(L_tmp, L_tmp2, pOverflow); in Post_Filter()
524 L_tmp2 = ((Word32) h[i]) * h[i + 1]; in Post_Filter()
526 if (L_tmp2 != (Word32) 0x40000000L) in Post_Filter()
528 L_tmp2 = L_tmp2 << 1; in Post_Filter()
533 L_tmp2 = MAX_32; in Post_Filter()
[all …]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dqua_gain.cpp228 Word32 L_tmp2; in Qua_gain() local
352 L_tmp2 = Mpy_32_16(coeff[1], coeff_lo[1], g_pitch, pOverflow); in Qua_gain()
353 L_tmp = L_add(L_tmp, L_tmp2, pOverflow); in Qua_gain()
355 L_tmp2 = Mpy_32_16(coeff[2], coeff_lo[2], g2_code, pOverflow); in Qua_gain()
356 L_tmp = L_add(L_tmp, L_tmp2, pOverflow); in Qua_gain()
358 L_tmp2 = Mpy_32_16(coeff[3], coeff_lo[3], g_code, pOverflow); in Qua_gain()
359 L_tmp = L_add(L_tmp, L_tmp2, pOverflow); in Qua_gain()
361 L_tmp2 = Mpy_32_16(coeff[4], coeff_lo[4], g_pit_cod, pOverflow); in Qua_gain()
362 L_tmp = L_add(L_tmp, L_tmp2, pOverflow); in Qua_gain()
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dupdt_tar.c36 Word32 L_tmp, L_tmp2; in Updt_tar() local
41 L_tmp2 = L_mult(y[i], gain); in Updt_tar()
42 L_tmp = L_sub(L_tmp, L_tmp2); in Updt_tar()
Dpitch_f4.c175 Word32 L_tmp, L_tmp1, L_tmp2; in Norm_Corr() local
241 L_tmp2 = L_add(exp_corr, exp_norm + scale); in Norm_Corr()
242 if(L_tmp2 < 0) in Norm_Corr()
244 L_tmp2 = -L_tmp2; in Norm_Corr()
245 L_tmp = L_tmp >> L_tmp2; in Norm_Corr()
249 L_tmp = L_shl(L_tmp, L_tmp2); in Norm_Corr()