Home
last modified time | relevance | path

Searched refs:x1 (Results 1 – 4 of 4) sorted by relevance

/liblc3-latest/src/
Dmdct.c102 const struct lc3_complex *x0 = x, *x1 = x0 + n*n3, *x2 = x1 + n*n3; in fft_bf3() local
106 for (int j = 0; j < n3; j++, x0++, x1++, x2++) { in fft_bf3()
108 y0[j].re = x0->re + x1->re * w0[j][0].re - x1->im * w0[j][0].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()
114 y1[j].re = x0->re + x1->re * w1[j][0].re - x1->im * w1[j][0].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()
120 y2[j].re = x0->re + x1->re * w2[j][0].re - x1->im * w2[j][0].im in fft_bf3()
123 y2[j].im = x0->im + x1->im * w2[j][0].re + x1->re * w2[j][0].im in fft_bf3()
143 const struct lc3_complex *x0 = x, *x1 = x0 + n*n2; in fft_bf2() local
148 for (int j = 0; j < n2; j++, x0++, x1++) { in fft_bf2()
[all …]
Dmdct_neon.h57 float32x4_t x1 = vld1q_f32( (float *)(x + 1*n) ); in neon_fft_5() local
62 float32x4_t s14 = vaddq_f32(x1, x4); in neon_fft_5()
65 float32x4_t d14 = vrev64q_f32( vsubq_f32(x1, x4) ); in neon_fft_5()
139 float32x4_t x1 = vld1q_f32( (float *)x1_ptr ); in neon_fft_bf3() local
142 float32x4_t x1r = vtrn1q_f32( vrev64q_f32(vnegq_f32(x1)), x1 ); in neon_fft_bf3()
150 yn = vfmaq_f32( x0, x1 , vtrn1q_f32(wn.val[0], wn.val[0]) ); in neon_fft_bf3()
158 yn = vfmaq_f32( x0, x1 , vtrn1q_f32(wn.val[0], wn.val[0]) ); in neon_fft_bf3()
166 yn = vfmaq_f32( x0, x1 , vtrn1q_f32(wn.val[0], wn.val[0]) ); in neon_fft_bf3()
182 float32x2_t x1 = vld1_f32( (float *)(x1_ptr++) ); in neon_fft_bf3() local
185 float32x2_t x1r = vtrn1_f32( vrev64_f32(vneg_f32(x1)), x1 ); in neon_fft_bf3()
[all …]
Dltpf.c523 int16_t x3 = x[-2], x2 = x[-1], x1, x0; in interpolate() local
525 x1 = (*x++); in interpolate()
529 yn = (x0 = *(x++)) * h[0] + x1 * h[1] + x2 * h[2] + x3 * h[3]; in interpolate()
532 yn = (x3 = *(x++)) * h[0] + x0 * h[1] + x1 * h[2] + x2 * h[3]; in interpolate()
535 yn = (x2 = *(x++)) * h[0] + x3 * h[1] + x0 * h[2] + x1 * h[3]; in interpolate()
538 yn = (x1 = *(x++)) * h[0] + x2 * h[1] + x3 * h[2] + x0 * h[3]; in interpolate()
597 const int16_t *x1 = x - (r0 + t1); in detect_pitch() local
601 rm1 / sqrtf(dot(x, x, n) * dot(x1, x1, n)); in detect_pitch()
Dspec.c124 float x1 = x[4*i + 1] * x[4*i + 1]; in estimate_gain() local
129 x2_max = fmaxf(x2_max, x1); in estimate_gain()
133 e[i].f = x0 + x1 + x2 + x3; in estimate_gain()