Home
last modified time | relevance | path

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

/liblc3-3.5.0-3.4.0/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.h56 float32x4_t x0 = vld1q_f32( (float *)(x + 0*n) ); in neon_fft_5() local
68 y0 = vaddq_f32( x0, vaddq_f32(s14, s23) ); in neon_fft_5()
70 y4 = vfmaq_f32( x0, s14, cos1q ); in neon_fft_5()
79 y3 = vfmaq_f32( x0, s14, cos2q ); in neon_fft_5()
138 float32x4_t x0 = vld1q_f32( (float *)x0_ptr ); in neon_fft_bf3() local
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()
181 float32x2_t x0 = vld1_f32( (float *)(x0_ptr++) ); in neon_fft_bf3() local
190 yn = vfma_f32( x0, x1 , vtrn1_f32(wn.val[0], wn.val[0]) ); in neon_fft_bf3()
[all …]
Dltpf.c474 int16_t x3 = x[-2], x2 = x[-1], x1, x0; in interpolate() local
480 yn = (x0 = *(x++)) * h[0] + x1 * h[1] + x2 * h[2] + x3 * h[3]; in interpolate()
483 yn = (x3 = *(x++)) * h[0] + x0 * h[1] + x1 * h[2] + x2 * h[3]; in interpolate()
486 yn = (x2 = *(x++)) * h[0] + x3 * h[1] + x0 * h[2] + x1 * h[3]; in interpolate()
489 yn = (x1 = *(x++)) * h[0] + x2 * h[1] + x3 * h[2] + x0 * h[3]; in interpolate()
699 const float *x0, float *x, int n, in synthesize_template() argument
717 float yi = *y, xi = *(x0++); in synthesize_template()
753 const float *x0, float *x, int n, const float *c, int fade) in synthesize_4() argument
755 synthesize_template(xh, nh, lag, x0, x, n, c, 4, fade); in synthesize_4()
759 const float *x0, float *x, int n, const float *c, int fade) in synthesize_6() argument
[all …]
Dspec.c61 float x0 = x[0] * x[0]; in estimate_gain() local
66 x2_max = fmaxf(x2_max, x0); in estimate_gain()
71 e[i] = fast_db_q16(fmaxf(x0 + x1 + x2 + x3, 1e-10f)); in estimate_gain()
217 uint16_t x0, x1; in quantize() local
222 x0 = fminf(fabsf(x[i+0]) + 6.f/16, INT16_MAX); in quantize()
225 xq[i+0] = (x0 << 1) + ((x0 > 0) & (x[i+0] < 0)); in quantize()
228 *nq = x0 || x1 ? ne : *nq - 2; in quantize()