From 3c28fb768ddabb032ceb931e80133cc1b66de2e2 Mon Sep 17 00:00:00 2001 From: Jingning Han Date: Tue, 7 Oct 2014 15:00:22 -0700 Subject: [PATCH] Use #define statement for MAX_MB_PLANE Change-Id: I3a7f83ab1dbfcedc8a82fe798c2fa30dd9c7d696 --- vp9/common/vp9_blockd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vp9/common/vp9_blockd.h b/vp9/common/vp9_blockd.h index 9e79ba0..4eb8b1a 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; -- 2.7.4