Searched refs:num_bands0 (Results 1 – 3 of 3) sorted by relevance
/external/aac/libSBRenc/src/ |
D | sbrenc_freq_sca.cpp | 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() [all …]
|
/external/libxaac/decoder/ |
D | ixheaacd_freq_sca.c | 373 WORD32 num_bands0; in ixheaacd_calc_master_frq_bnd_tbl() local 397 num_bands0 = bands; in ixheaacd_calc_master_frq_bnd_tbl() 412 if (num_bands0 < 1) { in ixheaacd_calc_master_frq_bnd_tbl() 420 ixheaacd_calc_bands(vec_dk0, k0, k1, (WORD16)num_bands0); in ixheaacd_calc_master_frq_bnd_tbl() 422 ixheaacd_aac_shellsort(vec_dk0, num_bands0); in ixheaacd_calc_master_frq_bnd_tbl() 430 for (k = 1; k <= num_bands0; k++) in ixheaacd_calc_master_frq_bnd_tbl() 436 if (vec_dk1[0] < vec_dk0[num_bands0 - 1]) { in ixheaacd_calc_master_frq_bnd_tbl() 437 WORD16 change = vec_dk0[num_bands0 - 1] - vec_dk1[0]; in ixheaacd_calc_master_frq_bnd_tbl() 448 f_master_tbl[num_bands0] = k1; in ixheaacd_calc_master_frq_bnd_tbl() 450 f_master_tbl[num_bands0 + k] = in ixheaacd_calc_master_frq_bnd_tbl() [all …]
|
/external/aac/libSBRdec/src/ |
D | sbrdec_freq_sca.cpp | 309 UCHAR num_bands0 = 0; in sbrdecUpdateFreqScale() local 361 num_bands0 = numberOfBands(bpo_div16, k0, k1, 0); in sbrdecUpdateFreqScale() 364 if (num_bands0 < 1) { in sbrdecUpdateFreqScale() 371 CalcBands(diff0, k0, k1, num_bands0); in sbrdecUpdateFreqScale() 372 shellsort(diff0, num_bands0); in sbrdecUpdateFreqScale() 377 cumSum(k0, diff0, num_bands0, v_k_master); in sbrdecUpdateFreqScale() 381 if (diff0[num_bands0 - 1] > diff1[0]) { in sbrdecUpdateFreqScale() 384 err = modifyBands(diff0[num_bands0 - 1], diff1, num_bands1); in sbrdecUpdateFreqScale() 389 cumSum(k1, diff1, num_bands1, &v_k_master[num_bands0]); in sbrdecUpdateFreqScale() 390 *numMaster = num_bands0 + num_bands1; /* Output nr of bands */ in sbrdecUpdateFreqScale() [all …]
|