/frameworks/av/media/codecs/amrnb/enc/src/ |
D | calc_en.cpp | 315 L_temp = L_shl(L_temp, 1, pOverflow); in calc_unfilt_energies() 340 frac_en[0] = (Word16)(L_shl(s1, exp, pOverflow) >> 16); in calc_unfilt_energies() 351 frac_en[1] = (Word16)(L_shl(s2, exp, pOverflow) >> 16); in calc_unfilt_energies() 356 frac_en[2] = (Word16)(L_shl(s3, exp, pOverflow) >> 16); in calc_unfilt_energies() 360 ltp_res_en = (Word16)(L_shl(s4, exp, pOverflow) >> 16); in calc_unfilt_energies() 384 *ltpg = pv_round(L_shl(L_temp, 13, pOverflow), pOverflow); /* Q13 */ in calc_unfilt_energies() 653 frac_coeff[2] = (Word16)(L_shl(s1, exp, pOverflow) >> 16); in calc_filt_energies() 657 frac_coeff[3] = negate((Word16)(L_shl(s2, exp, pOverflow) >> 16)); in calc_filt_energies() 661 frac_coeff[4] = (Word16)(L_shl(s3, exp, pOverflow) >> 16); in calc_filt_energies() 678 frac = (Word16)(L_shl(s1, exp, pOverflow) >> 16); in calc_filt_energies() [all …]
|
D | hp_max.cpp | 260 t0 = L_shl(corr[-i], 1, pOverflow); in hp_max() 289 L_temp = L_shl(t0, 1, pOverflow); in hp_max() 290 t1 = L_shl(t1, 1, pOverflow); in hp_max() 303 L_temp = L_shl(max, shift1, pOverflow); in hp_max() 307 L_temp = L_shl(t0, shift2, pOverflow); in hp_max()
|
D | cor_h_x.cpp | 313 s = L_shl(*(p_y32++), j, pOverflow); in cor_h_x() 315 s = L_shl(*(p_y32++), j, pOverflow); in cor_h_x()
|
D | set_sign.cpp | 531 k_cn = (Word16)((L_shl(s, 5, pOverflow)) >> 16); in set_sign12k2() 545 L_temp = L_shl(s, 10, pOverflow); in set_sign12k2()
|
D | cor_h_x2.cpp | 278 dn[i] = pv_round(L_shl(y32[i], j, pOverflow), pOverflow); in cor_h_x2()
|
D | qgain795.cpp | 564 L_t1 = L_shl(L_t1, 1, pOverflow); in MR795_gain_code_quant_mod() 572 tmp = extract_h(L_shl(L_mult(alpha, frac_en[2], pOverflow), 1, pOverflow)); in MR795_gain_code_quant_mod() 579 coeff[3] = extract_h(L_shl(L_mult(alpha, frac_en[3], pOverflow), 1, pOverflow)); in MR795_gain_code_quant_mod()
|
/frameworks/av/media/codecs/amrwb/enc/src/ |
D | q_pulse.c | 224 index = L_shl(quant_1p_N1(posA[0], n_1), tmp); in quant_4p_4N() 230 index = L_shl(quant_2p_2N1(posA[0], posA[1], n_1), tmp); in quant_4p_4N() 236 index = L_shl(quant_3p_3N1(posA[0], posA[1], posA[2], n_1), N); in quant_4p_4N() 247 index = vo_L_add(index, L_shl((L_deposit_l(i) & (3L)), tmp)); in quant_4p_4N() 282 index = L_shl(1L, tmp); /* index = 1 << ((5*N)-1); */ in quant_5p_5N() 284 tmp2 = L_shl(quant_3p_3N1(posB[0], posB[1], posB[2], n_1), tmp); in quant_5p_5N() 290 index = L_shl(1L, tmp); in quant_5p_5N() 292 tmp2 = L_shl(quant_3p_3N1(posB[0], posB[1], posB[2], n_1), tmp); in quant_5p_5N() 298 index = L_shl(1L, tmp); /* index = 1 << ((5*N)-1); */ in quant_5p_5N() 300 tmp2 = L_shl(quant_3p_3N1(posB[0], posB[1], posB[2], n_1), tmp); in quant_5p_5N() [all …]
|
D | convolve.c | 56 y[n] = voround(L_shl(s, 1)); in Convolve() 75 y[n] = voround(L_shl(s, 1)); in Convolve() 96 y[n] = voround(L_shl(s, 1)); in Convolve() 111 y[n] = voround(L_shl(s, 1)); in Convolve()
|
D | cor_h_x.c | 124 *p1++ = vo_round(L_shl(*p3++, j)); in cor_h_x() 125 *p1++ = vo_round(L_shl(*p3++, j)); in cor_h_x() 126 *p1++ = vo_round(L_shl(*p3++, j)); in cor_h_x() 127 *p1++ = vo_round(L_shl(*p3++, j)); in cor_h_x()
|
D | pitch_f4.c | 197 L_tmp = L_add(L_shl(L_tmp, 1), 1); in Norm_Corr() 222 L_tmp = L_add(L_shl(L_tmp, 1), 1); in Norm_Corr() 223 L_tmp1 = L_add(L_shl(L_tmp1, 1), 1); in Norm_Corr() 226 L_tmp = L_shl(L_tmp, exp); in Norm_Corr() 231 L_tmp = L_shl(L_tmp1, exp); in Norm_Corr() 249 L_tmp = L_shl(L_tmp, L_tmp2); in Norm_Corr()
|
D | hp_wsp.c | 64 L_tmp = L_shl(L_tmp, exp); in scale_mem_Hp_wsp() 72 L_tmp = L_shl(L_tmp, exp); in scale_mem_Hp_wsp()
|
D | c4t64fx.c | 253 s = L_shl(s, (exp + 5)); in ACELP_4t64_fx() 264 k_dn = voround(L_shl(s, (exp + 5 + 3))); /* k_dn = 256..4096 */ in ACELP_4t64_fx() 879 L_sum1 = L_shl(L_sum1, 2); in cor_h_vec_30() 880 L_sum2 = L_shl(L_sum2, 2); in cor_h_vec_30() 903 L_sum1 = L_shl(L_sum1, 2); in cor_h_vec_30() 904 L_sum2 = L_shl(L_sum2, 2); in cor_h_vec_30() 945 L_sum1 = L_shl(L_sum1, 2); in cor_h_vec_012() 946 L_sum2 = L_shl(L_sum2, 2); in cor_h_vec_012() 963 L_sum1 = L_shl(L_sum1, 2); in cor_h_vec_012() 964 L_sum2 = L_shl(L_sum2, 2); in cor_h_vec_012()
|
D | c2t64fx.c | 82 s = L_shl(s, add1(exp, 5)); in ACELP_2t64_fx() 96 k_dn = voround(L_shl(s, (exp + 8))); /* k_dn = 256..4096 */ in ACELP_2t64_fx()
|
D | voAMRWBEnc.c | 1182 L_tmp = L_shl(L_gain_code, Q_new); in coder() 1209 L_tmp = L_shl(L_tmp, (5 + shift)); in coder() 1213 L_tmp = L_shl(L_tmp, (1 - shift)); in coder() 1224 L_tmp = L_shl(L_tmp, 5); in coder() 1300 gain_code = vo_round(L_shl(L_gain_code, Q_new)); in coder() 1305 L_tmp = L_shl(L_tmp, 5); in coder() 1307 L_tmp = L_shl(L_tmp, 1); in coder() 1434 L_tmp = L_shl(L_tmp, (exp + 1)); /* L_tmp x 2, L_tmp in Q31 */ in synthesis() 1529 L_tmp = L_shl(L_tmp, exp); /* L_tmp, L_tmp in Q31 */ in synthesis()
|
/frameworks/av/media/codecs/amrnb/dec/src/ |
D | post_pro.cpp | 379 L_tmp = L_shl(L_tmp, 3, pOverflow); in Post_Process() 384 *(p_signal++) = pv_round(L_shl(L_tmp, 1, pOverflow), pOverflow); in Post_Process()
|
D | agc.cpp | 770 L_temp = L_shl(s, exp, pOverflow); in agc() 988 L_temp = L_shl(s, exp, pOverflow); in agc2() 1001 L_temp = L_shl(s, i, pOverflow); in agc2()
|
D | a_refl.cpp | 277 L_acc = L_shl(L_acc, normShift, pOverflow); in A_Refl()
|
D | dec_gain.cpp | 251 L_tmp = L_shl(L_tmp, 13, pOverflow); in Dec_gain()
|
D | c_g_aver.cpp | 641 cbGainMix = pv_round(L_shl(L_sum, 2, pOverflow), pOverflow); /* Q1 */ in Cb_gain_average()
|
/frameworks/av/media/codecs/amrnb/common/include/ |
D | l_shl.h | 104 Word32 L_shl(Word32 L_var1, Word16 var2, Flag *pOverflow);
|
D | basic_op.h | 327 static inline Word32 L_shl(Word32 L_var1, Word16 var2, Flag *pOverflow) in L_shl() function
|
/frameworks/av/media/codecs/amrnb/common/src/ |
D | sqrt_l.cpp | 240 L_x = L_shl(L_x, e, pOverflow); /* L_x is normalized to [0.25..1) */ in sqrt_l_exp()
|
D | div_32.cpp | 205 result = L_shl(result, 2, pOverflow); in Div_32()
|
D | vad1.cpp | 531 l_temp2 = L_add(l_temp1, L_shl(*sub_level, sub(16, scale, pOverflow), pOverflow), pOverflow); in level_calculation() 532 *sub_level = extract_h(L_shl(l_temp1, scale, pOverflow)); in level_calculation() 538 level = extract_h(L_shl(l_temp2, scale, pOverflow)); in level_calculation() 1511 snr_sum = extract_h(L_shl(L_temp, 6, pOverflow)); in vad_decision() 1521 noise_level = extract_h(L_shl(L_temp, 13, pOverflow)); in vad_decision()
|
/frameworks/av/media/codecs/amrwb/enc/inc/ |
D | basic_op.h | 81 static_vo Word32 L_shl (Word32 L_var1, Word16 var2); /* Long shift left, 2 */ 715 static_vo Word32 L_shl (Word32 L_var1, Word16 var2) in L_shl() function
|