1
0
forked from me/IronOS
This commit is contained in:
Ben V. Brown
2021-04-28 21:08:42 +10:00
parent fe2469fdb5
commit 56a885ed42
4 changed files with 136 additions and 165 deletions

View File

@@ -10,11 +10,8 @@
#include <stdint.h>
class Utils {
public:
static int32_t InterpolateLookupTable(const uint16_t *lookupTable,
const int noItems, const uint16_t value);
static int32_t LinearInterpolate(int32_t x1, int32_t y1, int32_t x2,
int32_t y2, int32_t x);
static int32_t InterpolateLookupTable(const uint16_t *lookupTable, const int noItems, const uint16_t value);
static int32_t LinearInterpolate(int32_t x1, int32_t y1, int32_t x2, int32_t y2, int32_t x);
};
#endif /* CORE_DRIVERS_UTILS_H_ */