Remove vp9_blockd.h from vp9_common_data.c
authorJingning Han <jingning@google.com>
Tue, 7 Oct 2014 20:02:54 +0000 (13:02 -0700)
committerJingning Han <jingning@google.com>
Tue, 7 Oct 2014 20:02:54 +0000 (13:02 -0700)
The basic data defs should be above block operation level.

Change-Id: I7dd9836d01120ab75e0c472baac9f15495ed0db5

vp9/common/vp9_blockd.h
vp9/common/vp9_common_data.c
vp9/common/vp9_enums.h

index 2436694..9e79ba0 100644 (file)
@@ -49,8 +49,6 @@ typedef enum {
 
 typedef char ENTROPY_CONTEXT;
 
-typedef char PARTITION_CONTEXT;
-
 static INLINE int combine_entropy_contexts(ENTROPY_CONTEXT a,
                                            ENTROPY_CONTEXT b) {
   return (a != 0) + (b != 0);
index d4c1b71..77bbe43 100644 (file)
@@ -8,8 +8,6 @@
  *  be found in the AUTHORS file in the root of the source tree.
  */
 
-
-#include "vp9/common/vp9_blockd.h"
 #include "vp9/common/vp9_common_data.h"
 
 // Log 2 conversion lookup tables for block width and height
index 8817fdb..f83d21f 100644 (file)
@@ -67,6 +67,7 @@ typedef enum PARTITION_TYPE {
   PARTITION_INVALID = PARTITION_TYPES
 } PARTITION_TYPE;
 
+typedef char PARTITION_CONTEXT;
 #define PARTITION_PLOFFSET   4  // number of probability models per block size
 #define PARTITION_CONTEXTS (4 * PARTITION_PLOFFSET)