|
ESP-IDF Firmware
Firmware architecture and call graph
|
Go to the source code of this file.
| #define | dsps_ccorr_f32 dsps_ccorr_f32_ansi |
| esp_err_t | dsps_ccorr_f32_ansi (const float *Signal, const int siglen, const float *Pattern, const int patlen, float *corrout) |
| Cross correlation. | |
| esp_err_t | dsps_ccorr_f32_ae32 (const float *Signal, const int siglen, const float *Pattern, const int patlen, float *corrout) |
| #define dsps_ccorr_f32 dsps_ccorr_f32_ansi |
}@
Definition at line 60 of file dsps_ccorr.h.
| esp_err_t dsps_ccorr_f32_ae32 | ( | const float * | Signal, |
| const int | siglen, | ||
| const float * | Pattern, | ||
| const int | patlen, | ||
| float * | corrout ) |
| esp_err_t dsps_ccorr_f32_ansi | ( | const float * | Signal, |
| const int | siglen, | ||
| const float * | Pattern, | ||
| const int | patlen, | ||
| float * | corrout ) |
Cross correlation.
The function make cross correlate between two ignals. The implementation use ANSI C and could be compiled and run on any platform
| [in] | Signal1 | input array with input 1 signal values |
| [in] | siglen1 | length of the input 1 signal array |
| [in] | Signal2 | input array with input 2 signal values |
| [in] | siglen2 | length of the input signal array |
| corrout | output array with result of cross correlation. The size of dest array must be (siglen1 + siglen2 - 1) !!! |
Definition at line 20 of file dsps_ccorr_f32_ansi.c.
References ESP_ERR_DSP_PARAM_OUTOFRANGE, ESP_OK, k, n, and TAG.