Commit 8363063d authored by Jingning Han's avatar Jingning Han
Browse files

Allow 2x2 transform block forward model update

This commit allows the forward model update for 2x2 transform
block size.

Change-Id: Ie08c401e488b3872be0d92640468857f0aa0d0b3
parent 0090c8fb
......@@ -2214,7 +2214,7 @@ static void read_coef_probs_common(av1_coeff_probs_model *coef_probs,
static void read_coef_probs(FRAME_CONTEXT *fc, TX_MODE tx_mode, aom_reader *r) {
const TX_SIZE max_tx_size = tx_mode_to_biggest_tx_size[tx_mode];
TX_SIZE tx_size;
for (tx_size = TX_4X4; tx_size <= max_tx_size; ++tx_size)
for (tx_size = 0; tx_size <= max_tx_size; ++tx_size)
read_coef_probs_common(fc->coef_probs[tx_size], r);
}
#endif
......
......@@ -2939,7 +2939,7 @@ static void update_coef_probs(AV1_COMP *cpi, aom_writer *w) {
}
#endif // CONFIG_ENTROPY
for (tx_size = TX_4X4; tx_size <= max_tx_size; ++tx_size) {
for (tx_size = 0; tx_size <= max_tx_size; ++tx_size) {
av1_coeff_stats frame_branch_ct[PLANE_TYPES];
av1_coeff_probs_model frame_coef_probs[PLANE_TYPES];
if (cpi->td.counts->tx_size_totals[tx_size] <= 20 ||
......
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