|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Extra utility functions for DSP. More...
#include <stdint.h>#include <zephyr/sys/minmax.h>#include <zephyr/kernel.h>#include <zephyr/dsp/types.h>Go to the source code of this file.
Functions | |
| static float32_t | zdsp_q7_to_f32_shift (q7_t src, uint32_t m) |
| Convert a Q7 fixed-point value to a floating-point (float32_t) value with a left shift. | |
| static float32_t | zdsp_q15_to_f32_shift (q15_t src, uint32_t m) |
| Convert a Q15 fixed-point value to a floating-point (float32_t) value with a left shift. | |
| static float32_t | zdsp_q31_to_f32_shift (q31_t src, uint32_t m) |
| Convert a Q31 fixed-point value to a floating-point (float32_t) value with a left shift. | |
| static float64_t | zdsp_q7_to_f64_shift (q7_t src, uint32_t m) |
| Convert a Q7 fixed-point value to a floating-point (float64_t) value with a left shift. | |
| static float64_t | zdsp_q15_to_f64_shift (q15_t src, uint32_t m) |
| Convert a Q15 fixed-point value to a floating-point (float64_t) value with a left shift. | |
| static float64_t | zdsp_q31_to_f64_shift (q31_t src, uint32_t m) |
| Convert a Q31 fixed-point value to a floating-point (float64_t) value with a left shift. | |
| static q7_t | zdsp_f32_to_q7_shift (float32_t src, uint32_t m) |
| Convert a floating-point (float32_t) value to a Q7 fixed-point value with a right shift. | |
| static q15_t | zdsp_f32_to_q15_shift (float32_t src, uint32_t m) |
| Convert a floating-point (float32_t) value to a Q15 fixed-point value with a right shift. | |
| static q31_t | zdsp_f32_to_q31_shift (float32_t src, uint32_t m) |
| Convert a floating-point (float32_t) value to a Q31 fixed-point value with a right shift. | |
| static q7_t | zdsp_f64_to_q7_shift (float64_t src, uint32_t m) |
| Convert a floating-point (float64_t) value to a Q7 fixed-point value with a right shift. | |
| static q15_t | zdsp_f64_to_q15_shift (float64_t src, uint32_t m) |
| Convert a floating-point (float64_t) value to a Q15 fixed-point value with a right shift. | |
| static q31_t | zdsp_f64_to_q31_shift (float64_t src, uint32_t m) |
| Convert a floating-point (float64_t) value to a Q31 fixed-point value with a right shift. | |
Extra utility functions for DSP.