1 #ifndef __TS_FILTER_MEAN_H__
2 #define __TS_FILTER_MEAN_H__
11 * (c) 2008 Andy Green <andy@openmoko.com>
14 struct ts_filter_mean_configuration
{
15 int bits_filter_length
;
16 int averaging_threshold
;
21 struct ts_filter_mean
{
23 struct ts_filter_mean_configuration
*config
;
25 int reported
[MAX_TS_FILTER_COORDS
];
26 int lowpass
[MAX_TS_FILTER_COORDS
];
27 int *fifo
[MAX_TS_FILTER_COORDS
];
28 int fhead
[MAX_TS_FILTER_COORDS
];
29 int ftail
[MAX_TS_FILTER_COORDS
];
32 extern struct ts_filter_api ts_filter_mean_api
;