Home
last modified time | relevance | path

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

/liblc3-3.5.0-3.4.0/src/
Dtables.c31 .n3 = 15/3, .t = (const struct lc3_complex [][2]){
51 .n3 = 45/3, .t = (const struct lc3_complex [][2]){
112 .n2 = 10/2, .t = (const struct lc3_complex []){
120 .n2 = 20/2, .t = (const struct lc3_complex []){
130 .n2 = 30/2, .t = (const struct lc3_complex []){
143 .n2 = 40/2, .t = (const struct lc3_complex []){
158 .n2 = 60/2, .t = (const struct lc3_complex []){
178 .n2 = 80/2, .t = (const struct lc3_complex []){
203 .n2 = 90/2, .t = (const struct lc3_complex []){
231 .n2 = 120/2, .t = (const struct lc3_complex []){
[all …]
Dfastmath.h111 static const uint16_t t[][2] = { in fast_db_q16() local
154 return e2 * 49321 + t[hi][0] + ((t[hi][1] * lo) >> 16); in fast_db_q16()
Dtables.h30 struct lc3_fft_bf3_twiddles { int n3; const struct lc3_complex (*t)[2]; }; member
31 struct lc3_fft_bf2_twiddles { int n2; const struct lc3_complex *t; }; member
Dspec.c128 const int *t = (const int [LC3_NUM_SRATE][3]){ in adjust_gain()
135 if (nbits < t[0]) { in adjust_gain()
138 } else if (nbits < t[1]) { in adjust_gain()
139 int n0 = 3*(t[0] + 48), range = t[1] - t[0]; in adjust_gain()
140 delta = n0 * range + (nbits - t[0]) * (t[1] - n0); in adjust_gain()
144 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-3.5.0-3.4.0/test/
Dmdct.py35 self.t = np.zeros(2*self.ns)
50 self.t[nd:nd+ns] = x
51 t = self.t * self.w
52 self.t[0:nd] = x[ns-nd:]
54 n = len(t)
57 z = t * np.exp(-2j * np.pi * np.arange(n) / (2*n))
81 t = np.real(z) * np.sqrt(2/n)
83 t = t * self.w[::-1]
86 y[:nd] = t[ns-nd:ns] + self.t[2*ns-nd:]
87 y[nd:] = t[ns:2*ns-nd]
[all …]
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 …]
Dspec.py150 t = c + rate
152 t += 256
159 T.AC_SPEC_BITS[T.AC_SPEC_LOOKUP[t + lev*1024]][16];
170 T.AC_SPEC_BITS[T.AC_SPEC_LOOKUP[t + lev*1024]][a + 4*b]
186 t = 1 + (a + b) * (lev + 1) if lev <= 1 else 12 + lev;
187 c = (c & 15) * 16 + t;
330 t = c + self.rate
332 t += 256
340 T.AC_SPEC_CUMFREQ[T.AC_SPEC_LOOKUP[t + lev*1024]][16],
341 T.AC_SPEC_FREQ[T.AC_SPEC_LOOKUP[t + lev*1024]][16])
[all …]
Dltpf.py192 t = [ 17 + np.argmax(rw), 17 + k0 + np.argmax(r[k0:1+k1]) ]
194 nc = [ self.norm_corr(x, n, t[i]) for i in range(2) ]
196 self.tc = t[ti] - 17
505 t = np.arange(100 * ns) / (T.SRATE_KHZ[sr] * 1000)
506 s = signal.chirp(t, f0=10, f1=3e3, t1=t[-1], method='logarithmic')
/liblc3-3.5.0-3.4.0/tables/
Dmktables.py90 def print_table(t, m=4): argument
92 for (i, v) in enumerate(t):
95 if len(t) % 4:
/liblc3-3.5.0-3.4.0/tools/
Ddlc3.c241 unsigned t = (clock_us() - t0) / 1000; in main() local
245 nsec / 60, nsec % 60, t / 1000, t % 1000, ""); in main()
Delc3.c244 unsigned t = (clock_us() - t0) / 1000; in main() local
248 nsec / 60, nsec % 60, t / 1000, t % 1000, ""); in main()
/liblc3-3.5.0-3.4.0/
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