Commit cf600296 authored by Hui Su's avatar Hui Su

Update inter_tx_size in reset_tx_size()

BUG=aomedia:1231

Change-Id: Ibddf60bfbdd6ac037ca4d2fa9bbc2eb30841991b
parent dc024c46
......@@ -388,6 +388,12 @@ static void reset_tx_size(MACROBLOCKD *xd, MB_MODE_INFO *mbmi,
depth_to_tx_size(MAX_TX_DEPTH, bsize, is_inter_block(mbmi));
mbmi->tx_size = (TX_SIZE)TXSIZEMAX(mbmi->tx_size, min_tx_size);
}
if (is_inter_block(mbmi)) {
for (int idy = 0; idy < xd->n8_h; ++idy) {
for (int idx = 0; idx < xd->n8_w; ++idx)
mbmi->inter_tx_size[idy][idx] = mbmi->tx_size;
}
}
}
static void set_ref_and_pred_mvs(MACROBLOCK *const x, int_mv *const mi_pred_mv,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment