Skip to content

Commit

Permalink
Avoid use of deprecated inv-txfm in encoder
Browse files Browse the repository at this point in the history
Change-Id: Ie721eaf58d0716e340b9ebdff9fd215cfe0c3c2a
  • Loading branch information
fredbarbier committed Jun 28, 2017
1 parent 894cc81 commit 05b45e6
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions av1/encoder/encodemb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 05b45e6

Please sign in to comment.