summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJingning Han <jingning@google.com>2014-10-08 15:24:56 -0700
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2014-10-08 15:24:56 -0700
commit1c3398675fedbbf63e6bae2b25420669a07194a5 (patch)
tree23af7ebbe49c4b2c6192400269b826c85149c9e3
parentab35f9817ea27e84ca63e4a62eb6ceb2f27b22b2 (diff)
parent3c28fb768ddabb032ceb931e80133cc1b66de2e2 (diff)
downloadlibvpx-1c3398675fedbbf63e6bae2b25420669a07194a5.tar
libvpx-1c3398675fedbbf63e6bae2b25420669a07194a5.tar.gz
libvpx-1c3398675fedbbf63e6bae2b25420669a07194a5.tar.bz2
libvpx-1c3398675fedbbf63e6bae2b25420669a07194a5.zip
Merge "Use #define statement for MAX_MB_PLANE"
-rw-r--r--vp9/common/vp9_blockd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vp9/common/vp9_blockd.h b/vp9/common/vp9_blockd.h
index 9e79ba049..4eb8b1a94 100644
--- a/vp9/common/vp9_blockd.h
+++ b/vp9/common/vp9_blockd.h
@@ -47,6 +47,8 @@ typedef enum {
PLANE_TYPES
} PLANE_TYPE;
+#define MAX_MB_PLANE 3
+
typedef char ENTROPY_CONTEXT;
static INLINE int combine_entropy_contexts(ENTROPY_CONTEXT a,
@@ -160,8 +162,6 @@ enum mv_precision {
MV_PRECISION_Q4
};
-enum { MAX_MB_PLANE = 3 };
-
struct buf_2d {
uint8_t *buf;
int stride;