]> granicus.if.org Git - libvpx/commitdiff
vp9_pick_inter_mode: normalize some types
authorJames Zern <jzern@google.com>
Sun, 17 Aug 2014 00:05:02 +0000 (17:05 -0700)
committerJames Zern <jzern@google.com>
Sat, 6 Sep 2014 02:22:54 +0000 (19:22 -0700)
Change-Id: I4c74dcab6358817f03d3bc4d526006d241f0c10e

vp9/encoder/vp9_pickmode.c

index e046791eaece0b5d961f2355ca9d477d674b19d9..a97d77831dcba50b54fb92650f8f73be8aff2694 100644 (file)
@@ -443,9 +443,9 @@ void vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
       20 * vp9_dc_quant(cm->base_qindex, cm->y_dc_delta_q);
   const int64_t inter_mode_thresh = RDCOST(x->rdmult, x->rddiv,
                                            intra_cost_penalty, 0);
-  const int64_t intra_mode_cost = 50;
+  const int intra_mode_cost = 50;
 
-  unsigned char segment_id = mbmi->segment_id;
+  const int8_t segment_id = mbmi->segment_id;
   const int *const rd_threshes = cpi->rd.threshes[segment_id][bsize];
   const int *const rd_thresh_freq_fact = cpi->rd.thresh_freq_fact[bsize];
   INTERP_FILTER filter_ref = cm->interp_filter;