Home
last modified time | relevance | path

Searched refs:L_add (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dconvolve.c50 s = L_add(s, vo_mult32((*tmpX++), (*tmpH--))); in Convolve()
51 s = L_add(s, vo_mult32((*tmpX++), (*tmpH--))); in Convolve()
52 s = L_add(s, vo_mult32((*tmpX++), (*tmpH--))); in Convolve()
53 s = L_add(s, vo_mult32((*tmpX++), (*tmpH--))); in Convolve()
64 s = L_add(s, vo_mult32((*tmpX++), (*tmpH--))); in Convolve()
69 s = L_add(s, vo_mult32((*tmpX++), (*tmpH--))); in Convolve()
70 s = L_add(s, vo_mult32((*tmpX++), (*tmpH--))); in Convolve()
71 s = L_add(s, vo_mult32((*tmpX++), (*tmpH--))); in Convolve()
72 s = L_add(s, vo_mult32((*tmpX++), (*tmpH--))); in Convolve()
83 s = L_add(s, vo_mult32((*tmpX++), (*tmpH--))); in Convolve()
[all …]
Dpitch_f4.c88 t_max = L_add(t0_max, L_INTERPOL1); in Pitch_fr4()
191 L_tmp = L_add(L_tmp, (xn[i] * xn[i])); in Norm_Corr()
192 L_tmp = L_add(L_tmp, (xn[i+1] * xn[i+1])); in Norm_Corr()
193 L_tmp = L_add(L_tmp, (xn[i+2] * xn[i+2])); in Norm_Corr()
194 L_tmp = L_add(L_tmp, (xn[i+3] * xn[i+3])); in Norm_Corr()
197 L_tmp = L_add(L_shl(L_tmp, 1), 1); in Norm_Corr()
212 L_tmp = L_add(L_tmp, (xn[i] * excf[i])); in Norm_Corr()
213 L_tmp1 = L_add(L_tmp1, (excf[i] * excf[i])); in Norm_Corr()
214 L_tmp = L_add(L_tmp, (xn[i+1] * excf[i+1])); in Norm_Corr()
215 L_tmp1 = L_add(L_tmp1, (excf[i+1] * excf[i+1])); in Norm_Corr()
[all …]
Dc4t64fx.c254 k_cn = extract_h(L_add(s, 0x8000)); in ACELP_4t64_fx()
274 s = L_add((k_cn* (*p0++)), (k_dn * (*p1++))); in ACELP_4t64_fx()
276 s = L_add((k_cn* (*p0++)), (k_dn * (*p1++))); in ACELP_4t64_fx()
278 s = L_add((k_cn* (*p0++)), (k_dn * (*p1++))); in ACELP_4t64_fx()
280 s = L_add((k_cn* (*p0++)), (k_dn * (*p1++))); in ACELP_4t64_fx()
349 L_tmp = L_add(L_tmp, (H[i] * H[i]) << 1); in ACELP_4t64_fx()
393 cor = L_add(cor, vo_L_mult((*ptr_h1), (*ptr_h1))); in ACELP_4t64_fx()
396 cor = L_add(cor, vo_L_mult((*ptr_h1), (*ptr_h1))); in ACELP_4t64_fx()
399 cor = L_add(cor, vo_L_mult((*ptr_h1), (*ptr_h1))); in ACELP_4t64_fx()
402 cor = L_add(cor, vo_L_mult((*ptr_h1), (*ptr_h1))); in ACELP_4t64_fx()
[all …]
Dcor_h_x.c58 L_tmp = L_add(L_tmp, vo_L_mult(*p1++, *p2++)); in cor_h_x()
71 L_tmp = L_add(L_tmp, vo_L_mult(*p1++, *p2++)); in cor_h_x()
84 L_tmp = L_add(L_tmp, vo_L_mult(*p1++, *p2++)); in cor_h_x()
97 L_tmp = L_add(L_tmp, vo_L_mult(*p1++, *p2++)); in cor_h_x()
Ddeemph.c68 L_tmp = L_add(L_tmp, i); in Deemph2()
75 L_tmp = L_add(L_tmp, tmp); in Deemph2()
Dmath_op.c212 L_sum = L_add(L_sum, tmp); in Dot_product12()
215 L_sum = L_add(L_sum, 1); in Dot_product12()
Drandom.c30 *seed = (Word16)(L_add((L_mult(*seed, 31821) >> 1), 13849L)); in Random()
Ddtx.c410 L_tmp = L_add(L_tmp, L_deposit_l(isf_old[i * M + j])); in aver_isf_history()
500 st->sumD[0] = L_add(st->sumD[0], st->D[i - 1]); in find_frame_indices()
501 st->sumD[i] = L_add(st->sumD[i], st->D[i - 1]); in find_frame_indices()
577 ISF_diff = L_add(ISF_diff, st->sumD[i]); in dithering_control()
Dscale.c40 x[i] = extract_h(L_add(L_tmp, 0x8000)); in Scale_sig()
Dhp50.c93 *signal++ = extract_h((L_add((L_tmp<<1), 0x8000))); in HP50_12k8()
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpv_mp3dec_fxd_op_arm.h69 __inline Int32 fxp_mac32_Q30(const Int32 L_var1, const Int32 L_var2, Int32 L_add) in fxp_mac32_Q30() argument
76 add L_add, L_add, result64_hi, asl #2 in fxp_mac32_Q30()
77 add L_add, L_add, result64_lo, lsr #30 in fxp_mac32_Q30()
79 return (L_add); in fxp_mac32_Q30()
144 __inline Int32 fxp_mac32_Q32(Int32 L_add, Int32 L_var1, const Int32 L_var2) in fxp_mac32_Q32() argument
148 smlal L_var1, L_add, L_var2, L_var1 in fxp_mac32_Q32()
150 return L_add; in fxp_mac32_Q32()
Dpv_mp3dec_fxd_op_msc_evc.h63 __inline int32 fxp_mac32_Q30(const int32 a, const int32 b, int32 L_add) in fxp_mac32_Q30() argument
65 return (L_add + (int32)(((int64)(a) * b) >> 30)); in fxp_mac32_Q30()
96 __inline int32 fxp_mac32_Q32(int32 L_add, const int32 a, const int32 b) in fxp_mac32_Q32() argument
98 return (L_add + _MulHigh(b, a)); in fxp_mac32_Q32()
Dpv_mp3dec_fxd_op_c_equivalent.h70 __inline Int32 fxp_mac32_Q30(const Int32 a, const Int32 b, Int32 L_add) in fxp_mac32_Q30() argument
72 return (L_add + (Int32)(((int64)(a) * b) >> 30)); in fxp_mac32_Q30()
102 __inline Int32 fxp_mac32_Q32(Int32 L_add, const Int32 a, const Int32 b) in fxp_mac32_Q32() argument
104 return (L_add + (Int32)(((int64)(a) * b) >> 32)); in fxp_mac32_Q32()
Dpv_mp3dec_fxd_op_arm_gcc.h75 static inline int32 fxp_mac32_Q30(const int32 a, const int32 b, int32 L_add) in fxp_mac32_Q30() argument
81 register int32 rc = (int32)L_add; in fxp_mac32_Q30()
187 static inline int32 fxp_mac32_Q32(int32 L_add, const int32 a, const int32 b) in fxp_mac32_Q32() argument
194 register int32 rc = (int32)L_add; in fxp_mac32_Q32()
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dgc_pred.cpp555 ener = L_add(ener, L_temp1, pOverflow); in gc_pred()
608 L_tmp = L_add(L_tmp, L_temp2, pOverflow); in gc_pred()
637 L_tmp = L_add(L_tmp, L_temp2, pOverflow); /* Q14 */ in gc_pred()
652 L_tmp = L_add(L_tmp, L_temp2, pOverflow); /* Q14 */ in gc_pred()
658 L_tmp = L_add(L_tmp, L_temp2, pOverflow); /* Q14 */ in gc_pred()
664 L_tmp = L_add(L_tmp, L_temp2, pOverflow); /* Q14 */ in gc_pred()
670 L_tmp = L_add(L_tmp, L_temp2, pOverflow); /* Q14 */ in gc_pred()
696 L_tmp = L_add(L_tmp, L_temp2, pOverflow); /* Q13 * Q10 -> Q24 */ in gc_pred()
Dround.cpp191 L_var1 = L_add(L_var1, (Word32) 0x00008000L, pOverflow); in pv_round()
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dpvamrwbdecoder_basic_op_cequivalent.h467 __inline int32 fxp_mac_16by16(int16 var1, int16 var2, int32 L_add) in fxp_mac_16by16() argument
470 int32 l_orig = L_add; in fxp_mac_16by16()
471 if (__builtin_add_overflow( (int32)var1 * var2, l_orig, &L_add)) { in fxp_mac_16by16()
473 if (l_orig > 0) L_add = MAX_32; in fxp_mac_16by16()
474 else L_add = MIN_32; in fxp_mac_16by16()
477 return L_add; in fxp_mac_16by16()
Dpvamrwbdecoder_basic_op_armv5.h212 __inline int32 fxp_mac_16by16(const int16 var1, const int16 var2, int32 L_add) in fxp_mac_16by16() argument
216 smlabb L_add, var1, var2, L_add in fxp_mac_16by16()
218 return (L_add); in fxp_mac_16by16()
Dpvamrwbdecoder_basic_op_gcc_armv5.h258 static inline int32 fxp_mac_16by16(const int16 L_var1, const int16 L_var2, int32 L_add) in fxp_mac_16by16() argument
263 register int32 rc = (int32)L_add; in fxp_mac_16by16()
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
Dl_add.h111 __inline Word32 L_add(register Word32 L_var1, register Word32 L_var2, Flag *pOverflow) in L_add() function
125 __inline Word32 L_add(register Word32 L_var1, register Word32 L_var2, Flag *pOverflow)
144 static inline Word32 L_add(register Word32 L_var1, register Word32 L_var2, Flag *pOverflow)
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dqua_gain.cpp353 L_tmp = L_add(L_tmp, L_tmp2, pOverflow); in Qua_gain()
356 L_tmp = L_add(L_tmp, L_tmp2, pOverflow); in Qua_gain()
359 L_tmp = L_add(L_tmp, L_tmp2, pOverflow); in Qua_gain()
362 L_tmp = L_add(L_tmp, L_tmp2, pOverflow); in Qua_gain()
Dp_ol_wgh.cpp644 vadSt->L_Rmax = L_add(vadSt->L_Rmax, t0, pOverflow); in Lag_max()
646 vadSt->L_R0 = L_add(vadSt->L_R0, t1, pOverflow); in Lag_max()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Dpstfilt.cpp516 L_tmp = L_add(L_tmp, L_tmp2, pOverflow); in Post_Filter()
537 L_tmp = L_add(L_tmp, L_tmp2, pOverflow); in Post_Filter()
Ddtx_dec.cpp945 L_lsf[j] = L_add(L_lsf[j], in dtx_dec()
977 L_lsf_mean = L_add(L_lsf_mean, in dtx_dec()
1304 L_log_en_int = L_add(L_log_en_int, 4 * 65536L, pOverflow); in dtx_dec()
1310 L_log_en_int = L_add(L_log_en_int, in dtx_dec()
1528 L_frame_en = L_add(L_frame_en, L_temp, pOverflow); in dtx_dec_activity_update()
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dbasic_op.h77 static_vo Word32 L_add (Word32 L_var1, Word32 L_var2); /* Long add, 2 */
439 L_rounded = L_add (L_var1, (Word32) 0x00008000L); in voround()
486 L_var_out = L_add (L_var3, L_product); in L_mac()
569 static_vo Word32 L_add (Word32 L_var1, Word32 L_var2) in L_add() function

12