Home
last modified time | relevance | path

Searched refs:realBuf (Results 1 – 2 of 2) sorted by relevance

/external/aac/libFDK/src/
Dautocorr2nd.cpp124 const FIXP_DBL *realBuf = reBuffer; in autoCorr2nd_real() local
131 pReBuf = realBuf-2; in autoCorr2nd_real()
154 accu2 = (fPow2Div2(realBuf[-2]) SHIFT); in autoCorr2nd_real()
157 accu1 += (fPow2Div2(realBuf[len - 2]) SHIFT); in autoCorr2nd_real()
159 accu4 = (fMultDiv2(realBuf[-1],realBuf[-2]) SHIFT); in autoCorr2nd_real()
162 accu3 += (fMultDiv2(realBuf[len - 1],realBuf[len - 2]) SHIFT); in autoCorr2nd_real()
200 const FIXP_DBL *realBuf = reBuffer; in autoCorr2nd_cplx() local
213 pReBuf = realBuf-2, pImBuf = imagBuf-2; in autoCorr2nd_cplx()
217 pReBuf = realBuf-1, pImBuf = imagBuf-1; in autoCorr2nd_cplx()
226 accu2 = ( (fPow2Div2(realBuf[-2]) + fPow2Div2(imagBuf[-2])) >> len_scale); in autoCorr2nd_cplx()
[all …]
/external/aac/libSBRenc/src/
Dton_corr.cpp144 FIXP_DBL *realBuf; in FDKsbrEnc_CalculateTonalityQuotas() local
152 realBuf = realBufRef; in FDKsbrEnc_CalculateTonalityQuotas()
153 imagBuf = realBuf + BAND_V_SIZE*NUM_V_COMBINE; in FDKsbrEnc_CalculateTonalityQuotas()
182 if (realBuf != realBufRef) { in FDKsbrEnc_CalculateTonalityQuotas()
183 realBuf -= BAND_V_SIZE; in FDKsbrEnc_CalculateTonalityQuotas()
186 realBuf += BAND_V_SIZE*(NUM_V_COMBINE-1); in FDKsbrEnc_CalculateTonalityQuotas()
191 ptr = realBuf+i; in FDKsbrEnc_CalculateTonalityQuotas()
205 …autoCorrScaling = fixMin(getScalefactor(&realBuf[k-LPC_ORDER], LPC_ORDER+blockLength), getScalefac… in FDKsbrEnc_CalculateTonalityQuotas()
208 scaleValues(&realBuf[k-LPC_ORDER], LPC_ORDER+blockLength, autoCorrScaling); in FDKsbrEnc_CalculateTonalityQuotas()
212 autoCorrScaling += autoCorr2nd_cplx ( ac, realBuf+k, imagBuf+k, blockLength ); in FDKsbrEnc_CalculateTonalityQuotas()
[all …]