Remove set_scale_factors call
authorYunqing Wang <yunqingwang@google.com>
Thu, 30 May 2013 00:07:53 +0000 (17:07 -0700)
committerYunqing Wang <yunqingwang@google.com>
Thu, 30 May 2013 00:07:53 +0000 (17:07 -0700)
We could remove calling set_scale_factors() since it is also
done in set_refs() right after vp9_decode_mb_mode_mv() call in
decode_modes_b().

Change-Id: I9e62c90ffb770240987cd42815786567261b5d97

vp9/decoder/vp9_decodemv.c

index 6b511b5..77527c0 100644 (file)
@@ -862,9 +862,6 @@ void vp9_decode_mb_mode_mv(VP9D_COMP* const pbi,
     kfread_modes(pbi, mi, mi_row, mi_col, r);
   } else {
     read_mb_modes_mv(pbi, mi, &mi->mbmi, mi_row, mi_col, r);
-    set_scale_factors(xd,
-                      mi->mbmi.ref_frame - 1, mi->mbmi.second_ref_frame - 1,
-                      cm->active_ref_scale);
   }
 
   if (1) {