#include "test/av1_txfm_test.h"
#include <stdio.h>
#include <memory>
#include <new>
namespace libaom_test {
const char *tx_type_name[] = …;
int get_txfm1d_size(TX_SIZE tx_size) { … }
void get_txfm1d_type(TX_TYPE txfm2d_type, TYPE_TXFM *type0, TYPE_TXFM *type1) { … }
double Sqrt2 = …;
double invSqrt2 = …;
static double dct_matrix(double n, double k, int size) { … }
void reference_dct_1d(const double *in, double *out, int size) { … }
void reference_idct_1d(const double *in, double *out, int size) { … }
static void fadst4_new(const tran_low_t *input, tran_low_t *output) { … }
void reference_adst_1d(const double *in, double *out, int size) { … }
static void reference_idtx_1d(const double *in, double *out, int size) { … }
void reference_hybrid_1d(double *in, double *out, int size, int type) { … }
double get_amplification_factor(TX_TYPE tx_type, TX_SIZE tx_size) { … }
void reference_hybrid_2d(double *in, double *out, TX_TYPE tx_type,
TX_SIZE tx_size) { … }
template <typename Type>
void fliplr(Type *dest, int width, int height, int stride) { … }
template <typename Type>
void flipud(Type *dest, int width, int height, int stride) { … }
template <typename Type>
void fliplrud(Type *dest, int width, int height, int stride) { … }
template void fliplr<double>(double *dest, int width, int height, int stride);
template void flipud<double>(double *dest, int width, int height, int stride);
template void fliplrud<double>(double *dest, int width, int height, int stride);
int bd_arr[BD_NUM] = …;
int8_t low_range_arr[BD_NUM] = …;
int8_t high_range_arr[BD_NUM] = …;
void txfm_stage_range_check(const int8_t *stage_range, int stage_num,
int8_t cos_bit, int low_range, int high_range) { … }
}