/external/speex/libspeex/ |
lpc_bfin.h | 56 ac0 = ADD32(ac0,SHR32(MULT16_16(x[j],x[j]),8)); 115 d = ADD32(d,SHR32(MULT16_16(x[j],x[j]), shift)); 124 d = ADD32(d,SHR32(MULT16_16(x[j],x[j-i]), shift)); 128 ac[i] = SHR32(ac32[i], ac_shift);
|
fixed_generic.h | 47 #define SHR32(a,shift) ((a) >> (shift)) 50 #define PSHR32(a,shift) (SHR32((a)+((EXTEND32(1)<<((shift))>>1)),shift)) 51 #define VSHR32(a, shift) (((shift)>0) ? SHR32(a, shift) : SHL32(a, -(shift)))
|
lpc.c | 141 ac0 = ADD32(ac0,SHR32(MULT16_16(x[j],x[j]),8)); 162 d = ADD32(d,SHR32(MULT16_16(x[j],x[j-i]), shift)); 165 ac[i] = SHR32(d, ac_shift);
|
preprocess.c | 98 if (SHR32(a,7) >= b) 104 a = SHR32(a,8); 105 b = SHR32(b,8); 109 a = SHR32(a,4); 110 b = SHR32(b,4); 114 a = SHR32(a,4); 115 b = SHR32(b,4); 124 if (SHR32(a,15) >= b) 130 a = SHR32(a,8); 131 b = SHR32(b,8) [all...] |
stereo.c | 164 e_left += SHR32(MULT16_16(data[2*i],data[2*i]),8); 165 e_right += SHR32(MULT16_16(data[2*i+1],data[2*i+1]),8); 172 e_tot += SHR32(MULT16_16(data[i],data[i]),8); 235 e_left = SHR32(MULT16_16(spx_sqrt(balance), e_right), 8); 262 e_left = SHR32(MULT16_16(spx_sqrt(balance), e_right), 8);
|
math_approx.h | 126 res = MULT16_16(EXTRACT16(SHR32(*seed,16)),std); 127 return EXTRACT16(PSHR32(SUB32(res, SHR32(res, 3)),14)); 299 x = DIV32_16(SHL32(EXTEND32(32767),29-e), EXTRACT16(SHR32(x, e-14)));
|
fixed_debug.h | 132 static inline int SHR32(long long a, int shift) 137 fprintf (stderr, "SHR32: inputs are not int: %d %d\n", (int)a, shift); 142 fprintf (stderr, "SHR32: output is not int: %d\n", (int)res); 164 #define PSHR32(a,shift) (SHR32(ADD32((a),((EXTEND32(1)<<((shift))>>1))),shift)) 165 #define VSHR32(a, shift) (((shift)>0) ? SHR32(a, shift) : SHL32(a, -(shift))) 269 #define MAC16_16_Q11(c,a,b) (EXTRACT16(ADD16((c),EXTRACT16(SHR32(MULT16_16((a),(b)),11))))) 270 #define MAC16_16_Q13(c,a,b) (EXTRACT16(ADD16((c),EXTRACT16(SHR32(MULT16_16((a),(b)),13))))) 271 #define MAC16_16_P13(c,a,b) (EXTRACT16(ADD32((c),SHR32(ADD32(4096,MULT16_16((a),(b))),13))))
|
ltp.c | 71 sum = ADD32(sum,SHR32(part,6)); 129 sum1 = ADD32(sum1,SHR32(part1,6)); 130 sum2 = ADD32(sum2,SHR32(part2,6)); 131 sum3 = ADD32(sum3,SHR32(part3,6)); 132 sum4 = ADD32(sum4,SHR32(part4,6)); 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)); 298 g = DIV32(SHL32(EXTEND32(corr16[i-start]),cshift), 10+SHR32(MULT16_16(spx_sqrt(e0),spx_sqrt(SHL32(EXTEND32(ener16[i-start]),eshift))),6));
|
vq.c | 86 dist=SUB32(SHR32(E[i],1),dist); 128 dist = ADD32(dist,SHR32(E[i],1));
|
filters.c | 118 y[i] = SHL32(MULT16_32_Q14(EXTRACT16(SHR32(x[i],7)),scale),7); 134 } else if (scale > SHR32(EXTEND32(SIG_SCALING), 2)) { 206 tmp = EXTRACT16(SHR32(x[i],sig_shift)); 208 tmp = EXTRACT16(SHR32(x[i+1],sig_shift)); 210 tmp = EXTRACT16(SHR32(x[i+2],sig_shift)); 212 tmp = EXTRACT16(SHR32(x[i+3],sig_shift)); 214 sum = ADD32(sum,SHR32(sum2,6)); 243 sum = ADD32(sum,SHR32(sum2,6)); 262 sum = ADD32(sum,SHR32(sum2,6)); 292 y[i] = EXTRACT16(SHR32(x[i], sig_shift)) [all...] |
kiss_fftr.c | 228 f2k.i = SHR32(ADD32(EXTEND32(st->tmpbuf[k].i), EXTEND32(st->tmpbuf[ncfft-k].i)),1); 237 f2k.r = SHR32(SUB32(EXTEND32(st->tmpbuf[k].r), EXTEND32(st->tmpbuf[ncfft-k].r)),1); 243 twr = SHR32(SUB32(MULT16_16(f2k.r,st->super_twiddles[k].r),MULT16_16(f2k.i,st->super_twiddles[k].i)), 1); 244 twi = SHR32(ADD32(MULT16_16(f2k.i,st->super_twiddles[k].r),MULT16_16(f2k.r,st->super_twiddles[k].i)), 1);
|
mdf.c | 228 sum = ADD32(sum,SHR32(part,6)); 363 tmp += MULT16_16(EXTRACT16(SHR32(W[p*N*M + i*N+j],18)), EXTRACT16(SHR32(W[p*N*M + i*N+j],18))); 488 spx_word16_t decay = SHR32(spx_exp(NEG16(DIV32_16(QCONST16(2.4,11),M))),1); [all...] |
filters_bfin.h | 460 ytmp[i] = EXTRACT16(SHR32(yi,LPC_SHIFT)); 462 y[i] = EXTRACT16(SHR32(yi2,LPC_SHIFT)); 478 x[i] = EXTRACT16(SHR32(_x[i],SIG_SHIFT)); 490 y[i] = EXTRACT16(SHR32(_y[i],SIG_SHIFT)); 501 y[i] = EXTRACT16(SHR32(_y[i],SIG_SHIFT));
|
cb_search.c | 75 res16 = EXTRACT16(SHR32(resj, 13)); 375 tener = SHR32(tener,1);
|
kiss_fft.c | 54 tr = SHR32(SUB32(MULT16_16(Fout2->r , tw1->r),MULT16_16(Fout2->i , tw1->i)), 1); 55 ti = SHR32(ADD32(MULT16_16(Fout2->i , tw1->r),MULT16_16(Fout2->r , tw1->i)), 1);
|
arch.h | 167 #define SHR32(a,shift) (a)
|
filterbank.c | 46 #define toBARK(n) (MULT16_16(26829,spx_atan(SHR32(MULT16_16(97,n),2))) + MULT16_16(4588,spx_atan(MULT16_32_Q15(20,MULT16_16(n,n)))) + MULT16_16(3355,n))
|
nb_celp.c | 308 w_sig[i] = EXTRACT16(SHR32(MULT16_16(st->winBuf[i],st->window[i]),SIG_SHIFT)); 310 w_sig[i] = EXTRACT16(SHR32(MULT16_16(in[i-st->windowSize+st->frameSize],st->window[i]),SIG_SHIFT)); [all...] |
sb_celp.c | 393 w_sig[i] = EXTRACT16(SHR32(MULT16_16(high[i],st->window[i>>1]),SIG_SHIFT)); 396 w_sig[i] = EXTRACT16(SHR32(MULT16_16(high[i],st->window[i]),SIG_SHIFT)); [all...] |
ltp_bfin.h | 295 g = DIV32(corr[i-start], 10+SHR32(MULT16_16(spx_sqrt(e0),spx_sqrt(energy[i-start])),6));
|
resample.c | 311 interp[1] = EXTRACT16(EXTEND32(x) + SHR32(SUB32(EXTEND32(x2),EXTEND32(x3)),1)); [all...] |
/external/valgrind/main/VEX/priv/ |
host_generic_simd64.c | 362 static inline UInt shr32 ( UInt v, UInt n ) function 1041 shr32( sel32x2_1(xx), nn ), 1042 shr32( sel32x2_0(xx), nn ) [all...] |
ir_opt.c | [all...] |