From: James Zern Date: Wed, 11 May 2016 02:07:41 +0000 (-0700) Subject: av1_inv_txfm_test: fix decode-only build X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba98061af331bb8686c2bba17d7a8e90539ccbf3;p=libvpx av1_inv_txfm_test: fix decode-only build fdct's are only enabled with --enable-av1-encoder Change-Id: Iaf1dfdf713f2ecd1d215ba7ec635f353c02fa4d0 --- diff --git a/test/av1_inv_txfm_test.cc b/test/av1_inv_txfm_test.cc index 1a7c102af..83a76809a 100644 --- a/test/av1_inv_txfm_test.cc +++ b/test/av1_inv_txfm_test.cc @@ -109,6 +109,7 @@ INSTANTIATE_TEST_CASE_P( IdctParam(&av1_idct16_c, &reference_idct_1d, 16, 4), IdctParam(&av1_idct32_c, &reference_idct_1d, 32, 6))); +#if CONFIG_AV1_ENCODER typedef void (*FwdTxfmFunc)(const int16_t *in, tran_low_t *out, int stride); typedef void (*InvTxfmFunc)(const tran_low_t *in, uint8_t *out, int stride); typedef std::tr1::tuple @@ -272,4 +273,5 @@ INSTANTIATE_TEST_CASE_P( &av1_idct8x8_1_add_c, TX_8X8, 1), make_tuple(&av1_fdct4x4_c, &av1_idct4x4_16_add_c, &av1_idct4x4_1_add_c, TX_4X4, 1))); +#endif // CONFIG_AV1_ENCODER } // namespace