diff options
Diffstat (limited to 'vp9/encoder/vp9_encodeframe.c')
-rw-r--r-- | vp9/encoder/vp9_encodeframe.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c index f0282b387..631a27688 100644 --- a/vp9/encoder/vp9_encodeframe.c +++ b/vp9/encoder/vp9_encodeframe.c @@ -22,6 +22,7 @@ #include "vp9/common/vp9_entropymode.h" #include "vp9/common/vp9_extend.h" #include "vp9/common/vp9_findnearmv.h" +#include "vp9/common/vp9_idct.h" #include "vp9/common/vp9_mvref_common.h" #include "vp9/common/vp9_pred_common.h" #include "vp9/common/vp9_quant_common.h" @@ -1862,8 +1863,7 @@ static void switch_lossless_mode(VP9_COMP *cpi, int lossless) { // printf("Switching to lossless\n"); cpi->mb.fwd_txm8x4 = vp9_short_walsh8x4; cpi->mb.fwd_txm4x4 = vp9_short_walsh4x4; - cpi->mb.e_mbd.inv_txm4x4_1_add = vp9_iwht4x4_1_add; - cpi->mb.e_mbd.inv_txm4x4_add = vp9_iwht4x4_16_add; + cpi->mb.e_mbd.itxm_add = vp9_iwht4x4_add; cpi->mb.optimize = 0; cpi->common.lf.filter_level = 0; cpi->zbin_mode_boost_enabled = 0; @@ -1872,8 +1872,7 @@ static void switch_lossless_mode(VP9_COMP *cpi, int lossless) { // printf("Not lossless\n"); cpi->mb.fwd_txm8x4 = vp9_short_fdct8x4; cpi->mb.fwd_txm4x4 = vp9_short_fdct4x4; - cpi->mb.e_mbd.inv_txm4x4_1_add = vp9_idct4x4_1_add; - cpi->mb.e_mbd.inv_txm4x4_add = vp9_idct4x4_16_add; + cpi->mb.e_mbd.itxm_add = vp9_idct4x4_add; } } |