Home
last modified time | relevance | path

Searched refs:S_MUL (Results 1 – 7 of 7) sorted by relevance

/external/libopus/celt/arm/
Dcelt_mdct_ne10.c125 yr = S_MUL(re,t0) - S_MUL(im,t1); in clt_mdct_forward_neon()
126 yi = S_MUL(im,t0) + S_MUL(re,t1); in clt_mdct_forward_neon()
146 yr = S_MUL(fp->i,t[N4+i]) - S_MUL(fp->r,t[i]); in clt_mdct_forward_neon()
147 yi = S_MUL(fp->r,t[N4+i]) + S_MUL(fp->i,t[i]); in clt_mdct_forward_neon()
192 yr = S_MUL(*xp2, t[i]) + S_MUL(*xp1, t[N4+i]); in clt_mdct_backward_neon()
193 yi = S_MUL(*xp1, t[i]) - S_MUL(*xp2, t[N4+i]); in clt_mdct_backward_neon()
220 yr = S_MUL(re,t0) + S_MUL(im,t1); in clt_mdct_backward_neon()
221 yi = S_MUL(re,t1) - S_MUL(im,t0); in clt_mdct_backward_neon()
230 yr = S_MUL(re,t0) + S_MUL(im,t1); in clt_mdct_backward_neon()
231 yi = S_MUL(re,t1) - S_MUL(im,t0); in clt_mdct_backward_neon()
/external/libopus/celt/
Dmdct.c204 yr = S_MUL(re,t0) - S_MUL(im,t1); in clt_mdct_forward_c()
205 yi = S_MUL(im,t0) + S_MUL(re,t1); in clt_mdct_forward_c()
228 yr = S_MUL(fp->i,t[N4+i]) - S_MUL(fp->r,t[i]); in clt_mdct_forward_c()
229 yi = S_MUL(fp->r,t[N4+i]) + S_MUL(fp->i,t[i]); in clt_mdct_forward_c()
273 yr = ADD32_ovflw(S_MUL(*xp2, t[i]), S_MUL(*xp1, t[N4+i])); in clt_mdct_backward_c()
274 yi = SUB32_ovflw(S_MUL(*xp1, t[i]), S_MUL(*xp2, t[N4+i])); in clt_mdct_backward_c()
304 yr = ADD32_ovflw(S_MUL(re,t0), S_MUL(im,t1)); in clt_mdct_backward_c()
305 yi = SUB32_ovflw(S_MUL(re,t1), S_MUL(im,t0)); in clt_mdct_backward_c()
315 yr = ADD32_ovflw(S_MUL(re,t0), S_MUL(im,t1)); in clt_mdct_backward_c()
316 yi = SUB32_ovflw(S_MUL(re,t1), S_MUL(im,t0)); in clt_mdct_backward_c()
D_kiss_fft_guts.h58 # define S_MUL(a,b) MULT16_32_Q15(b, a) macro
61 do{ (m).r = SUB32_ovflw(S_MUL((a).r,(b).r) , S_MUL((a).i,(b).i)); \
62 (m).i = ADD32_ovflw(S_MUL((a).r,(b).i) , S_MUL((a).i,(b).r)); }while(0)
65 do{ (m).r = ADD32_ovflw(S_MUL((a).r,(b).r) , S_MUL((a).i,(b).i)); \
66 (m).i = SUB32_ovflw(S_MUL((a).i,(b).r) , S_MUL((a).r,(b).i)); }while(0)
69 do{ (c).r = S_MUL( (c).r , s ) ;\
70 (c).i = S_MUL( (c).i , s ) ; }while(0)
73 (x) = S_MUL( x, (TWID_MAX-((k)>>1))/(k)+1 )
106 # define S_MUL(a,b) ( (a)*(b) ) macro
Dkiss_fft.c85 t.r = S_MUL(ADD32_ovflw(Fout2[1].r, Fout2[1].i), tw); in kf_bfly2()
86 t.i = S_MUL(SUB32_ovflw(Fout2[1].i, Fout2[1].r), tw); in kf_bfly2()
95 t.r = S_MUL(SUB32_ovflw(Fout2[3].i, Fout2[3].r), tw); in kf_bfly2()
96 t.i = S_MUL(NEG32_ovflw(ADD32_ovflw(Fout2[3].i, Fout2[3].r)), tw); in kf_bfly2()
288 …scratch[5].r = ADD32_ovflw(scratch[0].r, ADD32_ovflw(S_MUL(scratch[7].r,ya.r), S_MUL(scratch[8].r,… in kf_bfly5()
289 …scratch[5].i = ADD32_ovflw(scratch[0].i, ADD32_ovflw(S_MUL(scratch[7].i,ya.r), S_MUL(scratch[8].i,… in kf_bfly5()
291 scratch[6].r = ADD32_ovflw(S_MUL(scratch[10].i,ya.i), S_MUL(scratch[9].i,yb.i)); in kf_bfly5()
292 … scratch[6].i = NEG32_ovflw(ADD32_ovflw(S_MUL(scratch[10].r,ya.i), S_MUL(scratch[9].r,yb.i))); in kf_bfly5()
297 …scratch[11].r = ADD32_ovflw(scratch[0].r, ADD32_ovflw(S_MUL(scratch[7].r,yb.r), S_MUL(scratch[8].r… in kf_bfly5()
298 …scratch[11].i = ADD32_ovflw(scratch[0].i, ADD32_ovflw(S_MUL(scratch[7].i,yb.r), S_MUL(scratch[8].i… in kf_bfly5()
[all …]
/external/speex/libspeexdsp/
Dkiss_fft.c256 scratch[5].r = scratch[0].r + S_MUL(scratch[7].r,ya.r) + S_MUL(scratch[8].r,yb.r); in kf_bfly5()
257 scratch[5].i = scratch[0].i + S_MUL(scratch[7].i,ya.r) + S_MUL(scratch[8].i,yb.r); in kf_bfly5()
259 scratch[6].r = S_MUL(scratch[10].i,ya.i) + S_MUL(scratch[9].i,yb.i); in kf_bfly5()
260 scratch[6].i = -S_MUL(scratch[10].r,ya.i) - S_MUL(scratch[9].r,yb.i); in kf_bfly5()
265 scratch[11].r = scratch[0].r + S_MUL(scratch[7].r,yb.r) + S_MUL(scratch[8].r,ya.r); in kf_bfly5()
266 scratch[11].i = scratch[0].i + S_MUL(scratch[7].i,yb.r) + S_MUL(scratch[8].i,ya.r); in kf_bfly5()
267 scratch[12].r = - S_MUL(scratch[10].i,yb.i) + S_MUL(scratch[9].i,ya.i); in kf_bfly5()
268 scratch[12].i = S_MUL(scratch[10].r,yb.i) - S_MUL(scratch[9].r,ya.i); in kf_bfly5()
D_kiss_fft_guts.h65 # define S_MUL(a,b) sround( smul(a,b) ) macro
88 # define S_MUL(a,b) ( (a)*(b) ) macro
/external/libopus/celt/mips/
Dkiss_fft_mipsr1.h35 #define S_MUL_ADD(a, b, c, d) (S_MUL(a,b)+S_MUL(c,d))
36 #define S_MUL_SUB(a, b, c, d) (S_MUL(a,b)-S_MUL(c,d))