From fb1f6f1db4be474067bb8cc57fcb2ae9a95255b2 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Fri, 7 Jun 2013 11:41:00 -0700 Subject: [PATCH] Fix segment feature data type. It has a range of -255,255, so should be int16_t, not int8_t. Change-Id: I5ef4b6aefb6212b0f35f4754f3c4d73fddbc52a0 --- vp9/common/vp9_blockd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp9/common/vp9_blockd.h b/vp9/common/vp9_blockd.h index 4b06a61bd..52b736b84 100644 --- a/vp9/common/vp9_blockd.h +++ b/vp9/common/vp9_blockd.h @@ -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 */ -- 2.40.0