Commit 4d5cf537 authored by Urvang Joshi's avatar Urvang Joshi

Swap new size 8 and 16 fwd/inv transforms for ADST

This is to make them similar to the ones in VP9.

Change-Id: Iaebf625f2dce4f159b8a8615f37003d773ee6450
parent eb2fd5c5
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -147,7 +147,7 @@ vector<AV1FwdTxfm2dParam> GetTxfm2dParamList() {
param_list.push_back(AV1FwdTxfm2dParam(tx_type, TX_4X8, 2.5, 0.4));
param_list.push_back(AV1FwdTxfm2dParam(tx_type, TX_8X4, 2.5, 0.4));
param_list.push_back(AV1FwdTxfm2dParam(tx_type, TX_8X16, 6.5, 1));
param_list.push_back(AV1FwdTxfm2dParam(tx_type, TX_16X8, 6, 1));
param_list.push_back(AV1FwdTxfm2dParam(tx_type, TX_16X8, 6.5, 1));
param_list.push_back(AV1FwdTxfm2dParam(tx_type, TX_16X32, 46, 7));
param_list.push_back(AV1FwdTxfm2dParam(tx_type, TX_32X16, 30, 7));
......
......@@ -146,12 +146,12 @@ vector<AV1InvTxfm2dParam> GetInvTxfm2dParamList() {
for (int t = 0; t <= FLIPADST_ADST; ++t) {
const TX_TYPE tx_type = static_cast<TX_TYPE>(t);
param_list.push_back(AV1InvTxfm2dParam(tx_type, TX_4X4, 2, 0.002));
param_list.push_back(AV1InvTxfm2dParam(tx_type, TX_8X8, 2, 0.02));
param_list.push_back(AV1InvTxfm2dParam(tx_type, TX_8X8, 2, 0.025));
param_list.push_back(AV1InvTxfm2dParam(tx_type, TX_16X16, 2, 0.04));
param_list.push_back(AV1InvTxfm2dParam(tx_type, TX_32X32, 4, 0.4));
param_list.push_back(AV1InvTxfm2dParam(tx_type, TX_4X8, 2, 0.012));
param_list.push_back(AV1InvTxfm2dParam(tx_type, TX_8X4, 2, 0.012));
param_list.push_back(AV1InvTxfm2dParam(tx_type, TX_4X8, 2, 0.016));
param_list.push_back(AV1InvTxfm2dParam(tx_type, TX_8X4, 2, 0.016));
param_list.push_back(AV1InvTxfm2dParam(tx_type, TX_8X16, 2, 0.033));
param_list.push_back(AV1InvTxfm2dParam(tx_type, TX_16X8, 2, 0.033));
param_list.push_back(AV1InvTxfm2dParam(tx_type, TX_16X32, 2, 0.4));
......
......@@ -255,7 +255,7 @@ class TransformTestBase {
int row_length = FindRowLength();
// The minimum quant value is 4.
for (int j = 0; j < num_coeffs_; ++j) {
EXPECT_EQ(output_block[j], output_ref_block[j])
ASSERT_EQ(output_block[j], output_ref_block[j])
<< "Not bit-exact at test index: " << i << ", "
<< "j = " << j << std::endl;
EXPECT_GE(row_length * kDctMaxValue << (bit_depth_ - 8),
......@@ -323,7 +323,7 @@ class TransformTestBase {
const int diff = dst[j] - src[j];
#endif
const uint32_t error = diff * diff;
EXPECT_GE(static_cast<uint32_t>(limit), error)
ASSERT_GE(static_cast<uint32_t>(limit), error)
<< "Error: 4x4 IDCT has error " << error << " at index " << j;
}
}
......
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