ref: 1c3398675fedbbf63e6bae2b25420669a07194a5
parent: ab35f9817ea27e84ca63e4a62eb6ceb2f27b22b2
parent: 3c28fb768ddabb032ceb931e80133cc1b66de2e2
author: Jingning Han <[email protected]>
date: Wed Oct 8 11:24:56 EDT 2014
Merge "Use #define statement for MAX_MB_PLANE"
--- a/vp9/common/vp9_blockd.h
+++ b/vp9/common/vp9_blockd.h
@@ -47,6 +47,8 @@
PLANE_TYPES
} PLANE_TYPE;
+#define MAX_MB_PLANE 3
+
typedef char ENTROPY_CONTEXT;
static INLINE int combine_entropy_contexts(ENTROPY_CONTEXT a,
@@ -159,8 +161,6 @@
MV_PRECISION_Q3,
MV_PRECISION_Q4
};
-
-enum { MAX_MB_PLANE = 3 };
struct buf_2d {
uint8_t *buf;