Home
last modified time | relevance | path

Searched refs:L_shl (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dcalc_en.cpp315 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 …]
Dhp_max.cpp260 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()
Dcor_h_x.cpp313 s = L_shl(*(p_y32++), j, pOverflow); in cor_h_x()
315 s = L_shl(*(p_y32++), j, pOverflow); in cor_h_x()
Dset_sign.cpp531 k_cn = (Word16)((L_shl(s, 5, pOverflow)) >> 16); in set_sign12k2()
545 L_temp = L_shl(s, 10, pOverflow); in set_sign12k2()
Dcor_h_x2.cpp278 dn[i] = pv_round(L_shl(y32[i], j, pOverflow), pOverflow); in cor_h_x2()
Dqgain795.cpp564 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/libstagefright/codecs/amrwbenc/src/
Dq_pulse.c223 index = L_shl(quant_1p_N1(posA[0], n_1), tmp); in quant_4p_4N()
229 index = L_shl(quant_2p_2N1(posA[0], posA[1], n_1), tmp); in quant_4p_4N()
235 index = L_shl(quant_3p_3N1(posA[0], posA[1], posA[2], n_1), N); in quant_4p_4N()
246 index = vo_L_add(index, L_shl((L_deposit_l(i) & (3L)), tmp)); in quant_4p_4N()
281 index = L_shl(1L, tmp); /* index = 1 << ((5*N)-1); */ in quant_5p_5N()
283 tmp2 = L_shl(quant_3p_3N1(posB[0], posB[1], posB[2], n_1), tmp); in quant_5p_5N()
289 index = L_shl(1L, tmp); in quant_5p_5N()
291 tmp2 = L_shl(quant_3p_3N1(posB[0], posB[1], posB[2], n_1), tmp); in quant_5p_5N()
297 index = L_shl(1L, tmp); /* index = 1 << ((5*N)-1); */ in quant_5p_5N()
299 tmp2 = L_shl(quant_3p_3N1(posB[0], posB[1], posB[2], n_1), tmp); in quant_5p_5N()
[all …]
Dcor_h_x.c118 *p1++ = vo_round(L_shl(*p3++, j)); in cor_h_x()
119 *p1++ = vo_round(L_shl(*p3++, j)); in cor_h_x()
120 *p1++ = vo_round(L_shl(*p3++, j)); in cor_h_x()
121 *p1++ = vo_round(L_shl(*p3++, j)); in cor_h_x()
Dhp_wsp.c64 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()
Dc2t64fx.c82 s = L_shl(s, add1(exp, 5)); in ACELP_2t64_fx()
93 k_dn = vo_round(L_shl(s, (exp + 8))); /* k_dn = 256..4096 */ in ACELP_2t64_fx()
/frameworks/av/media/libstagefright/codecs/aacenc/src/
Dquantize.c408 distSingle = L_shl((saShft * saShft), g2); in calcSfbDist()
414 distSingle = L_shl((diff * diff), g2); in calcSfbDist()
420 distSingle = L_shl((diff * diff), g2); in calcSfbDist()
426 distSingle = L_shl((diff * diff), g2); in calcSfbDist()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Dagc.cpp770 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()
Dpost_pro.cpp384 *(p_signal++) = pv_round(L_shl(L_tmp, 1, pOverflow), pOverflow); in Post_Process()
Da_refl.cpp274 L_acc = L_shl(L_acc, normShift, pOverflow); in A_Refl()
Ddec_gain.cpp251 L_tmp = L_shl(L_tmp, 13, pOverflow); in Dec_gain()
Dc_g_aver.cpp641 cbGainMix = pv_round(L_shl(L_sum, 2, pOverflow), pOverflow); /* Q1 */ in Cb_gain_average()
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
Dl_shl.h104 Word32 L_shl(Word32 L_var1, Word16 var2, Flag *pOverflow);
Dbasic_op.h327 static inline Word32 L_shl(Word32 L_var1, Word16 var2, Flag *pOverflow) in L_shl() function
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dsqrt_l.cpp240 L_x = L_shl(L_x, e, pOverflow); /* L_x is normalized to [0.25..1) */ in sqrt_l_exp()
Ddiv_32.cpp205 result = L_shl(result, 2, pOverflow); in Div_32()
Dvad1.cpp531 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/libstagefright/codecs/aacenc/basic_op/
Dbasic_op.h104 __inline Word32 L_shl (Word32 L_var1, Word16 var2);
106 Word32 L_shl (Word32 L_var1, Word16 var2);
509 __inline Word32 L_shl(Word32 L_var1, Word16 var2) in L_shl() function
568 L_var_out = L_shl (L_var1, (Word16)-var2); in L_shr()
Dbasicop2.c959 Word32 L_shl (Word32 L_var1, Word16 var2) in L_shl() function
1030 L_var_out = L_shl (L_var1, (Word16)-var2); in L_shr()
Doper_32b.c197 L_32 = L_shl (L_32, 3); in Div_32()
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dbasic_op.h81 static_vo Word32 L_shl (Word32 L_var1, Word16 var2); /* Long shift left, 2 */
709 static_vo Word32 L_shl (Word32 L_var1, Word16 var2) in L_shl() function

12