Home
last modified time | relevance | path

Searched refs:MAX16 (Results 1 - 5 of 5) sorted by relevance

/third_party/pulseaudio/speex/tmv/
H A Dfixed_tm.h68 #undef MAX16 macro
70 #define MAX16(a,b) imax((int)(a),(int)(b)) macro
H A Dpreprocess_tm.h630 beta = MAX16(QCONST16(.03,15),DIV32_16(Q15_ONE,st->nb_adapt)); in preprocess_update_noise()
689 priori = EXTRACT16(PSHR32(ADD32(MULT16_16(gamma,MAX16(0,posti)), MULT16_16(Q15_ONE-gamma,DIV32_16_Q8(opsi,tot_noise))), 15)); in preprocess_compute_SNR()
891 gaini = MAX16(gain[i], gfi);
/third_party/pulseaudio/speex/libspeexdsp/
H A Dfixed_bfin.h93 #undef MAX16 macro
94 static inline spx_word16_t MAX16(spx_word16_t a, spx_word16_t b) in MAX16() function
H A Darch.h78 #define MAX16(a,b) ((a) > (b) ? (a) : (b)) /**< Maximum 16-bit value. */ macro
H A Dpreprocess.c312 x = MAX16(x, 1); in qcurve()
640 max_val = MAX16(max_val, ABS16(st->frame[i])); in preprocess_analysis()
740 beta = MAX16(QCONST16(.03,15),DIV32_16(Q15_ONE,st->nb_adapt)); in speex_preprocess_run()
803 st->prior[i] = EXTRACT16(PSHR32(ADD32(MULT16_16(gamma,MAX16(0,st->post[i])), MULT16_16(Q15_ONE-gamma,DIV32_16_Q8(st->old_ps[i],tot_noise))), 15)); in speex_preprocess_run()
925 st->gain[i] = MAX16(st->gain[i], st->gain_floor[i]); in speex_preprocess_run()

Completed in 5 milliseconds