|
ESP-IDF Firmware
Firmware architecture and call graph
|
Go to the source code of this file.
Macros | |
| #define | dsps_add_f32 dsps_add_f32_ansi |
| #define | dsps_add_s16 dsps_add_s16_ansi |
| #define | dsps_add_s8 dsps_add_s8_ansi |
Functions | |
| esp_err_t | dsps_add_f32_ansi (const float *input1, const float *input2, float *output, int len, int step1, int step2, int step_out) |
| add two arrays | |
| esp_err_t | dsps_add_f32_ae32 (const float *input1, const float *input2, float *output, int len, int step1, int step2, int step_out) |
| esp_err_t | dsps_add_s16_ansi (const int16_t *input1, const int16_t *input2, int16_t *output, int len, int step1, int step2, int step_out, int shift) |
| esp_err_t | dsps_add_s16_ae32 (const int16_t *input1, const int16_t *input2, int16_t *output, int len, int step1, int step2, int step_out, int shift) |
| esp_err_t | dsps_add_s16_aes3 (const int16_t *input1, const int16_t *input2, int16_t *output, int len, int step1, int step2, int step_out, int shift) |
| esp_err_t | dsps_add_s8_ansi (const int8_t *input1, const int8_t *input2, int8_t *output, int len, int step1, int step2, int step_out, int shift) |
| esp_err_t | dsps_add_s8_aes3 (const int8_t *input1, const int8_t *input2, int8_t *output, int len, int step1, int step2, int step_out, int shift) |
| #define dsps_add_f32 dsps_add_f32_ansi |
Definition at line 84 of file dsps_add.h.
Referenced by dspm::Mat::operator+=().
| #define dsps_add_s16 dsps_add_s16_ansi |
Definition at line 85 of file dsps_add.h.
| #define dsps_add_s8 dsps_add_s8_ansi |
Definition at line 86 of file dsps_add.h.
| esp_err_t dsps_add_f32_ae32 | ( | const float * | input1, |
| const float * | input2, | ||
| float * | output, | ||
| int | len, | ||
| int | step1, | ||
| int | step2, | ||
| int | step_out ) |
| esp_err_t dsps_add_f32_ansi | ( | const float * | input1, |
| const float * | input2, | ||
| float * | output, | ||
| int | len, | ||
| int | step1, | ||
| int | step2, | ||
| int | step_out ) |
add two arrays
The function add one input array to another out[i*step_out] = input1[i*step1] + input2[i*step2]; i=[0..len) The implementation use ANSI C and could be compiled and run on any platform
| [in] | input1 | input array 1 |
| [in] | input2 | input array 2 |
| output | output array | |
| len | amount of operations for arrays | |
| step1 | step over input array 1 (by default should be 1) | |
| step2 | step over input array 2 (by default should be 1) | |
| step_out | step over output array (by default should be 1) |
Definition at line 17 of file dsps_add_f32_ansi.c.
References ESP_ERR_DSP_PARAM_OUTOFRANGE, and ESP_OK.
| esp_err_t dsps_add_s16_ae32 | ( | const int16_t * | input1, |
| const int16_t * | input2, | ||
| int16_t * | output, | ||
| int | len, | ||
| int | step1, | ||
| int | step2, | ||
| int | step_out, | ||
| int | shift ) |
| esp_err_t dsps_add_s16_aes3 | ( | const int16_t * | input1, |
| const int16_t * | input2, | ||
| int16_t * | output, | ||
| int | len, | ||
| int | step1, | ||
| int | step2, | ||
| int | step_out, | ||
| int | shift ) |
| esp_err_t dsps_add_s16_ansi | ( | const int16_t * | input1, |
| const int16_t * | input2, | ||
| int16_t * | output, | ||
| int | len, | ||
| int | step1, | ||
| int | step2, | ||
| int | step_out, | ||
| int | shift ) |
Definition at line 10 of file dsps_add_s16_ansi.c.
References ESP_ERR_DSP_PARAM_OUTOFRANGE, and ESP_OK.
| esp_err_t dsps_add_s8_aes3 | ( | const int8_t * | input1, |
| const int8_t * | input2, | ||
| int8_t * | output, | ||
| int | len, | ||
| int | step1, | ||
| int | step2, | ||
| int | step_out, | ||
| int | shift ) |
| esp_err_t dsps_add_s8_ansi | ( | const int8_t * | input1, |
| const int8_t * | input2, | ||
| int8_t * | output, | ||
| int | len, | ||
| int | step1, | ||
| int | step2, | ||
| int | step_out, | ||
| int | shift ) |
Definition at line 9 of file dsps_add_s8_ansi.c.
References ESP_ERR_DSP_PARAM_OUTOFRANGE, and ESP_OK.