|
ESP-IDF Firmware
Firmware architecture and call graph
|
Go to the source code of this file.
| #define | dsps_mulc_f32 dsps_mulc_f32_ansi |
| #define | dsps_mulc_s16 dsps_mulc_s16_ansi |
| esp_err_t | dsps_mulc_f32_ansi (const float *input, float *output, int len, float C, int step_in, int step_out) |
| multiply constant | |
| esp_err_t | dsps_mulc_f32_ae32 (const float *input, float *output, int len, float C, int step_in, int step_out) |
| esp_err_t | dsps_mulc_s16_ae32 (const int16_t *input, int16_t *output, int len, int16_t C, int step_in, int step_out) |
| esp_err_t | dsps_mulc_s16_ansi (const int16_t *input, int16_t *output, int len, int16_t C, int step_in, int step_out) |
| #define dsps_mulc_f32 dsps_mulc_f32_ansi |
Definition at line 69 of file dsps_mulc.h.
| #define dsps_mulc_s16 dsps_mulc_s16_ansi |
Definition at line 70 of file dsps_mulc.h.
| esp_err_t dsps_mulc_f32_ae32 | ( | const float * | input, |
| float * | output, | ||
| int | len, | ||
| float | C, | ||
| int | step_in, | ||
| int | step_out ) |
References C.
| esp_err_t dsps_mulc_f32_ansi | ( | const float * | input, |
| float * | output, | ||
| int | len, | ||
| float | C, | ||
| int | step_in, | ||
| int | step_out ) |
multiply constant
The function multiplies input array to the constant value x[i*step_out] = y[i*step_in]*C; i=[0..len) The implementation use ANSI C and could be compiled and run on any platform
| [in] | input | input array |
| output | output array | |
| len | amount of operations for arrays | |
| C | constant value | |
| step_in | step over input array (by default should be 1) | |
| step_out | step over output array (by default should be 1) |
Definition at line 17 of file dsps_mulc_f32_ansi.c.
References C, ESP_ERR_DSP_PARAM_OUTOFRANGE, and ESP_OK.
Referenced by audio_read_task(), audio_read_task(), audio_read_task(), dspm::Mat::operator*=(), and dspm::Mat::operator/=().
| esp_err_t dsps_mulc_s16_ae32 | ( | const int16_t * | input, |
| int16_t * | output, | ||
| int | len, | ||
| int16_t | C, | ||
| int | step_in, | ||
| int | step_out ) |
References C.
| esp_err_t dsps_mulc_s16_ansi | ( | const int16_t * | input, |
| int16_t * | output, | ||
| int | len, | ||
| int16_t | C, | ||
| int | step_in, | ||
| int | step_out ) |
Definition at line 17 of file dsps_mulc_s16_ansi.c.
References C, ESP_ERR_DSP_PARAM_OUTOFRANGE, and ESP_OK.