HomeSort by relevance Sort by last modified time
    Searched full:shl32 (Results 1 - 25 of 40) sorted by null

1 2

  /external/chromium_org/third_party/opus/src/celt/arm/
kiss_fft_armv5e.h 61 (m).r = SHL32(SUB32(mr1__, mr2__), 1); \
62 (m).i = SHL32(mi__, 1); \
111 (m).r = SHL32(mr__, 1); \
112 (m).i = SHL32(SUB32(mi1__, mi2__), 1); \
  /external/speex/libspeex/
fixed_generic.h 48 #define SHL32(a,shift) ((a) << (shift))
51 #define VSHR32(a, shift) (((shift)>0) ? SHR32(a, shift) : SHL32(a, -(shift)))
55 #define SATURATE32PSHR(x,shift,a) (((x)>=(SHL32(a,shift))) ? (a) : \
56 (x)<=-(SHL32(a,shift)) ? -(a) : \
math_approx.h 174 ret = spx_sqrt(SHL32(EXTEND32(sq),13));
219 if (x>SHL32(EXTEND32(1), 16))
220 x = SUB32(SHL32(EXTEND32(1), 17),x);
223 if (x<SHL32(EXTEND32(1), 15))
299 x = DIV32_16(SHL32(EXTEND32(32767),29-e), EXTRACT16(SHR32(x, e-14)));
preprocess.c 117 a = SHL32(a,8);
143 a = SHL32(a,15)-a;
281 tmp = SQR16_Q15(QCONST16(.5f,15)-MULT16_16_P15(QCONST16(.5f,15),spx_cos_norm(SHL32(EXTEND32(x),2))));
284 w[i]=spx_sqrt(SHL32(EXTEND32(tmp),15));
310 frac = SHL32(xx-SHL32(ind,10),5);
311 return SHL32(DIV32_16(PSHR32(MULT16_16(Q15_ONE-frac,table[ind]) + MULT16_16(frac,table[ind+1]),7),(spx_sqrt(SHL32(xx,15)+6711))),7);
317 return DIV32_16(SHL32(EXTEND32(32767),9),ADD16(512,MULT16_16_Q15(QCONST16(.60f,15),DIV32_16(32767,x))));
334 spx_sqrt(SHL32(EXTEND32(DIV32_16_Q15(PSHR32(noise[i],NOISE_SHIFT) + MULT16_32_Q15(gain_ratio,echo[i])
    [all...]
filters.c 104 mem[0] = ADD32(MAC16_16(mem[1], num[1],x[i]), SHL32(MULT16_32_Q15(-den[1],vout),1));
105 mem[1] = ADD32(MULT16_16(num[2],x[i]), SHL32(MULT16_32_Q15(-den[2],vout),1));
118 y[i] = SHL32(MULT16_32_Q14(EXTRACT16(SHR32(x[i],7)),scale),7);
125 if (scale > SHL32(EXTEND32(SIG_SCALING), 8))
129 scale_1 = EXTRACT16(PDIV32_16(SHL32(EXTEND32(SIG_SCALING),7),scale));
137 scale_1 = DIV32_16(SHL32(EXTEND32(SIG_SCALING),3),scale);
147 scale_1 = DIV32_16(SHL32(EXTEND32(SIG_SCALING),3),scale);
217 return EXTRACT16(PSHR32(SHL32(EXTEND32(spx_sqrt(DIV32(sum,len))),(sig_shift+3)),SIG_SHIFT));
427 y[i] = PSHR32(ADD32(SHL32(EXTEND32(y1),LPC_SHIFT+1),mem2[0]),LPC_SHIFT);
646 tmp = SHL32(exc[i-(pitch-maxj+3)],15)
    [all...]
cb_search.c 188 e[subvect_size*i+j]=SHL32(EXTEND32(shape_cb[rind*subvect_size+j]),SIG_SHIFT-5);
191 e[subvect_size*i+j]=NEG32(SHL32(EXTEND32(shape_cb[rind*subvect_size+j]),SIG_SHIFT-5));
486 e[subvect_size*i+j]=SHL32(EXTEND32(shape_cb[rind*subvect_size+j]),SIG_SHIFT-5);
489 e[subvect_size*i+j]=NEG32(SHL32(EXTEND32(shape_cb[rind*subvect_size+j]),SIG_SHIFT-5));
560 exc[subvect_size*i+j]=SHL32(EXTEND32(shape_cb[ind[i]*subvect_size+j]),SIG_SHIFT-5);
563 exc[subvect_size*i+j]=NEG32(SHL32(EXTEND32(shape_cb[ind[i]*subvect_size+j]),SIG_SHIFT-5));
594 exc[i]+=SHL32(EXTEND32(tmp[i]),8);
611 exc[i]=SHL32(EXTEND32(speex_rand(1, seed)),SIG_SHIFT);
ltp.c 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));
468 C[0] = SHL32(C[0],1);
469 C[1] = SHL32(C[1],1);
470 C[2] = SHL32(C[2],1);
471 C[3] = SHL32(C[3],1);
472 C[4] = SHL32(C[4],1);
473 C[5] = SHL32(C[5],1);
716 spx_word16_t fact = DIV32_16(SHL32(EXTEND32(tmp),14),gain_sum);
kiss_fft.c 57 Fout2->r = PSHR32(SUB32(SHL32(EXTEND32(Fout->r), 14), tr), 15);
58 Fout2->i = PSHR32(SUB32(SHL32(EXTEND32(Fout->i), 14), ti), 15);
59 Fout->r = PSHR32(ADD32(SHL32(EXTEND32(Fout->r), 14), tr), 15);
60 Fout->i = PSHR32(ADD32(SHL32(EXTEND32(Fout->i), 14), ti), 15);
486 kf_cexp2(st->twiddles+i, DIV32(SHL32(phase,17),nfft));
pseudofloat.h 274 if (ABS32(a)>=SHL32(EXTEND32(b.m-1),15))
302 if (ABS32(a)>=SHL32(EXTEND32(b-1),15))
341 m = SHL32(EXTEND32(a.m), 14);
mdf.c 206 spx_word32_t vout = mem[0] + SHL32(EXTEND32(vin),15);
208 mem[0] = mem[1] + SHL32(SHL32(-EXTEND32(vin),15) + MULT16_32_Q15(radius,vout),1);
212 mem[1] = SHL32(EXTEND32(vin),15) - MULT16_32_Q15(den2,vout);
434 st->spec_average = DIV32_16(SHL32(EXTEND32(st->frame_size), 15), st->sampling_rate);
436 st->beta0 = DIV32_16(SHL32(EXTEND32(st->frame_size), 16), st->sampling_rate);
437 st->beta_max = DIV32_16(SHL32(EXTEND32(st->frame_size), 14), st->sampling_rate);
859 st->W[chan*N*K*M + j*N*K + speak*N + i] -= SHL32(EXTEND32(st->wtmp2[i]),16+NORMALIZE_SCALEDOWN-NORMALIZE_SCALEUP-1);
949 st->W[i] = SHL32(EXTEND32(st->foreground[i]),16);
    [all...]
sb_celp.c 590 filter_ratio=EXTRACT16(SATURATE(PDIV32(SHL32(ADD32(rl,82),7),ADD32(82,rh)),32767));
661 scale = SHL32(MULT16_16(PDIV32_16(SHL32(EXTEND32(gc),SIG_SHIFT-6),filter_ratio),(1+el)),6);
1020 filter_ratio=EXTRACT16(SATURATE(PDIV32(SHL32(ADD32(rl,82),7),ADD32(82,rh)),32767));
1038 exc[i]=SHL32(MULT16_32_P15(MULT16_16_Q15(mode->folding_gain,low_innov_alias[offset+i]),SHL32(g,6)),SIG_SHIFT)
    [all...]
kiss_fftr.c 67 kf_cexp2(st->super_twiddles+i, DIV32(SHL32(phase,16),nfft));
240 f1kr = SHL32(ADD32(EXTEND32(st->tmpbuf[k].r), EXTEND32(st->tmpbuf[ncfft-k].r)),13);
241 f1ki = SHL32(SUB32(EXTEND32(st->tmpbuf[k].i), EXTEND32(st->tmpbuf[ncfft-k].i)),13);
filters_bfin.h 453 spx_word32_t yi = SHL32(EXTEND32(y[i]),LPC_SHIFT);
461 yi2 = ADD32(yi2,SHL32(yi,1));
489 _y[i] = ADD32(_x[i],SHL32(yi,1));
500 _y[i] = ADD32(_x[i],SHL32(yi,1));
fixed_debug.h 147 static inline int SHL32(long long a, int shift)
152 fprintf (stderr, "SHL32: inputs are not int: %d %d\n", (int)a, shift);
157 fprintf (stderr, "SHL32: output is not int: %d\n", (int)res);
165 #define VSHR32(a, shift) (((shift)>0) ? SHR32(a, shift) : SHL32(a, -(shift)))
lpc.c 93 spx_word32_t rr = NEG32(SHL32(EXTEND32(ac[i + 1]),13));
nb_celp.c 407 spx_sqrt(QCONST32(1.,28)-MULT16_32_Q15(QCONST16(.8,15),SHL32(MULT16_16(ol_pitch_coef,ol_pitch_coef),16)))));
409 ol_gain = SHL32(EXTEND32(g),SIG_SHIFT);
727 mem[i]=SHL32(st->mem_sp[i],1);
733 mem[i]=SHL32(st->mem_sw[i],1);
739 mem[i]=SHL32(st->mem_sw[i],1);
804 ener = SHL32(EXTEND32(compute_rms16(real_exc, st->subframeSize)),SIG_SHIFT);
853 exc[i] = EXTRACT16(SATURATE32(PSHR32(ADD32(SHL32(exc32[i],1),innov[i]),SIG_SHIFT),32767));
872 exc[i] = EXTRACT16(SATURATE32(PSHR32(ADD32(SHL32(exc32[i],1),innov[i]),SIG_SHIFT),32767));
    [all...]
  /external/chromium_org/third_party/opus/src/celt/
