|
ESP-IDF Firmware
Firmware architecture and call graph
|
#include "dsp_err.h"Go to the source code of this file.
Functions | |
| void | dsps_view_spectrum (const float *data, int32_t len, float min, float max) |
| spectrum view | |
| void | dsps_view (const float *data, int32_t len, int width, int height, float min, float max, char view_char) |
| plot view | |
| void | dsps_view_s16 (const int16_t *data, int32_t len, int width, int height, float min, float max, char view_char) |
| void dsps_view | ( | const float * | data, |
| int32_t | len, | ||
| int | width, | ||
| int | height, | ||
| float | min, | ||
| float | max, | ||
| char | view_char ) |
plot view
Generic view function. This function takes input samples and show then in console view as a plot. The main purpose to give and draft debug information to the DSP developer.
| [in] | data | array with input samples. |
| len | length of the input array | |
| width | plot width in symbols | |
| height | plot height in lines | |
| min | minimum value that will be limited by Axis Y. | |
| max | maximum value that will be limited by Axis Y. | |
| view_char | character to draw the plot calues ('.' or '|' etc) |
Definition at line 8 of file dsps_view.cpp.
References data, ESP_LOGD, x, and y.
Referenced by dsps_view_s16(), and dsps_view_spectrum().
| void dsps_view_s16 | ( | const int16_t * | data, |
| int32_t | len, | ||
| int | width, | ||
| int | height, | ||
| float | min, | ||
| float | max, | ||
| char | view_char ) |
Definition at line 105 of file dsps_view.cpp.
References data, and dsps_view().
| void dsps_view_spectrum | ( | const float * | data, |
| int32_t | len, | ||
| float | min, | ||
| float | max ) |
spectrum view
The view function to show spectrum values in 64x10 screen. The function based on dsps_view.
| [in] | data | array with input samples. |
| len | length of the input array | |
| min | minimum value that will be limited by Axis Y. | |
| max | maximum value that will be limited by Axis Y. |
Definition at line 117 of file dsps_view.cpp.
References data, and dsps_view().