Lines Matching refs:k2
174 UCHAR k2; in getStopBand() local
202 k2 = diff1[stopFreq]; in getStopBand()
205 k2 = 2*k0; in getStopBand()
207 k2 = 3*k0; in getStopBand()
210 if (k2 > (64)) in getStopBand()
211 k2 = (64); in getStopBand()
216 if ( ((k2 - k0) > MAX_FREQ_COEFFS) || (k2 <= k0) ) { in getStopBand()
222 if ( (fs >= 42000) && ( (k2 - k0) > MAX_FREQ_COEFFS_FS44100 ) ) { in getStopBand()
226 if ( (fs >= 46009) && ( (k2 - k0) > MAX_FREQ_COEFFS_FS48000 ) ) { in getStopBand()
232 if ( (fs == 44100) && ( (k2 - k0) > MAX_FREQ_COEFFS_FS44100 ) ) { in getStopBand()
236 if ( (fs >= 48000) && ( (k2 - k0) > MAX_FREQ_COEFFS_FS48000 ) ) { in getStopBand()
241 return k2; in getStopBand()
265 UCHAR k0, k2, i; in sbrdecUpdateFreqScale() local
286 k2 = getStopBand(fs, hHeaderData->bs_data.stopFreq, flags, k0); in sbrdecUpdateFreqScale()
287 if (k2 == 255) { in sbrdecUpdateFreqScale()
305 if( 1000 * k2 > 2245 * k0 ) { /* Two or more regions */ in sbrdecUpdateFreqScale()
309 num_bands1 = numberOfBands(bpo_div16, k1, k2, hHeaderData->bs_data.alterScale ); in sbrdecUpdateFreqScale()
327 CalcBands(diff1, k1, k2, num_bands1); in sbrdecUpdateFreqScale()
343 k1=k2; in sbrdecUpdateFreqScale()
366 num_bands0 = (k2 - k0) & 254; in sbrdecUpdateFreqScale()
369 num_bands0 = ( ((k2 - k0) >> 1) + 1 ) & 254; /* ROUND to the closest fit */ in sbrdecUpdateFreqScale()
378 k2_diff = k2 - k2_achived; in sbrdecUpdateFreqScale()
722 int k2,kx, lsb, usb; in resetFreqBandTables() local
763 k2 = hFreq->freqBandTable[1][nBandsHi]; in resetFreqBandTables()
773 intTemp = (LONG)FDK_getNumOctavesDiv8(kx,k2) >> 2; in resetFreqBandTables()
785 …FDK_ASSERT( intTemp == (int)((hHeaderData->bs_data.noise_bands * FDKlog( (float)k2/kx) / (float)(… in resetFreqBandTables()