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/aac/libSBRdec/src/ |
D | sbrdec_freq_sca.cpp | 311 UCHAR num_bands0 = 0; in sbrdecUpdateFreqScale() local 363 num_bands0 = numberOfBands(bpo_div16, k0, k1, 0); in sbrdecUpdateFreqScale() 366 if (num_bands0 < 1) { in sbrdecUpdateFreqScale() 373 CalcBands(diff0, k0, k1, num_bands0); in sbrdecUpdateFreqScale() 374 shellsort(diff0, num_bands0); in sbrdecUpdateFreqScale() 379 cumSum(k0, diff0, num_bands0, v_k_master); in sbrdecUpdateFreqScale() 383 if (diff0[num_bands0 - 1] > diff1[0]) { in sbrdecUpdateFreqScale() 386 err = modifyBands(diff0[num_bands0 - 1], diff1, num_bands1); in sbrdecUpdateFreqScale() 391 cumSum(k1, diff1, num_bands1, &v_k_master[num_bands0]); in sbrdecUpdateFreqScale() 392 *numMaster = num_bands0 + num_bands1; /* Output nr of bands */ in sbrdecUpdateFreqScale() [all …]
|
/external/libxaac/decoder/ |
D | ixheaacd_freq_sca.c | 383 WORD32 num_bands0; in ixheaacd_calc_master_frq_bnd_tbl() local 407 num_bands0 = bands; in ixheaacd_calc_master_frq_bnd_tbl() 421 if (num_bands0 < 1) { in ixheaacd_calc_master_frq_bnd_tbl() 429 ixheaacd_calc_bands(vec_dk0, k0, k1, (WORD16)num_bands0); in ixheaacd_calc_master_frq_bnd_tbl() 431 ixheaacd_aac_shellsort(vec_dk0, num_bands0); in ixheaacd_calc_master_frq_bnd_tbl() 435 for (k = 1; k <= num_bands0; k++) in ixheaacd_calc_master_frq_bnd_tbl() 441 if (vec_dk1[0] < vec_dk0[num_bands0 - 1]) { in ixheaacd_calc_master_frq_bnd_tbl() 442 WORD16 change = vec_dk0[num_bands0 - 1] - vec_dk1[0]; in ixheaacd_calc_master_frq_bnd_tbl() 453 f_master_tbl[num_bands0] = k1; in ixheaacd_calc_master_frq_bnd_tbl() 455 f_master_tbl[num_bands0 + k] = in ixheaacd_calc_master_frq_bnd_tbl() [all …]
|