idct.c: remove dead static functions
Change-Id: I32f832a61752ab9d5a8fccab5897b67e1b68d76d
diff --git a/av1/common/idct.c b/av1/common/idct.c
index 328fa91..59bb0ed 100644
--- a/av1/common/idct.c
+++ b/av1/common/idct.c
@@ -35,82 +35,6 @@
}
}
-static void iidtx8_c(const tran_low_t *input, tran_low_t *output) {
- for (int i = 0; i < 8; ++i) {
- output[i] = input[i] * 2;
- }
-}
-
-static void iidtx16_c(const tran_low_t *input, tran_low_t *output) {
- for (int i = 0; i < 16; ++i) {
- output[i] = (tran_low_t)dct_const_round_shift(input[i] * 2 * Sqrt2);
- }
-}
-
-static void iidtx32_c(const tran_low_t *input, tran_low_t *output) {
- for (int i = 0; i < 32; ++i) {
- output[i] = input[i] * 4;
- }
-}
-
-static void iidtx64_c(const tran_low_t *input, tran_low_t *output) {
- for (int i = 0; i < 64; ++i) {
- output[i] = (tran_low_t)dct_const_round_shift(input[i] * 4 * Sqrt2);
- }
-}
-
-// For use in lieu of ADST
-static void ihalfright32_c(const tran_low_t *input, tran_low_t *output) {
- tran_low_t inputhalf[16];
- // Multiply input by sqrt(2)
- for (int i = 0; i < 16; ++i) {
- inputhalf[i] = (tran_low_t)dct_const_round_shift(input[i] * Sqrt2);
- }
- for (int i = 0; i < 16; ++i) {
- output[i] = input[16 + i] * 4;
- }
- aom_idct16_c(inputhalf, output + 16);
- // Note overall scaling factor is 4 times orthogonal
-}
-
-static const int8_t inv_stage_range_col_dct_64[12] = { 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0 };
-static const int8_t inv_stage_range_row_dct_64[12] = { 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0 };
-static void idct64_col_c(const tran_low_t *input, tran_low_t *output) {
- int32_t in[64], out[64];
- const int txw_idx = get_txw_idx(TX_64X64);
- const int txh_idx = get_txh_idx(TX_64X64);
- for (int i = 0; i < 64; ++i) in[i] = (int32_t)input[i];
- av1_idct64_new(in, out, inv_cos_bit_col[txw_idx][txh_idx],
- inv_stage_range_col_dct_64);
- for (int i = 0; i < 64; ++i) output[i] = (tran_low_t)out[i];
-}
-
-static void idct64_row_c(const tran_low_t *input, tran_low_t *output) {
- int32_t in[64], out[64];
- const int txw_idx = tx_size_wide_log2[TX_64X64] - tx_size_wide_log2[0];
- const int txh_idx = tx_size_high_log2[TX_64X64] - tx_size_high_log2[0];
- for (int i = 0; i < 64; ++i) in[i] = (int32_t)input[i];
- av1_idct64_new(in, out, inv_cos_bit_row[txw_idx][txh_idx],
- inv_stage_range_row_dct_64);
- for (int i = 0; i < 64; ++i) output[i] = (tran_low_t)out[i];
-}
-
-// For use in lieu of ADST
-static void ihalfright64_c(const tran_low_t *input, tran_low_t *output) {
- tran_low_t inputhalf[32];
- // Multiply input by sqrt(2)
- for (int i = 0; i < 32; ++i) {
- inputhalf[i] = (tran_low_t)dct_const_round_shift(input[i] * Sqrt2);
- }
- for (int i = 0; i < 32; ++i) {
- output[i] = (tran_low_t)dct_const_round_shift(input[32 + i] * 4 * Sqrt2);
- }
- aom_idct32_c(inputhalf, output + 32);
- // Note overall scaling factor is 4 * sqrt(2) times orthogonal
-}
-
#define FLIPUD_PTR(dest, stride, size) \
do { \
(dest) = (dest) + ((size)-1) * (stride); \