/external/aac/libFDK/src/ |
D | dct.cpp | 185 FIXP_DBL xr, accu1, accu2; in dct_III() local 202 cplxMultDiv2(&accu2, &accu1, pDat[L - i], pDat[i], sin_twiddle[i * inc]); in dct_III() 211 cplxMultDiv2(&accu6, &accu5, (accu3 - (accu1 >> 1)), in dct_III() 215 (accu3 - (accu1 >> 1)), sin_twiddle[index]); in dct_III() 218 xr = (accu1 >> 1) + accu3; in dct_III() 239 cplxMultDiv2(&accu2, &accu1, pDat[L - (M / 2)], pDat[M / 2], in dct_III() 241 tmp[M] = accu1 >> 1; in dct_III() 299 FIXP_DBL accu1, accu2; in dct_II() local 333 cplxMultDiv2(&accu1, &accu2, a2, a1, sin_twiddle[index]); in dct_II() 335 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/libFDK/src/arm/ |
D | dct_arm.cpp | 257 FIXP_DBL accu1, accu2, accu3, accu4, accuX; in dct_IV_func2() local 260 accu1 = pDat_1[-2]; in dct_IV_func2() 277 SMLAWB accuX, accu1, val_tw, accuX in dct_IV_func2() 278 SMLAWT accu2, accu1, val_tw, accu2 in dct_IV_func2() 290 LDR accu1, [pDat_1, #-8] in dct_IV_func2() 302 SMLAWB accuX, accu1, val_tw, accuX in dct_IV_func2() 303 SMLAWT accu2, accu1, val_tw, accu2 in dct_IV_func2() 315 LDR accu1, [pDat_1, #-8] in dct_IV_func2() 328 accu1 = fMultDiv2(accu1, WTC(0x5a82799a)); in dct_IV_func2() 331 *--pDat_1 = accu1 + accu2; in dct_IV_func2() [all …]
|
/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 | 106 WORD32 accu1, accu2; in ixheaacd_tns_parcor_to_lpc() local 119 accu1 = (0x40000000 >> (*scale - 1)); in ixheaacd_tns_parcor_to_lpc() 122 z1 = accu1; in ixheaacd_tns_parcor_to_lpc() 125 w[j] = (accu1); in ixheaacd_tns_parcor_to_lpc() 127 accu1 = ixheaacd_add32_sat(accu1, in ixheaacd_tns_parcor_to_lpc() 129 if (ixheaacd_abs32_sat(accu1) == 0x7fffffff) status = 1; in ixheaacd_tns_parcor_to_lpc() 140 lpc[i] = (accu1); in ixheaacd_tns_parcor_to_lpc() 141 accu1 = 0; in ixheaacd_tns_parcor_to_lpc() 144 accu1 = (status - 1); in ixheaacd_tns_parcor_to_lpc() 146 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() 732 FIXP_DBL accu1, accu2; in lppTransposer() local 733 accu1 = lowBandReal[LPC_ORDER + i] >> descale; in lppTransposer() 736 accu1 = scaleValueSaturate( in lppTransposer() 737 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()
|