Lines Matching refs:N2
68 int N2=N>>1; in clt_mdct_init() local
82 … l->trig = trig = (kiss_twiddle_scalar*)opus_alloc((N-(N2>>maxshift))*sizeof(kiss_twiddle_scalar)); in clt_mdct_init()
90 for (i=0;i<N2;i++) in clt_mdct_init()
91 trig[i] = TRIG_UPSCALE*celt_cos_norm(DIV32(ADD32(SHL32(EXTEND32(i),17),N2+16384),N)); in clt_mdct_init()
93 for (i=0;i<N2;i++) in clt_mdct_init()
97 for (i=0;i<N2;i++) in clt_mdct_init()
100 trig += N2; in clt_mdct_init()
101 N2 >>= 1; in clt_mdct_init()
123 int N, N2, N4; in clt_mdct_forward_c() local
145 N2 = N>>1; in clt_mdct_forward_c()
148 ALLOC(f, N2, kiss_fft_scalar); in clt_mdct_forward_c()
156 const kiss_fft_scalar * OPUS_RESTRICT xp2 = in+N2-1+(overlap>>1); in clt_mdct_forward_c()
163 *yp++ = MULT16_32_Q15(*wp2, xp1[N2]) + MULT16_32_Q15(*wp1,*xp2); in clt_mdct_forward_c()
164 *yp++ = MULT16_32_Q15(*wp1, *xp1) - MULT16_32_Q15(*wp2, xp2[-N2]); in clt_mdct_forward_c()
183 *yp++ = -MULT16_32_Q15(*wp1, xp1[-N2]) + MULT16_32_Q15(*wp2, *xp2); in clt_mdct_forward_c()
184 *yp++ = MULT16_32_Q15(*wp2, *xp1) + MULT16_32_Q15(*wp1, xp2[N2]); in clt_mdct_forward_c()
222 kiss_fft_scalar * OPUS_RESTRICT yp2 = out+stride*(N2-1); in clt_mdct_forward_c()
246 int N, N2, N4; in clt_mdct_backward_c() local
257 N2 = N>>1; in clt_mdct_backward_c()
264 const kiss_fft_scalar * OPUS_RESTRICT xp2 = in+stride*(N2-1); in clt_mdct_backward_c()
290 kiss_fft_scalar * yp1 = out+(overlap>>1)+N2-2; in clt_mdct_backward_c()
313 t1 = t[(N2-i-1)]; in clt_mdct_backward_c()