Lines Matching refs:max_val
65 void sanitize_values32(spx_word32_t *vec, spx_word32_t min_val, spx_word32_t max_val, int len)
71 if (!(vec[i]>=min_val && vec[i] <= max_val))
75 else if (vec[i] > max_val)
76 vec[i] = max_val;
183 spx_sig_t max_val=1;
191 if (tmp > max_val)
192 max_val = tmp;
196 while (max_val>16383)
199 max_val >>= 1;
223 spx_word16_t max_val=10;
230 if (tmp > max_val)
231 max_val = tmp;
233 if (max_val>16383)
249 if (max_val < 8192)
251 if (max_val < 4096)
253 if (max_val < 2048)
272 spx_sig_t max_val=1;
280 if (tmp >= max_val)
281 max_val = tmp;
285 while (max_val>max_scale)
288 max_val >>= 1;