Commit 52a17635 authored by Yaowu Xu's avatar Yaowu Xu

Add the skip parameter to set_txfm_ctxs() calls

BUG=aomedia:88

Change-Id: Ie45052d8c91e96d1fda048bc4240cec396fc33d8
parent 360e444a
......@@ -717,7 +717,7 @@ static void set_param_topblock(AV1_COMMON *const cm, MACROBLOCKD *const xd,
xd->above_txfm_context = cm->above_txfm_context + mi_col;
xd->left_txfm_context =
xd->left_txfm_context_buffer + (mi_row & MAX_MIB_MASK);
set_txfm_ctxs(xd->mi[0]->mbmi.tx_size, bw, bh, xd);
set_txfm_ctxs(xd->mi[0]->mbmi.tx_size, bw, bh, skip, xd);
#endif
}
......
......@@ -2303,7 +2303,8 @@ static void encode_sb(const AV1_COMP *const cpi, ThreadData *td,
update_partition_context(xd, mi_row, mi_col, subsize, bsize);
#endif
#if CONFIG_VAR_TX
set_txfm_ctxs(supertx_size, mi_width, mi_height, xd);
set_txfm_ctxs(supertx_size, mi_width, mi_height, xd->mi[0]->mbmi.skip,
xd);
#endif // CONFIG_VAR_TX
return;
} else {
......
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