Functions | |
edge_detectf_t * | edge_detection_createf (float *boundary_data, int datalen, uint32_t keep_width, int type) |
void | edge_detection_deletef (edge_detectf_t *detector) |
int | edge_detectf (edge_detectf_t *detector, float *input, uint32_t len) |
int | edge_detection_resetf (edge_detectf_t *detector) |
edge_detects_t * | edge_detection_creates (int16_t *boundary_data, int datalen, uint32_t keep_width, int type) |
void | edge_detection_deletes (edge_detects_t *detector) |
int | edge_detects (edge_detects_t *detector, int16_t *input, uint32_t len) |
int | edge_detection_resets (edge_detects_t *detector) |
edge_detectf_t * edge_detection_createf | ( | float * | boundary_data, |
int | datalen, | ||
uint32_t | keep_width, | ||
int | type | ||
) |
Create edge_detect instance for float data.
[in] | boundary_data | Edge boundary definition data array. |
[in] | datelen | Length of boundary_data. |
[in] | keep_width | Number of samples to keep the last value. |
[in] | type | Type of edge. EDGE_DETECT_TYPE_RISE or EDGE_DETECT_TYPE_FALL. |
void edge_detection_deletef | ( | edge_detectf_t * | detector | ) |
Delete edge_detect instance of float data.
[in] | detector | Instance of edge_detect |
int edge_detectf | ( | edge_detectf_t * | detector, |
float * | input, | ||
uint32_t | len | ||
) |
Detect edge from float data array.
[in] | detector | Instance of edge_detect |
[in] | input | Data array to detect edge. |
[in] | len | Length of data array. |
int edge_detection_resetf | ( | edge_detectf_t * | detector | ) |
Reset an edge detection instance for reflesh.
[in] | detector | Instance of edge_detect |
edge_detects_t * edge_detection_creates | ( | int16_t * | boundary_data, |
int | datalen, | ||
uint32_t | keep_width, | ||
int | type | ||
) |
Create edge_detect instance for int16_t data.
[in] | boundary_data | Edge boundary definition data array. |
[in] | datelen | Length of boundary_data. |
[in] | keep_width | Number of samples to keep the last value. |
[in] | type | Type of edge. EDGE_DETECT_TYPE_RISE or EDGE_DETECT_TYPE_FALL. |
void edge_detection_deletes | ( | edge_detects_t * | detector | ) |
Delete edge_detect instance of int16_t data.
[in] | detector | Instance of edge_detect |
int edge_detects | ( | edge_detects_t * | detector, |
int16_t * | input, | ||
uint32_t | len | ||
) |
Detect edge from int16_t data array.
[in] | detector | Instance of edge_detect |
[in] | input | Data array to detect edge. |
[in] | len | Length of data array. |
int edge_detection_resets | ( | edge_detects_t * | detector | ) |
Reset an edge detection instance for reflesh.
[in] | detector | Instance of edge_detect |