Lines Matching refs:sfb
147 INT sfb, sfboffs, j; /* loop counters */ in FDKaacEnc_MsStereoProcessing() local
157 for (sfb = 0; sfb < sfbCnt; sfb += sfbPerGroup) { in FDKaacEnc_MsStereoProcessing()
159 if ((isBook == NULL) ? 1 : (isBook[sfb + sfboffs] == 0)) { in FDKaacEnc_MsStereoProcessing()
176 minThresholdLdData = fixMin(sfbThresholdLeftLdData[sfb + sfboffs], in FDKaacEnc_MsStereoProcessing()
177 sfbThresholdRightLdData[sfb + sfboffs]); in FDKaacEnc_MsStereoProcessing()
185 tmp = fixMax(sfbEnergyLeftLdData[sfb + sfboffs], in FDKaacEnc_MsStereoProcessing()
186 sfbThresholdLeftLdData[sfb + sfboffs]); in FDKaacEnc_MsStereoProcessing()
187 pnlrLdData = (sfbThresholdLeftLdData[sfb + sfboffs] >> 1) - (tmp >> 1); in FDKaacEnc_MsStereoProcessing()
188 pnlrLdData = pnlrLdData + (sfbThresholdRightLdData[sfb + sfboffs] >> 1); in FDKaacEnc_MsStereoProcessing()
189 tmp = fixMax(sfbEnergyRightLdData[sfb + sfboffs], in FDKaacEnc_MsStereoProcessing()
190 sfbThresholdRightLdData[sfb + sfboffs]); in FDKaacEnc_MsStereoProcessing()
197 tmp = fixMax(sfbEnergyMidLdData[sfb + sfboffs], minThresholdLdData); in FDKaacEnc_MsStereoProcessing()
199 tmp = fixMax(sfbEnergySideLdData[sfb + sfboffs], minThresholdLdData); in FDKaacEnc_MsStereoProcessing()
204 msMask[sfb + sfboffs] = 1; in FDKaacEnc_MsStereoProcessing()
206 for (j = sfbOffset[sfb + sfboffs]; j < sfbOffset[sfb + sfboffs + 1]; in FDKaacEnc_MsStereoProcessing()
214 minThreshold = fixMin(sfbThresholdLeft[sfb + sfboffs], in FDKaacEnc_MsStereoProcessing()
215 sfbThresholdRight[sfb + sfboffs]); in FDKaacEnc_MsStereoProcessing()
216 sfbThresholdLeft[sfb + sfboffs] = sfbThresholdRight[sfb + sfboffs] = in FDKaacEnc_MsStereoProcessing()
218 sfbThresholdLeftLdData[sfb + sfboffs] = in FDKaacEnc_MsStereoProcessing()
219 sfbThresholdRightLdData[sfb + sfboffs] = minThresholdLdData; in FDKaacEnc_MsStereoProcessing()
220 sfbEnergyLeft[sfb + sfboffs] = sfbEnergyMid[sfb + sfboffs]; in FDKaacEnc_MsStereoProcessing()
221 sfbEnergyRight[sfb + sfboffs] = sfbEnergySide[sfb + sfboffs]; in FDKaacEnc_MsStereoProcessing()
222 sfbEnergyLeftLdData[sfb + sfboffs] = in FDKaacEnc_MsStereoProcessing()
223 sfbEnergyMidLdData[sfb + sfboffs]; in FDKaacEnc_MsStereoProcessing()
224 sfbEnergyRightLdData[sfb + sfboffs] = in FDKaacEnc_MsStereoProcessing()
225 sfbEnergySideLdData[sfb + sfboffs]; in FDKaacEnc_MsStereoProcessing()
227 sfbSpreadEnLeft[sfb + sfboffs] = sfbSpreadEnRight[sfb + sfboffs] = in FDKaacEnc_MsStereoProcessing()
228 fixMin(sfbSpreadEnLeft[sfb + sfboffs], in FDKaacEnc_MsStereoProcessing()
229 sfbSpreadEnRight[sfb + sfboffs]) >> in FDKaacEnc_MsStereoProcessing()
233 msMask[sfb + sfboffs] = 0; in FDKaacEnc_MsStereoProcessing()
239 if (msMask[sfb + sfboffs]) { in FDKaacEnc_MsStereoProcessing()
253 for (sfb = 0; sfb < sfbCnt; sfb += sfbPerGroup) { in FDKaacEnc_MsStereoProcessing()
255 if (((isBook == NULL) ? 1 : (isBook[sfb + sfboffs] == 0)) && in FDKaacEnc_MsStereoProcessing()
256 (msMask[sfb + sfboffs] == 0)) { in FDKaacEnc_MsStereoProcessing()
257 msMask[sfb + sfboffs] = 1; in FDKaacEnc_MsStereoProcessing()
259 for (j = sfbOffset[sfb + sfboffs]; j < sfbOffset[sfb + sfboffs + 1]; in FDKaacEnc_MsStereoProcessing()
267 minThreshold = fixMin(sfbThresholdLeft[sfb + sfboffs], in FDKaacEnc_MsStereoProcessing()
268 sfbThresholdRight[sfb + sfboffs]); in FDKaacEnc_MsStereoProcessing()
269 sfbThresholdLeft[sfb + sfboffs] = sfbThresholdRight[sfb + sfboffs] = in FDKaacEnc_MsStereoProcessing()
271 minThresholdLdData = fixMin(sfbThresholdLeftLdData[sfb + sfboffs], in FDKaacEnc_MsStereoProcessing()
272 sfbThresholdRightLdData[sfb + sfboffs]); in FDKaacEnc_MsStereoProcessing()
273 sfbThresholdLeftLdData[sfb + sfboffs] = in FDKaacEnc_MsStereoProcessing()
274 sfbThresholdRightLdData[sfb + sfboffs] = minThresholdLdData; in FDKaacEnc_MsStereoProcessing()
275 sfbEnergyLeft[sfb + sfboffs] = sfbEnergyMid[sfb + sfboffs]; in FDKaacEnc_MsStereoProcessing()
276 sfbEnergyRight[sfb + sfboffs] = sfbEnergySide[sfb + sfboffs]; in FDKaacEnc_MsStereoProcessing()
277 sfbEnergyLeftLdData[sfb + sfboffs] = in FDKaacEnc_MsStereoProcessing()
278 sfbEnergyMidLdData[sfb + sfboffs]; in FDKaacEnc_MsStereoProcessing()
279 sfbEnergyRightLdData[sfb + sfboffs] = in FDKaacEnc_MsStereoProcessing()
280 sfbEnergySideLdData[sfb + sfboffs]; in FDKaacEnc_MsStereoProcessing()
282 sfbSpreadEnLeft[sfb + sfboffs] = sfbSpreadEnRight[sfb + sfboffs] = in FDKaacEnc_MsStereoProcessing()
283 fixMin(sfbSpreadEnLeft[sfb + sfboffs], in FDKaacEnc_MsStereoProcessing()
284 sfbSpreadEnRight[sfb + sfboffs]) >> in FDKaacEnc_MsStereoProcessing()