Home
last modified time | relevance | path

Searched defs:WORD2INT (Results 1 – 3 of 3) sorted by relevance

/external/speex/libspeex/
Dresample_neon.h52 #define WORD2INT(x) (saturate_32bit_to_16bit(x)) macro
125 #define WORD2INT(x) (saturate_float_to_16bit(x)) macro
Dmdf.c92 #define WORD2INT(x) ((x) < -32767 ? -32768 : ((x) > 32766 ? 32767 : (x))) macro
94 #define WORD2INT(x) ((x) < -32767.5f ? -32768 : ((x) > 32766.5f ? 32767 : floor(.5+(x)))) macro
Dresample.c86 #define WORD2INT(x) ((x) < -32767 ? -32768 : ((x) > 32766 ? 32767 : (x))) macro
88 #define WORD2INT(x) ((x) < -32767.5f ? -32768 : ((x) > 32766.5f ? 32767 : floor(.5+(x)))) macro