Update segment tree_cdf per frame.

Move computing the segmentation_probs.tree_cdf table per symbol to
 computing it only when the probabilities are updated.

Change-Id: I3826418094bbaca4ded87de5ff04d4b27c85e35a
This commit is contained in:
Nathan E. Egge
2016-08-19 20:06:51 -04:00
committed by Yaowu Xu
parent d7baf45ff6
commit f627e58e0f
6 changed files with 34 additions and 5 deletions

View File

@@ -366,6 +366,9 @@ void av1_choose_segmap_coding_method(AV1_COMMON *cm, MACROBLOCKD *xd) {
} else {
seg->temporal_update = 0;
}
#if CONFIG_DAALA_EC
av1_tree_to_cdf(av1_segment_tree, segp->tree_probs, segp->tree_cdf);
#endif
}
void av1_reset_segment_features(AV1_COMMON *cm) {