Searched refs:F32_TO_S8 (Results 1 – 2 of 2) sorted by relevance
720 d[j] = F32_TO_S8(s[j]); in conv_f32d_to_s8d_c()735 d[i] = F32_TO_S8(s[i]); in conv_f32_to_s8_c()748 d[i][j] = F32_TO_S8(*s++); in conv_f32_to_s8d_c()762 *d++ = F32_TO_S8(s[i][j]); in conv_f32d_to_s8_c()
48 #define F32_TO_S8(v) (int8_t)(SPA_CLAMP(v, -1.0f, 1.0f) * S8_SCALE) macro