/external/chromium_org/third_party/opus/src/celt/ |
mathops.c | 102 r = ADD16(23557, MULT16_16_Q15(n, ADD16(-13490, MULT16_16_Q15(n, 6713)))); 108 y = SHL16(SUB16(ADD16(MULT16_16_Q15(r2, n), r2), 16384), 1); 113 return ADD16(r, MULT16_16_Q15(r, MULT16_16_Q15(y, 131 rt = ADD16(C[0], MULT16_16_Q15(n, ADD16(C[1], MULT16_16_Q15(n, ADD16(C[2], 132 MULT16_16_Q15(n, ADD16(C[3], MULT16_16_Q15(n, (C[4]))))))))); 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 192 r = ADD16(30840, MULT16_16_Q15(-15420, n)) [all...] |
mathops.h | 180 frac = ADD16(C[0], MULT16_16_Q15(n, ADD16(C[1], MULT16_16_Q15(n, ADD16(C[2], MULT16_16_Q15(n, ADD16(C[3], MULT16_16_Q15(n, C[4])))))))); 199 return ADD16(D0, MULT16_16_Q15(frac, ADD16(D1, MULT16_16_Q15(frac, ADD16(D2 , MULT16_16_Q15(D3,frac))))));
|
vq.c | 274 Ryy = ADD16(yy, y[j]); 293 yy = ADD16(yy, y[best_id]); 390 m = ADD16(SHR16(X[i],1),SHR16(Y[i],1));
|
arch.h | 172 #define ADD16(a,b) ((a)+(b))
|
fixed_generic.h | 96 #define ADD16(a,b) ((opus_val16)((opus_val16)(a)+(opus_val16)(b)))
|
bands.c | 216 lg = ADD16(bandLogE[i+c*m->nbEBands], SHL16((opus_val16)eMeans[i],6)); 424 Y[j] = EXTRACT16(PSHR32(MULT16_16(rgain, ADD16(l,r)), kr+1)); [all...] |
fixed_debug.h | 236 #define ADD16(a, b) ADD16_(a, b, __FILE__, __LINE__) 242 fprintf (stderr, "ADD16: inputs are not short: %d %d in %s: line %d\n", a, b, file, line); 250 fprintf (stderr, "ADD16: output is not short: %d+%d=%d in %s: line %d\n", a,b,res, file, line);
|
celt_encoder.c | 579 tmp[j] = ADD16(SHR16(tmp[j], 1),SHR16(X[N0+j+(m->eBands[i]<<LM)], 1));*/ 765 sum = ADD16(sum, EXTRACT16(SHR32(partial, 18))); [all...] |
/external/qemu/target-arm/ |
op_addsub.h | 23 uint32_t HELPER(glue(PFX,add16))(uint32_t a, uint32_t b GE_ARG) 28 ADD16(a, b, 0); 29 ADD16(a >> 16, b >> 16, 1); 76 ADD16(a, b >> 16, 0); 88 ADD16(a >> 16, b, 1); 100 #undef ADD16
|
helper.c | [all...] |
/external/speex/libspeex/ |
math_approx.h | 148 rt = ADD16(C0, MULT16_16_Q14(x, ADD16(C1, MULT16_16_Q14(x, ADD16(C2, MULT16_16_Q14(x, (C3))))))); 173 sq = MULT16_16_Q13(x, ADD16(A1, MULT16_16_Q13(x, ADD16(A2, MULT16_16_Q13(x, (A3)))))); 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)))))))); 260 frac = ADD16(D0, MULT16_16_Q14(frac, ADD16(D1, MULT16_16_Q14(frac, ADD16(D2 , MULT16_16_Q14(D3,frac))))));
|
ltp_bfin.h | 260 if (MULT16_16(tmp,best_ener[N-1])>MULT16_16(best_score[N-1],ADD16(1,ener16[i-start]))) 269 if (MULT16_16(tmp,best_ener[j])>MULT16_16(best_score[j],ADD16(1,ener16[i-start])))
|
ltp.c | 265 if (MULT16_16(tmp,best_ener[N-1])>MULT16_16(best_score[N-1],ADD16(1,ener16[i-start]))) 274 if (MULT16_16(tmp,best_ener[j])>MULT16_16(best_score[j],ADD16(1,ener16[i-start]))) 330 g[0]=ADD16((spx_word16_t)ptr[0],32); 331 g[1]=ADD16((spx_word16_t)ptr[1],32); 332 g[2]=ADD16((spx_word16_t)ptr[2],32); 487 gain[0] = ADD16(32,(spx_word16_t)gain_cdbk[best_cdbk*4]); 488 gain[1] = ADD16(32,(spx_word16_t)gain_cdbk[best_cdbk*4+1]); 489 gain[2] = ADD16(32,(spx_word16_t)gain_cdbk[best_cdbk*4+2]); 690 gain[0] = ADD16(32,(spx_word16_t)gain_cdbk[gain_index*4]); 691 gain[1] = ADD16(32,(spx_word16_t)gain_cdbk[gain_index*4+1]) [all...] |
lpc.c | 97 r = DIV32_16(rr+PSHR32(error,1),ADD16(error,8));
|
quant_lsp.c | 53 #define LSP_LINEAR_HIGH(i) (ADD16(MULT16_16_16(i,2560),6144)) 88 quant_weight[i] = DIV32_16(81920,ADD16(300,tmp1)); 226 lsp[i] = ADD16(lsp[i], LSP_DIV_512(cdbk_nb_low1[id*5+i]));
|
fixed_debug.h | 163 #define PSHR16(a,shift) (SHR16(ADD16((a),((1<<((shift))>>1))),shift)) 173 #define ADD16(a, b) _ADD16(a, b, __FILE__, __LINE__) 179 fprintf (stderr, "ADD16: inputs are not short: %d %d in %s: line %d\n", a, b, file, line); 184 fprintf (stderr, "ADD16: output is not short: %d+%d=%d in %s: line %d\n", a,b,res, file, line); 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)))))
|
filters.c | 425 y1 = ADD16(y[i], EXTRACT16(PSHR32(mem1[0],LPC_SHIFT))); 465 y1k=ADD32(y1k,MULT16_16(a[j],ADD16(x[i+j],x2[i-j]))); 468 y1k=ADD32(y1k,MULT16_16(a[j],ADD16(x[i+j],x2[i-j]))); 747 iexc0_mag = ADD16(1,PSHR16(exc_mag,6)); 749 iexc1_mag = ADD16(1,PSHR16(exc_mag,6)); 796 new_exc[i] = ADD16(exc[i], EXTRACT16(PSHR32(ADD32(MULT16_16(gain0,iexc[i]), MULT16_16(gain1,iexc[i+nsf])),8)));
|
arch.h | 181 #define ADD16(a,b) ((a)+(b))
|
fixed_generic.h | 65 #define ADD16(a,b) ((spx_word16_t)((spx_word16_t)(a)+(spx_word16_t)(b)))
|
preprocess.c | 317 return DIV32_16(SHL32(EXTEND32(32767),9),ADD16(512,MULT16_16_Q15(QCONST16(.60f,15),DIV32_16(32767,x)))); 850 prior_ratio = PDIV32_16(SHL32(EXTEND32(st->prior[i]), 15), ADD16(st->prior[i], SHL32(1,SNR_SHIFT))); 866 st->gain2[i]=DIV32_16(SHL32(EXTEND32(32767),SNR_SHIFT), ADD16(256,tmp)); 891 prior_ratio = PDIV32_16(SHL32(EXTEND32(st->prior[i]), 15), ADD16(st->prior[i], SHL32(1,SNR_SHIFT))); [all...] |
nb_celp.c | 313 autocorr[0] = ADD16(autocorr[0],MULT16_16_Q15(autocorr[0],st->lpc_floor)); /* Noise floor in auto-correlation domain */ [all...] |
cb_search.c | 182 t[subvect_size*i+m] = ADD16(t[subvect_size*i+m], res[m]);
|
lsp.c | 360 xm = ADD16(PSHR16(xl,1),PSHR16(xr,1)); /* bisect the interval */
|
sb_celp.c | 400 autocorr[0] = ADD16(autocorr[0],MULT16_16_Q15(autocorr[0],st->lpc_floor)); /* Noise floor in auto-correlation domain */ 607 g=PDIV32(MULT16_16(filter_ratio,eh),EXTEND32(ADD16(1,el))); [all...] |