From: Jingning Han Date: Tue, 9 Dec 2014 18:24:37 +0000 (-0800) Subject: Take out redundant setting of mode_info from set_block_size X-Git-Tag: v1.4.0~400^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f051a7beab914ceb76ef2f4ef10fb94c741b6d77;p=libvpx Take out redundant setting of mode_info from set_block_size The later encoding process will take the top-left block's mode_info for pre-determined block size. Change-Id: I76a90f9ce7f3b2dbc2975b52442114e461c465b5 --- diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c index 929a08424..fc3525210 100644 --- a/vp9/encoder/vp9_encodeframe.c +++ b/vp9/encoder/vp9_encodeframe.c @@ -272,7 +272,6 @@ static void set_block_size(VP9_COMP * const cpi, if (cpi->common.mi_cols > mi_col && cpi->common.mi_rows > mi_row) { set_modeinfo_offsets(&cpi->common, xd, mi_row, mi_col); xd->mi[0].src_mi->mbmi.sb_type = bsize; - duplicate_mode_info_in_sb(&cpi->common, xd, mi_row, mi_col, bsize); } }