15#ifndef _DSPI_DOTPROD_H_
16#define _DSPI_DOTPROD_H_
98#if CONFIG_DSP_OPTIMIZED
100#if (dsps_dotprod_s16_ae32_enabled == 1)
101#define dsps_dotprod_s16 dsps_dotprod_s16_ae32
102#elif (dsps_dotprod_s16_arp4_enabled == 1)
103#define dsps_dotprod_s16 dsps_dotprod_s16_arp4
105#define dsps_dotprod_s16 dsps_dotprod_s16_ansi
108#if (dsps_dotprod_f32_aes3_enabled == 1)
109#define dsps_dotprod_f32 dsps_dotprod_f32_aes3
110#define dsps_dotprode_f32 dsps_dotprode_f32_ae32
111#elif (dsps_dotprod_f32_arp4_enabled == 1)
112#define dsps_dotprod_f32 dsps_dotprod_f32_arp4
113#define dsps_dotprode_f32 dsps_dotprode_f32_arp4
114#elif (dotprod_f32_ae32_enabled == 1)
115#define dsps_dotprod_f32 dsps_dotprod_f32_ae32
116#define dsps_dotprode_f32 dsps_dotprode_f32_ae32
118#define dsps_dotprod_f32 dsps_dotprod_f32_ansi
119#define dsps_dotprode_f32 dsps_dotprode_f32_ansi
123#define dsps_dotprod_s16 dsps_dotprod_s16_ansi
124#define dsps_dotprod_f32 dsps_dotprod_f32_ansi
125#define dsps_dotprode_f32 dsps_dotprode_f32_ansi
esp_err_t dsps_dotprod_f32_arp4(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 += (src...
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_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 += (src...
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_s16_ae32(const int16_t *src1, const int16_t *src2, int16_t *dest, int len, int8_t shift)
esp_err_t dsps_dotprod_f32_ae32(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: *de...
esp_err_t dsps_dotprode_f32_arp4(const float *src1, const float *src2, float *dest, int len, int step1, int step2)