Searched refs:autoCorrScaling (Results 1 – 2 of 2) sorted by relevance
/external/aac/libFDK/src/ |
D | autocorr2nd.cpp | 118 int j, autoCorrScaling, mScale; in autoCorr2nd_real() local 165 autoCorrScaling = mScale - 1 - SHIFT_FACTOR; /* -1 because of fMultDiv2*/ in autoCorr2nd_real() 180 return autoCorrScaling; in autoCorr2nd_real() 194 int j, autoCorrScaling, mScale, len_scale; in autoCorr2nd_cplx() local 253 autoCorrScaling = mScale - 1 - len_scale; /* -1 because of fMultDiv2*/ in autoCorr2nd_cplx() 273 return autoCorrScaling; in autoCorr2nd_cplx()
|
/external/aac/libSBRenc/src/ |
D | ton_corr.cpp | 126 INT i, k, r, r2, timeIndex, autoCorrScaling; in FDKsbrEnc_CalculateTonalityQuotas() local 205 …autoCorrScaling = fixMin(getScalefactor(&realBuf[k-LPC_ORDER], LPC_ORDER+blockLength), getScalefac… in FDKsbrEnc_CalculateTonalityQuotas() 206 autoCorrScaling = fixMax(0, autoCorrScaling-1); in FDKsbrEnc_CalculateTonalityQuotas() 208 scaleValues(&realBuf[k-LPC_ORDER], LPC_ORDER+blockLength, autoCorrScaling); in FDKsbrEnc_CalculateTonalityQuotas() 209 scaleValues(&imagBuf[k-LPC_ORDER], LPC_ORDER+blockLength, autoCorrScaling); in FDKsbrEnc_CalculateTonalityQuotas() 211 autoCorrScaling <<= 1; /* consider qmf buffer scaling twice */ in FDKsbrEnc_CalculateTonalityQuotas() 212 autoCorrScaling += autoCorr2nd_cplx ( ac, realBuf+k, imagBuf+k, blockLength ); in FDKsbrEnc_CalculateTonalityQuotas() 296 …nrgVector[timeIndex] += ((ac->r00r) >> fixMin(DFRACT_BITS-1,(2*qmfScale+autoCorrScaling + SCALE_NR… in FDKsbrEnc_CalculateTonalityQuotas() 298 … pNrgVectorFreq[r] + ((ac->r00r) >> fixMin(DFRACT_BITS-1,(2*qmfScale+autoCorrScaling + SCALE_NRGVE… in FDKsbrEnc_CalculateTonalityQuotas()
|