From dfa2ecc3f1babeb8a467952825b297a4e7fd5a8f Mon Sep 17 00:00:00 2001 From: Scott LaVarnway Date: Mon, 24 Jun 2013 17:11:16 -0400 Subject: [PATCH] Changed size of mb_mode_context to 8 bits 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp9/common/vp9_blockd.h b/vp9/common/vp9_blockd.h index 37d29af..4cdf5a1 100644 --- a/vp9/common/vp9_blockd.h +++ b/vp9/common/vp9_blockd.h @@ -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 -- 2.7.4