]> granicus.if.org Git - libvpx/commitdiff
Segment mode coding bug.
authorPaul Wilkins <paulwilkins@google.com>
Wed, 14 Nov 2012 14:33:28 +0000 (14:33 +0000)
committerPaul Wilkins <paulwilkins@google.com>
Wed, 14 Nov 2012 14:38:03 +0000 (14:38 +0000)
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

index ac41b3cb47ae76e5e3149793ecf78fba9e3b3f23..8174d8eed1d0268d2c94b393a788274057af3204 100644 (file)
@@ -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,