summaryrefslogtreecommitdiff
path: root/vp9/common/vp9_enums.h
diff options
context:
space:
mode:
Diffstat (limited to 'vp9/common/vp9_enums.h')
-rw-r--r--vp9/common/vp9_enums.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vp9/common/vp9_enums.h b/vp9/common/vp9_enums.h
index 435460e89..2720386aa 100644
--- a/vp9/common/vp9_enums.h
+++ b/vp9/common/vp9_enums.h
@@ -16,11 +16,13 @@
#define LOG2_MI_SIZE 3
#define LOG2_MI_BLOCK_SIZE (6 - LOG2_MI_SIZE) // 64 = 2^6
+#define MAX_BLOCK_SIZE (1 << 6) // max block size in pixel
#define MI_SIZE (1 << LOG2_MI_SIZE) // pixels per mi-unit
#define MI_BLOCK_SIZE (1 << LOG2_MI_BLOCK_SIZE) // mi-units per max block
#define MI_MASK (MI_BLOCK_SIZE - 1)
+
typedef enum BLOCK_SIZE_TYPE {
BLOCK_4X4,
BLOCK_4X8,