Home
last modified time | relevance | path

Searched refs:clamp16_from_float (Results 1 – 3 of 3) sorted by relevance

/system/media/audio_utils/include/audio_utils/
Dprimitives.h779 static inline int16_t clamp16_from_float(float f) in clamp16_from_float() function
/system/media/audio_utils/tests/
Dprimitives_tests.cpp66 int16_t ival = clamp16_from_float(f / (1 << 15)); in testClamp16()
77 int ival2 = clamp16_from_float(float_from_i16(ival)); in testClamp16()
/system/media/audio_utils/
Dprimitives.c96 *dst++ = clamp16_from_float(*src++); in memcpy_to_i16_from_float()