Searched refs:SUB32 (Results 1 - 25 of 25) sorted by relevance

/external/speex/libspeex/
H A Dvq_arm4.h89 dist1=SUB32(SHR(*E++,1),dist1);
95 dist2=SUB32(SHR(*E++,1),dist2);
101 dist3=SUB32(SHR(*E++,1),dist3);
107 dist4=SUB32(SHR(*E++,1),dist4);
H A Dmath_approx.h127 return EXTRACT16(PSHR32(SUB32(res, SHR32(res, 3)),14));
199 return SUB32(-K1, MULT16_16_P13(x2, ADD32(K2, MULT16_16_P13(x2, ADD32(K3, MULT16_16_P13(K4, x2))))));
220 x = SUB32(SHL32(EXTEND32(1), 17),x);
H A Dlsp.c262 *px++ = SUB32(ADD32(EXTEND32(a[i]),EXTEND32(a[lpcrdr-i-1])), *p++);
263 *qx++ = ADD32(SUB32(EXTEND32(a[i]),EXTEND32(a[lpcrdr-i-1])), *q++);
487 xp[i+1][j+2] = ADD32(SUB32(xp[i][j+2], mult), xp[i][j]);
489 xq[i+1][j+2] = ADD32(SUB32(xq[i][j+2], mult), xq[i][j]);
495 xp[i+1][j+2] = SUB32(xp[i][j], mult);
497 xq[i+1][j+2] = SUB32(xq[i][j], mult);
H A Dlpc.c95 rr = SUB32(rr,MULT16_16(lpc[j],ac[i - j]));
H A Dvq.c86 dist=SUB32(SHR32(E[i],1),dist);
H A Dltp.c162 sum = SUB32(sum,MULT16_16(MULT16_16_16(g[0],g[1]),C[3]));
163 sum = SUB32(sum,MULT16_16(MULT16_16_16(g[2],g[1]),C[4]));
164 sum = SUB32(sum,MULT16_16(MULT16_16_16(g[2],g[0]),C[5]));
165 sum = SUB32(sum,MULT16_16(MULT16_16_16(g[0],g[0]),C[6]));
166 sum = SUB32(sum,MULT16_16(MULT16_16_16(g[1],g[1]),C[7]));
167 sum = SUB32(sum,MULT16_16(MULT16_16_16(g[2],g[2]),C[8]));
235 energy[i-start+1] = SUB32(ADD32(energy[i-start],SHR32(MULT16_16(sw[-i-1],sw[-i-1]),6)), SHR32(MULT16_16(sw[-i+len-1],sw[-i+len-1]),6));
800 target[i]=EXTRACT16(SATURATE(SUB32(EXTEND32(target[i]),EXTEND32(res[i])),32700));
H A Dkiss_fftr.c226 f1k.i = PSHR32(SUB32(EXTEND32(st->tmpbuf[k].i), EXTEND32(st->tmpbuf[ncfft-k].i)),1);
227 f2k.r = PSHR32(SUB32(EXTEND32(st->tmpbuf[k].r), EXTEND32(st->tmpbuf[ncfft-k].r)),1);
237 f2k.r = SHR32(SUB32(EXTEND32(st->tmpbuf[k].r), EXTEND32(st->tmpbuf[ncfft-k].r)),1);
241 f1ki = SHL32(SUB32(EXTEND32(st->tmpbuf[k].i), EXTEND32(st->tmpbuf[ncfft-k].i)),13);
243 twr = SHR32(SUB32(MULT16_16(f2k.r,st->super_twiddles[k].r),MULT16_16(f2k.i,st->super_twiddles[k].i)), 1);
H A Dmdf.c273 tmp1 = SUB32(MAC16_16(tmp1, X[j*N+i],TOP16(Y[j*N+i])), MULT16_16(X[j*N+i+1],TOP16(Y[j*N+i+1])));
300 tmp1 = SUB32(MAC16_16(tmp1, X[j*N+i],Y[j*N+i]), MULT16_16(X[j*N+i+1],Y[j*N+i+1]));
732 tmp32 = SUB32(EXTEND32(st->input[chan*st->frame_size+i]), EXTEND32(MULT16_16_P15(st->preemph, st->memD[chan])));
758 tmp32 = SUB32(EXTEND32(far_end[i*K+speak]), EXTEND32(MULT16_16_P15(st->preemph, st->memX[speak])));
902 st->Davg1 = ADD32(MULT16_32_Q15(QCONST16(.6f,15),st->Davg1), MULT16_32_Q15(QCONST16(.4f,15),SUB32(Sff,See)));
903 st->Davg2 = ADD32(MULT16_32_Q15(QCONST16(.85f,15),st->Davg2), MULT16_32_Q15(QCONST16(.15f,15),SUB32(Sff,See)));
917 if (FLOAT_GT(FLOAT_MUL32U(SUB32(Sff,See),ABS32(SUB32(Sff,See))), FLOAT_MUL32U(Sff,Dbf)))
939 if (FLOAT_GT(FLOAT_MUL32U(NEG32(SUB32(Sff,See)),ABS32(SUB32(Sf
[all...]
H A Dkiss_fft.c54 tr = SHR32(SUB32(MULT16_16(Fout2->r , tw1->r),MULT16_16(Fout2->i , tw1->i)), 1);
57 Fout2->r = PSHR32(SUB32(SHL32(EXTEND32(Fout->r), 14), tr), 15);
58 Fout2->i = PSHR32(SUB32(SHL32(EXTEND32(Fout->i), 14), ti), 15);
H A Darch.h184 #define SUB32(a,b) ((a)-(b)) macro
H A Dfixed_generic.h68 #define SUB32(a,b) ((spx_word32_t)(a)-(spx_word32_t)(b)) macro
H A Dfixed_debug.h222 static inline int SUB32(long long a, long long b) function
227 fprintf (stderr, "SUB32: inputs are not int: %d %d\n", (int)a, (int)b);
231 fprintf (stderr, "SUB32: output is not int: %d\n", (int)res);
H A Dnb_celp.c681 pi_g = ADD32(pi_g, SUB32(EXTEND32(interp_qlpc[i+1]),EXTEND32(interp_qlpc[i])));
754 target[i]=EXTRACT16(SATURATE(SUB32(sw[i],PSHR32(ringing[i],1)),32767));
802 real_exc[i] = EXTRACT16(SUB32(EXTEND32(real_exc[i]), PSHR32(exc32[i],SIG_SHIFT-1)));
1528 pi_g = ADD32(pi_g, SUB32(EXTEND32(ak[i+1]),EXTEND32(ak[i])));
H A Dfilters.c466 y2k=SUB32(y2k,MULT16_16(a[j],SUB16(x[i+j],x2[i-j])));
H A Dresample.c311 interp[1] = EXTRACT16(EXTEND32(x) + SHR32(SUB32(EXTEND32(x2),EXTEND32(x3)),1));
/external/libopus/celt/arm/
H A Dkiss_fft_armv5e.h61 (m).r = SHL32(SUB32(mr1__, mr2__), 1); \
86 (m).r = SHR32(SUB32(mr1__, mr2__), 1); \
112 (m).i = SHL32(SUB32(mi1__, mi2__), 1); \
/external/libopus/celt/
H A D_kiss_fft_guts.h61 do{ (m).r = SUB32(S_MUL((a).r,(b).r) , S_MUL((a).i,(b).i)); \
66 (m).i = SUB32(S_MUL((a).i,(b).r) , S_MUL((a).r,(b).i)); }while(0)
83 do {(res).r=SUB32((a).r,(b).r); (res).i=SUB32((a).i,(b).i); \
90 do {(res).r = ADD32((res).r,(a).r); (res).i = SUB32((res).i,(a).i); \
H A Dmathops.c160 x = SUB32(SHL32(EXTEND32(1), 17),x);
H A Darch.h211 #define SUB32(a,b) ((a)-(b)) macro
H A Dfixed_generic.h118 #define SUB32(a,b) ((opus_val32)(a)-(opus_val32)(b)) macro
H A Dquant_bands.c198 SUB32((opus_val32)oldEBands[i+c*m->nbEBands],max_decay)));
H A Dbands.c397 Y[j] = EXTRACT16(SHR32(SUB32(r, l), 15));
618 X[stride*(2*j+1)+i] = EXTRACT16(PSHR32(SUB32(tmp1, tmp2), 15));
H A Dfixed_debug.h305 #define SUB32(a, b) SUB32_(a, b, __FILE__, __LINE__) macro
311 fprintf (stderr, "SUB32: inputs are not int: %d %d in %s: line %d\n", (int)a, (int)b, file, line);
319 fprintf (stderr, "SUB32: output is not int: %d in %s: line %d\n", (int)res, file, line);
H A Dcelt_encoder.c856 S = SUB32(L, R);
/external/libopus/src/
H A Dopus_multistream_encoder.c210 diff = SUB32(EXTEND32(a),EXTEND32(b));
213 diff = SUB32(EXTEND32(b),EXTEND32(a));

Completed in 930 milliseconds