OSDN Git Service

STPK-1429 Add flexibility to sample processing
[android-x86/hardware-intel-libsensors.git] / transform.h
diff --git a/transform.h b/transform.h
new file mode 100644 (file)
index 0000000..2a6a03e
--- /dev/null
@@ -0,0 +1,18 @@
+/*
+ * Copyright (C) 2014 Intel Corporation.
+ */
+
+#ifndef __TRANSFORM_H__
+#define __TRANSFORM_H__
+
+#include "common.h"
+
+float transform_sample (int sensor, int channel, unsigned char* sample_data);
+
+void finalize_sample   (int s, struct sensors_event_t* data);
+
+
+#endif
+
+
+