Merge "Update y_mode_cdf tables once per frame." into nextgenv2

This commit is contained in:
Yaowu Xu
2016-10-21 22:44:09 +00:00
committed by Gerrit Code Review
5 changed files with 30 additions and 2 deletions

View File

@@ -3809,9 +3809,14 @@ static int read_compressed_header(AV1Decoder *pbi, const uint8_t *data,
read_frame_reference_mode_probs(cm, &r);
for (j = 0; j < BLOCK_SIZE_GROUPS; j++)
for (j = 0; j < BLOCK_SIZE_GROUPS; j++) {
for (i = 0; i < INTRA_MODES - 1; ++i)
av1_diff_update_prob(&r, &fc->y_mode_prob[j][i], ACCT_STR);
#if CONFIG_DAALA_EC
av1_tree_to_cdf(av1_intra_mode_tree, fc->y_mode_prob[j],
fc->y_mode_cdf[j]);
#endif
}
#if CONFIG_REF_MV
for (i = 0; i < NMV_CONTEXTS; ++i)