From b527c4dbb759e40ebbc699086f3ff67f858d481c Mon Sep 17 00:00:00 2001 From: Paul Wilkins Date: Wed, 14 Nov 2012 14:33:28 +0000 Subject: [PATCH] Segment mode coding bug. There are now more than 16 possible modes so 5 bits required for segment mode feature. Note that it is likely that the mode feature and how it is coded will change but for now the 4 bits was a bug. Change-Id: I63348ae3a9cc31566a656c2dc78f09f5e1a9dcc9 --- vp9/common/seg_common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vp9/common/seg_common.c b/vp9/common/seg_common.c index ac41b3cb4..8174d8eed 100644 --- a/vp9/common/seg_common.c +++ b/vp9/common/seg_common.c @@ -11,7 +11,8 @@ #include "vp9/common/seg_common.h" static const int segfeaturedata_signed[SEG_LVL_MAX] = { 1, 1, 0, 0, 0, 0 }; -static const int seg_feature_data_bits[SEG_LVL_MAX] = { QINDEX_BITS, 6, 4, 4, 6, 2 }; +static const int seg_feature_data_bits[SEG_LVL_MAX] = + { QINDEX_BITS, 6, 4, 5, 6, 2 }; // These functions provide access to new segment level features. // Eventually these function may be "optimized out" but for the moment, -- 2.50.1