From: Paul Wilkins Date: Wed, 14 Nov 2012 14:33:28 +0000 (+0000) Subject: Segment mode coding bug. X-Git-Tag: v1.3.0~1217^2~99^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b527c4dbb759e40ebbc699086f3ff67f858d481c;p=libvpx 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 --- 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,