/external/speex/libspeex/ |
quant_lsp_bfin.h | 91 x[j] = SUB16(x[j],SHL16((spx_word16_t)cdbk[best_id*nbDim+j],5)); 161 x[j] = SUB16(x[j],SHL16((spx_word16_t)cdbk[best_id*nbDim+j],5));
|
math_approx.h | 170 x = SUB16(16384,x); 178 ret = SUB16(25736,ret); 197 x = SUB16(25736,x); 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)))))))); 300 return SUB16(25736, SHR16(spx_atan01(x),1));
|
quant_lsp.c | 111 tmp=SUB16(x[j],SHL16((spx_word16_t)*ptr++,5)); 122 x[j] = SUB16(x[j],SHL16((spx_word16_t)cdbk[best_id*nbDim+j],5)); 143 tmp=SUB16(x[j],SHL16((spx_word16_t)*ptr++,5)); 154 x[j] = SUB16(x[j],SHL16((spx_word16_t)cdbk[best_id*nbDim+j],5)); 171 qlsp[i]=SUB16(qlsp[i],LSP_LINEAR(i)); 254 qlsp[i]=SUB16(qlsp[i],LSP_LINEAR(i)); 340 qlsp[i]=SUB16(qlsp[i],LSP_LINEAR_HIGH(i));
|
lpc.c | 112 error = SUB16(error,MULT16_16_Q13(r,MULT16_16_Q13(error,r)));
|
cb_search.c | 94 t[n] = SUB16(t[n],PSHR32(MULT16_16(g,r[n]),13)); 179 t[subvect_size*i+m] = SUB16(t[subvect_size*i+m], res[m]); 236 target[j]=SUB16(target[j],PSHR16(r2[j],2)); 509 target[j]=SUB16(target[j],PSHR16(r2[j],2));
|
lsp.c | 166 b0 = SUB16(MULT16_16_Q13(x,b0), b1); 331 dd = MULT16_16_Q15(delta,SUB16(FREQ_SCALE, MULT16_16_Q14(MULT16_16_Q14(xl,xl),14000))); 339 xr = SUB16(xl, dd); /* interval spacing */
|
arch.h | 182 #define SUB16(a,b) ((a)-(b))
|
filterbank.c | 100 bank->filter_left[i] = SUB16(Q15_ONE,val);
|
fixed_generic.h | 66 #define SUB16(a,b) ((spx_word16_t)(a)-(spx_word16_t)(b))
|
mdf.c | 716 ss_1 = SUB16(32767,ss); 804 st->e[chan*N+i] = SUB16(st->input[chan*st->frame_size+i], st->e[chan*N+i+st->frame_size]); 886 st->e[chan*N+i] = SUB16(st->e[chan*N+i+st->frame_size], st->y[chan*N+i+st->frame_size]); 889 st->e[chan*N+i] = SUB16(st->input[chan*st->frame_size+i], st->y[chan*N+i+st->frame_size]); 956 st->e[chan*N+i] = SUB16(st->input[chan*st->frame_size+i], st->y[chan*N+i+st->frame_size]); [all...] |
preprocess.c | 283 tmp=SUB16(Q15_ONE,tmp); 800 st->post[i] = SUB16(DIV32_16_Q8(ps[i],tot_noise), QCONST16(1.f,SNR_SHIFT)); 827 effective_echo_suppress = EXTRACT16(PSHR32(ADD32(MULT16_16(SUB16(Q15_ONE,Pframe), st->echo_suppress), MULT16_16(Pframe, st->echo_suppress_active)),15)); 918 tmp = MULT16_16_P15(p,spx_sqrt(SHL32(EXTEND32(st->gain[i]),15))) + MULT16_16_P15(SUB16(Q15_ONE,p),spx_sqrt(SHL32(EXTEND32(st->gain_floor[i]),15))); 930 tmp = MULT16_16_P15(p,spx_sqrt(SHL32(EXTEND32(st->gain[i]),15))) + MULT16_16_P15(SUB16(Q15_ONE,p),spx_sqrt(SHL32(EXTEND32(st->gain_floor[i]),15))); [all...] |
fixed_debug.h | 190 #define SUB16(a, b) _SUB16(a, b, __FILE__, __LINE__) 196 fprintf (stderr, "SUB16: inputs are not short: %d %d in %s: line %d\n", a, b, file, line); 200 fprintf (stderr, "SUB16: output is not short: %d in %s: line %d\n", res, file, line);
|
filters.c | 466 y2k=SUB32(y2k,MULT16_16(a[j],SUB16(x[i+j],x2[i-j]))); 469 y2k=ADD32(y2k,MULT16_16(a[j],SUB16(x[i+j],x2[i-j])));
|
ltp.c | 520 new_target[i] = SUB16(new_target[i], EXTRACT16(PSHR32(tmp,6)));
|
/external/qemu/target-arm/ |
op_addsub.h | 47 uint32_t HELPER(glue(PFX,sub16))(uint32_t a, uint32_t b GE_ARG) 52 SUB16(a, b, 0); 53 SUB16(a >> 16, b >> 16, 1); 77 SUB16(a >> 16, b, 1); 87 SUB16(a, b >> 16, 0); 101 #undef SUB16
|
helper.c | [all...] |
/external/chromium_org/third_party/opus/src/celt/ |
mathops.c | 108 y = SHL16(SUB16(ADD16(MULT16_16_Q15(r2, n), r2), 16384), 1); 114 SUB16(MULT16_16_Q15(y, 12288), 16384)))); 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 196 r = SUB16(r, MULT16_16_Q15(r, 200 r = SUB16(r, ADD16(1, MULT16_16_Q15(r,
|
quant_bands.c | 149 opus_val16 d = SUB16(SHR16(eBands[i+c*len], 3), SHR16(oldEBands[i+c*len], 3)); 209 qi += (int)SHR16(SUB16(decay_bound,x), DB_SHIFT); 383 offset = SUB16(SHR32(SHL32(EXTEND32(q2),DB_SHIFT)+QCONST16(.5f,DB_SHIFT),fine_quant[i]),QCONST16(.5f,DB_SHIFT)); 502 offset = SUB16(SHR32(SHL32(EXTEND32(q2),DB_SHIFT)+QCONST16(.5f,DB_SHIFT),fine_quant[i]),QCONST16(.5f,DB_SHIFT));
|
vq.c | 82 s = celt_cos_norm(EXTEND32(SUB16(Q15ONE,theta))); /* sin(theta) */ 391 s = SUB16(SHR16(X[i],1),SHR16(Y[i],1));
|
arch.h | 173 #define SUB16(a,b) ((a)-(b))
|
fixed_generic.h | 98 #define SUB16(a,b) ((opus_val16)(a)-(opus_val16)(b))
|
bands.c | 423 X[j] = EXTRACT16(PSHR32(MULT16_16(lgain, SUB16(l,r)), kl+1)); [all...] |
fixed_debug.h | 259 #define SUB16(a, b) SUB16_(a, b, __FILE__, __LINE__) 265 fprintf (stderr, "SUB16: inputs are not short: %d %d in %s: line %d\n", a, b, file, line); 273 fprintf (stderr, "SUB16: output is not short: %d in %s: line %d\n", res, file, line);
|
celt_encoder.c | 400 mean_diff = ADD32(mean_diff, EXTEND32(MAX16(0, SUB16(x1, x2)))); [all...] |
/external/chromium_org/third_party/opus/src/src/ |
opus_multistream_encoder.c | 211 return max + diff_table[low] + MULT16_16_Q15(frac, SUB16(diff_table[low+1], diff_table[low]));
|