shithub: libvpx

Download patch

ref: 3c28fb768ddabb032ceb931e80133cc1b66de2e2
parent: d7febaf5c5c6872a38c4667da8cc380224184a25
author: Jingning Han <jingning@google.com>
date: Tue Oct 7 11:00:22 EDT 2014

Use #define statement for MAX_MB_PLANE

Change-Id: I3a7f83ab1dbfcedc8a82fe798c2fa30dd9c7d696

--- 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;