Home
last modified time | relevance | path

Searched refs:L_add (Results 1 – 25 of 50) 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.c250 k_cn = extract_h(L_add(s, 0x8000)); in ACELP_4t64_fx()
270 s = L_add((k_cn* (*p0++)), (k_dn * (*p1++))); in ACELP_4t64_fx()
272 s = L_add((k_cn* (*p0++)), (k_dn * (*p1++))); 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()
345 L_tmp = L_add(L_tmp, (H[i] * H[i]) << 1); in ACELP_4t64_fx()
389 cor = L_add(cor, vo_L_mult((*ptr_h1), (*ptr_h1))); in ACELP_4t64_fx()
392 cor = L_add(cor, vo_L_mult((*ptr_h1), (*ptr_h1))); in ACELP_4t64_fx()
395 cor = L_add(cor, vo_L_mult((*ptr_h1), (*ptr_h1))); in ACELP_4t64_fx()
398 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()
/frameworks/av/media/libstagefright/codecs/aacenc/src/
Dband_nrg.c45 accu = L_add(accu, MULHIGH(mdctSpectrum[j], mdctSpectrum[j])); in CalcBandEnergy()
47 accu = L_add(accu, accu); in CalcBandEnergy()
48 accuSum = L_add(accuSum, accu); in CalcBandEnergy()
86 accuMid = L_add(accuMid, MULHIGH(specm, specm)); in CalcBandEnergyMS()
87 accuSide = L_add(accuSide, MULHIGH(specs, specs)); in CalcBandEnergyMS()
90 accuMid = L_add(accuMid, accuMid); in CalcBandEnergyMS()
91 accuSide = L_add(accuSide, accuSide); in CalcBandEnergyMS()
93 accuMidSum = L_add(accuMidSum, accuMid); in CalcBandEnergyMS()
95 accuSideSum = L_add(accuSideSum, accuSide); in CalcBandEnergyMS()
Dgrp_data.c112 thresh = L_add(thresh, sfbThreshold->sfbShort[wnd+j][sfb]); in groupShortData()
127 energy = L_add(energy, sfbEnergy->sfbShort[wnd+j][sfb]); in groupShortData()
142 energy = L_add(energy, sfbEnergyMS->sfbShort[wnd+j][sfb]); in groupShortData()
157 energy = L_add(energy, sfbSpreadedEnergy->sfbShort[wnd+j][sfb]); in groupShortData()
Dinterface.c106 accuSumLR = L_add(accuSumLR, *pSumLR); pSumLR++; in BuildInterface()
107 accuSumMS = L_add(accuSumMS, *pSumMS); pSumMS++; in BuildInterface()
Dtns.c661 accu = L_add(accu, ((input[j] * input[j]) >> scf)); in AutoCorrelation()
673 accu = L_add(accu, ((input[j] * input[j+i]) >> scf)); in AutoCorrelation()
725 accu1 = L_add(pWorkBuffer[j], fixmul(refc, workBuffer[j - i])); in AutoToParcor()
726 accu2 = L_add(workBuffer[j - i], fixmul(refc, pWorkBuffer[j])); in AutoToParcor()
846 tmp = L_add(fixmul(coef_par[i], x), state_par[i]); in FIRLattice()
847 x = L_add(fixmul(coef_par[i], state_par[i]), x); in FIRLattice()
857 x = L_add(accu, x); in FIRLattice()
858 x = L_add(x, x); in FIRLattice()
/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_c_equivalent.h67 __inline Int32 fxp_mac32_Q30(const Int32 a, const Int32 b, Int32 L_add) in fxp_mac32_Q30() argument
69 return (L_add + (Int32)(((int64)(a) * b) >> 30)); in fxp_mac32_Q30()
94 __inline Int32 fxp_mac32_Q32(Int32 L_add, const Int32 a, const Int32 b) in fxp_mac32_Q32() argument
96 return (L_add + (Int32)(((int64)(a) * b) >> 32)); 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_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/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/amrwb/src/
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_cequivalent.h467 __inline int32 fxp_mac_16by16(int16 var1, int16 var2, int32 L_add) in fxp_mac_16by16() argument
470 L_add += (int32)var1 * var2; in fxp_mac_16by16()
472 return L_add; in fxp_mac_16by16()
/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()
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
Dbasicop2.c622 L_rounded = L_add (L_var1, (Word32) 0x00008000L); in round16()
673 L_var_out = L_add (L_var3, L_product); in L_mac()
762 Word32 L_add (Word32 L_var1, Word32 L_var2) in L_add() function
1165 L_var3 = L_add (L_var3, (Word32) 0x00008000L); in mac_r()
1216 L_var3 = L_add (L_var3, (Word32) 0x00008000L); in msu_r()
/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()
/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