Commit 240ae972 authored by Jingning Han's avatar Jingning Han Committed by Gerrit Code Review

Merge "Add horizontal and vertical scan order for 1-D transform" into nextgenv2

parents 954e560f e0413094
This diff is collapsed.
......@@ -276,10 +276,15 @@ static void inverse_transform_block_inter(MACROBLOCKD* xd, int plane,
} else {
if (tx_type == DCT_DCT && tx_size <= TX_16X16 && eob <= 10)
memset(dqcoeff, 0, 4 * (4 << tx_size) * sizeof(dqcoeff[0]));
#if CONFIG_EXT_TX
else
memset(dqcoeff, 0, (16 << (tx_size << 1)) * sizeof(dqcoeff[0]));
#else
else if (tx_size == TX_32X32 && eob <= 34)
memset(dqcoeff, 0, 256 * sizeof(dqcoeff[0]));
else
memset(dqcoeff, 0, (16 << (tx_size << 1)) * sizeof(dqcoeff[0]));
#endif
}
}
}
......
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