/third_party/pulseaudio/speex/libspeexdsp/ |
H A D | math_approx.h | 170 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(L3, MULT16_16_P15(L4, x2)))))))); in _spx_cos_pi_2() 300 return SUB16(25736, SHR16(spx_atan01(x),1)); in spx_atan()
|
H A D | mdf.c | 710 ss_1 = SUB16(32767,ss); in speex_echo_cancellation() 798 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() 880 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() 883 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() 950 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() 1062 st->Eh[j] = MAC16_32_Q15(MULT16_32_Q15(SUB16(32767,st->spec_average),st->Eh[j]), st->spec_average, st->Rf[j]); in speex_echo_cancellation() 1063 st->Yh[j] = MAC16_32_Q15(MULT16_32_Q15(SUB16(32767,st->spec_average),st->Yh[j]), st->spec_average, st->Yf[j]); in speex_echo_cancellation()
|
H A D | arch.h | 178 #define SUB16(a,b) ((a)-(b)) macro
|
H A D | filterbank.c | 100 bank->filter_left[i] = SUB16(Q15_ONE,val); in filterbank_new()
|
H A D | fixed_generic.h | 66 #define SUB16(a,b) ((spx_word16_t)(a)-(spx_word16_t)(b)) macro
|
H A D | preprocess.c | 279 tmp=SUB16(Q15_ONE,tmp); in conj_window() 796 st->post[i] = SUB16(DIV32_16_Q8(ps[i],tot_noise), QCONST16(1.f,SNR_SHIFT)); in speex_preprocess_run() 823 effective_echo_suppress = EXTRACT16(PSHR32(ADD32(MULT16_16(SUB16(Q15_ONE,Pframe), st->echo_suppress), MULT16_16(Pframe, st->echo_suppress_active)),15)); in speex_preprocess_run() 914 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))); in speex_preprocess_run() 926 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))); in speex_preprocess_run()
|
H A D | fixed_debug.h | 190 #define SUB16(a, b) _SUB16(a, b, __FILE__, __LINE__) macro 196 fprintf (stderr, "SUB16: inputs are not short: %d %d in %s: line %d\n", a, b, file, line); in _SUB16() 200 fprintf (stderr, "SUB16: output is not short: %d in %s: line %d\n", res, file, line); in _SUB16()
|
/third_party/pulseaudio/speex/tmv/ |
H A D | fixed_tm.h | 74 #undef SUB16 macro 81 #define SUB16(a,b) ((int)(a) - (int)(b)) macro
|
H A D | preprocess_tm.h | 681 posti = SUB16(DIV32_16_Q8(ps[i],tot_noise), QCONST16(1.f,SNR_SHIFT)); in preprocess_compute_SNR() 858 MULT16_16_P15(SUB16(Q15_ONE,p),spx_sqrt(SHL32(EXTEND32(gfi),15))); in preprocess_compute_linear_gain() 896 MULT16_16_P15(SUB16(Q15_ONE,p),spx_sqrt(SHL32(EXTEND32(gfi),15))); 1072 effective_echo_suppress = EXTRACT16(PSHR32(ADD32(MULT16_16(SUB16(Q15_ONE,Pframe), st->echo_suppress), in speex_preprocess_run()
|
H A D | mdf_tm.h | 805 ss_1 = SUB16(32767,ss); in mdf_smooth() 858 register spx_word16_t spec_average1 = SUB16(32767,spec_average); in mdf_compute_filtered_spectra_crosscorrelations()
|