/external/speex/libspeex/ |
vq_arm4.h | 89 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);
|
math_approx.h | 127 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);
|
lsp.c | 262 *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);
|
lpc.c | 95 rr = SUB32(rr,MULT16_16(lpc[j],ac[i - j]));
|
vq.c | 86 dist=SUB32(SHR32(E[i],1),dist);
|
ltp.c | 162 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));
|
kiss_fftr.c | 226 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);
|
mdf.c | 273 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(Sff,See))), FLOAT_MULT(VAR_BACKTRACK,FLOAT_MUL32U(Sff,Dbf))) [all...] |
kiss_fft.c | 54 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);
|
arch.h | 184 #define SUB32(a,b) ((a)-(b))
|
fixed_generic.h | 68 #define SUB32(a,b) ((spx_word32_t)(a)-(spx_word32_t)(b))
|
fixed_debug.h | 222 static inline int SUB32(long long a, long long b) 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);
|
nb_celp.c | 681 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))); [all...] |
filters.c | 466 y2k=SUB32(y2k,MULT16_16(a[j],SUB16(x[i+j],x2[i-j])));
|
resample.c | 311 interp[1] = EXTRACT16(EXTEND32(x) + SHR32(SUB32(EXTEND32(x2),EXTEND32(x3)),1)); [all...] |