Searched refs:clamp16 (Results 1 – 2 of 2) sorted by relevance
24 const int32_t l = clamp16(*sums++ >> 12); in ditherAndClamp()25 const int32_t r = clamp16(*sums++ >> 12); in ditherAndClamp()33 *dst++ = clamp16(*src++ >> 12); in memcpy_to_i16_from_q4_27()271 *dst++ = clamp16(*src++ >> 8); in memcpy_to_i16_from_q8_23()593 *dst = clamp16((int32_t)*dst + *src++); in accumulate_i16()
749 static inline int16_t clamp16(int32_t sample) in clamp16() function