From 57c83b330ea61dc954a5963a845c5e86b27b086d Mon Sep 17 00:00:00 2001 From: Jingning Han Date: Thu, 11 Feb 2016 11:14:55 -0800 Subject: [PATCH] Remove redundant parameters from vp10_txfm_rd_in_plane_supertx() Change-Id: Icb164403239f88f18fd64de75d4881d33d3ab1cc --- vp10/encoder/rdopt.c | 6 ------ vp10/encoder/rdopt.h | 3 --- 2 files changed, 9 deletions(-) diff --git a/vp10/encoder/rdopt.c b/vp10/encoder/rdopt.c index 7ff886854..9287bdb6c 100644 --- a/vp10/encoder/rdopt.c +++ b/vp10/encoder/rdopt.c @@ -805,9 +805,6 @@ static void txfm_rd_in_plane(MACROBLOCK *x, #if CONFIG_SUPERTX void vp10_txfm_rd_in_plane_supertx(MACROBLOCK *x, -#if CONFIG_VAR_TX - const VP10_COMP *cpi, -#endif int *rate, int64_t *distortion, int *skippable, int64_t *sse, int64_t ref_best_rd, int plane, @@ -820,9 +817,6 @@ void vp10_txfm_rd_in_plane_supertx(MACROBLOCK *x, vp10_zero(args); args.x = x; -#if CONFIG_VAR_TX - args.cpi = cpi; -#endif args.best_rd = ref_best_rd; args.use_fast_coef_costing = use_fast_coef_casting; diff --git a/vp10/encoder/rdopt.h b/vp10/encoder/rdopt.h index a6394fa45..7c7e9ebb3 100644 --- a/vp10/encoder/rdopt.h +++ b/vp10/encoder/rdopt.h @@ -82,9 +82,6 @@ void vp10_tx_block_rd_b(const VP10_COMP *cpi, MACROBLOCK *x, TX_SIZE tx_size, #endif void vp10_txfm_rd_in_plane_supertx(MACROBLOCK *x, -#if CONFIG_VAR_TX - const VP10_COMP *cpi, -#endif // CONFIG_VAR_TX int *rate, int64_t *distortion, int *skippable, int64_t *sse, int64_t ref_best_rd, int plane, -- 2.50.1