VSF Documented
Functions
mean.c File Reference
#include <math.h>
#include <stddef.h>
#include <stdlib.h>
#include "./mean.h"

Functions

struct mean_filter_tmean_alloc (int length)
 
void mean_free (struct mean_filter_t *filter)
 
int mean_update (struct mean_filter_t *filter, int value)
 
void mean_clear (struct mean_filter_t *filter)
 

Function Documentation

◆ mean_alloc()

struct mean_filter_t * mean_alloc ( int  length)

◆ mean_free()

void mean_free ( struct mean_filter_t filter)

◆ mean_update()

int mean_update ( struct mean_filter_t filter,
int  value 
)

◆ mean_clear()

void mean_clear ( struct mean_filter_t filter)