aboutsummaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/ts_filter_median.h
blob: 589bc6d996ce6b708ef95843e2fea61510fa58ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef __TS_FILTER_MEDIAN_H__
#define __TS_FILTER_MEDIAN_H__

#include "ts_filter.h"

/*
 * Touchscreen filter.
 *
 * median
 *
 * (c) 2008 Andy Green <andy@openmoko.com>
 */

/* TODO: comment every field */
struct ts_filter_median_configuration {
	int extent;
	int midpoint;
	int decimation_threshold;
	int decimation_above;
	int decimation_below;
};

extern struct ts_filter_api ts_filter_median_api;

#endif