Home
last modified time | relevance | path

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

123

/frameworks/av/media/libstagefright/codecs/aacdec/
Dfxp_mul32_arm_v5.h112 __inline Int32 fxp_mac_16_by_16(const Int32 L_var1, const Int32 L_var2, Int32 L_add) in fxp_mac_16_by_16() argument
116 smlabb L_add, L_var1, L_var2, L_add in fxp_mac_16_by_16()
118 return (L_add); in fxp_mac_16_by_16()
121 __inline Int32 fxp_mac_16_by_16_bb(const Int32 L_var1, Int32 L_var2, Int32 L_add) in fxp_mac_16_by_16_bb() argument
125 smlabb L_add, L_var1, L_var2, L_add in fxp_mac_16_by_16_bb()
127 return L_add; in fxp_mac_16_by_16_bb()
130 __inline Int32 fxp_mac_16_by_16_bt(const Int32 L_var1, Int32 L_var2, Int32 L_add) in fxp_mac_16_by_16_bt() argument
134 smlabt L_add, L_var1, L_var2, L_add in fxp_mac_16_by_16_bt()
136 return L_add; in fxp_mac_16_by_16_bt()
140 __inline Int32 fxp_mac_16_by_16_tb(const Int32 L_var1, Int32 L_var2, Int32 L_add) in fxp_mac_16_by_16_tb() argument
[all …]
Dfxp_mul32_arm_v4.h132 __inline Int32 fxp_mac_16_by_16(const Int32 L_var1, const Int32 L_var2, Int32 L_add) in fxp_mac_16_by_16() argument
136 mla L_add, L_var1, L_var2, L_add in fxp_mac_16_by_16()
138 return (L_add); in fxp_mac_16_by_16()
142 __inline Int32 fxp_mac_16_by_16_bb(const Int32 L_var1, Int32 L_var2, Int32 L_add) in fxp_mac_16_by_16_bb() argument
148 mla L_add, L_var1, L_var2, L_add in fxp_mac_16_by_16_bb()
150 return L_add; in fxp_mac_16_by_16_bb()
153 __inline Int32 fxp_mac_16_by_16_bt(Int16 L_var1, Int32 L_var2, Int32 L_add) in fxp_mac_16_by_16_bt() argument
158 mla L_add, L_var1, L_var2, L_add in fxp_mac_16_by_16_bt()
160 return L_add; in fxp_mac_16_by_16_bt()
214 __inline Int32 fxp_mac32_by_16(Int32 L_var1, Int32 L_var2, Int32 L_add) in fxp_mac32_by_16() argument
[all …]
Dfxp_mul32_c_equivalent.h112 __inline Int32 fxp_mac_16_by_16(Int16 L_var1, Int16 L_var2, Int32 L_add) in fxp_mac_16_by_16() argument
115 L_add += L_var1 * L_var2; in fxp_mac_16_by_16()
117 return L_add; in fxp_mac_16_by_16()
125 __inline Int32 fxp_mac_16_by_16_bb(Int16 L_var1, Int32 L_var2, Int32 L_add) in fxp_mac_16_by_16_bb() argument
129 L_add += L_var1 * L_var2; in fxp_mac_16_by_16_bb()
131 return L_add; in fxp_mac_16_by_16_bb()
136 __inline Int32 fxp_mac_16_by_16_bt(Int16 L_var1, Int32 L_var2, Int32 L_add) in fxp_mac_16_by_16_bt() argument
140 L_add += L_var1 * L_var2; in fxp_mac_16_by_16_bt()
142 return L_add; in fxp_mac_16_by_16_bt()
186 __inline Int32 fxp_mac32_by_16(const Int32 L_var1, const Int32 L_var2, Int32 L_add) in fxp_mac32_by_16() argument
[all …]
Dfxp_mul32_c_msc_evc.h103 __inline Int32 fxp_mac_16_by_16(Int16 L_var1, Int16 L_var2, Int32 L_add) in fxp_mac_16_by_16() argument
105 return (L_add + (L_var1*L_var2)); in fxp_mac_16_by_16()
110 __inline Int32 fxp_mac_16_by_16_bb(Int16 L_var1, Int32 L_var2, Int32 L_add) in fxp_mac_16_by_16_bb() argument
114 return (L_add + (L_var1*L_var2)); in fxp_mac_16_by_16_bb()
119 __inline Int32 fxp_mac_16_by_16_bt(Int16 L_var1, Int32 L_var2, Int32 L_add) in fxp_mac_16_by_16_bt() argument
123 return (L_add + (L_var1*L_var2)); in fxp_mac_16_by_16_bt()
160 __inline Int32 fxp_mac32_by_16(const Int32 L_var1, const Int32 L_var2, Int32 L_add) in fxp_mac32_by_16() argument
165 return(L_add + _MulHigh(rTmp0, L_var1)); in fxp_mac32_by_16()
176 __inline Int32 fxp_mac32_Q31(Int32 L_add, const Int32 a, const Int32 b) in fxp_mac32_Q31() argument
178 return (L_add + _MulHigh(b, a)); in fxp_mac32_Q31()
[all …]
Dfxp_mul32_c_msc_evc_armv5.h64 #define fxp_mac_16_by_16( L_var1, L_var2, L_add) _SmulAddLo_SW_SL( L_add, L_var1, L_var2) argument
68 #define fxp_mac_16_by_16_bt( L_var1, L_var2, L_add) _SmulAddLoHi_SW_SL( L_add, L_var1, L_var2) argument
87 #define fxp_mac32_by_16( L_var1, L_var2, L_add) _SmulAddWLo_SW_SL( L_add, L_var1, L_var2) argument
99 __inline Int32 fxp_mac32_Q31(Int32 L_add, const Int32 a, const Int32 b) in fxp_mac32_Q31() argument
101 return (L_add + _MulHigh(b, a)); in fxp_mac32_Q31()
116 __inline Int32 fxp_mac32_Q30(const Int32 a, const Int32 b, Int32 L_add) in fxp_mac32_Q30() argument
118 return (L_add + (Int32)(((int64)(a) * b) >> 30)); in fxp_mac32_Q30()
127 __inline Int32 fxp_mac32_Q29(const Int32 a, const Int32 b, Int32 L_add) in fxp_mac32_Q29() argument
129 return (L_add + (Int32)(((int64)(a) * b) >> 29)); in fxp_mac32_Q29()
Dfxp_mul32_arm_gcc.h135 static inline Int32 fxp_mac_16_by_16(const Int32 L_var1, const Int32 L_var2, Int32 L_add) in fxp_mac_16_by_16() argument
140 register Int32 rc = (Int32)L_add; in fxp_mac_16_by_16()
154 static inline Int32 fxp_mac_16_by_16_bb(const Int32 L_var1, const Int32 L_var2, Int32 L_add) in fxp_mac_16_by_16_bb() argument
159 register Int32 rc = (Int32)L_add; in fxp_mac_16_by_16_bb()
172 static inline Int32 fxp_mac_16_by_16_bt(const Int32 L_var1, const Int32 L_var2, Int32 L_add) in fxp_mac_16_by_16_bt() argument
177 register Int32 rc = (Int32)L_add; in fxp_mac_16_by_16_bt()
246 static inline Int32 fxp_mac32_by_16(const Int32 L_var1, const Int32 L_var2, Int32 L_add) in fxp_mac32_by_16() argument
252 register Int32 rc = (Int32)L_add; in fxp_mac32_by_16()
274 static inline Int32 fxp_mac32_Q30(const Int32 a, const Int32 b, Int32 L_add) in fxp_mac32_Q30() argument
280 register Int32 rc = (Int32)L_add; in fxp_mac32_Q30()
[all …]
Dfxp_mul32_arm_v4_gcc.h166 static inline Int32 fxp_mac_16_by_16(Int16 L_var1, Int16 L_var2, Int32 L_add) in fxp_mac_16_by_16() argument
172 register Int32 rc = (Int32)L_add; in fxp_mac_16_by_16()
186 static inline Int32 fxp_mac_16_by_16_bb(Int16 L_var1, Int32 L_var2, Int32 L_add) in fxp_mac_16_by_16_bb() argument
193 register Int32 rc = (Int32)L_add; in fxp_mac_16_by_16_bb()
210 static inline Int32 fxp_mac_16_by_16_bt(Int16 L_var1, Int32 L_var2, Int32 L_add) in fxp_mac_16_by_16_bt() argument
217 register Int32 rc = (Int32)L_add; in fxp_mac_16_by_16_bt()
324 static inline Int32 fxp_mac32_by_16(Int32 L_var1, Int32 L_var2, Int32 L_add) in fxp_mac32_by_16() argument
332 register Int32 rc = (Int32)L_add; in fxp_mac32_by_16()
356 static inline Int32 fxp_mac32_Q30(const Int32 a, const Int32 b, Int32 L_add) in fxp_mac32_Q30() argument
362 register Int32 rc = (Int32)L_add; in fxp_mac32_Q30()
[all …]
/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.c519 accu_y = L_add(accu_y, (accu_y >> k)); in m_pow2_cordic()
687 accu = L_add(accu, ((input[j] * input[j]) >> scf)); in AutoCorrelation()
699 accu = L_add(accu, ((input[j] * input[j+i]) >> scf)); in AutoCorrelation()
751 accu1 = L_add(pWorkBuffer[j], fixmul(refc, workBuffer[j - i])); in AutoToParcor()
752 accu2 = L_add(workBuffer[j - i], fixmul(refc, pWorkBuffer[j])); in AutoToParcor()
872 tmp = L_add(fixmul(coef_par[i], x), state_par[i]); in FIRLattice()
873 x = L_add(fixmul(coef_par[i], state_par[i]), x); in FIRLattice()
883 x = L_add(accu, x); in FIRLattice()
884 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/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/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.h514 __inline int32 fxp_mac_16by16(int16 var1, int16 var2, int32 L_add) in fxp_mac_16by16() argument
517 L_add += (int32)var1 * var2; in fxp_mac_16by16()
519 return L_add; in fxp_mac_16by16()
/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/amrwbenc/src/
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/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()

123