shithub: libvpx

Download patch

ref: fb1f6f1db4be474067bb8cc57fcb2ae9a95255b2
parent: 363dc6ceda3e2d2e11083eb29161b56b9b11057e
author: Ronald S. Bultje <[email protected]>
date: Fri Jun 7 07:41:00 EDT 2013

Fix segment feature data type.

It has a range of -255,255, so should be int16_t, not int8_t.

Change-Id: I5ef4b6aefb6212b0f35f4754f3c4d73fddbc52a0

--- a/vp9/common/vp9_blockd.h
+++ b/vp9/common/vp9_blockd.h
@@ -327,7 +327,7 @@
   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 */