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.cpp425 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()
[all …]
/external/aac/libSBRdec/src/
Dsbrdec_freq_sca.cpp266 UCHAR num_bands0 = 0; in sbrdecUpdateFreqScale() local
308 num_bands0 = numberOfBands(bpo_div16, k0, k1, 0); in sbrdecUpdateFreqScale()
310 if ( num_bands0 < 1) { in sbrdecUpdateFreqScale()
317 CalcBands(diff0, k0, k1, num_bands0); in sbrdecUpdateFreqScale()
318 shellsort( diff0, num_bands0); in sbrdecUpdateFreqScale()
325 cumSum(k0, diff0, num_bands0, v_k_master); in sbrdecUpdateFreqScale()
329 if(diff0[num_bands0-1] > diff1[0]) { in sbrdecUpdateFreqScale()
332 err = modifyBands(diff0[num_bands0-1],diff1, num_bands1); in sbrdecUpdateFreqScale()
338 cumSum(k1, diff1, num_bands1, &v_k_master[num_bands0]); in sbrdecUpdateFreqScale()
339 *numMaster = num_bands0 + num_bands1; /* Output nr of bands */ in sbrdecUpdateFreqScale()
[all …]