mathops.c 80 result = ADD32(result, SHL32(MULT16_32_Q15(rcp, rem),2));
86 return SHL32(result, 2);
159 if (x>SHL32(EXTEND32(1), 16))
160 x = SUB32(SHL32(EXTEND32(1), 17),x);
163 if (x<SHL32(EXTEND32(1), 15))
quant_bands.c 194 f = SHL32(EXTEND32(x),7) - PSHR32(MULT16_16(coef,oldE), 8) - prev[c];
248 q = (opus_val32)SHL32(EXTEND32(qi),DB_SHIFT);
250 tmp = PSHR32(MULT16_16(coef,oldE),8) + prev[c] + SHL32(q,7);
255 prev[c] = prev[c] + SHL32(q,7) - MULT16_16(beta,PSHR32(q,8));
289 max_decay = MIN32(max_decay, SHL32(EXTEND32(nbAvailableBytes),DB_SHIFT-3));
383 offset = SUB16(SHR32(SHL32(EXTEND32(q2),DB_SHIFT)+QCONST16(.5f,DB_SHIFT),fine_quant[i]),QCONST16(.5f,DB_SHIFT));
475 q = (opus_val32)SHL32(EXTEND32(qi),DB_SHIFT);
478 tmp = PSHR32(MULT16_16(coef,oldEBands[i+c*m->nbEBands]),8) + prev[c] + SHL32(q,7);
483 prev[c] = prev[c] + SHL32(q,7) - MULT16_16(beta,PSHR32(q,8));
502 offset = SUB16(SHR32(SHL32(EXTEND32(q2),DB_SHIFT)+QCONST16(.5f,DB_SHIFT),fine_quant[i]),QCONST16(.5f,DB_SHIFT))
    [all...]
