• Home
  • Raw
  • Download

Lines Matching refs:k2

210   UCHAR k2;  in getStopBand()  local
241 k2 = diff1[stopFreq]; in getStopBand()
243 k2 = 2 * k0; in getStopBand()
245 k2 = 3 * k0; in getStopBand()
248 if (k2 > (64)) k2 = (64); in getStopBand()
256 if (((k2 - k0) > max_freq_coeffs) || (k2 <= k0)) { in getStopBand()
262 return k2; /* skip other checks: (k2 - k0) must be <= in getStopBand()
267 if ((fs >= 42000) && ((k2 - k0) > MAX_FREQ_COEFFS_FS44100)) { in getStopBand()
271 if ((fs >= 46009) && ((k2 - k0) > MAX_FREQ_COEFFS_FS48000)) { in getStopBand()
276 if ((fs == 44100) && ((k2 - k0) > MAX_FREQ_COEFFS_FS44100)) { in getStopBand()
280 if ((fs >= 48000) && ((k2 - k0) > MAX_FREQ_COEFFS_FS48000)) { in getStopBand()
285 return k2; in getStopBand()
308 UCHAR k0, k2, i; in sbrdecUpdateFreqScale() local
333 k2 = getStopBand(fs, hHeaderData->bs_data.stopFreq, flags, k0); in sbrdecUpdateFreqScale()
334 if (k2 == 255) { in sbrdecUpdateFreqScale()
358 if (1000 * k2 > 2245 * k0) { /* Two or more regions */ in sbrdecUpdateFreqScale()
363 numberOfBands(bpo_div16, k1, k2, hHeaderData->bs_data.alterScale); in sbrdecUpdateFreqScale()
379 CalcBands(diff1, k1, k2, num_bands1); in sbrdecUpdateFreqScale()
393 k1 = k2; in sbrdecUpdateFreqScale()
412 num_bands0 = (k2 - k0) & 254; in sbrdecUpdateFreqScale()
415 num_bands0 = (((k2 - k0) >> 1) + 1) & 254; /* ROUND to the closest fit */ in sbrdecUpdateFreqScale()
424 k2_diff = k2 - k2_achived; in sbrdecUpdateFreqScale()
745 int k2, kx, lsb, usb; in resetFreqBandTables() local
793 k2 = hFreq->freqBandTable[1][nBandsHi]; in resetFreqBandTables()
801 intTemp = (LONG)FDK_getNumOctavesDiv8(kx, k2) >> 2; in resetFreqBandTables()