|
ESP-IDF Firmware
Firmware architecture and call graph
|
#include "dsps_dotprod.h"Go to the source code of this file.
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_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.