summaryrefslogtreecommitdiff
path: root/vp8/common/mv.h
diff options
context:
space:
mode:
Diffstat (limited to 'vp8/common/mv.h')
-rw-r--r--vp8/common/mv.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/vp8/common/mv.h b/vp8/common/mv.h
index 73c91b9e7..35c4fe947 100644
--- a/vp8/common/mv.h
+++ b/vp8/common/mv.h
@@ -11,6 +11,7 @@
#ifndef __INC_MV_H
#define __INC_MV_H
+#include "vpx/vpx_integer.h"
typedef struct
{
@@ -18,4 +19,10 @@ typedef struct
short col;
} MV;
+typedef union
+{
+ uint32_t as_int;
+ MV as_mv;
+} int_mv; /* facilitates faster equality tests and copies */
+
#endif