Home
last modified time | relevance | path

Searched refs:t (Results 1 – 18 of 18) sorted by relevance

/liblc3-latest/test/
Dctypes.h28 #define CTYPES_CHECK(exc, t) \ argument
30 if (!(t)) return (exc) ? PyErr_Format(PyExc_TypeError, exc) : NULL; \
38 #define to_scalar(obj, t, ptr) \ argument
39 __to_scalar(obj, t, (void *)(ptr))
41 #define to_1d_ptr(obj, t, n, ptr) \ argument
42 __to_1d_ptr(obj, t, n, (void **)(ptr))
44 #define to_2d_ptr(obj, t, n1, n2, ptr) \ argument
45 __to_2d_ptr(obj, t, n1, n2, (void **)(ptr))
47 #define to_1d_copy(obj, t, ptr, n) \ argument
48 __to_1d_copy(obj, t, ptr, n)
[all …]
Dmdct.py44 self.t = np.zeros(2*self.ns)
59 self.t[nd:nd+ns] = x
60 t = self.t * self.w
61 self.t[0:nd] = x[ns-nd:]
63 n = len(t)
66 z = t * np.exp(-2j * np.pi * np.arange(n) / (2*n))
90 t = np.real(z) * np.sqrt(2/n)
92 t = t * self.w[::-1]
95 y[:nd] = t[ns-nd:ns] + self.t[2*ns-nd:]
96 y[nd:] = t[ns:2*ns-nd]
[all …]
Dspec.py183 t = c + rate
185 t += 256
192 T.AC_SPEC_BITS[T.AC_SPEC_LOOKUP[t + lev*1024]][16]
203 T.AC_SPEC_BITS[T.AC_SPEC_LOOKUP[t + lev*1024]][a + 4*b]
219 t = 1 + (a + b) * (lev + 1) if lev <= 1 else 12 + lev
220 c = (c & 15) * 16 + t
373 t = c + self.rate
375 t += 256
383 T.AC_SPEC_CUMFREQ[T.AC_SPEC_LOOKUP[t + lev*1024]][16],
384 T.AC_SPEC_FREQ[T.AC_SPEC_LOOKUP[t + lev*1024]][16])
[all …]
Dltpf.py194 t = [ 17 + np.argmax(rw), 17 + k0 + np.argmax(r[k0:1+k1]) ]
196 nc = [ self.norm_corr(x, i0, n, t[i]) for i in range(2) ]
198 self.tc = t[ti] - 17
518 t = np.arange(100 * ns) / (T.SRATE_KHZ[sr] * 1000)
519 s = signal.chirp(t, f0=10, f1=2500, t1=t[-1], method='logarithmic')
/liblc3-latest/src/
Dtables.c86 .n3 = 15/3, .t = (const struct lc3_complex [][2]){
106 .n3 = 45/3, .t = (const struct lc3_complex [][2]){
167 .n2 = 10/2, .t = (const struct lc3_complex []){
175 .n2 = 20/2, .t = (const struct lc3_complex []){
185 .n2 = 30/2, .t = (const struct lc3_complex []){
198 .n2 = 40/2, .t = (const struct lc3_complex []){
213 .n2 = 60/2, .t = (const struct lc3_complex []){
233 .n2 = 80/2, .t = (const struct lc3_complex []){
258 .n2 = 90/2, .t = (const struct lc3_complex []){
286 .n2 = 120/2, .t = (const struct lc3_complex []){
[all …]
Dfastmath.h172 static const uint16_t t[][2] = { in lc3_db_q16() local
215 return e2 * 49321 + t[hi][0] + ((t[hi][1] * lo) >> 16); in lc3_db_q16()
Dtables.h96 struct lc3_fft_bf3_twiddles { int n3; const struct lc3_complex (*t)[2]; }; member
97 struct lc3_fft_bf2_twiddles { int n2; const struct lc3_complex *t; }; member
Dspec.c203 const int *t = (const int [LC3_NUM_SRATE][3]){ in adjust_gain()
211 if (nbits < t[0]) { in adjust_gain()
214 } else if (nbits < t[1]) { in adjust_gain()
215 int n0 = 3*(t[0] + 48), range = t[1] - t[0]; in adjust_gain()
216 delta = n0 * range + (nbits - t[0]) * (t[1] - n0); in adjust_gain()
220 delta = LC3_MIN(nbits, t[2]); in adjust_gain()
Dmdct_neon.h118 const struct lc3_complex (*w0_ptr)[2] = twiddles->t; in neon_fft_bf3()
232 const struct lc3_complex *w_ptr = twiddles->t; in neon_fft_bf2()
Dmdct.c99 const struct lc3_complex (*w0)[2] = twiddles->t; in fft_bf3()
141 const struct lc3_complex *w = twiddles->t; in fft_bf2()
/liblc3-latest/tables/
Dfastmath.py22 def fast_exp2(x, t, p): argument
31 y = y * 2**(e // 8) * t[e % 8]
39 t = [ 2**(i/8) for i in range(8) ]
42 y = [ fast_exp2(x[i], t, p) for i in range(len(x)) ]
47 ' {:14.8e}, {:14.8e}, {:14.8e}, {:14.8e}, '.format(*t))
Dmktables.py90 def print_table(t, m=4): argument
92 for (i, v) in enumerate(t):
95 if len(t) % 4:
/liblc3-latest/python/tools/
Dspecgram.py61 t = np.arange(n - (n % frame_len)) / fs variable
62 s = signal.chirp(t, f0=10, f1=fs/2, t1=t[-1], phi=-90, method='linear')
/liblc3-latest/tools/
Ddlc3.c261 unsigned t = (clock_us() - t0) / 1000; in main() local
265 nsec / 60, nsec % 60, t / 1000, t % 1000, ""); in main()
Delc3.c273 unsigned t = (clock_us() - t0) / 1000; in main() local
277 nsec / 60, nsec % 60, t / 1000, t % 1000, ""); in main()
/liblc3-latest/
DCONTRIBUTING.md15 (even if it was for a different project), you probably don't need to do it
DLICENSE183 replaced with your own identifying information. (Don't include
/liblc3-latest/python/
DLICENSE183 replaced with your own identifying information. (Don't include