Lines Matching refs:k0
339 *k0 Output parameter
351 INT *k0,
357 *k0 = getStartFreq(srCore, startFreq);
360 if( srSbr*noChannels < *k0 * srCore ) {
369 *k2 = 2 * *k0;
371 *k2 = 3 * *k0;
381 /* Test for invalid k0 k2 combinations */
382 if ( (srCore == 22050) && ( (*k2 - *k0) > MAX_FREQ_COEFFS_FS44100 ) )
385 if ( (srCore >= 24000) && ( (*k2 - *k0) > MAX_FREQ_COEFFS_FS48000 ) )
388 if ((*k2 - *k0) > MAX_FREQ_COEFFS)
391 if ((*k2 - *k0) < 0)
411 const INT k0,
448 if(4*k2 >= 9*k0) /*two or more regions (how many times the basis band is copied)*/
450 k1=2*k0;
452 num_bands0=numberOfBands(b_p_o, k0, k1, FL2FXCONST_DBL(0.5f));
455 CalcBands(diff0, k0, k1, num_bands0);/*CalcBands1 => diff0 */
464 cumSum(k0, diff0, num_bands0, v_k_master); /* cumsum */
483 num_bands0=numberOfBands(b_p_o, k0, k1, FL2FXCONST_DBL(0.5f));
484 CalcBands(diff0, k0
493 cumSum(k0, diff0, num_bands0, v_k_master);/* cumsum */
502 num_bands0 = 2 * ((k2 - k0)/2); /* FLOOR to get to few number of bands*/
505 num_bands0 = 2 * (((k2 - k0)/dk +1)/2); /* ROUND to get closest fit */
508 k2_achived = k0 + num_bands0*dk;
535 cumSum(k0, diff_tot, num_bands0, v_k_master);/* cumsum */