#include <math.h>
#include "config/aom_dsp_rtcd.h"
#include "config/av1_rtcd.h"
#include "aom_ports/mem.h"
#include "av1/common/av1_inv_txfm1d_cfg.h"
#include "av1/common/av1_txfm.h"
#include "av1/common/blockd.h"
#include "av1/common/enums.h"
#include "av1/common/idct.h"
int av1_get_tx_scale(const TX_SIZE tx_size) { … }
void av1_highbd_iwht4x4_add(const tran_low_t *input, uint8_t *dest, int stride,
int eob, int bd) { … }
static void highbd_inv_txfm_add_4x4_c(const tran_low_t *input, uint8_t *dest,
int stride, const TxfmParam *txfm_param) { … }
static void highbd_inv_txfm_add_4x8_c(const tran_low_t *input, uint8_t *dest,
int stride, const TxfmParam *txfm_param) { … }
static void highbd_inv_txfm_add_8x4_c(const tran_low_t *input, uint8_t *dest,
int stride, const TxfmParam *txfm_param) { … }
static void highbd_inv_txfm_add_16x32_c(const tran_low_t *input, uint8_t *dest,
int stride,
const TxfmParam *txfm_param) { … }
static void highbd_inv_txfm_add_32x16_c(const tran_low_t *input, uint8_t *dest,
int stride,
const TxfmParam *txfm_param) { … }
static void highbd_inv_txfm_add_16x4_c(const tran_low_t *input, uint8_t *dest,
int stride,
const TxfmParam *txfm_param) { … }
static void highbd_inv_txfm_add_4x16_c(const tran_low_t *input, uint8_t *dest,
int stride,
const TxfmParam *txfm_param) { … }
static void highbd_inv_txfm_add_32x8_c(const tran_low_t *input, uint8_t *dest,
int stride,
const TxfmParam *txfm_param) { … }
static void highbd_inv_txfm_add_8x32_c(const tran_low_t *input, uint8_t *dest,
int stride,
const TxfmParam *txfm_param) { … }
static void highbd_inv_txfm_add_32x64_c(const tran_low_t *input, uint8_t *dest,
int stride,
const TxfmParam *txfm_param) { … }
static void highbd_inv_txfm_add_64x32_c(const tran_low_t *input, uint8_t *dest,
int stride,
const TxfmParam *txfm_param) { … }
static void highbd_inv_txfm_add_16x64_c(const tran_low_t *input, uint8_t *dest,
int stride,
const TxfmParam *txfm_param) { … }
static void highbd_inv_txfm_add_64x16_c(const tran_low_t *input, uint8_t *dest,
int stride,
const TxfmParam *txfm_param) { … }
static void highbd_inv_txfm_add_8x8_c(const tran_low_t *input, uint8_t *dest,
int stride, const TxfmParam *txfm_param) { … }
static void highbd_inv_txfm_add_16x16_c(const tran_low_t *input, uint8_t *dest,
int stride,
const TxfmParam *txfm_param) { … }
static void highbd_inv_txfm_add_8x16_c(const tran_low_t *input, uint8_t *dest,
int stride,
const TxfmParam *txfm_param) { … }
static void highbd_inv_txfm_add_16x8_c(const tran_low_t *input, uint8_t *dest,
int stride,
const TxfmParam *txfm_param) { … }
static void highbd_inv_txfm_add_32x32_c(const tran_low_t *input, uint8_t *dest,
int stride,
const TxfmParam *txfm_param) { … }
static void highbd_inv_txfm_add_64x64_c(const tran_low_t *input, uint8_t *dest,
int stride,
const TxfmParam *txfm_param) { … }
static void init_txfm_param(const MACROBLOCKD *xd, int plane, TX_SIZE tx_size,
TX_TYPE tx_type, int eob, int reduced_tx_set,
TxfmParam *txfm_param) { … }
void av1_highbd_inv_txfm_add_c(const tran_low_t *input, uint8_t *dest,
int stride, const TxfmParam *txfm_param) { … }
void av1_inv_txfm_add_c(const tran_low_t *dqcoeff, uint8_t *dst, int stride,
const TxfmParam *txfm_param) { … }
void av1_inverse_transform_block(const MACROBLOCKD *xd,
const tran_low_t *dqcoeff, int plane,
TX_TYPE tx_type, TX_SIZE tx_size, uint8_t *dst,
int stride, int eob, int reduced_tx_set) { … }