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

1 2

  /external/speex/libspeex/
fixed_generic.h 63 #define ADD32(a,b) ((spx_word32_t)(a)+(spx_word32_t)(b))
73 #define MAC16_16(c,a,b) (ADD32((c),MULT16_16((a),(b))))
74 #define MULT16_32_Q12(a,b) ADD32(MULT16_16((a),SHR((b),12)), SHR(MULT16_16((a),((b)&0x00000fff)),12))
75 #define MULT16_32_Q13(a,b) ADD32(MULT16_16((a),SHR((b),13)), SHR(MULT16_16((a),((b)&0x00001fff)),13))
76 #define MULT16_32_Q14(a,b) ADD32(MULT16_16((a),SHR((b),14)), SHR(MULT16_16((a),((b)&0x00003fff)),14))
78 #define MULT16_32_Q11(a,b) ADD32(MULT16_16((a),SHR((b),11)), SHR(MULT16_16((a),((b)&0x000007ff)),11))
79 #define MAC16_32_Q11(c,a,b) ADD32(c,ADD32(MULT16_16((a),SHR((b),11)), SHR(MULT16_16((a),((b)&0x000007ff)),11)))
81 #define MULT16_32_P15(a,b) ADD32(MULT16_16((a),SHR((b),15)), PSHR(MULT16_16((a),((b)&0x00007fff)),15))
82 #define MULT16_32_Q15(a,b) ADD32(MULT16_16((a),SHR((b),15)), SHR(MULT16_16((a),((b)&0x00007fff)),15)
    [all...]
math_approx.h 195 return ADD32(K1, MULT16_16_P13(x2, ADD32(K2, MULT16_16_P13(x2, ADD32(K3, MULT16_16_P13(K4, x2))))));
199 return SUB32(-K1, MULT16_16_P13(x2, ADD32(K2, MULT16_16_P13(x2, ADD32(K3, MULT16_16_P13(K4, x2))))));
213 return ADD16(1,MIN16(32766,ADD32(SUB16(L1,x2), MULT16_16_P15(x2, ADD32(L2, MULT16_16_P15(x2, ADD32(L3, MULT16_16_P15(L4, x2))))))));
281 return MULT16_16_P15(x, ADD32(M1, MULT16_16_P15(x, ADD32(M2, MULT16_16_P15(x, ADD32(M3, MULT16_16_P15(M4, x)))))))
    [all...]
filters.c 102 spx_word32_t vout = ADD32(MULT16_16(num[0], x[i]),mem[0]);
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));
214 sum = ADD32(sum,SHR32(sum2,6));
243 sum = ADD32(sum,SHR32(sum2,6));
262 sum = ADD32(sum,SHR32(sum2,6));
326 yi = EXTRACT16(SATURATE(ADD32(EXTEND32(x[i]),PSHR32(mem[0],LPC_SHIFT)),32767));
332 mem[ord-1] = ADD32(MULT16_16(num[ord-1],xi), MULT16_16(den[ord-1],nyi));
346 yi = EXTRACT16(SATURATE(ADD32(EXTEND32(x[i]),PSHR32(mem[0],LPC_SHIFT)),32767));
367 yi = EXTRACT16(SATURATE(ADD32(EXTEND32(x[i]),PSHR32(mem[0],LPC_SHIFT)),32767))
    [all...]
cb_search_arm4.h 118 E[0]=ADD32(E[0],MULT16_16(resj0,resj0));
119 E[1]=ADD32(E[1],MULT16_16(resj1,resj1));
120 E[2]=ADD32(E[2],MULT16_16(resj2,resj2));
121 E[3]=ADD32(E[3],MULT16_16(resj3,resj3));
lpc_bfin.h 56 ac0 = ADD32(ac0,SHR32(MULT16_16(x[j],x[j]),8));
57 ac0 = ADD32(ac0,n);
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));
lpc.c 141 ac0 = ADD32(ac0,SHR32(MULT16_16(x[j],x[j]),8));
142 ac0 = ADD32(ac0,n);
162 d = ADD32(d,SHR32(MULT16_16(x[j],x[j-i]), shift));
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));
159 sum = ADD32(sum,MULT16_16(MULT16_16_16(g[0],pitch_control),C[0]));
160 sum = ADD32(sum,MULT16_16(MULT16_16_16(g[1],pitch_control),C[1]));
161 sum = ADD32(sum,MULT16_16(MULT16_16_16(g[2],pitch_control),C[2]));
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));
436 x[i][j+1]=ADD32(x[i+1][j],MULT16_16_P14(r[j+1], e0))
    [all...]
