Functions | |
| static void | hpm_dsp_clip_f32 (float32_t *src, float32_t *dst, float32_t low, float32_t high, uint32_t size) |
| Elementwise clipping of f32 function. More... | |
| static void | hpm_dsp_clip_q31 (q31_t *src, q31_t *dst, q31_t low, q31_t high, uint32_t size) |
| Elementwise clipping of q31 function. More... | |
| static void | hpm_dsp_clip_q15 (q15_t *src, q15_t *dst, q15_t low, q15_t high, uint32_t size) |
| Elementwise clipping of q15 function. More... | |
| static void | hpm_dsp_clip_q7 (q7_t *src, q7_t *dst, q7_t low, q7_t high, uint32_t size) |
| Elementwise clipping of q7 function. More... | |
|
inlinestatic |
#include <middleware/hpm_math/hpm_math.h>
Elementwise clipping of f32 function.
| [in] | *src | pointer of the input vector |
| [out] | *dst | pointer of the output vector |
| [in] | low | lower bound. |
| [in] | high | higher bound. |
| [in] | size | number of elements in a vector |
|
inlinestatic |
#include <middleware/hpm_math/hpm_math.h>
Elementwise clipping of q15 function.
| [in] | *src | pointer of the input vector |
| [out] | *dst | pointer of the output vector |
| [in] | low | lower bound. |
| [in] | high | higher bound. |
| [in] | size | number of elements in a vector |
|
inlinestatic |
#include <middleware/hpm_math/hpm_math.h>
Elementwise clipping of q31 function.
| [in] | *src | pointer of the input vector |
| [out] | *dst | pointer of the output vector |
| [in] | low | lower bound. |
| [in] | high | higher bound. |
| [in] | size | number of elements in a vector |
|
inlinestatic |
#include <middleware/hpm_math/hpm_math.h>
Elementwise clipping of q7 function.
| [in] | *src | pointer of the input vector |
| [out] | *dst | pointer of the output vector |
| [in] | low | lower bound. |
| [in] | high | higher bound. |
| [in] | size | number of elements in a vector |