Commit 05b45e6b authored by Frederic Barbier's avatar Frederic Barbier Committed by Fred BARBIER

Avoid use of deprecated inv-txfm in encoder

Change-Id: Ie721eaf58d0716e340b9ebdff9fd215cfe0c3c2a
parent 894cc813
......@@ -906,13 +906,9 @@ static void encode_block_pass1(int plane, int block, int blk_row, int blk_col,
#endif // !CONFIG_PVQ
#if CONFIG_HIGHBITDEPTH
if (xd->cur_buf->flags & YV12_FLAG_HIGHBITDEPTH) {
if (xd->lossless[xd->mi[0]->mbmi.segment_id]) {
av1_highbd_iwht4x4_add(dqcoeff, dst, pd->dst.stride, p->eobs[block],
xd->bd);
} else {
av1_highbd_idct4x4_add(dqcoeff, dst, pd->dst.stride, p->eobs[block],
xd->bd);
}
av1_highbd_inv_txfm_add_4x4(dqcoeff, dst, pd->dst.stride, p->eobs[block],
xd->bd, DCT_DCT,
xd->lossless[xd->mi[0]->mbmi.segment_id]);
return;
}
#endif // CONFIG_HIGHBITDEPTH
......
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