Commit 3f45fb3d authored by Nathan E. Egge's avatar Nathan E. Egge Committed by Nathan Egge

Move the daala_idtx8() function into daala_tx.c.

This commit has no impact on metrics.

Change-Id: I706b60232d45910b91f17544af20eaf8581b5ab5
parent 31f24eec
......@@ -4184,6 +4184,11 @@ void daala_idst8(const tran_low_t *input, tran_low_t *output) {
for (i = 0; i < 8; i++) output[i] = (tran_low_t)x[i];
}
void daala_idtx8(const tran_low_t *input, tran_low_t *output) {
int i;
for (i = 0; i < 8; i++) output[i] = input[i];
}
void daala_fdct16(const tran_low_t *input, tran_low_t *output) {
int i;
od_coeff x[16];
......
......@@ -13,6 +13,7 @@ void daala_fdct8(const tran_low_t *input, tran_low_t *output);
void daala_idct8(const tran_low_t *input, tran_low_t *output);
void daala_fdst8(const tran_low_t *input, tran_low_t *output);
void daala_idst8(const tran_low_t *input, tran_low_t *output);
void daala_idtx8(const tran_low_t *input, tran_low_t *output);
void daala_fdct16(const tran_low_t *input, tran_low_t *output);
void daala_idct16(const tran_low_t *input, tran_low_t *output);
void daala_fdst16(const tran_low_t *input, tran_low_t *output);
......
......@@ -43,11 +43,7 @@ static void iidtx4_c(const tran_low_t *input, tran_low_t *output) {
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 @@ void av1_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int stride,
{ 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
......
......@@ -1126,11 +1126,7 @@ static void fidtx4(const tran_low_t *input, tran_low_t *output) {
static void fidtx8(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
}
}
......@@ -2183,13 +2179,13 @@ void av1_fht8x8_c(const int16_t *input, tran_low_t *output, int stride,
{ daala_fdst8, daala_fdst8 }, // FLIPADST_FLIPADST
{ daala_fdst8, daala_fdst8 }, // ADST_FLIPADST
{ daala_fdst8, daala_fdst8 }, // FLIPADST_ADST
{ fidtx8, fidtx8 }, // IDTX
{ daala_fdct8, fidtx8 }, // V_DCT
{ fidtx8, daala_fdct8 }, // H_DCT
{ daala_fdst8, fidtx8 }, // V_ADST
{ fidtx8, daala_fdst8 }, // H_ADST
{ daala_fdst8, fidtx8 }, // V_FLIPADST
{ fidtx8, daala_fdst8 }, // H_FLIPADST
{ daala_idtx8, daala_idtx8 }, // IDTX
{ daala_fdct8, daala_idtx8 }, // V_DCT
{ daala_idtx8, daala_fdct8 }, // H_DCT
{ daala_fdst8, daala_idtx8 }, // V_ADST
{ daala_idtx8, daala_fdst8 }, // H_ADST
{ daala_fdst8, daala_idtx8 }, // V_FLIPADST
{ daala_idtx8, daala_fdst8 }, // H_FLIPADST
#endif
#else
{ fdct8, fdct8 }, // DCT_DCT
......
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