#include <math.h>
#include "test/av1_txfm_test.h"
#include "test/util.h"
#include "av1/common/av1_inv_txfm1d.h"
#include "av1/encoder/av1_fwd_txfm1d.h"
TxSize;
ACMRandom;
input_base;
namespace {
const int txfm_type_num = …;
const int txfm_size_ls[] = …;
const TxfmFunc fwd_txfm_func_ls[][txfm_type_num] = …;
const TxfmFunc inv_txfm_func_ls[][txfm_type_num] = …;
const int8_t cos_bit = …;
const int8_t range_bit[12] = …;
void reference_idct_1d_int(const int32_t *in, int32_t *out, int size) { … }
void random_matrix(int32_t *dst, int len, ACMRandom *rnd) { … }
TEST(av1_inv_txfm1d, InvAccuracyCheck) { … }
static inline int get_max_bit(int x) { … }
TEST(av1_inv_txfm1d, get_max_bit) { … }
TEST(av1_inv_txfm1d, round_trip) { … }
}