shithub: libvpx

Download patch

ref: 3c94fffdb051d1c41c5d6ea1a616ccbc8baf54f2
parent: 60969da5cb2006e25dbbe62d4f8defaa6ea95cfd
author: Dmitry Kovalev <dkovalev@google.com>
date: Fri Jul 12 12:25:23 EDT 2013

Removing redundant call to set_mi_row_col.

This function is actually called from set_offsets which is called right
before vp9_read_mode_info.

Change-Id: Ibb9d5ad606194bc80eab264fad85b31c9dfd8f77

--- a/vp9/decoder/vp9_decodemv.c
+++ b/vp9/decoder/vp9_decodemv.c
@@ -473,12 +473,6 @@
 
   int idx, idy;
 
-  // Distance of Mb to the various image edges.
-  // These specified to 8th pel as they are always compared to MV values
-  // that are in 1/8th pel units
-  set_mi_row_col(cm, xd, mi_row, 1 << mi_height_log2(bsize),
-                         mi_col, 1 << mi_width_log2(bsize));
-
   mbmi->segment_id = read_inter_segment_id(pbi, mi_row, mi_col, r);
   mbmi->mb_skip_coeff = read_skip_coeff(pbi, mbmi->segment_id, r);
   mbmi->ref_frame[0] = read_reference_frame(pbi, mbmi->segment_id, r);