You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
452 B

#include <queue.h>
typedef struct
SqQueue window_queue;
unsigned int window_len; //the window_len value must less than MAXSIZE 1024
long long int sumlast;
void SlidingWindowsMeanFliterInit(SlidingWindowsHander * hander,unsigned int window_len);
int SlidingWindowsMeanFliterFun(SlidingWindowsHander * hander,int newvalue);