Lines Matching refs:num_bands0
425 INT num_bands0; in FDKsbrEnc_UpdateFreqScale() local
452 num_bands0=numberOfBands(b_p_o, k0, k1, FL2FXCONST_DBL(0.5f)); in FDKsbrEnc_UpdateFreqScale()
455 CalcBands(diff0, k0, k1, num_bands0);/*CalcBands1 => diff0 */ in FDKsbrEnc_UpdateFreqScale()
456 FDKsbrEnc_Shellsort_int( diff0, num_bands0);/*SortBands sort diff0 */ in FDKsbrEnc_UpdateFreqScale()
464 cumSum(k0, diff0, num_bands0, v_k_master); /* cumsum */ in FDKsbrEnc_UpdateFreqScale()
468 if(diff0[num_bands0-1] > diff1[0]) /* max(1) > min(2) */ in FDKsbrEnc_UpdateFreqScale()
470 if(modifyBands(diff0[num_bands0-1],diff1, num_bands1)) in FDKsbrEnc_UpdateFreqScale()
475 cumSum(k1, diff1, num_bands1, &v_k_master[num_bands0]); in FDKsbrEnc_UpdateFreqScale()
476 *h_num_bands=num_bands0+num_bands1; /* Output nr of bands */ in FDKsbrEnc_UpdateFreqScale()
483 num_bands0=numberOfBands(b_p_o, k0, k1, FL2FXCONST_DBL(0.5f)); in FDKsbrEnc_UpdateFreqScale()
484 CalcBands(diff0, k0, k1, num_bands0);/* CalcBands1 => diff0 */ in FDKsbrEnc_UpdateFreqScale()
485 FDKsbrEnc_Shellsort_int( diff0, num_bands0); /* SortBands sort diff0 */ in FDKsbrEnc_UpdateFreqScale()
493 cumSum(k0, diff0, num_bands0, v_k_master);/* cumsum */ in FDKsbrEnc_UpdateFreqScale()
494 *h_num_bands=num_bands0; /* Output nr of bands */ in FDKsbrEnc_UpdateFreqScale()
502 num_bands0 = 2 * ((k2 - k0)/2); /* FLOOR to get to few number of bands*/ in FDKsbrEnc_UpdateFreqScale()
505 num_bands0 = 2 * (((k2 - k0)/dk +1)/2); /* ROUND to get closest fit */ in FDKsbrEnc_UpdateFreqScale()
508 k2_achived = k0 + num_bands0*dk; in FDKsbrEnc_UpdateFreqScale()
511 for(i=0;i<num_bands0;i++) in FDKsbrEnc_UpdateFreqScale()
525 i = num_bands0-1; in FDKsbrEnc_UpdateFreqScale()
535 cumSum(k0, diff_tot, num_bands0, v_k_master);/* cumsum */ in FDKsbrEnc_UpdateFreqScale()
536 *h_num_bands=num_bands0; /* Output nr of bands */ in FDKsbrEnc_UpdateFreqScale()