Changed size of mb_mode_context to 8 bits
authorScott LaVarnway <slavarnway@google.com>
Mon, 24 Jun 2013 21:11:16 +0000 (17:11 -0400)
committerScott LaVarnway <slavarnway@google.com>
Mon, 24 Jun 2013 21:11:16 +0000 (17:11 -0400)
This reduced the size of the MODE_INFO array (mip and prev_mip)
by 425,568 bytes each for 1080p resolutions.

Change-Id: Ifa513ec2d0a49e8ec0867ec90620762fb7f1261d

vp9/common/vp9_blockd.h

index 37d29af..4cdf5a1 100644 (file)
@@ -214,7 +214,7 @@ typedef struct {
   int_mv ref_mvs[MAX_REF_FRAMES][MAX_MV_REF_CANDIDATES];
   int_mv best_mv, best_second_mv;
 
-  int mb_mode_context[MAX_REF_FRAMES];
+  uint8_t mb_mode_context[MAX_REF_FRAMES];
 
   unsigned char mb_skip_coeff;                                /* does this mb has coefficients at all, 1=no coefficients, 0=need decode tokens */
   unsigned char segment_id;           // Segment id for current frame