Home
last modified time | relevance | path

Searched refs:n4 (Results 1 – 6 of 6) sorted by relevance

/liblc3-latest/src/
Dmdct.c248 int n4 = def->n4; in mdct_pre_fft() local
250 const float *x0 = x, *x1 = x0 + 2*n4; in mdct_pre_fft()
251 const struct lc3_complex *w0 = def->w, *w1 = w0 + n4; in mdct_pre_fft()
252 struct lc3_complex *y0 = y, *y1 = y0 + n4; in mdct_pre_fft()
278 int n4 = def->n4, n8 = n4 >> 1; in mdct_post_fft() local
283 float *y0 = y + n4, *y1 = y0; in mdct_post_fft()
310 int n4 = def->n4; in imdct_pre_fft() local
312 const float *x0 = x, *x1 = x0 + 2*n4; in imdct_pre_fft()
314 const struct lc3_complex *w0 = def->w, *w1 = w0 + n4; in imdct_pre_fft()
315 struct lc3_complex *y0 = y, *y1 = y0 + n4; in imdct_pre_fft()
[all …]
Dtables.c628 .n4 = 40/4, .w = (const struct lc3_complex []){
638 .n4 = 80/4, .w = (const struct lc3_complex []){
655 .n4 = 120/4, .w = (const struct lc3_complex []){
675 .n4 = 160/4, .w = (const struct lc3_complex []){
700 .n4 = 240/4, .w = (const struct lc3_complex []){
735 .n4 = 320/4, .w = (const struct lc3_complex []){
780 .n4 = 360/4, .w = (const struct lc3_complex []){
830 .n4 = 480/4, .w = (const struct lc3_complex []){
895 .n4 = 640/4, .w = (const struct lc3_complex []){
980 .n4 = 720/4, .w = (const struct lc3_complex []){
[all …]
Dsns.c289 int n4 = nb < 32 ? 32 % nb : 0; in compute_scale_factors() local
290 int n2 = nb < 32 ? nb - n4 : LC3_MAX_BANDS - nb; in compute_scale_factors()
292 for (int i4 = 0; i4 < n4; i4++) in compute_scale_factors()
296 for (int i2 = n4; i2 < n4+n2; i2++) in compute_scale_factors()
297 e[2*(n4+i2) + 0] = e[2*(n4+i2) + 1] = eb[i2]; in compute_scale_factors()
299 memcpy(e + 4*n4 + 2*n2, eb + n4 + n2, (nb - n4 - n2) * sizeof(float)); in compute_scale_factors()
741 int n4 = nb < 32 ? 32 % nb : 0; in spectral_shaping() local
742 int n2 = nb < 32 ? nb - n4 : LC3_MAX_BANDS - nb; in spectral_shaping()
744 for (int i4 = 0; i4 < n4; i4++) in spectral_shaping()
748 for (int i2 = n4; i2 < n4+n2; i2++) in spectral_shaping()
[all …]
Dtables.h98 struct lc3_mdct_rot_def { int n4; const struct lc3_complex *w; }; member
Dspec.c87 int n4 = lc3_ne(dt, sr) / 4; in estimate_gain() local
107 for (int i = 0; i < n4; i++) { in estimate_gain()
122 for (int i = 0; i < n4; i++) { in estimate_gain()
140 for (int i = 0; i < n4; i++) in estimate_gain()
152 for (int i = 128, j, j0 = n4-1, j1 ; i > 0; i >>= 1) { in estimate_gain()
/liblc3-latest/test/
Dsns.py71 n4 = round(abs(1-32/nb)*nb)
72 n2 = nb - n4
74 for i in range(n4):
77 for i in range(n4, n4+n2):
78 scf_i[i] = np.mean(scf_i[2*n4+2*i:2*n4+2*i+2])
80 scf_i = scf_i[:n4+n2]
117 n4 = round(abs(1-32/len(e))*len(e))
118 n2 = len(e) - n4
120 e = np.append(np.zeros(3*n4+n2), e)
121 for i in range(n4):
[all …]