Home
last modified time | relevance | path

Searched refs:num_bands0 (Results 1 – 2 of 2) sorted by relevance

/external/aac/libSBRenc/src/
Dsbrenc_freq_sca.cpp406 INT num_bands0; in FDKsbrEnc_UpdateFreqScale() local
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()
437 FDKsbrEnc_Shellsort_int( diff0, num_bands0);/*SortBands sort diff0 */ in FDKsbrEnc_UpdateFreqScale()
445 cumSum(k0, diff0, num_bands0, v_k_master); /* cumsum */ in FDKsbrEnc_UpdateFreqScale()
449 if(diff0[num_bands0-1] > diff1[0]) /* max(1) > min(2) */ in FDKsbrEnc_UpdateFreqScale()
451 if(modifyBands(diff0[num_bands0-1],diff1, num_bands1)) in FDKsbrEnc_UpdateFreqScale()
456 cumSum(k1, diff1, num_bands1, &v_k_master[num_bands0]); in FDKsbrEnc_UpdateFreqScale()
457 *h_num_bands=num_bands0+num_bands1; /* Output nr of bands */ in FDKsbrEnc_UpdateFreqScale()
464 num_bands0=numberOfBands(b_p_o, k0, k1, FL2FXCONST_DBL(0.5f)); in FDKsbrEnc_UpdateFreqScale()
[all …]
/external/aac/libSBRdec/src/
Dsbrdec_freq_sca.cpp259 UCHAR num_bands0 = 0; in sbrdecUpdateFreqScale() local
301 num_bands0 = numberOfBands(bpo_div16, k0, k1, 0); in sbrdecUpdateFreqScale()
303 if ( num_bands0 < 1) { in sbrdecUpdateFreqScale()
310 CalcBands(diff0, k0, k1, num_bands0); in sbrdecUpdateFreqScale()
311 shellsort( diff0, num_bands0); in sbrdecUpdateFreqScale()
318 cumSum(k0, diff0, num_bands0, v_k_master); in sbrdecUpdateFreqScale()
322 if(diff0[num_bands0-1] > diff1[0]) { in sbrdecUpdateFreqScale()
325 err = modifyBands(diff0[num_bands0-1],diff1, num_bands1); in sbrdecUpdateFreqScale()
331 cumSum(k1, diff1, num_bands1, &v_k_master[num_bands0]); in sbrdecUpdateFreqScale()
332 *numMaster = num_bands0 + num_bands1; /* Output nr of bands */ in sbrdecUpdateFreqScale()
[all …]