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;