Commit 93855623 authored by James Zern's avatar James Zern

av1_inv_txfm_test: fix decode-only build

fdct's are only enabled with --enable-av1-encoder

Change-Id: Iaf1dfdf713f2ecd1d215ba7ec635f353c02fa4d0
parent 9f600990
......@@ -110,6 +110,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<FwdTxfmFunc, InvTxfmFunc, InvTxfmFunc, TX_SIZE, int>
......@@ -273,4 +274,5 @@ INSTANTIATE_TEST_CASE_P(
&av1_idct8x8_1_add_c, TX_8X8, 1),
make_tuple(&aom_fdct4x4_c, &av1_idct4x4_16_add_c,
&av1_idct4x4_1_add_c, TX_4X4, 1)));
#endif // CONFIG_AV1_ENCODER
} // namespace
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