From 3c94fffdb051d1c41c5d6ea1a616ccbc8baf54f2 Mon Sep 17 00:00:00 2001 From: Dmitry Kovalev Date: Fri, 12 Jul 2013 16:25:23 -0700 Subject: [PATCH] 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 --- vp9/decoder/vp9_decodemv.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/vp9/decoder/vp9_decodemv.c b/vp9/decoder/vp9_decodemv.c index 22be55f..56f4325 100644 --- a/vp9/decoder/vp9_decodemv.c +++ b/vp9/decoder/vp9_decodemv.c @@ -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); -- 2.7.4