Lines Matching refs:num_bands0
433 INT num_bands0; in FDKsbrEnc_UpdateFreqScale() local
459 num_bands0 = numberOfBands(b_p_o, k0, k1, FL2FXCONST_DBL(0.5f)); in FDKsbrEnc_UpdateFreqScale()
462 CalcBands(diff0, k0, k1, num_bands0); /*CalcBands1 => diff0 */ in FDKsbrEnc_UpdateFreqScale()
463 FDKsbrEnc_Shellsort_int(diff0, num_bands0); /*SortBands sort diff0 */ in FDKsbrEnc_UpdateFreqScale()
472 cumSum(k0, diff0, num_bands0, v_k_master); /* cumsum */ in FDKsbrEnc_UpdateFreqScale()
476 if (diff0[num_bands0 - 1] > diff1[0]) /* max(1) > min(2) */ in FDKsbrEnc_UpdateFreqScale()
478 if (modifyBands(diff0[num_bands0 - 1], diff1, num_bands1)) return (1); in FDKsbrEnc_UpdateFreqScale()
482 cumSum(k1, diff1, num_bands1, &v_k_master[num_bands0]); in FDKsbrEnc_UpdateFreqScale()
483 *h_num_bands = num_bands0 + num_bands1; /* Output nr of bands */ in FDKsbrEnc_UpdateFreqScale()
489 num_bands0 = numberOfBands(b_p_o, k0, k1, FL2FXCONST_DBL(0.5f)); in FDKsbrEnc_UpdateFreqScale()
490 CalcBands(diff0, k0, k1, num_bands0); /* CalcBands1 => diff0 */ in FDKsbrEnc_UpdateFreqScale()
491 FDKsbrEnc_Shellsort_int(diff0, num_bands0); /* SortBands sort diff0 */ in FDKsbrEnc_UpdateFreqScale()
500 cumSum(k0, diff0, num_bands0, v_k_master); /* cumsum */ in FDKsbrEnc_UpdateFreqScale()
501 *h_num_bands = num_bands0; /* Output nr of bands */ in FDKsbrEnc_UpdateFreqScale()
507 num_bands0 = 2 * ((k2 - k0) / 2); /* FLOOR to get to few number of bands*/ in FDKsbrEnc_UpdateFreqScale()
510 num_bands0 = in FDKsbrEnc_UpdateFreqScale()
514 k2_achived = k0 + num_bands0 * dk; in FDKsbrEnc_UpdateFreqScale()
517 for (i = 0; i < num_bands0; i++) diff_tot[i] = dk; in FDKsbrEnc_UpdateFreqScale()
530 i = num_bands0 - 1; in FDKsbrEnc_UpdateFreqScale()
540 cumSum(k0, diff_tot, num_bands0, v_k_master); /* cumsum */ in FDKsbrEnc_UpdateFreqScale()
541 *h_num_bands = num_bands0; /* Output nr of bands */ in FDKsbrEnc_UpdateFreqScale()