Commit 8e022edd authored by Jingning Han's avatar Jingning Han
Browse files

Allow backward probability model update from tx_size=0

Replace enum items with range definitions.

Change-Id: Iba2b7cac657db5fb6177cb5c9e6f40ec0125d926
parent e5596d31
......@@ -2913,7 +2913,7 @@ void av1_adapt_coef_probs(AV1_COMMON *cm) {
count_sat = COEF_COUNT_SAT;
}
#endif // CONFIG_ENTROPY
for (tx_size = TX_4X4; tx_size <= TX_32X32; tx_size++)
for (tx_size = 0; tx_size < TX_SIZES; tx_size++)
adapt_coef_probs(cm, tx_size, count_sat, update_factor);
#if CONFIG_RANS
av1_coef_pareto_cdfs(cm->fc);
......
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