]> granicus.if.org Git - libvpx/commitdiff
Removing redundant call to set_mi_row_col.
authorDmitry Kovalev <dkovalev@google.com>
Fri, 12 Jul 2013 23:25:23 +0000 (16:25 -0700)
committerDmitry Kovalev <dkovalev@google.com>
Fri, 12 Jul 2013 23:25:23 +0000 (16:25 -0700)
This function is actually called from set_offsets which is called right
before vp9_read_mode_info.

Change-Id: Ibb9d5ad606194bc80eab264fad85b31c9dfd8f77

vp9/decoder/vp9_decodemv.c

index 22be55f23b4dcd76e9efc4cbb1feb7fb4380d18e..56f43254eb42199b93a97119bf3d8120087be6e9 100644 (file)
@@ -473,12 +473,6 @@ static void read_inter_mode_info(VP9D_COMP *pbi, MODE_INFO *mi,
 
   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);