Home
last modified time | relevance | path

Searched refs:j (Results 1 – 12 of 12) sorted by relevance

/liblc3-3.5.0-3.4.0/src/
Dmdct.c106 for (int j = 0; j < n3; j++, x0++, x1++, x2++) { in fft_bf3() local
108 y0[j].re = x0->re + x1->re * w0[j][0].re - x1->im * w0[j][0].im in fft_bf3()
109 + x2->re * w0[j][1].re - x2->im * w0[j][1].im; in fft_bf3()
111 y0[j].im = x0->im + x1->im * w0[j][0].re + x1->re * w0[j][0].im in fft_bf3()
112 + x2->im * w0[j][1].re + x2->re * w0[j][1].im; in fft_bf3()
114 y1[j].re = x0->re + x1->re * w1[j][0].re - x1->im * w1[j][0].im in fft_bf3()
115 + x2->re * w1[j][1].re - x2->im * w1[j][1].im; in fft_bf3()
117 y1[j].im = x0->im + x1->im * w1[j][0].re + x1->re * w1[j][0].im in fft_bf3()
118 + x2->im * w1[j][1].re + x2->re * w1[j][1].im; in fft_bf3()
120 y2[j].re = x0->re + x1->re * w2[j][0].re - x1->im * w2[j][0].im in fft_bf3()
[all …]
Dmdct_neon.h130 for (int j, i = 0; i < n; i++, in neon_fft_bf3() local
135 for (j = 0; j < (n3 >> 1); j++, in neon_fft_bf3()
148 wn = vld2q_f32( (float *)(w0_ptr + 2*j) ); in neon_fft_bf3()
154 vst1q_f32( (float *)(y0_ptr + 2*j), yn ); in neon_fft_bf3()
156 wn = vld2q_f32( (float *)(w1_ptr + 2*j) ); in neon_fft_bf3()
162 vst1q_f32( (float *)(y1_ptr + 2*j), yn ); in neon_fft_bf3()
164 wn = vld2q_f32( (float *)(w2_ptr + 2*j) ); in neon_fft_bf3()
170 vst1q_f32( (float *)(y2_ptr + 2*j), yn ); in neon_fft_bf3()
188 wn = vld2_f32( (float *)(w0_ptr + 2*j) ); in neon_fft_bf3()
194 vst1_f32( (float *)(y0_ptr + 2*j), yn ); in neon_fft_bf3()
[all …]
Dattdet.c53 for (int j = 0; j < 40; j++, x += 2, xn2 = xn1, xn1 = xn) { in lc3_attdet_run() local
65 for (int j = 0; j < 40; j++, x += 3, xn2 = xn1, xn1 = xn) { in lc3_attdet_run() local
Dsns.c125 for (int i = 0, j; i < 16; i++) in dct16_forward() local
126 for (y[i] = 0, j = 0; j < 16; j++) in dct16_forward()
127 y[i] += x[j] * dct16_m[j][i]; in dct16_forward()
136 for (int i = 0, j; i < 16; i++) in dct16_inverse() local
137 for (y[i] = 0, j = 0; j < 16; j++) in dct16_inverse()
138 y[i] += x[j] * dct16_m[i][j]; in dct16_inverse()
499 for (int j = 0; j < 16; j++) in quantize() local
501 c[i][j] = x[j] < 0 ? -c[i][j] : c[i][j]; in quantize()
567 int ci, i, j; in enum_mvpq() local
578 for (i++, j = LC3_ABS(ci); i < n; i++, j += LC3_ABS(ci)) { in enum_mvpq()
[all …]
Dltpf.c394 for (int j = 0; j < 16; j++) in dot() local
713 for (int j = 0; j < w-1; j++) { in synthesize_template() local
715 u[j] = 0; in synthesize_template()
720 for (int k = 0; k <= j; k++) in synthesize_template()
721 u[j-k] -= yi * c[k]; in synthesize_template()
723 for (int k = 0; k <= j; k++) in synthesize_template()
724 u[j-k] += xi * c[w+k]; in synthesize_template()
732 for (int j = 0; j < w; j++, g += g_incr) { in synthesize_template() local
738 u[(j+(w-1)-k)%w] -= yi * c[k]; in synthesize_template()
741 u[(j+(w-1)-k)%w] += xi * c[w+k]; in synthesize_template()
[all …]
Dspec.c83 for (int i = 128, j, j0 = ne-1, j1 ; i > 0; i >>= 1) { in estimate_gain() local
87 for (j = j0; j >= 0 && e[j] < gn; j--); in estimate_gain()
89 for (j1 = j; j >= 0; j--) { in estimate_gain()
90 int e_diff = e[j] - gn; in estimate_gain()
Dltpf_arm.h479 for (int j = 0; j < 4; j++) { in arm_correlate() local
Dltpf_neon.h239 for (int j = 0; j < 2; j++) { in neon_correlate() local
Dtns.c211 for (int j = 0; j < 4 && rc_m >= q_thr[rc_q[i]]; j++, rc_q[i]++); in quantize_rc() local
/liblc3-3.5.0-3.4.0/tables/
Dmktables.py192 for j in range(0, len(h[i]), 10):
195 h[i][j+0], h[i][j+1], h[i][j+2], h[i][j+3], h[i][j+4],
196 h[i][j+5], h[i][j+6], h[i][j+7], h[i][j+8], h[i][j+9]))
/liblc3-3.5.0-3.4.0/test/
Dsns.py268 dMSE = [ [ sum((t2_rot - G[j][i] * xq[j]) ** 2)
269 for i in range(len(G[j])) ] for j in range(4) ]
271 self.shape = np.argmin([ np.min(dMSE[j]) for j in range(4) ])
/liblc3-3.5.0-3.4.0/
DREADME.md22 $ make -j
40 $ make -j CC=path_to_android_ndk_prebuilt/toolchain-prefix-clang LIBC=bionic