From: Jingning Han Date: Tue, 7 Oct 2014 22:00:22 +0000 (-0700) Subject: Use #define statement for MAX_MB_PLANE X-Git-Tag: v1.4.0~651^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3c28fb768ddabb032ceb931e80133cc1b66de2e2;p=libvpx Use #define statement for MAX_MB_PLANE Change-Id: I3a7f83ab1dbfcedc8a82fe798c2fa30dd9c7d696 --- 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;