|
ESP-IDF Firmware
Firmware architecture and call graph
|
Go to the source code of this file.
Functions | |
| esp_err_t | dspi_dotprod_f32_ansi (image2d_t *in_image, image2d_t *filter, float *out_value, int count_x, int count_y) |
| dot product of two images Dot product calculation for two floating point images: out_value += image[i...] * src2[i*...]); i= [0..count_x*count_y) 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 | dspi_dotprod_s16_ansi (image2d_t *in_image, image2d_t *filter, int16_t *out_value, int count_x, int count_y, int shift) |
| dot product of two images Dot product calculation for two floating point images: out_value += image[i...] * src2[i*...]); i= [0..count_x*count_y) 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 | dspi_dotprod_u16_ansi (image2d_t *in_image, image2d_t *filter, uint16_t *out_value, int count_x, int count_y, int shift) |
| esp_err_t | dspi_dotprod_s8_ansi (image2d_t *in_image, image2d_t *filter, int8_t *out_value, int count_x, int count_y, int shift) |
| esp_err_t | dspi_dotprod_u8_ansi (image2d_t *in_image, image2d_t *filter, uint8_t *out_value, int count_x, int count_y, int shift) |
| esp_err_t | dspi_dotprod_s16_aes3 (image2d_t *in_image, image2d_t *filter, int16_t *out_value, int count_x, int count_y, int shift) |
| esp_err_t | dspi_dotprod_u16_aes3 (image2d_t *in_image, image2d_t *filter, uint16_t *out_value, int count_x, int count_y, int shift) |
| esp_err_t | dspi_dotprod_s8_aes3 (image2d_t *in_image, image2d_t *filter, int8_t *out_value, int count_x, int count_y, int shift) |
| esp_err_t | dspi_dotprod_u8_aes3 (image2d_t *in_image, image2d_t *filter, uint8_t *out_value, int count_x, int count_y, int shift) |
| esp_err_t | dspi_dotprod_s16_arp4 (image2d_t *in_image, image2d_t *filter, int16_t *out_value, int count_x, int count_y, int shift) |
| esp_err_t | dspi_dotprod_s8_arp4 (image2d_t *in_image, image2d_t *filter, int8_t *out_value, int count_x, int count_y, int shift) |
| esp_err_t | dspi_dotprod_u16_arp4 (image2d_t *in_image, image2d_t *filter, uint16_t *out_value, int count_x, int count_y, int shift) |
| esp_err_t | dspi_dotprod_u8_arp4 (image2d_t *in_image, image2d_t *filter, uint8_t *out_value, int count_x, int count_y, int shift) |
| esp_err_t | dspi_dotprod_off_f32_ansi (image2d_t *in_image, image2d_t *filter, float *out_value, int count_x, int count_y, float offset) |
| dot product of two images with input offset Dot product calculation for two floating point images: out_value += (image[i...] + offset) * src2[i*...]); i= [0..count_x*count_y) 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 | dspi_dotprod_off_s16_ansi (image2d_t *in_image, image2d_t *filter, int16_t *out_value, int count_x, int count_y, int shift, int16_t offset) |
| dot product of two images with input offset Dot product calculation for two floating point images: out_value += (image[i...] + offset) * src2[i*...]); i= [0..count_x*count_y) 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 | dspi_dotprod_off_u16_ansi (image2d_t *in_image, image2d_t *filter, uint16_t *out_value, int count_x, int count_y, int shift, uint16_t offset) |
| esp_err_t | dspi_dotprod_off_s8_ansi (image2d_t *in_image, image2d_t *filter, int8_t *out_value, int count_x, int count_y, int shift, int8_t offset) |
| esp_err_t | dspi_dotprod_off_u8_ansi (image2d_t *in_image, image2d_t *filter, uint8_t *out_value, int count_x, int count_y, int shift, uint8_t offset) |
| esp_err_t | dspi_dotprod_off_s16_aes3 (image2d_t *in_image, image2d_t *filter, int16_t *out_value, int count_x, int count_y, int shift, int16_t offset) |
| esp_err_t | dspi_dotprod_off_u16_aes3 (image2d_t *in_image, image2d_t *filter, uint16_t *out_value, int count_x, int count_y, int shift, uint16_t offset) |
| esp_err_t | dspi_dotprod_off_s8_aes3 (image2d_t *in_image, image2d_t *filter, int8_t *out_value, int count_x, int count_y, int shift, int8_t offset) |
| esp_err_t | dspi_dotprod_off_u8_aes3 (image2d_t *in_image, image2d_t *filter, uint8_t *out_value, int count_x, int count_y, int shift, uint8_t offset) |
| esp_err_t | dspi_dotprod_off_s16_arp4 (image2d_t *in_image, image2d_t *filter, int16_t *out_value, int count_x, int count_y, int shift, int16_t offset) |
| esp_err_t | dspi_dotprod_off_u16_arp4 (image2d_t *in_image, image2d_t *filter, uint16_t *out_value, int count_x, int count_y, int shift, uint16_t offset) |
| esp_err_t | dspi_dotprod_off_s8_arp4 (image2d_t *in_image, image2d_t *filter, int8_t *out_value, int count_x, int count_y, int shift, int8_t offset) |
| esp_err_t | dspi_dotprod_off_u8_arp4 (image2d_t *in_image, image2d_t *filter, uint8_t *out_value, int count_x, int count_y, int shift, uint8_t offset) |
| esp_err_t dspi_dotprod_f32_ansi | ( | image2d_t * | in_image, |
| image2d_t * | filter, | ||
| float * | out_value, | ||
| int | count_x, | ||
| int | count_y ) |
dot product of two images Dot product calculation for two floating point images: out_value += image[i...] * src2[i*...]); i= [0..count_x*count_y) The extension (_ansi) use ANSI C and could be compiled and run on any platform. The extension (_ae32) is optimized for ESP32 chip.
| [in] | in_image | descriptor of the image |
| [in] | filter | descriptor of the filter |
| [out] | out_value | pointer to the output value |
| [in] | count_x | amount of samples by X axis (count_x*step_X <= widdth) |
| [in] | count_y | amount of samples by Y axis (count_y*step_Y <= height) |
Definition at line 17 of file dspi_dotprod_f32_ansi.c.
References image2d_s::data, ESP_ERR_DSP_PARAM_OUTOFRANGE, ESP_OK, image2d_s::step_x, image2d_s::step_y, image2d_s::stride_x, image2d_s::stride_y, x, and y.
| esp_err_t dspi_dotprod_off_f32_ansi | ( | image2d_t * | in_image, |
| image2d_t * | filter, | ||
| float * | out_value, | ||
| int | count_x, | ||
| int | count_y, | ||
| float | offset ) |
dot product of two images with input offset Dot product calculation for two floating point images: out_value += (image[i...] + offset) * src2[i*...]); i= [0..count_x*count_y) The extension (_ansi) use ANSI C and could be compiled and run on any platform. The extension (_ae32) is optimized for ESP32 chip.
| [in] | in_image | descriptor of the image |
| [in] | filter | descriptor of the filter |
| [out] | out_value | pointer to the output value |
| [in] | count_x | amount of samples by X axis (count_x*step_X <= widdth) |
| [in] | count_y | amount of samples by Y axis (count_y*step_Y <= height) |
| [in] | offset | - input offset value. |
Definition at line 17 of file dspi_dotprod_off_f32_ansi.c.
References image2d_s::data, ESP_ERR_DSP_PARAM_OUTOFRANGE, ESP_OK, image2d_s::step_x, image2d_s::step_y, image2d_s::stride_x, image2d_s::stride_y, x, and y.
| esp_err_t dspi_dotprod_off_s16_aes3 | ( | image2d_t * | in_image, |
| image2d_t * | filter, | ||
| int16_t * | out_value, | ||
| int | count_x, | ||
| int | count_y, | ||
| int | shift, | ||
| int16_t | offset ) |
| esp_err_t dspi_dotprod_off_s16_ansi | ( | image2d_t * | in_image, |
| image2d_t * | filter, | ||
| int16_t * | out_value, | ||
| int | count_x, | ||
| int | count_y, | ||
| int | shift, | ||
| int16_t | offset ) |
dot product of two images with input offset Dot product calculation for two floating point images: out_value += (image[i...] + offset) * src2[i*...]); i= [0..count_x*count_y) The extension (_ansi) use ANSI C and could be compiled and run on any platform. The extension (_ae32) is optimized for ESP32 chip.
| [in] | in_image | descriptor of the image |
| [in] | filter | descriptor of the filter |
| [out] | out_value | pointer to the output value |
| [in] | count_x | amount of samples by X axis (count_x*step_X <= widdth) |
| [in] | count_y | amount of samples by Y axis (count_y*step_Y <= height) |
| [in] | shift | - result shift to right, by default must be 15 for int16_t or 7 for int8_t |
| [in] | offset | - input offset value. |
Definition at line 17 of file dspi_dotprod_off_s16_ansi.c.
References image2d_s::data, ESP_ERR_DSP_PARAM_OUTOFRANGE, ESP_OK, image2d_s::step_x, image2d_s::step_y, image2d_s::stride_x, image2d_s::stride_y, x, and y.
| esp_err_t dspi_dotprod_off_s16_arp4 | ( | image2d_t * | in_image, |
| image2d_t * | filter, | ||
| int16_t * | out_value, | ||
| int | count_x, | ||
| int | count_y, | ||
| int | shift, | ||
| int16_t | offset ) |
| esp_err_t dspi_dotprod_off_s8_aes3 | ( | image2d_t * | in_image, |
| image2d_t * | filter, | ||
| int8_t * | out_value, | ||
| int | count_x, | ||
| int | count_y, | ||
| int | shift, | ||
| int8_t | offset ) |
| esp_err_t dspi_dotprod_off_s8_ansi | ( | image2d_t * | in_image, |
| image2d_t * | filter, | ||
| int8_t * | out_value, | ||
| int | count_x, | ||
| int | count_y, | ||
| int | shift, | ||
| int8_t | offset ) |
Definition at line 17 of file dspi_dotprod_off_s8_ansi.c.
References image2d_s::data, ESP_ERR_DSP_PARAM_OUTOFRANGE, ESP_OK, image2d_s::step_x, image2d_s::step_y, image2d_s::stride_x, image2d_s::stride_y, x, and y.
| esp_err_t dspi_dotprod_off_s8_arp4 | ( | image2d_t * | in_image, |
| image2d_t * | filter, | ||
| int8_t * | out_value, | ||
| int | count_x, | ||
| int | count_y, | ||
| int | shift, | ||
| int8_t | offset ) |
| esp_err_t dspi_dotprod_off_u16_aes3 | ( | image2d_t * | in_image, |
| image2d_t * | filter, | ||
| uint16_t * | out_value, | ||
| int | count_x, | ||
| int | count_y, | ||
| int | shift, | ||
| uint16_t | offset ) |
| esp_err_t dspi_dotprod_off_u16_ansi | ( | image2d_t * | in_image, |
| image2d_t * | filter, | ||
| uint16_t * | out_value, | ||
| int | count_x, | ||
| int | count_y, | ||
| int | shift, | ||
| uint16_t | offset ) |
Definition at line 17 of file dspi_dotprod_off_u16_ansi.c.
References image2d_s::data, ESP_ERR_DSP_PARAM_OUTOFRANGE, ESP_OK, image2d_s::step_x, image2d_s::step_y, image2d_s::stride_x, image2d_s::stride_y, x, and y.
| esp_err_t dspi_dotprod_off_u16_arp4 | ( | image2d_t * | in_image, |
| image2d_t * | filter, | ||
| uint16_t * | out_value, | ||
| int | count_x, | ||
| int | count_y, | ||
| int | shift, | ||
| uint16_t | offset ) |
| esp_err_t dspi_dotprod_off_u8_aes3 | ( | image2d_t * | in_image, |
| image2d_t * | filter, | ||
| uint8_t * | out_value, | ||
| int | count_x, | ||
| int | count_y, | ||
| int | shift, | ||
| uint8_t | offset ) |
| esp_err_t dspi_dotprod_off_u8_ansi | ( | image2d_t * | in_image, |
| image2d_t * | filter, | ||
| uint8_t * | out_value, | ||
| int | count_x, | ||
| int | count_y, | ||
| int | shift, | ||
| uint8_t | offset ) |
Definition at line 17 of file dspi_dotprod_off_u8_ansi.c.
References image2d_s::data, ESP_ERR_DSP_PARAM_OUTOFRANGE, ESP_OK, image2d_s::step_x, image2d_s::step_y, image2d_s::stride_x, image2d_s::stride_y, x, and y.
| esp_err_t dspi_dotprod_off_u8_arp4 | ( | image2d_t * | in_image, |
| image2d_t * | filter, | ||
| uint8_t * | out_value, | ||
| int | count_x, | ||
| int | count_y, | ||
| int | shift, | ||
| uint8_t | offset ) |
| esp_err_t dspi_dotprod_s16_aes3 | ( | image2d_t * | in_image, |
| image2d_t * | filter, | ||
| int16_t * | out_value, | ||
| int | count_x, | ||
| int | count_y, | ||
| int | shift ) |
| esp_err_t dspi_dotprod_s16_ansi | ( | image2d_t * | in_image, |
| image2d_t * | filter, | ||
| int16_t * | out_value, | ||
| int | count_x, | ||
| int | count_y, | ||
| int | shift ) |
dot product of two images Dot product calculation for two floating point images: out_value += image[i...] * src2[i*...]); i= [0..count_x*count_y) The extension (_ansi) use ANSI C and could be compiled and run on any platform. The extension (_ae32) is optimized for ESP32 chip.
| [in] | in_image | descriptor of the image |
| [in] | filter | descriptor of the filter |
| [out] | out_value | pointer to the output value |
| [in] | count_x | amount of samples by X axis (count_x*step_X <= widdth) |
| [in] | count_y | amount of samples by Y axis (count_y*step_Y <= height) |
| [in] | shift | - result shift to right, by default must be 15 for int16_t or 7 for int8_t |
Definition at line 17 of file dspi_dotprod_s16_ansi.c.
References image2d_s::data, ESP_ERR_DSP_PARAM_OUTOFRANGE, ESP_OK, image2d_s::step_x, image2d_s::step_y, image2d_s::stride_x, image2d_s::stride_y, x, and y.
| esp_err_t dspi_dotprod_s16_arp4 | ( | image2d_t * | in_image, |
| image2d_t * | filter, | ||
| int16_t * | out_value, | ||
| int | count_x, | ||
| int | count_y, | ||
| int | shift ) |
| esp_err_t dspi_dotprod_s8_aes3 | ( | image2d_t * | in_image, |
| image2d_t * | filter, | ||
| int8_t * | out_value, | ||
| int | count_x, | ||
| int | count_y, | ||
| int | shift ) |
| esp_err_t dspi_dotprod_s8_ansi | ( | image2d_t * | in_image, |
| image2d_t * | filter, | ||
| int8_t * | out_value, | ||
| int | count_x, | ||
| int | count_y, | ||
| int | shift ) |
Definition at line 17 of file dspi_dotprod_s8_ansi.c.
References image2d_s::data, ESP_ERR_DSP_PARAM_OUTOFRANGE, ESP_OK, image2d_s::step_x, image2d_s::step_y, image2d_s::stride_x, image2d_s::stride_y, x, and y.
| esp_err_t dspi_dotprod_s8_arp4 | ( | image2d_t * | in_image, |
| image2d_t * | filter, | ||
| int8_t * | out_value, | ||
| int | count_x, | ||
| int | count_y, | ||
| int | shift ) |
| esp_err_t dspi_dotprod_u16_aes3 | ( | image2d_t * | in_image, |
| image2d_t * | filter, | ||
| uint16_t * | out_value, | ||
| int | count_x, | ||
| int | count_y, | ||
| int | shift ) |
| esp_err_t dspi_dotprod_u16_ansi | ( | image2d_t * | in_image, |
| image2d_t * | filter, | ||
| uint16_t * | out_value, | ||
| int | count_x, | ||
| int | count_y, | ||
| int | shift ) |
Definition at line 17 of file dspi_dotprod_u16_ansi.c.
References image2d_s::data, ESP_ERR_DSP_PARAM_OUTOFRANGE, ESP_OK, image2d_s::step_x, image2d_s::step_y, image2d_s::stride_x, image2d_s::stride_y, x, and y.
| esp_err_t dspi_dotprod_u16_arp4 | ( | image2d_t * | in_image, |
| image2d_t * | filter, | ||
| uint16_t * | out_value, | ||
| int | count_x, | ||
| int | count_y, | ||
| int | shift ) |
| esp_err_t dspi_dotprod_u8_aes3 | ( | image2d_t * | in_image, |
| image2d_t * | filter, | ||
| uint8_t * | out_value, | ||
| int | count_x, | ||
| int | count_y, | ||
| int | shift ) |
| esp_err_t dspi_dotprod_u8_ansi | ( | image2d_t * | in_image, |
| image2d_t * | filter, | ||
| uint8_t * | out_value, | ||
| int | count_x, | ||
| int | count_y, | ||
| int | shift ) |
Definition at line 17 of file dspi_dotprod_u8_ansi.c.
References image2d_s::data, ESP_ERR_DSP_PARAM_OUTOFRANGE, ESP_OK, image2d_s::step_x, image2d_s::step_y, image2d_s::stride_x, image2d_s::stride_y, x, and y.