Commit 17a3d31d authored by Geza Lore's avatar Geza Lore
Browse files

Fix for supertx: ignore skip_txfm optimization

Change-Id: I80eedb548c449ec43c6b5b88c5493b665606906e
parent 331b0295
......@@ -5143,6 +5143,13 @@ static void rd_supertx_sb(VP10_COMP *cpi, ThreadData *td,
predict_sb_complex(cpi, td, tile, mi_row, mi_col, mi_row, mi_col,
0, bsize, bsize, dst_buf, dst_stride, pc_tree);
// These skip_txfm flags are previously set by the non-supertx RD search.
// vp10_txfm_rd_in_plane_supertx calls block_rd_txfm, which checks these
// to reuse distortion values from the RD estimation, so we reset these
// flags here before evaluating RD for supertx coding.
for (plane = 0 ; plane < MAX_MB_PLANE ; plane++)
x->skip_txfm[plane << 2] = SKIP_TXFM_NONE;
set_offsets(cpi, tile, x, mi_row, mi_col, bsize);
*best_tx = DCT_DCT;
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