Searched refs:accu (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
D | band_nrg.c | 43 Word32 accu = 0; in CalcBandEnergy() local 45 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() 49 bandEnergy[i] = accu; in CalcBandEnergy()
|
D | quantize.c | 243 Word32 accu; in iquantizeLines() local 249 accu = quantSpectrum[line]; in iquantizeLines() 251 ex = norm_l(accu); in iquantizeLines() 252 accu = accu << ex; in iquantizeLines() 255 tabIndex = (accu >> (INT_BITS-2-MANT_DIGITS)) & (~MANT_SIZE); in iquantizeLines() 264 accu = MULHIGH(s, t); in iquantizeLines() 271 mdctSpectrum[line] = accu << specExp; in iquantizeLines() 273 mdctSpectrum[line] = accu >> (-specExp); in iquantizeLines()
|
D | tns.c | 652 Word32 accu; in AutoCorrelation() local 659 accu = 0; in AutoCorrelation() 661 accu = L_add(accu, ((input[j] * input[j]) >> scf)); in AutoCorrelation() 663 corr[0] = accu; in AutoCorrelation() 671 accu = 0; in AutoCorrelation() 673 accu = L_add(accu, ((input[j] * input[j+i]) >> scf)); in AutoCorrelation() 675 corr[i] = accu; in AutoCorrelation() 839 Word32 accu,tmp,tmpSave; in FIRLattice() local 854 accu = fixmul(state_par[order - 1], coef_par[(order - 1)]); in FIRLattice() 857 x = L_add(accu, x); in FIRLattice()
|
D | sf_estim.c | 110 Word32 accu, avgFormFactor,iSfbWidth; in CalcFormFactorChannel() local 115 accu = 0; in CalcFormFactorChannel() 118 accu += formfac_sqrt(L_abs(*mdctSpec)); mdctSpec++; in CalcFormFactorChannel() 120 logSfbFormFactor[i] = iLog4(accu); in CalcFormFactorChannel() 126 sfbNRelevantLines[i] = accu / avgFormFactor; in CalcFormFactorChannel()
|
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
D | LVPSA_QPD_Process.c | 75 LVM_INT32 accu; in LVPSA_QPD_Process() local 117 MUL32x32INTO32(temp2,Kp,accu,31); in LVPSA_QPD_Process() 126 accu +=temp + Xg0; in LVPSA_QPD_Process() 128 if (accu > 0x7FFF) in LVPSA_QPD_Process() 129 accu = 0x7FFF; in LVPSA_QPD_Process() 130 else if(accu < 0) in LVPSA_QPD_Process() 131 accu = 0x0000; in LVPSA_QPD_Process() 133 V0 = (LVM_INT16)accu; in LVPSA_QPD_Process()
|