Home
last modified time | relevance | path

Searched refs:accu2 (Results 1 – 10 of 10) sorted by relevance

/external/aac/libFDK/src/
Ddct.cpp181 FIXP_DBL xr, accu1, accu2; in dct_III() local
198 cplxMultDiv2(&accu2, &accu1, pDat[L - i], pDat[i], sin_twiddle[i * inc]); in dct_III()
208 ((accu2 >> 1) + accu4), sin_twiddle[index]); in dct_III()
210 cplxMultDiv2(&accu6, &accu5, ((accu2 >> 1) + accu4), in dct_III()
218 xr = (accu2 >> 1) - accu4; in dct_III()
235 cplxMultDiv2(&accu2, &accu1, pDat[L - (M / 2)], pDat[M / 2], in dct_III()
238 tmp[M + 1] = accu2 >> 1; in dct_III()
295 FIXP_DBL accu1, accu2; in dct_II() local
329 cplxMultDiv2(&accu1, &accu2, a2, a1, sin_twiddle[index]); in dct_II()
331 cplxMultDiv2(&accu1, &accu2, a1, a2, sin_twiddle[index]); in dct_II()
[all …]
Dautocorr2nd.cpp123 FIXP_DBL accu1, accu2, accu3, accu4, accu5; in autoCorr2nd_real() local
154 accu2 = (fPow2Div2(realBuf[-2]) SHIFT); in autoCorr2nd_real()
155 accu2 += accu1; in autoCorr2nd_real()
165 (accu1 | accu2 | fAbs(accu3) | fAbs(accu4) | fAbs(accu5))) - in autoCorr2nd_real()
171 ac->r22r = accu2 << mScale; in autoCorr2nd_real()
195 FIXP_DBL accu0, accu1, accu2, accu3, accu4, accu5, accu6, accu7, accu8; in autoCorr2nd_cplx() local
237 accu2 = ((fPow2Div2(realBuf[-2]) + fPow2Div2(imagBuf[-2])) >> len_scale); in autoCorr2nd_cplx()
238 accu2 += accu1; in autoCorr2nd_cplx()
266 CntLeadingZeros((accu0 | accu1 | accu2 | fAbs(accu3) | fAbs(accu4) | in autoCorr2nd_cplx()
274 ac->r22r = (FIXP_DBL)accu2 << mScale; in autoCorr2nd_cplx()
DFDK_hybrid.cpp482 FIXP_DBL accu2 = FL2FXCONST_DBL(0.f); in FDKhybridSynthesisApply() local
487 accu2 += pHybridImag[hybOffset + n]; in FDKhybridSynthesisApply()
490 pQmfImag[k] = accu2; in FDKhybridSynthesisApply()
699 FIXP_DBL accu1, accu2, accu3, accu4; in eightChannelFiltering() local
709 cplxMultDiv2(&accu1, &accu2, pQmfReal[pReadIdx[7]], pQmfImag[pReadIdx[7]], in eightChannelFiltering()
712 pfft[FFT_IDX_I(1)] = accu2; in eightChannelFiltering()
714 cplxMultDiv2(&accu1, &accu2, pQmfReal[pReadIdx[0]], pQmfImag[pReadIdx[0]], in eightChannelFiltering()
719 pfft[FFT_IDX_I(2)] = accu2 + accu4; in eightChannelFiltering()
721 cplxMultDiv2(&accu1, &accu2, pQmfReal[pReadIdx[1]], pQmfImag[pReadIdx[1]], in eightChannelFiltering()
726 pfft[FFT_IDX_I(3)] = accu2 + accu4; in eightChannelFiltering()
[all …]
DFDK_lpc.cpp467 FIXP_DBL accu2 = fMult(tmp, workBuffer[j]); in CLpc_AutoToParcor() local
469 acorr[j] += accu2; in CLpc_AutoToParcor()
/external/aac/libSBRdec/src/arm/
Dlpp_tran_arm.cpp119 FIXP_DBL real1, real2, imag1, imag2, accu1, accu2; in lppTransposer_func1() local
127 accu2 = fMultDiv2(a0i, imag1); in lppTransposer_func1()
129 accu2 = fMultAddDiv2(accu2, a1i, imag2); in lppTransposer_func1()
131 accu1 = accu1 - accu2; in lppTransposer_func1()
134 accu2 = fMultAddDiv2(real2, a1r, imag2); in lppTransposer_func1()
137 accu2 = fMultAddDiv2(accu2, a0i, real1); in lppTransposer_func1()
139 accu2 = fMultAddDiv2(accu2, a0r, imag1); in lppTransposer_func1()
141 accu2 = accu2 >> dynamicScale; in lppTransposer_func1()
144 accu2 <<= 1; in lppTransposer_func1()
146 accu2 += (imag1 >> descale); in lppTransposer_func1()
[all …]
/external/libxaac/decoder/
Dixheaacd_aac_tns.c107 WORD32 accu1, accu2; in ixheaacd_tns_parcor_to_lpc() local
133 accu2 = (z[j]); in ixheaacd_tns_parcor_to_lpc()
134 accu2 = ixheaacd_add32_sat(accu2, in ixheaacd_tns_parcor_to_lpc()
136 z[j + 1] = (accu2); in ixheaacd_tns_parcor_to_lpc()
137 if (ixheaacd_abs32_sat(accu2) == 0x7fffffff) status = 1; in ixheaacd_tns_parcor_to_lpc()
161 WORD32 accu1, accu2; in ixheaacd_tns_parcor_lpc_convert_dec() local
189 accu2 = ixheaacd_deposit16h_in32(temp_buf1[j]); in ixheaacd_tns_parcor_lpc_convert_dec()
190 accu2 = ixheaacd_mac16x16in32_shl_sat(accu2, parcor[j], temp_buf2[j]); in ixheaacd_tns_parcor_lpc_convert_dec()
191 temp_buf1[j + 1] = ixheaacd_round16(accu2); in ixheaacd_tns_parcor_lpc_convert_dec()
192 if (ixheaacd_abs32_sat(accu2) == 0x7fffffff) { in ixheaacd_tns_parcor_lpc_convert_dec()
Dixheaacd_tns.c85 WORD32 accu1, accu2; in ixheaacd_tns_parcor_lpc_convert_usac() local
112 accu2 = (temp_buf1[j]); in ixheaacd_tns_parcor_lpc_convert_usac()
113 accu2 = ixheaacd_add32_sat( in ixheaacd_tns_parcor_lpc_convert_usac()
114 accu2, ixheaacd_mult32_shl_sat(parcor[j], temp_buf2[j])); in ixheaacd_tns_parcor_lpc_convert_usac()
115 temp_buf1[j + 1] = (accu2); in ixheaacd_tns_parcor_lpc_convert_usac()
117 if (ixheaacd_abs32_sat(accu2) == 0x7fffffff) status = 1; in ixheaacd_tns_parcor_lpc_convert_usac()
/external/aac/libSBRdec/src/
Dlpp_tran.cpp225 FIXP_DBL accu1, accu2; in calc_qmfBufferReal() local
234 accu2 = (lowBandReal[i + 2] >> descale); in calc_qmfBufferReal()
235 qmfBufferReal[i + startSample][hiBand] = accu1 + accu2; in calc_qmfBufferReal()
750 FIXP_DBL accu1, accu2; in lppTransposer() local
752 accu2 = lowBandImag[LPC_ORDER + i] >> descale; in lppTransposer()
757 accu2 = scaleValueSaturate( in lppTransposer()
758 fMultDiv2(accu2, preWhiteningGains[loBand]), in lppTransposer()
762 qmfBufferImag[i][hiBand] = accu2; in lppTransposer()
786 FIXP_DBL accu1, accu2; in lppTransposer() local
793 accu2 = (fMultDiv2(a0i, lowBandReal[LPC_ORDER + i - 1]) + in lppTransposer()
[all …]
/external/aac/libSBRenc/src/
Dtran_det.cpp198 FIXP_DBL accu2 = FL2FXCONST_DBL(0.f); in spectralChange() local
208 accu2 += scaleValue(Energies[i][j], -energies_e_diff[i]); in spectralChange()
214 accu2 = fMax(accu2, (FIXP_DBL)len2); in spectralChange()
218 tmp0 = fLog2(accu2, accu_e) - fLog2(accu1, accu_e); in spectralChange()
226 accu2 >>= 1; in spectralChange()
232 accu2 >>= 1; in spectralChange()
235 delta_sum += fMult(sqrtFixp(accu1 + accu2), delta); in spectralChange()
270 FIXP_DBL accu2 = FL2FXCONST_DBL(0.0f); in addLowbandEnergies() local
293 accu2 += Energies[ts][k] >> sc2; in addLowbandEnergies()
297 nrgTotal_m = fAddNorm(accu1, (sc1 - 5) - scaleEnergies[0], accu2, in addLowbandEnergies()
Denv_est.cpp618 FIXP_DBL nrgSum, nrg1, nrg2, accu1, accu2; in getEnvSfbEnergy() local
630 nrgSum = accu1 = accu2 = (FIXP_DBL)0; in getEnvSfbEnergy()
641 accu2 += (nrg2 >> dynScale2); in getEnvSfbEnergy()
646 (accu2 >> fixMin((scaleNrg1 - sc1 - dynScale2), (DFRACT_BITS - 1))); in getEnvSfbEnergy()