Lines Matching refs:sfb
132 INT sfb; /* counts through scalefactor bands */ in FDKaacEnc_groupShortData() local
147 for (sfb = sfbActive - 1; sfb >= highestSfb; sfb--) { in FDKaacEnc_groupShortData()
148 for (line = sfbOffset[sfb + 1] - 1; line >= sfbOffset[sfb]; line--) { in FDKaacEnc_groupShortData()
153 if (line >= sfbOffset[sfb]) break; /* this band was not completely zero */ in FDKaacEnc_groupShortData()
155 highestSfb = fixMax(highestSfb, sfb); in FDKaacEnc_groupShortData()
164 for (sfb = 0; sfb < sfbActive + 1; sfb++) { in FDKaacEnc_groupShortData()
165 groupedSfbOffset[i++] = offset + sfbOffset[sfb] * groupLen[grp]; in FDKaacEnc_groupShortData()
167 i += sfbCnt - sfb; in FDKaacEnc_groupShortData()
175 for (sfb = 0; sfb < sfbActive; sfb++) { in FDKaacEnc_groupShortData()
176 groupedSfbMinSnrLdData[i++] = sfbMinSnrLdData[sfb]; in FDKaacEnc_groupShortData()
178 i += sfbCnt - sfb; in FDKaacEnc_groupShortData()
185 for (sfb = 0; sfb < sfbActive; sfb++) { in FDKaacEnc_groupShortData()
186 FIXP_DBL thresh = sfbThreshold->Short[wnd][sfb]; in FDKaacEnc_groupShortData()
188 thresh = nrgAddSaturate(thresh, sfbThreshold->Short[wnd + j][sfb]); in FDKaacEnc_groupShortData()
192 i += sfbCnt - sfb; in FDKaacEnc_groupShortData()
200 for (sfb = 0; sfb < sfbActive; sfb++) { in FDKaacEnc_groupShortData()
201 FIXP_DBL energy = sfbEnergy->Short[wnd][sfb]; in FDKaacEnc_groupShortData()
203 energy = nrgAddSaturate(energy, sfbEnergy->Short[wnd + j][sfb]); in FDKaacEnc_groupShortData()
207 i += sfbCnt - sfb; in FDKaacEnc_groupShortData()
215 for (sfb = 0; sfb < sfbActive; sfb++) { in FDKaacEnc_groupShortData()
216 FIXP_DBL energy = sfbEnergyMS->Short[wnd][sfb]; in FDKaacEnc_groupShortData()
218 energy = nrgAddSaturate(energy, sfbEnergyMS->Short[wnd + j][sfb]); in FDKaacEnc_groupShortData()
222 i += sfbCnt - sfb; in FDKaacEnc_groupShortData()
230 for (sfb = 0; sfb < sfbActive; sfb++) { in FDKaacEnc_groupShortData()
231 FIXP_DBL energy = sfbSpreadEnergy->Short[wnd][sfb]; in FDKaacEnc_groupShortData()
233 energy = nrgAddSaturate(energy, sfbSpreadEnergy->Short[wnd + j][sfb]); in FDKaacEnc_groupShortData()
237 i += sfbCnt - sfb; in FDKaacEnc_groupShortData()
245 for (sfb = 0; sfb < sfbActive; sfb++) { in FDKaacEnc_groupShortData()
246 int width = sfbOffset[sfb + 1] - sfbOffset[sfb]; in FDKaacEnc_groupShortData()
248 &mdctSpectrum[sfbOffset[sfb]] + wnd * granuleLength_short; in FDKaacEnc_groupShortData()
257 i += (groupLen[grp] * (sfbOffset[sfbCnt] - sfbOffset[sfb])); in FDKaacEnc_groupShortData()