summaryrefslogtreecommitdiffstats
path: root/third_party/aom/av1/encoder/corner_match.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/aom/av1/encoder/corner_match.h')
-rw-r--r--third_party/aom/av1/encoder/corner_match.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/aom/av1/encoder/corner_match.h b/third_party/aom/av1/encoder/corner_match.h
index c0458642c..3b16f9efc 100644
--- a/third_party/aom/av1/encoder/corner_match.h
+++ b/third_party/aom/av1/encoder/corner_match.h
@@ -15,6 +15,10 @@
#include <stdlib.h>
#include <memory.h>
+#define MATCH_SZ 13
+#define MATCH_SZ_BY2 ((MATCH_SZ - 1) / 2)
+#define MATCH_SZ_SQ (MATCH_SZ * MATCH_SZ)
+
typedef struct {
int x, y;
int rx, ry;