Lines Matching refs:fs
117 getStartBand(UINT fs, /*!< Output sampling frequency */
124 fsMapped = fs;
162 getStopBand(UINT fs, /*!< Output sampling frequency */
175 if (fs < 32000) {
176 stopMin = (((2*6000*2*(64)) / fs) + 1) >> 1;
179 if (fs < 64000) {
180 stopMin = (((2*8000*2*(64)) / fs) + 1) >> 1;
183 stopMin = (((2*10000*2*(64)) / fs) + 1) >> 1;
208 /* 1 <= difference <= 48; 1 <= fs <= 96000 */
214 /* 1 <= difference <= 35; 42000 <= fs <= 96000 */
215 if ( (fs >= 42000) && ( (k2 - k0) > MAX_FREQ_COEFFS_FS44100 ) ) {
218 /* 1 <= difference <= 32; 46009 <= fs <= 96000 */
219 if ( (fs >= 46009) && ( (k2 - k0) > MAX_FREQ_COEFFS_FS48000 ) ) {
224 /* 1 <= difference <= 35; fs == 44100 */
225 if ( (fs == 44100) && ( (k2 - k0) > MAX_FREQ_COEFFS_FS44100 ) ) {
228 /* 1 <= difference <= 32; 48000 <= fs <= 96000 */
229 if ( (fs >= 48000) && ( (k2 - k0) > MAX_FREQ_COEFFS_FS48000 ) ) {
250 UINT fs, /*!< SBR working sampling rate */
271 k0 = getStartBand(fs, hHeaderData->bs_data.startFreq, flags);
279 k2 = getStopBand(fs, hHeaderData->bs_data.stopFreq, flags, k0);