Home
last modified time | relevance | path

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

/external/aac/libSBRenc/src/
Dsbrenc_freq_sca.cpp426 INT num_bands1; in FDKsbrEnc_UpdateFreqScale() local
453 num_bands1=numberOfBands(b_p_o, k1, k2, warp); in FDKsbrEnc_UpdateFreqScale()
466 CalcBands(diff1, k1, k2, num_bands1); /* CalcBands2 => diff1 */ in FDKsbrEnc_UpdateFreqScale()
467 FDKsbrEnc_Shellsort_int( diff1, num_bands1); /* SortBands sort diff1 */ 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()
/external/aac/libSBRdec/src/
Dsbrdec_freq_sca.cpp267 UCHAR num_bands1 = 0; in sbrdecUpdateFreqScale() local
309 num_bands1 = numberOfBands(bpo_div16, k1, k2, hHeaderData->bs_data.alterScale ); in sbrdecUpdateFreqScale()
313 if ( num_bands1 < 1 ) { in sbrdecUpdateFreqScale()
327 CalcBands(diff1, k1, k2, num_bands1); in sbrdecUpdateFreqScale()
328 shellsort( diff1, num_bands1); 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()