summaryrefslogtreecommitdiff
path: root/vp9/common/vp9_enums.h
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2013-08-22 14:45:24 -0700
committerJames Zern <jzern@google.com>2013-08-22 14:45:24 -0700
commit40ae02c247c99ce863f1fd4e21192dfbdc08aecb (patch)
treea612e8acf9fbd89182066c3fcab25b10f2afbec1 /vp9/common/vp9_enums.h
parent8adc20ce35f273030cbaa989430874361329ed7f (diff)
downloadlibvpx-40ae02c247c99ce863f1fd4e21192dfbdc08aecb.tar
libvpx-40ae02c247c99ce863f1fd4e21192dfbdc08aecb.tar.gz
libvpx-40ae02c247c99ce863f1fd4e21192dfbdc08aecb.tar.bz2
libvpx-40ae02c247c99ce863f1fd4e21192dfbdc08aecb.zip
rename LOG2_* defines to *_LOG2
gets rid of a mix of styles Change-Id: I3591d312157bc6f53a25438bf047765c671fd8a8
Diffstat (limited to 'vp9/common/vp9_enums.h')
-rw-r--r--vp9/common/vp9_enums.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/vp9/common/vp9_enums.h b/vp9/common/vp9_enums.h
index 2720386aa..ef9398d4d 100644
--- a/vp9/common/vp9_enums.h
+++ b/vp9/common/vp9_enums.h
@@ -13,12 +13,12 @@
#include "./vpx_config.h"
-#define LOG2_MI_SIZE 3
-#define LOG2_MI_BLOCK_SIZE (6 - LOG2_MI_SIZE) // 64 = 2^6
+#define MI_SIZE_LOG2 3
+#define MI_BLOCK_SIZE_LOG2 (6 - MI_SIZE_LOG2) // 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_SIZE (1 << MI_SIZE_LOG2) // pixels per mi-unit
+#define MI_BLOCK_SIZE (1 << MI_BLOCK_SIZE_LOG2) // mi-units per max block
#define MI_MASK (MI_BLOCK_SIZE - 1)