Home
last modified time | relevance | path

Searched refs:nb (Results 1 – 4 of 4) sorted by relevance

/liblc3-3.5.0-3.4.0/src/
Denergy.c48 int nb = LC3_MIN(LC3_NUM_BANDS, LC3_NS(dt, sr)); in lc3_energy_compute() local
49 int iband_h = nb - 2*(2 - dt); in lc3_energy_compute()
52 for (int i = lim[iband]; iband < nb; iband++) { in lc3_energy_compute()
Dsns.c257 int nb = LC3_MIN(lc3_band_lim[dt][sr][LC3_NUM_BANDS], LC3_NUM_BANDS); in compute_scale_factors() local
258 int n2 = LC3_NUM_BANDS - nb; in compute_scale_factors()
263 memcpy(e + 2*n2, eb + n2, (nb - n2) * sizeof(float)); in compute_scale_factors()
697 int nb = LC3_MIN(lc3_band_lim[dt][sr][LC3_NUM_BANDS], LC3_NUM_BANDS); in spectral_shaping() local
698 int n2 = LC3_NUM_BANDS - nb; in spectral_shaping()
704 memmove(scf + n2, scf + 2*n2, (nb - n2) * sizeof(float)); in spectral_shaping()
710 for (int i = 0, ib = 0; ib < nb; ib++) { in spectral_shaping()
/liblc3-3.5.0-3.4.0/test/
Dattdet.py73 nb = int(self.ms / 2.5)
76 for i in range(nb) ])
78 a_att = np.empty(nb)
80 for i in range(1,nb):
88 flags = [ (e_att[i] > 8.5 * a_att[i]) for i in range(nb) ]
93 f_att = p_att >= 0 or self.p_att - 1 >= nb // 2
Dsns_py.c39 int nb = LC3_MIN(lc3_band_lim[dt][sr][LC3_NUM_BANDS], LC3_NUM_BANDS); in compute_scale_factors_py() local
41 CTYPES_CHECK("eb", to_1d_ptr(eb_obj, NPY_FLOAT, nb, &eb)); in compute_scale_factors_py()
153 int nb = LC3_MIN(ne, LC3_NUM_BANDS); in analyze_py() local
155 CTYPES_CHECK("eb", to_1d_ptr(eb_obj, NPY_FLOAT, nb, &eb)); in analyze_py()