40#ifndef __INCLUDE_EDGE_DETECTION_H
41#define __INCLUDE_EDGE_DETECTION_H
50#include <nuttx/config.h>
54#define EDGE_DETECT_TYPE_RISE (0)
55#define EDGE_DETECT_TYPE_FALL (1)
109# define EXTERN extern "C"
113# define EXTERN extern
138 uint32_t keep_width,
int type);
185 uint32_t keep_width,
int type);
int edge_detectf(edge_detectf_t *detector, float *input, uint32_t len)
void edge_detection_deletes(edge_detects_t *detector)
edge_detects_t * edge_detection_creates(int16_t *boundary_data, int datalen, uint32_t keep_width, int type)
edge_detectf_t * edge_detection_createf(float *boundary_data, int datalen, uint32_t keep_width, int type)
int edge_detection_resetf(edge_detectf_t *detector)
int edge_detects(edge_detects_t *detector, int16_t *input, uint32_t len)
void edge_detection_deletef(edge_detectf_t *detector)
int edge_detection_resets(edge_detects_t *detector)
Definition: edge_detection.h:68
Definition: edge_detection.h:90