Move the daala_idtx8() function into daala_tx.c.
This commit has no impact on metrics.
Change-Id: I706b60232d45910b91f17544af20eaf8581b5ab5
diff --git a/av1/common/idct.c b/av1/common/idct.c
index e278b39..8dbcb10 100644
--- a/av1/common/idct.c
+++ b/av1/common/idct.c
@@ -43,11 +43,7 @@
static void iidtx8_c(const tran_low_t *input, tran_low_t *output) {
int i;
for (i = 0; i < 8; ++i) {
-#if CONFIG_DAALA_DCT8
- output[i] = input[i];
-#else
output[i] = input[i] * 2;
-#endif
}
}
@@ -1178,13 +1174,13 @@
{ daala_idst8, daala_idst8 }, // FLIPADST_FLIPADST
{ daala_idst8, daala_idst8 }, // ADST_FLIPADST
{ daala_idst8, daala_idst8 }, // FLIPADST_ADST
- { iidtx8_c, iidtx8_c }, // IDTX
- { daala_idct8, iidtx8_c }, // V_DCT
- { iidtx8_c, daala_idct8 }, // H_DCT
- { daala_idst8, iidtx8_c }, // V_ADST
- { iidtx8_c, daala_idst8 }, // H_ADST
- { daala_idst8, iidtx8_c }, // V_FLIPADST
- { iidtx8_c, daala_idst8 }, // H_FLIPADST
+ { daala_idtx8, daala_idtx8 }, // IDTX
+ { daala_idct8, daala_idtx8 }, // V_DCT
+ { daala_idtx8, daala_idct8 }, // H_DCT
+ { daala_idst8, daala_idtx8 }, // V_ADST
+ { daala_idtx8, daala_idst8 }, // H_ADST
+ { daala_idst8, daala_idtx8 }, // V_FLIPADST
+ { daala_idtx8, daala_idst8 }, // H_FLIPADST
#endif
#else
{ aom_idct8_c, aom_idct8_c }, // DCT_DCT = 0