Home
last modified time | relevance | path

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

/liblc3-latest/src/
Denergy.c29 int nb = lc3_num_bands[dt][sr]; in lc3_energy_compute() local
35 int iband_h = nb - (const int []){ in lc3_energy_compute()
39 for (int iband = 0, i = lim[iband]; iband < nb; iband++) { in lc3_energy_compute()
Dsns.c288 int nb = lc3_num_bands[dt][sr]; in compute_scale_factors() local
289 int n4 = nb < 32 ? 32 % nb : 0; in compute_scale_factors()
290 int n2 = nb < 32 ? nb - n4 : LC3_MAX_BANDS - nb; in compute_scale_factors()
299 memcpy(e + 4*n4 + 2*n2, eb + n4 + n2, (nb - n4 - n2) * sizeof(float)); in compute_scale_factors()
740 int nb = lc3_num_bands[dt][sr]; in spectral_shaping() local
741 int n4 = nb < 32 ? 32 % nb : 0; in spectral_shaping()
742 int n2 = nb < 32 ? nb - n4 : LC3_MAX_BANDS - nb; in spectral_shaping()
751 memmove(scf + n4 + n2, scf + 4*n4 + 2*n2, (nb - n4 - n2) * sizeof(float)); in spectral_shaping()
757 for (int i = 0, ib = 0; ib < nb; ib++) { in spectral_shaping()
/liblc3-latest/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_num_bands[dt][sr]; in compute_scale_factors_py() local
41 CTYPES_CHECK("eb", to_1d_ptr(eb_obj, NPY_FLOAT, nb, &eb)); in compute_scale_factors_py()
155 int nb = lc3_num_bands[dt][sr]; in analyze_py() local
157 CTYPES_CHECK("eb", to_1d_ptr(eb_obj, NPY_FLOAT, nb, &eb)); in analyze_py()
Dsns.py68 nb = len(self.I) - 1
70 if nb < 32:
71 n4 = round(abs(1-32/nb)*nb)
72 n2 = nb - n4
82 elif nb < 64:
83 n2 = 64 - nb
96 for b in range(nb):