Home
last modified time | relevance | path

Searched refs:SUB16 (Results 1 – 18 of 18) sorted by relevance

/external/qemu/target-arm/
Dop_addsub.h52 SUB16(a, b, 0); in HELPER()
53 SUB16(a >> 16, b >> 16, 1); in HELPER()
77 SUB16(a >> 16, b >> 16, 1); in HELPER()
87 SUB16(a, b, 0); in HELPER()
101 #undef SUB16
Dhelper.c2085 #define SUB16(a, b, n) RESULT(sub16_sat(a, b), n, 16); macro
2128 #define SUB16(a, b, n) RESULT(sub16_usat(a, b), n, 16); macro
2154 #define SUB16(a, b, n) SARITH16(a, b, n, -) macro
2179 #define SUB16(a, b, n) do { \ macro
2203 #define SUB16(a, b, n) \ macro
2216 #define SUB16(a, b, n) \ macro
/external/speex/libspeex/
Dmath_approx.h170 x = SUB16(16384,x); in spx_acos()
178 ret = SUB16(25736,ret); in spx_acos()
197 x = SUB16(25736,x); in spx_cos()
213 …return ADD16(1,MIN16(32766,ADD32(SUB16(L1,x2), MULT16_16_P15(x2, ADD32(L2, MULT16_16_P15(x2, ADD32… in _spx_cos_pi_2()
300 return SUB16(25736, SHR16(spx_atan01(x),1)); in spx_atan()
Dquant_lsp.c111 tmp=SUB16(x[j],SHL16((spx_word16_t)*ptr++,5)); in lsp_quant()
122 x[j] = SUB16(x[j],SHL16((spx_word16_t)cdbk[best_id*nbDim+j],5)); in lsp_quant()
143 tmp=SUB16(x[j],SHL16((spx_word16_t)*ptr++,5)); in lsp_weight_quant()
154 x[j] = SUB16(x[j],SHL16((spx_word16_t)cdbk[best_id*nbDim+j],5)); in lsp_weight_quant()
171 qlsp[i]=SUB16(qlsp[i],LSP_LINEAR(i)); in lsp_quant_nb()
254 qlsp[i]=SUB16(qlsp[i],LSP_LINEAR(i)); in lsp_quant_lbr()
340 qlsp[i]=SUB16(qlsp[i],LSP_LINEAR_HIGH(i)); in lsp_quant_high()
Dquant_lsp_bfin.h91 x[j] = SUB16(x[j],SHL16((spx_word16_t)cdbk[best_id*nbDim+j],5)); in lsp_quant()
161 x[j] = SUB16(x[j],SHL16((spx_word16_t)cdbk[best_id*nbDim+j],5)); in lsp_weight_quant()
Dcb_search.c94 t[n] = SUB16(t[n],PSHR32(MULT16_16(g,r[n]),13)); in target_update()
179 t[subvect_size*i+m] = SUB16(t[subvect_size*i+m], res[m]); in split_cb_search_shape_sign_N1()
236 target[j]=SUB16(target[j],PSHR16(r2[j],2)); in split_cb_search_shape_sign_N1()
509 target[j]=SUB16(target[j],PSHR16(r2[j],2)); in split_cb_search_shape_sign()
Dlsp.c166 b0 = SUB16(MULT16_16_Q13(x,b0), b1); in cheb_poly_eva()
331 dd = MULT16_16_Q15(delta,SUB16(FREQ_SCALE, MULT16_16_Q14(MULT16_16_Q14(xl,xl),14000))); in lpc_to_lsp()
339 xr = SUB16(xl, dd); /* interval spacing */ in lpc_to_lsp()
Dlpc.c112 error = SUB16(error,MULT16_16_Q13(r,MULT16_16_Q13(error,r))); in _spx_lpc()
Dmdf.c716 ss_1 = SUB16(32767,ss); in speex_echo_cancellation()
804 st->e[chan*N+i] = SUB16(st->input[chan*st->frame_size+i], st->e[chan*N+i+st->frame_size]); in speex_echo_cancellation()
886 st->e[chan*N+i] = SUB16(st->e[chan*N+i+st->frame_size], st->y[chan*N+i+st->frame_size]); in speex_echo_cancellation()
889 st->e[chan*N+i] = SUB16(st->input[chan*st->frame_size+i], st->y[chan*N+i+st->frame_size]); in speex_echo_cancellation()
956 … st->e[chan*N+i] = SUB16(st->input[chan*st->frame_size+i], st->y[chan*N+i+st->frame_size]); in speex_echo_cancellation()
1068 …st->Eh[j] = MAC16_32_Q15(MULT16_32_Q15(SUB16(32767,st->spec_average),st->Eh[j]), st->spec_average,… in speex_echo_cancellation()
1069 …st->Yh[j] = MAC16_32_Q15(MULT16_32_Q15(SUB16(32767,st->spec_average),st->Yh[j]), st->spec_average,… in speex_echo_cancellation()
Dpreprocess.c283 tmp=SUB16(Q15_ONE,tmp); in conj_window()
800 st->post[i] = SUB16(DIV32_16_Q8(ps[i],tot_noise), QCONST16(1.f,SNR_SHIFT)); in speex_preprocess_run()
827 …effective_echo_suppress = EXTRACT16(PSHR32(ADD32(MULT16_16(SUB16(Q15_ONE,Pframe), st->echo_suppres… in speex_preprocess_run()
918 …tmp = MULT16_16_P15(p,spx_sqrt(SHL32(EXTEND32(st->gain[i]),15))) + MULT16_16_P15(SUB16(Q15_ONE,p),… in speex_preprocess_run()
930 …tmp = MULT16_16_P15(p,spx_sqrt(SHL32(EXTEND32(st->gain[i]),15))) + MULT16_16_P15(SUB16(Q15_ONE,p),… in speex_preprocess_run()
Dfixed_generic.h62 #define SUB16(a,b) ((spx_word16_t)(a)-(spx_word16_t)(b)) macro
Darch.h181 #define SUB16(a,b) ((a)-(b)) macro
Dfilterbank.c100 bank->filter_left[i] = SUB16(Q15_ONE,val); in filterbank_new()
Dfilters.c466 y2k=SUB32(y2k,MULT16_16(a[j],SUB16(x[i+j],x2[i-j]))); in qmf_decomp()
469 y2k=ADD32(y2k,MULT16_16(a[j],SUB16(x[i+j],x2[i-j]))); in qmf_decomp()
Dfixed_debug.h190 #define SUB16(a, b) _SUB16(a, b, __FILE__, __LINE__) macro
Dltp.c520 new_target[i] = SUB16(new_target[i], EXTRACT16(PSHR32(tmp,6))); in pitch_gain_search_3tap()
Dnb_celp.c1052 …noise_gain = MULT16_16_Q15(innov_gain, MULT16_16_Q15(fact, SUB16(Q15ONE,MULT16_16_Q15(pitch_gain,p… in nb_decode_lost()
1453SUB16(MULT16_16_Q15(Q15_ONE-MULT16_16_16(QCONST16(.85f,9),g),EXTRACT16(PSHR32(innov[i],SIG_SHIFT))… in nb_decode()
Dsb_celp.c686 target[i]=SUB16(sw[i],res[i]); in sb_encode()