aboutsummaryrefslogtreecommitdiff
path: root/simplemotion_defs.h
diff options
context:
space:
mode:
authorTero Kontkanen <tero.kontkanen@granitedevices.fi>2017-09-22 13:53:29 +0300
committerTero Kontkanen <tero.kontkanen@granitedevices.fi>2017-09-22 13:53:29 +0300
commit901b5b29fd94d779bbbf5c0a61bdc15b4b959f19 (patch)
treecbceb969ca2ca4f83ed62b5676ac81052911835c /simplemotion_defs.h
parent952705c38ceac9ff9839e65901930f6f66be7cc4 (diff)
downloadSimpleMotionV2-901b5b29fd94d779bbbf5c0a61bdc15b4b959f19.tar.gz
SimpleMotionV2-901b5b29fd94d779bbbf5c0a61bdc15b4b959f19.zip
Add interpolation mode & mask definitions
Diffstat (limited to 'simplemotion_defs.h')
-rw-r--r--simplemotion_defs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/simplemotion_defs.h b/simplemotion_defs.h
index 8513d59..06cc4b2 100644
--- a/simplemotion_defs.h
+++ b/simplemotion_defs.h
@@ -261,6 +261,10 @@
* Note: this is present only in SM protocol version 27 and later.
*/
#define SMP_BUFFERED_MODE 16
+ #define BUFFERED_INTERPOLATION_MODE_MASK 0x0F
+ #define BUFFERED_INTERPOLATION_MODE_NEAREST 0
+ #define BUFFERED_INTERPOLATION_MODE_LINEAR 1
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////