Root/target/linux/s3c24xx/files-2.6.30/include/linux/touchscreen/ts_filter_mean.h

1#ifndef __TS_FILTER_MEAN_H__
2#define __TS_FILTER_MEAN_H__
3
4#include "ts_filter.h"
5
6/*
7 * Touchscreen filter.
8 *
9 * mean
10 *
11 * (c) 2008,2009
12 * Andy Green <andy@openmoko.com>
13 * Nelson Castillo <arhuaco@freaks-unidos.net>
14 */
15
16/* Configuration for this filter. */
17struct ts_filter_mean_configuration {
18    /* Number of points for the mean. */
19    int length;
20
21    /* Generic filter configuration. */
22    struct ts_filter_configuration config;
23};
24
25/* API functions for the mean filter */
26extern const struct ts_filter_api ts_filter_mean_api;
27
28#endif /* __TS_FILTER_MEAN_H__ */
29

Archive Download this file



interactive