Commit 7e32a4cc authored by Jingning Han's avatar Jingning Han

Fix high bit-depth transform unit test failure

BUG=aomedia:430

Change-Id: I1e6fc42163b94f221d3010f00bb5e085707687c8
parent 65113f38
......@@ -14,7 +14,7 @@
namespace libaom_test {
int get_txfm1d_size(TX_SIZE tx_size) { return 1 << (tx_size + 2); }
int get_txfm1d_size(TX_SIZE tx_size) { return tx_size_wide[tx_size]; }
void get_txfm1d_type(TX_TYPE txfm2d_type, TYPE_TXFM *type0, TYPE_TXFM *type1) {
switch (txfm2d_type) {
......
......@@ -79,12 +79,18 @@ static const int input_base = (1 << bd);
#if CONFIG_AOM_HIGHBITDEPTH
#if CONFIG_AV1_ENCODER
static const Fwd_Txfm2d_Func fwd_txfm_func_ls[TX_SIZES] = {
#if CONFIG_CB4X4
NULL,
#endif
av1_fwd_txfm2d_4x4_c, av1_fwd_txfm2d_8x8_c, av1_fwd_txfm2d_16x16_c,
av1_fwd_txfm2d_32x32_c
};
#endif
static const Inv_Txfm2d_Func inv_txfm_func_ls[TX_SIZES] = {
#if CONFIG_CB4X4
NULL,
#endif
av1_inv_txfm2d_add_4x4_c, av1_inv_txfm2d_add_8x8_c,
av1_inv_txfm2d_add_16x16_c, av1_inv_txfm2d_add_32x32_c
};
......
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