Lines Matching refs:sfb

120   INT sfb;        /* counts through scalefactor bands  */  in FDKaacEnc_groupShortData()  local
136 for (sfb = sfbActive-1; sfb >= highestSfb; sfb--) in FDKaacEnc_groupShortData()
138 for (line = sfbOffset[sfb+1]-1; line >= sfbOffset[sfb]; line--) in FDKaacEnc_groupShortData()
142 …if (line >= sfbOffset[sfb]) break; /* this band was not compl… in FDKaacEnc_groupShortData()
144 highestSfb = fixMax(highestSfb, sfb); in FDKaacEnc_groupShortData()
154 for (sfb = 0; sfb < sfbActive+1; sfb++) in FDKaacEnc_groupShortData()
156 groupedSfbOffset[i++] = offset + sfbOffset[sfb] * groupLen[grp]; in FDKaacEnc_groupShortData()
158 i += sfbCnt-sfb; in FDKaacEnc_groupShortData()
167 for (sfb = 0; sfb < sfbActive; sfb++) in FDKaacEnc_groupShortData()
169 groupedSfbMinSnrLdData[i++] = sfbMinSnrLdData[sfb]; in FDKaacEnc_groupShortData()
171 i += sfbCnt-sfb; in FDKaacEnc_groupShortData()
179 for (sfb = 0; sfb < sfbActive; sfb++) in FDKaacEnc_groupShortData()
181 FIXP_DBL thresh = sfbThreshold->Short[wnd][sfb]; in FDKaacEnc_groupShortData()
184 thresh = nrgAddSaturate(thresh, sfbThreshold->Short[wnd+j][sfb]); in FDKaacEnc_groupShortData()
188 i += sfbCnt-sfb; in FDKaacEnc_groupShortData()
197 for (sfb = 0; sfb < sfbActive; sfb++) in FDKaacEnc_groupShortData()
199 FIXP_DBL energy = sfbEnergy->Short[wnd][sfb]; in FDKaacEnc_groupShortData()
202 energy = nrgAddSaturate(energy, sfbEnergy->Short[wnd+j][sfb]); in FDKaacEnc_groupShortData()
206 i += sfbCnt-sfb; in FDKaacEnc_groupShortData()
215 for (sfb = 0; sfb < sfbActive; sfb++) in FDKaacEnc_groupShortData()
217 FIXP_DBL energy = sfbEnergyMS->Short[wnd][sfb]; in FDKaacEnc_groupShortData()
220 energy = nrgAddSaturate(energy, sfbEnergyMS->Short[wnd+j][sfb]); in FDKaacEnc_groupShortData()
224 i += sfbCnt-sfb; in FDKaacEnc_groupShortData()
233 for (sfb = 0; sfb < sfbActive; sfb++) in FDKaacEnc_groupShortData()
235 FIXP_DBL energy = sfbSpreadEnergy->Short[wnd][sfb]; in FDKaacEnc_groupShortData()
238 energy = nrgAddSaturate(energy, sfbSpreadEnergy->Short[wnd+j][sfb]); in FDKaacEnc_groupShortData()
242 i += sfbCnt-sfb; in FDKaacEnc_groupShortData()
251 for (sfb = 0; sfb < sfbActive; sfb++) in FDKaacEnc_groupShortData()
253 int width = sfbOffset[sfb+1]-sfbOffset[sfb]; in FDKaacEnc_groupShortData()
254 FIXP_DBL *pMdctSpectrum = &mdctSpectrum[sfbOffset[sfb]] + wnd*granuleLength_short; in FDKaacEnc_groupShortData()
265 i += (groupLen[grp]*(sfbOffset[sfbCnt]-sfbOffset[sfb])); in FDKaacEnc_groupShortData()