/external/aac/libFDK/src/ |
D | dct.cpp | 181 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() 207 cplxMultDiv2(&accu6, &accu5, (accu3 - (accu1 >> 1)), in dct_III() 211 (accu3 - (accu1 >> 1)), sin_twiddle[index]); in dct_III() 214 xr = (accu1 >> 1) + accu3; in dct_III() 235 cplxMultDiv2(&accu2, &accu1, pDat[L - (M / 2)], pDat[M / 2], in dct_III() 237 tmp[M] = accu1 >> 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 …]
|
D | autocorr2nd.cpp | 123 FIXP_DBL accu1, accu2, accu3, accu4, accu5; in autoCorr2nd_real() local 140 accu1 = fPow2Div2(pReBuf[0]) SHIFT; in autoCorr2nd_real() 145 accu1 += ((fPow2Div2(pReBuf[0]) + fPow2Div2(pReBuf[1])) SHIFT); in autoCorr2nd_real() 155 accu2 += accu1; in autoCorr2nd_real() 157 accu1 += (fPow2Div2(realBuf[len - 2]) SHIFT); in autoCorr2nd_real() 165 (accu1 | accu2 | fAbs(accu3) | fAbs(accu4) | fAbs(accu5))) - in autoCorr2nd_real() 170 ac->r11r = accu1 << mScale; in autoCorr2nd_real() 195 FIXP_DBL accu0, accu1, accu2, accu3, accu4, accu5, accu6, accu7, accu8; in autoCorr2nd_cplx() local 210 accu1 = accu3 = accu5 = accu7 = accu8 = FL2FXCONST_DBL(0.0f); in autoCorr2nd_cplx() 222 accu1 += ((fPow2Div2(pReBuf[0]) + fPow2Div2(pImBuf[0])) >> len_scale); in autoCorr2nd_cplx() [all …]
|
D | FDK_hybrid.cpp | 481 FIXP_DBL accu1 = FL2FXCONST_DBL(0.f); in FDKhybridSynthesisApply() local 486 accu1 += pHybridReal[hybOffset + n]; in FDKhybridSynthesisApply() 489 pQmfReal[k] = accu1; in FDKhybridSynthesisApply() 699 FIXP_DBL accu1, accu2, accu3, accu4; in eightChannelFiltering() local 709 cplxMultDiv2(&accu1, &accu2, pQmfReal[pReadIdx[7]], pQmfImag[pReadIdx[7]], in eightChannelFiltering() 711 pfft[FFT_IDX_R(1)] = accu1; in eightChannelFiltering() 714 cplxMultDiv2(&accu1, &accu2, pQmfReal[pReadIdx[0]], pQmfImag[pReadIdx[0]], in eightChannelFiltering() 718 pfft[FFT_IDX_R(2)] = accu1 + accu3; in eightChannelFiltering() 721 cplxMultDiv2(&accu1, &accu2, pQmfReal[pReadIdx[1]], pQmfImag[pReadIdx[1]], in eightChannelFiltering() 725 pfft[FFT_IDX_R(3)] = accu1 + accu3; in eightChannelFiltering() [all …]
|
D | FDK_lpc.cpp | 466 FIXP_DBL accu1 = fMult(tmp, acorr[j]); in CLpc_AutoToParcor() local 468 workBuffer[j] += accu1; in CLpc_AutoToParcor()
|
/external/aac/libSBRdec/src/arm/ |
D | lpp_tran_arm.cpp | 119 FIXP_DBL real1, real2, imag1, imag2, accu1, accu2; in lppTransposer_func1() local 126 accu1 = fMultDiv2(a0r, real1); in lppTransposer_func1() 128 accu1 = fMultAddDiv2(accu1, a1r, real2); in lppTransposer_func1() 131 accu1 = accu1 - accu2; in lppTransposer_func1() 132 accu1 = accu1 >> dynamicScale; in lppTransposer_func1() 143 accu1 <<= 1; in lppTransposer_func1() 145 accu1 += (real1 >> descale); in lppTransposer_func1() 148 accu1 = scaleValueSaturate(fMultDiv2(accu1, preWhiteningGain), in lppTransposer_func1() 153 qmfBufferReal[i][hiBand] = accu1; in lppTransposer_func1()
|
/external/libxaac/decoder/ |
D | ixheaacd_aac_tns.c | 107 WORD32 accu1, accu2; in ixheaacd_tns_parcor_to_lpc() local 120 accu1 = (0x40000000 >> (*scale - 1)); in ixheaacd_tns_parcor_to_lpc() 123 z1 = accu1; in ixheaacd_tns_parcor_to_lpc() 126 w[j] = (accu1); in ixheaacd_tns_parcor_to_lpc() 128 accu1 = ixheaacd_add32_sat(accu1, in ixheaacd_tns_parcor_to_lpc() 130 if (ixheaacd_abs32_sat(accu1) == 0x7fffffff) status = 1; in ixheaacd_tns_parcor_to_lpc() 141 lpc[i] = (accu1); in ixheaacd_tns_parcor_to_lpc() 142 accu1 = 0; in ixheaacd_tns_parcor_to_lpc() 145 accu1 = (status - 1); in ixheaacd_tns_parcor_to_lpc() 147 if (accu1 == 0) { in ixheaacd_tns_parcor_to_lpc() [all …]
|
D | ixheaacd_tns.c | 85 WORD32 accu1, accu2; in ixheaacd_tns_parcor_lpc_convert_usac() local 98 accu1 = (0x40000000 >> (*scale - 1)); in ixheaacd_tns_parcor_lpc_convert_usac() 101 accu = accu1; in ixheaacd_tns_parcor_lpc_convert_usac() 104 temp_buf2[j] = (accu1); in ixheaacd_tns_parcor_lpc_convert_usac() 106 accu1 = ixheaacd_add32_sat( in ixheaacd_tns_parcor_lpc_convert_usac() 107 accu1, ixheaacd_mult32_shl_sat(parcor[j], temp_buf1[j])); in ixheaacd_tns_parcor_lpc_convert_usac() 108 if (ixheaacd_abs32_sat(accu1) == 0x7fffffff) status = 1; in ixheaacd_tns_parcor_lpc_convert_usac() 121 lpc_coeff[i] = (accu1); in ixheaacd_tns_parcor_lpc_convert_usac() 122 accu1 = 0; in ixheaacd_tns_parcor_lpc_convert_usac() 125 accu1 = (status - 1); in ixheaacd_tns_parcor_lpc_convert_usac() [all …]
|
/external/aac/libSBRdec/src/ |
D | lpp_tran.cpp | 225 FIXP_DBL accu1, accu2; in calc_qmfBufferReal() local 229 accu1 = fMultDiv2(a1r, lowBandReal[i]); in calc_qmfBufferReal() 230 accu1 = (fMultDiv2(a0r, lowBandReal[i + 1]) + accu1); in calc_qmfBufferReal() 231 accu1 = accu1 >> dynamicScale; in calc_qmfBufferReal() 233 accu1 <<= 1; in calc_qmfBufferReal() 235 qmfBufferReal[i + startSample][hiBand] = accu1 + accu2; in calc_qmfBufferReal() 750 FIXP_DBL accu1, accu2; in lppTransposer() local 751 accu1 = lowBandReal[LPC_ORDER + i] >> descale; in lppTransposer() 754 accu1 = scaleValueSaturate( in lppTransposer() 755 fMultDiv2(accu1, preWhiteningGains[loBand]), in lppTransposer() [all …]
|
/external/aac/libSBRenc/src/ |
D | tran_det.cpp | 197 FIXP_DBL accu1 = FL2FXCONST_DBL(0.f); in spectralChange() local 203 accu1 += scaleValue(Energies[i][j], -energies_e_diff[i]); in spectralChange() 213 accu1 = fMax(accu1, (FIXP_DBL)len1); in spectralChange() 218 tmp0 = fLog2(accu2, accu_e) - fLog2(accu1, accu_e); in spectralChange() 225 accu1 >>= 1; in spectralChange() 231 accu1 >>= 1; in spectralChange() 235 delta_sum += fMult(sqrtFixp(accu1 + accu2), delta); in spectralChange() 269 FIXP_DBL accu1 = FL2FXCONST_DBL(0.0f); in addLowbandEnergies() local 288 accu1 += Energies[ts][k] >> sc1; in addLowbandEnergies() 297 nrgTotal_m = fAddNorm(accu1, (sc1 - 5) - scaleEnergies[0], accu2, in addLowbandEnergies() [all …]
|
D | env_est.cpp | 618 FIXP_DBL nrgSum, nrg1, nrg2, accu1, accu2; in getEnvSfbEnergy() local 630 nrgSum = accu1 = accu2 = (FIXP_DBL)0; in getEnvSfbEnergy() 640 accu1 += (nrg1 >> dynScale1); in getEnvSfbEnergy() 645 (accu1 >> fixMin((scaleNrg0 - sc0 - dynScale1), (DFRACT_BITS - 1))) + in getEnvSfbEnergy()
|