|
ESP-IDF Firmware
Firmware architecture and call graph
|
Go to the source code of this file.
Macros | |
| #define | dsps_dotprod_s16 dsps_dotprod_s16_ansi |
| #define | dsps_dotprod_f32 dsps_dotprod_f32_ansi |
| #define | dsps_dotprode_f32 dsps_dotprode_f32_ansi |
Functions | |
| esp_err_t | dsps_dotprod_s16_ansi (const int16_t *src1, const int16_t *src2, int16_t *dest, int len, int8_t shift) |
| dot product of two 16 bit vectors Dot product calculation for two signed 16 bit arrays: *dest += (src1[i] * src2[i]) >> (15-shift); i= [0..N) The extension (_ansi) use ANSI C and could be compiled and run on any platform. The extension (_ae32) is optimized for ESP32 chip. | |
| esp_err_t | dsps_dotprod_s16_ae32 (const int16_t *src1, const int16_t *src2, int16_t *dest, int len, int8_t shift) |
| esp_err_t | dsps_dotprod_s16_arp4 (const int16_t *src1, const int16_t *src2, int16_t *dest, int len, int8_t shift) |
| esp_err_t | dsps_dotprod_f32_ansi (const float *src1, const float *src2, float *dest, int len) |
| dot product of two float vectors Dot product calculation for two floating point arrays: *dest += (src1[i] * src2[i]); i= [0..N) The extension (_ansi) use ANSI C and could be compiled and run on any platform. The extension (_ae32) is optimized for ESP32 chip. | |
| esp_err_t | dsps_dotprod_f32_ae32 (const float *src1, const float *src2, float *dest, int len) |
| esp_err_t | dsps_dotprod_f32_aes3 (const float *src1, const float *src2, float *dest, int len) |
| esp_err_t | dsps_dotprod_f32_arp4 (const float *src1, const float *src2, float *dest, int len) |
| esp_err_t | dsps_dotprode_f32_ansi (const float *src1, const float *src2, float *dest, int len, int step1, int step2) |
| dot product of two float vectors with step Dot product calculation for two floating point arrays: *dest += (src1[i*step1] * src2[i*step2]); i= [0..N) The extension (_ansi) use ANSI C and could be compiled and run on any platform. The extension (_ae32) is optimized for ESP32 chip. | |
| esp_err_t | dsps_dotprode_f32_ae32 (const float *src1, const float *src2, float *dest, int len, int step1, int step2) |
| esp_err_t | dsps_dotprode_f32_arp4 (const float *src1, const float *src2, float *dest, int len, int step1, int step2) |
| #define dsps_dotprod_f32 dsps_dotprod_f32_ansi |
Definition at line 124 of file dsps_dotprod.h.
| #define dsps_dotprod_s16 dsps_dotprod_s16_ansi |
Definition at line 123 of file dsps_dotprod.h.
| #define dsps_dotprode_f32 dsps_dotprode_f32_ansi |
Definition at line 125 of file dsps_dotprod.h.
| esp_err_t dsps_dotprod_f32_ae32 | ( | const float * | src1, |
| const float * | src2, | ||
| float * | dest, | ||
| int | len ) |
| esp_err_t dsps_dotprod_f32_aes3 | ( | const float * | src1, |
| const float * | src2, | ||
| float * | dest, | ||
| int | len ) |
| esp_err_t dsps_dotprod_f32_ansi | ( | const float * | src1, |
| const float * | src2, | ||
| float * | dest, | ||
| int | len ) |
dot product of two float vectors Dot product calculation for two floating point arrays: *dest += (src1[i] * src2[i]); i= [0..N) The extension (_ansi) use ANSI C and could be compiled and run on any platform. The extension (_ae32) is optimized for ESP32 chip.
| [in] | src1 | source array 1 |
| [in] | src2 | source array 2 |
| dest | destination pointer | |
| [in] | len | length of input arrays |
Definition at line 17 of file dsps_dotprod_f32_ansi.c.
References ESP_OK.
| esp_err_t dsps_dotprod_f32_arp4 | ( | const float * | src1, |
| const float * | src2, | ||
| float * | dest, | ||
| int | len ) |
| esp_err_t dsps_dotprod_s16_ae32 | ( | const int16_t * | src1, |
| const int16_t * | src2, | ||
| int16_t * | dest, | ||
| int | len, | ||
| int8_t | shift ) |
| esp_err_t dsps_dotprod_s16_ansi | ( | const int16_t * | src1, |
| const int16_t * | src2, | ||
| int16_t * | dest, | ||
| int | len, | ||
| int8_t | shift ) |
dot product of two 16 bit vectors Dot product calculation for two signed 16 bit arrays: *dest += (src1[i] * src2[i]) >> (15-shift); i= [0..N) The extension (_ansi) use ANSI C and could be compiled and run on any platform. The extension (_ae32) is optimized for ESP32 chip.
| [in] | src1 | source array 1 |
| [in] | src2 | source array 2 |
| dest | destination pointer | |
| [in] | len | length of input arrays |
| [in] | shift | shift of the result. |
Definition at line 17 of file dsps_dotprod_s16_ansi.c.
References ESP_OK.
| esp_err_t dsps_dotprod_s16_arp4 | ( | const int16_t * | src1, |
| const int16_t * | src2, | ||
| int16_t * | dest, | ||
| int | len, | ||
| int8_t | shift ) |
| esp_err_t dsps_dotprode_f32_ae32 | ( | const float * | src1, |
| const float * | src2, | ||
| float * | dest, | ||
| int | len, | ||
| int | step1, | ||
| int | step2 ) |
| esp_err_t dsps_dotprode_f32_ansi | ( | const float * | src1, |
| const float * | src2, | ||
| float * | dest, | ||
| int | len, | ||
| int | step1, | ||
| int | step2 ) |
dot product of two float vectors with step Dot product calculation for two floating point arrays: *dest += (src1[i*step1] * src2[i*step2]); i= [0..N) The extension (_ansi) use ANSI C and could be compiled and run on any platform. The extension (_ae32) is optimized for ESP32 chip.
| [in] | src1 | source array 1 |
| [in] | src2 | source array 2 |
| dest | destination pointer | |
| [in] | len | length of input arrays |
| [in] | step1 | step over elements in first array |
| [in] | step2 | step over elements in second array |
Definition at line 17 of file dsps_dotprode_f32_ansi.c.
References ESP_OK.
| esp_err_t dsps_dotprode_f32_arp4 | ( | const float * | src1, |
| const float * | src2, | ||
| float * | dest, | ||
| int | len, | ||
| int | step1, | ||
| int | step2 ) |