Lines Matching refs:sfboffs
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()
175 msMask[sfb+sfboffs] = 1; in FDKaacEnc_MsStereoProcessing()
177 for(j=sfbOffset[sfb+sfboffs]; j<sfbOffset[sfb+sfboffs+1]; j++) { in FDKaacEnc_MsStereoProcessing()
184 minThreshold = fixMin(sfbThresholdLeft[sfb+sfboffs], sfbThresholdRight[sfb+sfboffs]); in FDKaacEnc_MsStereoProcessing()
185 sfbThresholdLeft[sfb+sfboffs] = sfbThresholdRight[sfb+sfboffs] = minThreshold; in FDKaacEnc_MsStereoProcessing()
186 … sfbThresholdLeftLdData[sfb+sfboffs] = sfbThresholdRightLdData[sfb+sfboffs] = minThresholdLdData; in FDKaacEnc_MsStereoProcessing()
187 sfbEnergyLeft[sfb+sfboffs] = sfbEnergyMid[sfb+sfboffs]; in FDKaacEnc_MsStereoProcessing()
188 sfbEnergyRight[sfb+sfboffs] = sfbEnergySide[sfb+sfboffs]; in FDKaacEnc_MsStereoProcessing()
189 sfbEnergyLeftLdData[sfb+sfboffs] = sfbEnergyMidLdData[sfb+sfboffs]; in FDKaacEnc_MsStereoProcessing()
190 sfbEnergyRightLdData[sfb+sfboffs] = sfbEnergySideLdData[sfb+sfboffs]; in FDKaacEnc_MsStereoProcessing()
192 sfbSpreadEnLeft[sfb+sfboffs] = sfbSpreadEnRight[sfb+sfboffs] = in FDKaacEnc_MsStereoProcessing()
193 fixMin( sfbSpreadEnLeft[sfb+sfboffs], in FDKaacEnc_MsStereoProcessing()
194 sfbSpreadEnRight[sfb+sfboffs] ) >> 1; in FDKaacEnc_MsStereoProcessing()
198 msMask[sfb+sfboffs] = 0; in FDKaacEnc_MsStereoProcessing()
204 if (msMask[sfb+sfboffs]) { in FDKaacEnc_MsStereoProcessing()
219 for (sfboffs = 0; sfboffs < maxSfbPerGroup; sfboffs++) { in FDKaacEnc_MsStereoProcessing()
220 … if (( (isBook == NULL) ? 1 : (isBook[sfb+sfboffs] == 0) ) && (msMask[sfb+sfboffs] == 0)) { in FDKaacEnc_MsStereoProcessing()
221 msMask[sfb+sfboffs] = 1; in FDKaacEnc_MsStereoProcessing()
223 for(j=sfbOffset[sfb+sfboffs]; j<sfbOffset[sfb+sfboffs+1]; j++) { in FDKaacEnc_MsStereoProcessing()
230 minThreshold = fixMin(sfbThresholdLeft[sfb+sfboffs], sfbThresholdRight[sfb+sfboffs]); in FDKaacEnc_MsStereoProcessing()
231 sfbThresholdLeft[sfb+sfboffs] = sfbThresholdRight[sfb+sfboffs] = minThreshold; in FDKaacEnc_MsStereoProcessing()
232 …inThresholdLdData = fixMin(sfbThresholdLeftLdData[sfb+sfboffs], sfbThresholdRightLdData[sfb+sfboff… in FDKaacEnc_MsStereoProcessing()
233 … sfbThresholdLeftLdData[sfb+sfboffs] = sfbThresholdRightLdData[sfb+sfboffs] = minThresholdLdData; in FDKaacEnc_MsStereoProcessing()
234 sfbEnergyLeft[sfb+sfboffs] = sfbEnergyMid[sfb+sfboffs]; in FDKaacEnc_MsStereoProcessing()
235 sfbEnergyRight[sfb+sfboffs] = sfbEnergySide[sfb+sfboffs]; in FDKaacEnc_MsStereoProcessing()
236 sfbEnergyLeftLdData[sfb+sfboffs] = sfbEnergyMidLdData[sfb+sfboffs]; in FDKaacEnc_MsStereoProcessing()
237 sfbEnergyRightLdData[sfb+sfboffs] = sfbEnergySideLdData[sfb+sfboffs]; in FDKaacEnc_MsStereoProcessing()
239 sfbSpreadEnLeft[sfb+sfboffs] = sfbSpreadEnRight[sfb+sfboffs] = in FDKaacEnc_MsStereoProcessing()
240 fixMin( sfbSpreadEnLeft[sfb+sfboffs], in FDKaacEnc_MsStereoProcessing()
241 sfbSpreadEnRight[sfb+sfboffs] ) >> 1; in FDKaacEnc_MsStereoProcessing()