• Home
  • Raw
  • Download

Lines Matching refs:k0

335                      INT *k0,  in FDKsbrEnc_FindStartAndStopBand()  argument
340 *k0 = getStartFreq(samplingFreq, startFreq); in FDKsbrEnc_FindStartAndStopBand()
345 2**k0 * samplingFreq) ) { in FDKsbrEnc_FindStartAndStopBand()
354 *k2 = 2 * *k0; in FDKsbrEnc_FindStartAndStopBand()
356 *k2 = 3 * *k0; in FDKsbrEnc_FindStartAndStopBand()
367 if ( (samplingFreq == 44100) && ( (*k2 - *k0) > MAX_FREQ_COEFFS_FS44100 ) ) in FDKsbrEnc_FindStartAndStopBand()
370 if ( (samplingFreq >= 48000) && ( (*k2 - *k0) > MAX_FREQ_COEFFS_FS48000 ) ) in FDKsbrEnc_FindStartAndStopBand()
373 if ((*k2 - *k0) > MAX_FREQ_COEFFS) in FDKsbrEnc_FindStartAndStopBand()
376 if ((*k2 - *k0) < 0) in FDKsbrEnc_FindStartAndStopBand()
394 const INT k0, const INT k2, in FDKsbrEnc_UpdateFreqScale() argument
429 if(4*k2 >= 9*k0) /*two or more regions*/ in FDKsbrEnc_UpdateFreqScale()
431 k1=2*k0; in FDKsbrEnc_UpdateFreqScale()
433 num_bands0=numberOfBands(b_p_o, k0, k1, FL2FXCONST_DBL(0.5f)); in FDKsbrEnc_UpdateFreqScale()
436 CalcBands(diff0, k0, k1, num_bands0);/*CalcBands1 => diff0 */ in FDKsbrEnc_UpdateFreqScale()
445 cumSum(k0, diff0, num_bands0, v_k_master); /* cumsum */ in FDKsbrEnc_UpdateFreqScale()
464 num_bands0=numberOfBands(b_p_o, k0, k1, FL2FXCONST_DBL(0.5f)); in FDKsbrEnc_UpdateFreqScale()
465 CalcBands(diff0, k0, k1, num_bands0);/* CalcBands1 => diff0 */ in FDKsbrEnc_UpdateFreqScale()
474 cumSum(k0, diff0, num_bands0, v_k_master);/* cumsum */ in FDKsbrEnc_UpdateFreqScale()
483 num_bands0 = 2 * ((k2 - k0)/2); /* FLOOR to get to few number of bands*/ in FDKsbrEnc_UpdateFreqScale()
486 num_bands0 = 2 * (((k2 - k0)/dk +1)/2); /* ROUND to get closest fit */ in FDKsbrEnc_UpdateFreqScale()
489 k2_achived = k0 + num_bands0*dk; in FDKsbrEnc_UpdateFreqScale()
516 cumSum(k0, diff_tot, num_bands0, v_k_master);/* cumsum */ in FDKsbrEnc_UpdateFreqScale()