summaryrefslogtreecommitdiff
path: root/vp8/encoder/ratectrl.c
diff options
context:
space:
mode:
Diffstat (limited to 'vp8/encoder/ratectrl.c')
-rw-r--r--vp8/encoder/ratectrl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/vp8/encoder/ratectrl.c b/vp8/encoder/ratectrl.c
index 43f38568a..b0f92c942 100644
--- a/vp8/encoder/ratectrl.c
+++ b/vp8/encoder/ratectrl.c
@@ -177,6 +177,9 @@ void vp8_save_coding_context(VP8_COMP *cpi) {
#if CONFIG_SWITCHABLE_INTERP
vp8_copy(cc->switchable_interp_prob, cm->fc.switchable_interp_prob);
#endif
+#if CONFIG_TX16X16
+ vp8_copy(cc->coef_probs_16x16, cm->fc.coef_probs_16x16);
+#endif
}
void vp8_restore_coding_context(VP8_COMP *cpi) {
@@ -233,6 +236,9 @@ void vp8_restore_coding_context(VP8_COMP *cpi) {
#if CONFIG_SWITCHABLE_INTERP
vp8_copy(cm->fc.switchable_interp_prob, cc->switchable_interp_prob);
#endif
+#if CONFIG_TX16X16
+ vp8_copy(cm->fc.coef_probs_16x16, cc->coef_probs_16x16);
+#endif
}