fixed_generic.h 74 #define SHL32(a,shift) ((opus_int32)((opus_uint32)(a)<<(shift)))
79 #define VSHR32(a, shift) (((shift)>0) ? SHR32(a, shift) : SHL32(a, -(shift)))
83 #define SHL(a,shift) SHL32(a,shift)
celt_lpc.c 62 r = -frac_div32(SHL32(rr,3), error);
116 opus_val32 sum = SHL32(EXTEND32(_x[i]), SIG_SHIFT);
288 ac[0] += SHL32((opus_int32)1, -shift);
293 ac[i] = SHL32(ac[i], shift2);
mathops.h 244 arg = celt_div(SHL32(EXTEND32(y),15),x);
250 arg = celt_div(SHL32(EXTEND32(x),15),y);
fixed_debug.h 45 #define MULT32_32_Q31(a,b) ADD32(ADD32(SHL32(MULT16_16(SHR32((a),16),SHR((b),16)),1), SHR32(MULT16_16SU(SHR32((a),16),((b)&0x0000ffff)),15)), SHR32(MULT16_16SU(SHR32((b),16),((a)&0x0000ffff)),15))
203 #define SHL32(a, shift) SHL32_(a, shift, __FILE__, __LINE__)
209 fprintf (stderr, "SHL32: inputs are not int: %lld %d in %s: line %d\n", a, shift, file, line);
217 fprintf (stderr, "SHL32: output is not int: %lld<<%d = %lld in %s: line %d\n", a, shift, res, file, line);
227 #define VSHR32(a, shift) (((shift)>0) ? SHR32(a, shift) : SHL32(a, -(shift)))
arch.h 158 #define SHL32(a,shift) (a)
  /external/llvm/test/CodeGen/X86/
shift-bmi2.ll 4 define i32 @shl32(i32 %x, i32 %shamt) nounwind uwtable readnone {
7 ; BMI2: shl32
10 ; BMI264: shl32
  /external/chromium_org/third_party/opus/src/src/
mlp.c 98 opus_val32 sum = SHL32(EXTEND32(*W++),8);
106 opus_val32 sum = SHL32(EXTEND32(*W++),14);

Completed in 769 milliseconds

1 2