Searched refs:sfboffs (Results 1 – 2 of 2) sorted by relevance
/external/aac/libAACenc/src/ |
D | ms_stereo.cpp | 126 INT sfb,sfboffs, j; /* loop counters */ in FDKaacEnc_MsStereoProcessing() local 136 for(sfboffs=0;sfboffs<maxSfbPerGroup;sfboffs++) { in FDKaacEnc_MsStereoProcessing() 138 if ( (isBook==NULL) ? 1 : (isBook[sfb+sfboffs] == 0) ) { in FDKaacEnc_MsStereoProcessing() 153 …inThresholdLdData = fixMin(sfbThresholdLeftLdData[sfb+sfboffs], sfbThresholdRightLdData[sfb+sfboff… in FDKaacEnc_MsStereoProcessing() 159 tmp = fixMax(sfbEnergyLeftLdData[sfb+sfboffs], sfbThresholdLeftLdData[sfb+sfboffs]); in FDKaacEnc_MsStereoProcessing() 160 pnlrLdData = (sfbThresholdLeftLdData[sfb+sfboffs]>>1) - (tmp>>1); in FDKaacEnc_MsStereoProcessing() 161 pnlrLdData = pnlrLdData + (sfbThresholdRightLdData[sfb+sfboffs]>>1); in FDKaacEnc_MsStereoProcessing() 162 tmp = fixMax(sfbEnergyRightLdData[sfb+sfboffs], sfbThresholdRightLdData[sfb+sfboffs]); in FDKaacEnc_MsStereoProcessing() 167 tmp = fixMax(sfbEnergyMidLdData[sfb+sfboffs], minThresholdLdData); in FDKaacEnc_MsStereoProcessing() 169 tmp = fixMax(sfbEnergySideLdData[sfb+sfboffs], minThresholdLdData); in FDKaacEnc_MsStereoProcessing() [all …]
|
D | intensity.cpp | 258 INT j,sfb,sfboffs; in FDKaacEnc_prepareIntensityDecision() local 277 for (grpCounter = 0, sfboffs = 0; sfboffs < sfbCnt; sfboffs += sfbPerGroup, grpCounter++) { in FDKaacEnc_prepareIntensityDecision() 281 FIXP_DBL isValue = sfbEnergyLdDataLeft[sfb+sfboffs]-sfbEnergyLdDataRight[sfb+sfboffs]; in FDKaacEnc_prepareIntensityDecision() 284 …realScale[sfb + sfboffs] = fixMin(FL2FXCONST_DBL(60.f/(1<<(REAL_SCALE_SF+LD_DATA_SHIFT))), fixMax(… in FDKaacEnc_prepareIntensityDecision() 286 sL = fixMax(0,(CntLeadingZeros(sfbEnergyLeft[sfb + sfboffs])-1)); in FDKaacEnc_prepareIntensityDecision() 287 sR = fixMax(0,(CntLeadingZeros(sfbEnergyRight[sfb + sfboffs])-1)); in FDKaacEnc_prepareIntensityDecision() 289 …normSfbLoudness[sfb + sfboffs] = sqrtFixp(sqrtFixp(((sfbEnergyLeft[sfb + sfboffs]<<s) >> 1) + ((sf… in FDKaacEnc_prepareIntensityDecision() 291 overallLoudness[grpCounter] += normSfbLoudness[sfb + sfboffs] >> OVERALL_LOUDNESS_SF; in FDKaacEnc_prepareIntensityDecision() 296 …if( (sfbEnergyLeft[sfb + sfboffs] >= fMult(isParams->left_right_ratio_threshold,sfbEnergyRight[s… in FDKaacEnc_prepareIntensityDecision() 297 …sParams->left_right_ratio_threshold,sfbEnergyLeft[sfb + sfboffs]) <= sfbEnergyRight[sfb + sfboffs]… in FDKaacEnc_prepareIntensityDecision() [all …]
|