Searched refs:z (Results 1 – 3 of 3) sorted by relevance
/liblc3-latest/test/ |
D | mdct.py | 66 z = t * np.exp(-2j * np.pi * np.arange(n) / (2*n)) 67 z = scipy.fft.fft(z)[:n2] 68 z = z * np.exp(-2j * np.pi * 70 return np.real(z) * np.sqrt(2/n2) 87 z = x * np.exp(2j * np.pi * (n/2 + 0.5) * np.arange(2*n) / (2*n)) 88 z = scipy.fft.ifft(z) * n 89 z = z * np.exp(2j * np.pi * (np.arange(2*n) + (n/2 + 0.5)) / (4*n)) 90 t = np.real(z) * np.sqrt(2/n)
|
/liblc3-latest/src/ |
D | mdct.c | 439 struct lc3_complex *z = (struct lc3_complex *)y; in lc3_mdct_forward() local 440 union { float *f; struct lc3_complex *z; } u = { .z = buffer }; in lc3_mdct_forward() member 444 mdct_pre_fft(rot, u.f, u.z); in lc3_mdct_forward() 445 u.z = fft(u.z, ns/2, u.z, z); in lc3_mdct_forward() 446 mdct_post_fft(rot, u.z, y); in lc3_mdct_forward() 464 struct lc3_complex *z = (struct lc3_complex *)y; in lc3_mdct_inverse() local 465 union { float *f; struct lc3_complex *z; } u = { .z = buffer }; in lc3_mdct_inverse() member 467 imdct_pre_fft(rot, x, z); in lc3_mdct_inverse() 468 z = fft(z, ns/2, z, u.z); in lc3_mdct_inverse() 469 imdct_post_fft(rot, z, u.f); in lc3_mdct_inverse()
|
D | spec.c | 722 int i, ns = 0, z = 0; in estimate_noise() local 725 z = fabsf(x[i]) < xq_lim ? z + 1 : 0; in estimate_noise() 726 if (z > 2*w) in estimate_noise() 731 if (++z > 2*w) in estimate_noise() 753 int i, z = 0; in fill_noise() local 756 z = x[i] ? 0 : z + 1; in fill_noise() 757 if (z > 2*w) { in fill_noise() 764 if (++z > 2*w) { in fill_noise()
|