fixed_debug.h 164 #define PSHR32(a,shift) (SHR32(ADD32((a),((EXTEND32(1)<<((shift))>>1))),shift))
205 #define ADD32(a, b) _ADD32(a, b, __FILE__, __LINE__)
211 fprintf (stderr, "ADD32: inputs are not int: %d %d in %s: line %d\n", (int)a, (int)b, file, line);
216 fprintf (stderr, "ADD32: output is not int: %d in %s: line %d\n", (int)res, file, line);
268 #define MAC16_16(c,a,b) (spx_mips--,ADD32((c),MULT16_16((a),(b))))
271 #define MAC16_16_P13(c,a,b) (EXTRACT16(ADD32((c),SHR32(ADD32(4096,MULT16_16((a),(b))),13))))
309 #define MAC16_32_Q11(c,a,b) ADD32((c),MULT16_32_Q11((a),(b)))
315 #define MAC16_32_Q15(c,a,b) ADD32((c),MULT16_32_Q15((a),(b)))
484 #define PDIV32(a,b) DIV32(ADD32((a),(b)>>1),b
    [all...]
quant_lsp.c 222 lsp[i] = ADD32(lsp[i], LSP_DIV_256(cdbk_nb[id*10+i]));
230 lsp[i] = ADD32(lsp[i], LSP_DIV_1024(cdbk_nb_low2[id*5+i]));
234 lsp[i+5] = ADD32(lsp[i+5], LSP_DIV_512(cdbk_nb_high1[id*5+i]));
238 lsp[i+5] = ADD32(lsp[i+5], LSP_DIV_1024(cdbk_nb_high2[id*5+i]));
vq.c 128 dist = ADD32(dist,SHR32(E[i],1));
130 dist = ADD32(dist,.5f*E[i]);
kiss_fftr.c 225 /*f1k.r = PSHR32(ADD32(EXTEND32(st->tmpbuf[k].r), EXTEND32(st->tmpbuf[ncfft-k].r)),1);
228 f2k.i = SHR32(ADD32(EXTEND32(st->tmpbuf[k].i), EXTEND32(st->tmpbuf[ncfft-k].i)),1);
238 f2k.i = PSHR32(ADD32(EXTEND32(st->tmpbuf[k].i), EXTEND32(st->tmpbuf[ncfft-k].i)),1);
240 f1kr = SHL32(ADD32(EXTEND32(st->tmpbuf[k].r), EXTEND32(st->tmpbuf[ncfft-k].r)),13);
244 twi = SHR32(ADD32(MULT16_16(f2k.i,st->super_twiddles[k].r),MULT16_16(f2k.r,st->super_twiddles[k].i)), 1);
preprocess.c 309 return ADD32(EXTEND32(Q15_ONE),EXTEND32(DIV32_16(QCONST32(.1296,23), SHR32(xx,EXPIN_SHIFT-SNR_SHIFT))));
797 spx_word32_t tot_noise = ADD32(ADD32(ADD32(EXTEND32(1), PSHR32(st->noise[i],NOISE_SHIFT)) , st->echo_noise[i]) , st->reverb_estimate[i]);
804 gamma = QCONST16(.1f,15)+MULT16_16_Q15(QCONST16(.89f,15),SQR16_Q15(DIV32_16_Q15(st->old_ps[i],ADD32(st->old_ps[i],tot_noise))));
807 st->prior[i] = EXTRACT16(PSHR32(ADD32(MULT16_16(gamma,MAX16(0,st->post[i])), MULT16_16(Q15_ONE-gamma,DIV32_16_Q8(st->old_ps[i],tot_noise))), 15));
814 st->zeta[0] = PSHR32(ADD32(MULT16_16(QCONST16(.7f,15),st->zeta[0]), MULT16_16(QCONST16(.3f,15),st->prior[0])),15);
816 st->zeta[i] = PSHR32(ADD32(ADD32(ADD32(MULT16_16(QCONST16(.7f,15),st->zeta[i]), MULT16_16(QCONST16(.15f,15),st->prior[i]))
    [all...]
stereo.c 190 balance = DIV32(largest, ADD32(smallest, 1));
234 e_right = DIV32(QCONST32(1., 22), spx_sqrt(MULT16_32_Q15(e_ratio, ADD32(QCONST32(1., 16), balance))));
261 e_right = DIV32(QCONST32(1., 22), spx_sqrt(MULT16_32_Q15(e_ratio, ADD32(QCONST32(1., 16), balance))));
cb_search.c 225 exc[j]=ADD32(exc[j],e[j]);
389 spx_word32_t err = ADD32(ADD32(odist[j],best_dist[k]),tener);
498 exc[j]=ADD32(exc[j],e[j]);
lsp.c 162 sum = ADD32(EXTEND32(coef[m]), EXTEND32(MULT16_16_P14(coef[m-1],x)));
168 sum = ADD32(sum, EXTEND32(MULT16_16_P14(coef[m-i],b0)));
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]);
kiss_fft.c 55 ti = SHR32(ADD32(MULT16_16(Fout2->i , tw1->r),MULT16_16(Fout2->r , tw1->i)), 1);
59 Fout->r = PSHR32(ADD32(SHL32(EXTEND32(Fout->r), 14), tr), 15);
60 Fout->i = PSHR32(ADD32(SHL32(EXTEND32(Fout->i), 14), ti), 15);
mdf.c 228 sum = ADD32(sum,SHR32(part,6));
494 sum = ADD32(sum, EXTEND32(st->prop[i]));
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)));
    [all...]
  /external/webkit/JavaScriptCore/assembler/
MacroAssembler.h 140 add32(src, dest);
145 add32(imm, srcDest);
150 add32(Imm32(imm), dest);
155 add32(imm, src, dest);
MacroAssemblerX86.h 46 using MacroAssemblerX86Common::add32;
57 void add32(Imm32 imm, RegisterID src, RegisterID dest) function in class:JSC::MacroAssemblerX86
62 void add32(Imm32 imm, AbsoluteAddress address) function in class:JSC::MacroAssemblerX86
MacroAssemblerARM.h 84 void add32(RegisterID src, RegisterID dest) function in class:JSC::MacroAssemblerARM
89 void add32(Imm32 imm, Address address) function in class:JSC::MacroAssemblerARM
92 add32(imm, ARMRegisters::S1);
96 void add32(Imm32 imm, RegisterID dest) function in class:JSC::MacroAssemblerARM
101 void add32(Address src, RegisterID dest) function in class:JSC::MacroAssemblerARM
104 add32(ARMRegisters::S1, dest);
473 add32(src, dest);
480 add32(imm, dest);
619 void add32(Imm32 imm, RegisterID src, RegisterID dest) function in class:JSC::MacroAssemblerARM
624 void add32(Imm32 imm, AbsoluteAddress address function in class:JSC::MacroAssemblerARM
    [all...]
MacroAssemblerARMv7.h 123 void add32(RegisterID src, RegisterID dest) function in class:JSC::MacroAssemblerARMv7
128 void add32(Imm32 imm, RegisterID dest) function in class:JSC::MacroAssemblerARMv7
130 add32(imm, dest, dest);
133 void add32(Imm32 imm, RegisterID src, RegisterID dest) function in class:JSC::MacroAssemblerARMv7
144 void add32(Imm32 imm, Address address) function in class:JSC::MacroAssemblerARMv7
161 void add32(Address src, RegisterID dest) function in class:JSC::MacroAssemblerARMv7
164 add32(dataTempRegister, dest);
167 void add32(Imm32 imm, AbsoluteAddress address) function in class:JSC::MacroAssemblerARMv7
486 add32(Imm32(offset), base, addressTempRegister);
501 add32(Imm32(offset), base, addressTempRegister)
    [all...]
MacroAssemblerX86Common.h 91 void add32(RegisterID src, RegisterID dest) function in class:JSC::MacroAssemblerX86Common
96 void add32(Imm32 imm, Address address) function in class:JSC::MacroAssemblerX86Common
101 void add32(Imm32 imm, RegisterID dest) function in class:JSC::MacroAssemblerX86Common
106 void add32(Address src, RegisterID dest) function in class:JSC::MacroAssemblerX86Common
111 void add32(RegisterID src, Address dest) function in class:JSC::MacroAssemblerX86Common
751 add32(src, dest);
758 add32(imm, dest);
765 add32(src, dest);
772 add32(src, dest);
779 add32(src, dest)
    [all...]
MacroAssemblerX86_64.h 46 using MacroAssemblerX86Common::add32;
56 void add32(Imm32 imm, AbsoluteAddress address) function in class:JSC::MacroAssemblerX86_64
59 add32(imm, Address(scratchRegister));
  /external/webkit/JavaScriptCore/yarr/
RegexJIT.cpp 213 add32(Imm32(countToCheck), index);
219 add32(Imm32(countToCheck), index);
578 add32(Imm32(1), countRegister);
602 add32(Imm32(1), countRegister);
603 add32(Imm32(1), index);
649 add32(Imm32(1), countRegister);
650 add32(Imm32(1), index);
696 add32(Imm32(1), countRegister);
723 add32(Imm32(1), countRegister);
724 add32(Imm32(1), index)
    [all...]
  /external/webkit/JavaScriptCore/wrec/
WRECGenerator.cpp 91 add32(Imm32(1), index);
128 add32(Address(output, (2 * subpatternId) * sizeof(int)), index);
174 add32(Imm32(1), repeatCount);
206 add32(Imm32(1), repeatCount);
267 add32(Imm32(2), index);
334 add32(Imm32(1), index);
461 add32(Imm32(1), index);
611 add32(Imm32(1), index);
612 add32(Imm32(1), repeatCount);

Completed in 1417 milliseconds

1 2