|
ESP-IDF Firmware
Firmware architecture and call graph
|
Go to the source code of this file.
| #define | dspm_addc_f32 dspm_addc_f32_ansi |
| esp_err_t | dspm_addc_f32_ansi (const float *input, float *output, float C, int rows, int cols, int padd_in, int padd_out, int step_in, int step_out) |
| add a constant and an array with padding (add a constant and a sub-matrix) | |
| esp_err_t | dspm_addc_f32_ae32 (const float *input, float *output, float C, int rows, int cols, int padd_in, int padd_out, int step_in, int step_out) |
| #define dspm_addc_f32 dspm_addc_f32_ansi |
Definition at line 57 of file dspm_addc.h.
Referenced by dspm::operator+(), dspm::Mat::operator+=(), dspm::operator-(), and dspm::Mat::operator-=().
| esp_err_t dspm_addc_f32_ae32 | ( | const float * | input, |
| float * | output, | ||
| float | C, | ||
| int | rows, | ||
| int | cols, | ||
| int | padd_in, | ||
| int | padd_out, | ||
| int | step_in, | ||
| int | step_out ) |
References C.
| esp_err_t dspm_addc_f32_ansi | ( | const float * | input, |
| float * | output, | ||
| float | C, | ||
| int | rows, | ||
| int | cols, | ||
| int | padd_in, | ||
| int | padd_out, | ||
| int | step_in, | ||
| int | step_out ) |
add a constant and an array with padding (add a constant and a sub-matrix)
The function adds a constant and an array defined as a sub-matrix with padding out[row * ptr_step_out + col * step_out] = input[row * ptr_step_in + col * step_in] + C; The implementation uses ANSI C and could be compiled and run on any platform
| [in] | input | input array |
| [out] | output | output array |
| [in] | C | constant value |
| [in] | rows | matrix rows |
| [in] | cols | matrix cols |
| [in] | padd_in | input array padding |
| [in] | padd_out | output array padding |
| [in] | step_in | step over input array (by default should be 1) |
| [in] | step_out | step over output array (by default should be 1) |
Definition at line 9 of file dspm_addc_f32_ansi.c.
References C, ESP_ERR_DSP_PARAM_OUTOFRANGE, and ESP_OK.