summaryrefslogtreecommitdiff
path: root/vp8/encoder/ratectrl.c
diff options
context:
space:
mode:
authorDaniel Kang <ddkang@google.com>2012-08-02 17:03:14 -0700
committerDaniel Kang <ddkang@google.com>2012-08-02 17:33:10 -0700
commitfed8a1837fd6b1e4e36495be8210bd63bfb2bb8f (patch)
tree7bc08b5f55292f699ec7565646a9512fdba2cb2d /vp8/encoder/ratectrl.c
parent2914ab2e8b9fca26a430aed1dea56070621eb71e (diff)
downloadlibvpx-fed8a1837fd6b1e4e36495be8210bd63bfb2bb8f.tar
libvpx-fed8a1837fd6b1e4e36495be8210bd63bfb2bb8f.tar.gz
libvpx-fed8a1837fd6b1e4e36495be8210bd63bfb2bb8f.tar.bz2
libvpx-fed8a1837fd6b1e4e36495be8210bd63bfb2bb8f.zip
16x16 DCT blocks.
Set on all 16x16 intra/inter modes Features: - Butterfly fDCT/iDCT - Loop filter does not filter internal edges with 16x16 - Optimize coefficient function - Update coefficient probability function - RD - Entropy stats - 16x16 is a config option Have not tested with experiments. hd: 2.60% std-hd: 2.43% yt: 1.32% derf: 0.60% Change-Id: I96fb090517c30c5da84bad4fae602c3ec0c58b1c
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
}