aboutsummaryrefslogtreecommitdiffstats
path: root/match/match.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-03-20 14:18:16 +0100
committerHenrik Rydberg <rydberg@euromail.se>2010-03-21 14:56:15 +0100
commite9dcbeaba956e84d1e591e9b520f3b7bb4fa6354 (patch)
tree19b4d548127766862a79f5521f75a590b90090b1 /match/match.h
parentea6cfa421b7cef91eba85c5144eec14288c41c4c (diff)
downloadxorg-input-kobomultitouch-e9dcbeaba956e84d1e591e9b520f3b7bb4fa6354.tar.gz
xorg-input-kobomultitouch-e9dcbeaba956e84d1e591e9b520f3b7bb4fa6354.tar.bz2
xorg-input-kobomultitouch-e9dcbeaba956e84d1e591e9b520f3b7bb4fa6354.zip
Matcher: convert distance matrix to integer
In order to reduce the requirements on the cpu environment running the matcher, the floating-point operations are converted to integer. Care is taken as to not overflow the distance matrix. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'match/match.h')
-rw-r--r--match/match.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/match/match.h b/match/match.h
index 0c4274e..6420b00 100644
--- a/match/match.h
+++ b/match/match.h
@@ -34,7 +34,7 @@
#define MIN(a, b) ((a) < (b) ? (a) : (b))
#define MAX(a, b) ((a) < (b) ? (b) : (a))
-void match_fingers(int index[DIM_FINGER], float A[DIM2_FINGER],
+void match_fingers(int index[DIM_FINGER], int A[DIM2_FINGER],
int nrow, int ncol);
#endif