]> granicus.if.org Git - libvpx/commitdiff
Fix segment feature data type.
authorRonald S. Bultje <rbultje@google.com>
Fri, 7 Jun 2013 18:41:00 +0000 (11:41 -0700)
committerRonald S. Bultje <rbultje@google.com>
Fri, 7 Jun 2013 20:57:27 +0000 (13:57 -0700)
It has a range of -255,255, so should be int16_t, not int8_t.

Change-Id: I5ef4b6aefb6212b0f35f4754f3c4d73fddbc52a0

vp9/common/vp9_blockd.h

index 4b06a61bd4bab10c6357285649cf6be0e70a1004..52b736b84062681b22ee64a426b28cfb5c5a73f0 100644 (file)
@@ -327,7 +327,7 @@ typedef struct macroblockd {
   vp9_prob mb_segment_tree_probs[MB_SEG_TREE_PROBS];
 
   // Segment features
-  signed char segment_feature_data[MAX_MB_SEGMENTS][SEG_LVL_MAX];
+  int16_t segment_feature_data[MAX_MB_SEGMENTS][SEG_LVL_MAX];
   unsigned int segment_feature_mask[MAX_MB_SEGMENTS];
 
   /* mode_based Loop filter adjustment */