/external/speex/libspeex/ |
fixed_generic.h | 67 #define ADD32(a,b) ((spx_word32_t)(a)+(spx_word32_t)(b)) 77 #define MAC16_16(c,a,b) (ADD32((c),MULT16_16((a),(b)))) 78 #define MULT16_32_Q12(a,b) ADD32(MULT16_16((a),SHR((b),12)), SHR(MULT16_16((a),((b)&0x00000fff)),12)) 79 #define MULT16_32_Q13(a,b) ADD32(MULT16_16((a),SHR((b),13)), SHR(MULT16_16((a),((b)&0x00001fff)),13)) 80 #define MULT16_32_Q14(a,b) ADD32(MULT16_16((a),SHR((b),14)), SHR(MULT16_16((a),((b)&0x00003fff)),14)) 82 #define MULT16_32_Q11(a,b) ADD32(MULT16_16((a),SHR((b),11)), SHR(MULT16_16((a),((b)&0x000007ff)),11)) 83 #define MAC16_32_Q11(c,a,b) ADD32(c,ADD32(MULT16_16((a),SHR((b),11)), SHR(MULT16_16((a),((b)&0x000007ff)),11))) 85 #define MULT16_32_P15(a,b) ADD32(MULT16_16((a),SHR((b),15)), PSHR(MULT16_16((a),((b)&0x00007fff)),15)) 86 #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...] |
/external/chromium_org/third_party/opus/src/celt/ |
fixed_generic.h | 40 #define MULT16_32_Q16(a,b) ADD32(MULT16_16((a),SHR((b),16)), SHR(MULT16_16SU((a),((b)&0x0000ffff)),16)) 43 #define MULT16_32_P16(a,b) ADD32(MULT16_16((a),SHR((b),16)), PSHR(MULT16_16SU((a),((b)&0x0000ffff)),16)) 46 #define MULT16_32_Q15(a,b) ADD32(SHL(MULT16_16((a),SHR((b),16)),1), SHR(MULT16_16SU((a),((b)&0x0000ffff)),15)) 49 #define MULT32_32_Q31(a,b) ADD32(ADD32(SHL(MULT16_16(SHR((a),16),SHR((b),16)),1), SHR(MULT16_16SU(SHR((a),16),((b)&0x0000ffff)),15)), SHR(MULT16_16SU(SHR((b),16),((a)&0x0000ffff)),15)) 100 #define ADD32(a,b) ((opus_val32)(a)+(opus_val32)(b)) 112 #define MAC16_16(c,a,b) (ADD32((c),MULT16_16((a),(b)))) 116 #define MAC16_32_Q15(c,a,b) ADD32(c,ADD32(MULT16_16((a),SHR((b),15)), SHR(MULT16_16((a),((b)&0x00007fff)),15))) 124 #define MULT16_16_P13(a,b) (SHR(ADD32(4096,MULT16_16((a),(b))),13) [all...] |
_kiss_fft_guts.h | 62 (m).i = ADD32(S_MUL((a).r,(b).i) , S_MUL((a).i,(b).r)); }while(0) 65 do{ (m).r = ADD32(S_MUL((a).r,(b).r) , S_MUL((a).i,(b).i)); \ 70 (m).i = SHR32(ADD32(S_MUL((a).r,(b).i) , S_MUL((a).i,(b).r)),2); }while(0) 84 do {(res).r=ADD32((a).r,(b).r); (res).i=ADD32((a).i,(b).i); \ 90 do {(res).r = ADD32((res).r, (a).r); (res).i = ADD32((res).i,(a).i);\ 94 do {(res).r = ADD32((res).r,(a).r); (res).i = SUB32((res).i,(a).i); \
|
celt.c | 103 + MULT16_32_Q15(g11,ADD32(x1,x3)) 104 + MULT16_32_Q15(g12,ADD32(x0,x4)); 151 + MULT16_32_Q15(MULT16_16_Q15((Q15ONE-f),g01),ADD32(x[i-T0+1],x[i-T0-1])) 152 + MULT16_32_Q15(MULT16_16_Q15((Q15ONE-f),g02),ADD32(x[i-T0+2],x[i-T0-2])) 154 + MULT16_32_Q15(MULT16_16_Q15(f,g11),ADD32(x1,x3)) 155 + MULT16_32_Q15(MULT16_16_Q15(f,g12),ADD32(x0,x4));
|
mathops.c | 80 result = ADD32(result, SHL32(MULT16_32_Q15(rcp, rem),2)); 147 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
|
celt_lpc.c | 128 _y[i ] = SATURATE16(ADD32(EXTEND32(_x[i ]), PSHR32(sum[0], SIG_SHIFT))); 129 _y[i+1] = SATURATE16(ADD32(EXTEND32(_x[i+1]), PSHR32(sum[1], SIG_SHIFT))); 130 _y[i+2] = SATURATE16(ADD32(EXTEND32(_x[i+2]), PSHR32(sum[2], SIG_SHIFT))); 131 _y[i+3] = SATURATE16(ADD32(EXTEND32(_x[i+3]), PSHR32(sum[3], SIG_SHIFT))); 138 _y[i] = SATURATE16(ADD32(EXTEND32(_x[i]), PSHR32(sum, SIG_SHIFT)));
|
mathops.h | 230 return MULT16_16_P15(x, ADD32(M1, MULT16_16_P15(x, ADD32(M2, MULT16_16_P15(x, ADD32(M3, MULT16_16_P15(M4, x)))))));
|
fixed_c5x.h | 71 #define MULT16_32_Q15(a,b) ADD32(SHL(MULT16_16((a),SHR((b),16)),1), SHR(MULT16_16SU((a),(b)),15))
|
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)) 48 #define MULT16_32_Q16(a,b) ADD32(MULT16_16((a),SHR32((b),16)), SHR32(MULT16_16SU((a),((b)&0x0000ffff)),16)) 226 #define PSHR32(a,shift) (celt_mips--,SHR32(ADD32((a),(((opus_val32)(1)<<((shift))>>1))),shift)) 282 #define ADD32(a, b) ADD32_(a, b, __FILE__, __LINE__) 288 fprintf (stderr, "ADD32: inputs are not int: %d %d in %s: line %d\n", (int)a, (int)b, file, line); 296 fprintf (stderr, "ADD32: output is not int: %d in %s: line %d\n", (int)res, file, line); 429 #define MAC16_16(c,a,b) (celt_mips-=2,ADD32((c),MULT16_16((a),(b)))) 498 #define MAC16_32_Q15(c,a,b) (celt_mips-=2,ADD32((c),MULT16_32_Q15((a),(b))))
|
/external/libopus/celt/ |
fixed_generic.h | 40 #define MULT16_32_Q16(a,b) ADD32(MULT16_16((a),SHR((b),16)), SHR(MULT16_16SU((a),((b)&0x0000ffff)),16)) 43 #define MULT16_32_P16(a,b) ADD32(MULT16_16((a),SHR((b),16)), PSHR(MULT16_16SU((a),((b)&0x0000ffff)),16)) 46 #define MULT16_32_Q15(a,b) ADD32(SHL(MULT16_16((a),SHR((b),16)),1), SHR(MULT16_16SU((a),((b)&0x0000ffff)),15)) 49 #define MULT32_32_Q31(a,b) ADD32(ADD32(SHL(MULT16_16(SHR((a),16),SHR((b),16)),1), SHR(MULT16_16SU(SHR((a),16),((b)&0x0000ffff)),15)), SHR(MULT16_16SU(SHR((b),16),((a)&0x0000ffff)),15)) 100 #define ADD32(a,b) ((opus_val32)(a)+(opus_val32)(b)) 112 #define MAC16_16(c,a,b) (ADD32((c),MULT16_16((a),(b)))) 116 #define MAC16_32_Q15(c,a,b) ADD32(c,ADD32(MULT16_16((a),SHR((b),15)), SHR(MULT16_16((a),((b)&0x00007fff)),15))) 124 #define MULT16_16_P13(a,b) (SHR(ADD32(4096,MULT16_16((a),(b))),13) [all...] |
_kiss_fft_guts.h | 62 (m).i = ADD32(S_MUL((a).r,(b).i) , S_MUL((a).i,(b).r)); }while(0) 65 do{ (m).r = ADD32(S_MUL((a).r,(b).r) , S_MUL((a).i,(b).i)); \ 70 (m).i = SHR32(ADD32(S_MUL((a).r,(b).i) , S_MUL((a).i,(b).r)),2); }while(0) 84 do {(res).r=ADD32((a).r,(b).r); (res).i=ADD32((a).i,(b).i); \ 90 do {(res).r = ADD32((res).r, (a).r); (res).i = ADD32((res).i,(a).i);\ 94 do {(res).r = ADD32((res).r,(a).r); (res).i = SUB32((res).i,(a).i); \
|
celt.c | 103 + MULT16_32_Q15(g11,ADD32(x1,x3)) 104 + MULT16_32_Q15(g12,ADD32(x0,x4)); 151 + MULT16_32_Q15(MULT16_16_Q15((Q15ONE-f),g01),ADD32(x[i-T0+1],x[i-T0-1])) 152 + MULT16_32_Q15(MULT16_16_Q15((Q15ONE-f),g02),ADD32(x[i-T0+2],x[i-T0-2])) 154 + MULT16_32_Q15(MULT16_16_Q15(f,g11),ADD32(x1,x3)) 155 + MULT16_32_Q15(MULT16_16_Q15(f,g12),ADD32(x0,x4));
|
mathops.c | 80 result = ADD32(result, SHL32(MULT16_32_Q15(rcp, rem),2)); 147 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
|
celt_lpc.c | 128 _y[i ] = SATURATE16(ADD32(EXTEND32(_x[i ]), PSHR32(sum[0], SIG_SHIFT))); 129 _y[i+1] = SATURATE16(ADD32(EXTEND32(_x[i+1]), PSHR32(sum[1], SIG_SHIFT))); 130 _y[i+2] = SATURATE16(ADD32(EXTEND32(_x[i+2]), PSHR32(sum[2], SIG_SHIFT))); 131 _y[i+3] = SATURATE16(ADD32(EXTEND32(_x[i+3]), PSHR32(sum[3], SIG_SHIFT))); 138 _y[i] = SATURATE16(ADD32(EXTEND32(_x[i]), PSHR32(sum, SIG_SHIFT)));
|
mathops.h | 230 return MULT16_16_P15(x, ADD32(M1, MULT16_16_P15(x, ADD32(M2, MULT16_16_P15(x, ADD32(M3, MULT16_16_P15(M4, x)))))));
|
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
rtcp_receiver_unittest.cc | 69 void Add32(uint32_t word) { 77 Add32(upper_half); 78 Add32(lower_half); 99 Add32(word); 104 Add32(sender_ssrc); 106 Add32(0x10203); // RTP timestamp 107 Add32(0); // Sender's packet count 108 Add32(0); // Sender's octet count 124 Add32(sender_ssrc); 135 Add32(rtp_ssrc) [all...] |
/external/chromium_org/third_party/opus/src/celt/arm/ |
fixed_armv4.h | 69 #define MAC16_32_Q15(c, a, b) ADD32(c, MULT16_32_Q15(a, b))
|
/external/libopus/celt/arm/ |
fixed_armv4.h | 69 #define MAC16_32_Q15(c, a, b) ADD32(c, MULT16_32_Q15(a, b))
|