Home
last modified time | relevance | path

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

/external/libxaac/decoder/
Dixheaacd_freq_sca.c384 WORD32 num_bands1; in ixheaacd_calc_master_frq_bnd_tbl() local
409 num_bands1 = pstr_common_tables->log_dual_is_table[k2] - in ixheaacd_calc_master_frq_bnd_tbl()
411 num_bands1 = bands * num_bands1; in ixheaacd_calc_master_frq_bnd_tbl()
414 num_bands1 = (WORD32)(((WORD64)num_bands1 * (0x6276)) >> 15); in ixheaacd_calc_master_frq_bnd_tbl()
416 num_bands1 = num_bands1 + 0x1000; in ixheaacd_calc_master_frq_bnd_tbl()
418 num_bands1 = num_bands1 >> 13; in ixheaacd_calc_master_frq_bnd_tbl()
419 num_bands1 = num_bands1 << 1; in ixheaacd_calc_master_frq_bnd_tbl()
425 if (num_bands1 < 1) { in ixheaacd_calc_master_frq_bnd_tbl()
438 ixheaacd_calc_bands(vec_dk1, k1, k2, (WORD16)num_bands1); in ixheaacd_calc_master_frq_bnd_tbl()
439 ixheaacd_aac_shellsort(vec_dk1, num_bands1); in ixheaacd_calc_master_frq_bnd_tbl()
[all …]
/external/aac/libSBRenc/src/
Dsbrenc_freq_sca.cpp434 INT num_bands1; in FDKsbrEnc_UpdateFreqScale() local
460 num_bands1 = numberOfBands(b_p_o, k1, k2, warp); in FDKsbrEnc_UpdateFreqScale()
474 CalcBands(diff1, k1, k2, num_bands1); /* CalcBands2 => diff1 */ in FDKsbrEnc_UpdateFreqScale()
475 FDKsbrEnc_Shellsort_int(diff1, num_bands1); /* SortBands sort diff1 */ 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()
/external/aac/libSBRdec/src/
Dsbrdec_freq_sca.cpp312 UCHAR num_bands1 = 0; in sbrdecUpdateFreqScale() local
364 num_bands1 = in sbrdecUpdateFreqScale()
369 if (num_bands1 < 1) { in sbrdecUpdateFreqScale()
381 CalcBands(diff1, k1, k2, num_bands1); in sbrdecUpdateFreqScale()
382 shellsort(diff1, num_bands1); 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()